Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1498167 > unrolled thread

Re: camera on n900, v4.8

Started byPali Rohár <pali.rohar@gmail.com>
First post2016-10-10 10:50 +0200
Last post2016-10-10 11:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: camera on n900, v4.8 Pali Rohár <pali.rohar@gmail.com> - 2016-10-10 10:50 +0200
    Re: camera on n900, v4.8 Pavel Machek <pavel@ucw.cz> - 2016-10-10 11:30 +0200

#1498167 — Re: camera on n900, v4.8

FromPali Rohár <pali.rohar@gmail.com>
Date2016-10-10 10:50 +0200
SubjectRe: camera on n900, v4.8
Message-ID<sqErv-7rt-3@gated-at.bofh.it>
On Wednesday 05 October 2016 21:03:41 Pavel Machek wrote:
> Hi!
> 
> Camera has some non-trivial dependencies on N900; it seems to rely on
> gpio-switch.c, for example. I'll try to strip the diff further, but in
> the meantime, here's the version I'm working with.
> 
> 									Pavel
> 
> 

With "Camera" do you mean some Maemo userspace application? Because I
think that nobody else could depends on gpio-switch kernel driver.

Anyway, it should be easy to rewrite such gpio-switch application to use
either input kernel events (from /dev/input/something) or directly check
gpio state via /sys/class/gpio/.

IIRC Maemo's Camera needed gpio-switch for testing if back camera cover
is open or closed and for checking when camera push button pressed and
released.

-- 
Pali Rohár
pali.rohar@gmail.com

[toc] | [next] | [standalone]


#1498193

FromPavel Machek <pavel@ucw.cz>
Date2016-10-10 11:30 +0200
Message-ID<sqF4e-7T9-7@gated-at.bofh.it>
In reply to#1498167

[Multipart message — attachments visible in raw view] — view raw

On Mon 2016-10-10 10:48:59, Pali Rohár wrote:
> On Wednesday 05 October 2016 21:03:41 Pavel Machek wrote:
> > Hi!
> > 
> > Camera has some non-trivial dependencies on N900; it seems to rely on
> > gpio-switch.c, for example. I'll try to strip the diff further, but in
> > the meantime, here's the version I'm working with.
> > 
> 
> With "Camera" do you mean some Maemo userspace application? Because I
> think that nobody else could depends on gpio-switch kernel driver.

With camera, I mean kernel drivers for /dev/video*. I don't know why
they depend on gpio-switch.c, but they do.

I'm using fcam-dev for userspace control of camera. I'd prefer not to
touch anything w/o sources.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web