linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* camera on n900, v4.8
@ 2016-10-05 19:03 Pavel Machek
  2016-10-10  8:48 ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Machek @ 2016-10-05 19:03 UTC (permalink / raw)
  To: pali.rohar, sre, kernel list, linux-arm-kernel, linux-omap, tony,
	khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge


[-- Attachment #1.1: Type: text/plain, Size: 363 bytes --]

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


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

[-- Attachment #1.2: delme.gz --]
[-- Type: application/gzip, Size: 197840 bytes --]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: camera on n900, v4.8
  2016-10-05 19:03 camera on n900, v4.8 Pavel Machek
@ 2016-10-10  8:48 ` Pali Rohár
  2016-10-10  9:11   ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2016-10-10  8:48 UTC (permalink / raw)
  To: Pavel Machek
  Cc: sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman,
	aaro.koskinen, ivo.g.dimitrov.75, patrikbachan, serge

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: camera on n900, v4.8
  2016-10-10  8:48 ` Pali Rohár
@ 2016-10-10  9:11   ` Pavel Machek
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Machek @ 2016-10-10  9:11 UTC (permalink / raw)
  To: Pali Rohár
  Cc: ivo.g.dimitrov.75, khilman, tony, aaro.koskinen, sre, kernel list,
	linux-omap, patrikbachan, linux-arm-kernel, serge


[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-10  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 19:03 camera on n900, v4.8 Pavel Machek
2016-10-10  8:48 ` Pali Rohár
2016-10-10  9:11   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).