Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1498167
| From | Pali Rohár <pali.rohar@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: camera on n900, v4.8 |
| Date | 2016-10-10 10:50 +0200 |
| Message-ID | <sqErv-7rt-3@gated-at.bofh.it> (permalink) |
| References | <soZJM-5KL-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web