*** geaaru has joined #maemo | 00:53 | |
*** Kabouik has quit IRC | 00:55 | |
*** Kabouik has joined #maemo | 01:02 | |
*** DocScrutinizer05 has quit IRC | 01:35 | |
*** Pali has quit IRC | 01:56 | |
*** DocScrutinizer05 has joined #maemo | 02:02 | |
*** florian has quit IRC | 03:03 | |
*** drathir_tor has quit IRC | 03:17 | |
*** drathir_tor has joined #maemo | 03:43 | |
*** freemangordon has quit IRC | 03:51 | |
*** freemangordon has joined #maemo | 03:58 | |
*** infobot has quit IRC | 03:04 | |
*** tm has quit IRC | 03:10 | |
*** Kilroo has joined #maemo | 03:13 | |
*** tm has joined #maemo | 03:13 | |
*** Gizmokid2005 has joined #maemo | 03:35 | |
*** chainsawbike has quit IRC | 04:18 | |
*** chainsawbike has joined #maemo | 04:19 | |
*** tm has quit IRC | 05:02 | |
*** tm has joined #maemo | 05:06 | |
*** pagurus has quit IRC | 05:55 | |
*** DocScrutinizer05 has quit IRC | 07:04 | |
*** DocScrutinizer05 has joined #maemo | 07:04 | |
*** Kilroo has quit IRC | 07:08 | |
*** infobot has joined #maemo | 07:16 | |
*** ChanServ sets mode: +v infobot | 07:16 | |
*** yosafbridge has quit IRC | 08:32 | |
*** sunshavi has quit IRC | 08:43 | |
*** yosafbridge has joined #maemo | 08:53 | |
*** infobot has quit IRC | 09:10 | |
*** xmn has quit IRC | 10:03 | |
*** Pali has joined #maemo | 11:07 | |
*** florian has joined #maemo | 11:48 | |
*** florian has quit IRC | 11:53 | |
*** sicelo has quit IRC | 12:48 | |
*** sicelo has joined #maemo | 12:49 | |
*** sicelo has joined #maemo | 12:49 | |
*** sicelo has quit IRC | 13:01 | |
*** sicelo has joined #maemo | 13:02 | |
*** sicelo has quit IRC | 13:14 | |
*** sicelo has joined #maemo | 13:15 | |
*** sicelo has quit IRC | 13:15 | |
*** sicelo has joined #maemo | 13:15 | |
*** florian has joined #maemo | 13:23 | |
*** florian has quit IRC | 13:31 | |
*** L29Ah has quit IRC | 13:47 | |
*** L29Ah has joined #maemo | 13:53 | |
sicelo | ouch, my N900 stopped detecting camera door open state | 14:06 |
---|---|---|
bencoh | isn't it just being slow? | 14:06 |
bencoh | I mean, it can "ignore" it sometimes | 14:06 |
Wizzup | might be able to do some cleaning | 14:06 |
sicelo | i'll look at it further a little later, but even reboot hasn't resulted in working camera detection | 14:11 |
bencoh | :( | 14:12 |
sixwheeledbeast | while true; do cat /sys/devices/platform/gpio-switch/cam_shutter/state; done | 14:14 |
KotCzarny | cam door is a magnet | 14:15 |
KotCzarny | maybe it got weaker? | 14:15 |
KotCzarny | do you have spare backpanel? | 14:15 |
*** akossh has joined #maemo | 15:23 | |
*** sunshavi has joined #maemo | 16:37 | |
*** sunshavi has quit IRC | 16:53 | |
*** sunshavi has joined #maemo | 17:21 | |
sicelo | KotCzarny: cam door is light sensor. magnet is the SD card present/cover sensor | 17:24 |
sicelo | different back panel doesnt' change the situation | 17:24 |
KotCzarny | i have always though cam door was also magnet based | 17:25 |
KotCzarny | *thought | 17:25 |
sicelo | it can't :) there would be too many magnetic fields to deal with, considering that all the magic is in the same area | 17:25 |
sicelo | the other magnetic thing is the keyboard slide, since that's far from the camera mechanism | 17:26 |
sixwheeledbeast | i always believed the cam_shutter was some light sensor part of the reason the back of the shutter had blue film too on I recall | 17:31 |
sicelo | yes | 17:31 |
sixwheeledbeast | did you try test above? | 17:31 |
sixwheeledbeast | is it hardware? | 17:32 |
sicelo | yes, always "closed" | 17:32 |
sixwheeledbeast | hmm | 17:32 |
sicelo | i believe it's h/w. guess my sensor has failed | 17:32 |
sixwheeledbeast | isn't the cam on a little daughterboard? does that have some flex or connections? I honestly can't remember | 17:35 |
sicelo | the daughterboard thing is sd card reader, iirc | 17:49 |
*** Vajb has quit IRC | 18:38 | |
*** Vajb has joined #maemo | 18:45 | |
*** xmn has joined #maemo | 18:50 | |
*** florian has joined #maemo | 19:33 | |
*** florian has quit IRC | 19:39 | |
Maxdamantus | sicelo: in case you need a workaround to use the camera, you can do something like `echo open >/tmp/open && mount -o bind /tmp/open /sys/devices/platform/gpio-switch/cam_shutter/state` | 23:18 |
Maxdamantus | then `killall camera-ui omap3camd` | 23:19 |
sicelo | nice! will try that soonish | 23:20 |
sicelo | i recall you have kernel patches for something in fremantle, or was it for the back cover removal? | 23:21 |
sixwheeledbeast | or maybe manually set file to "open" and make it 444 | 23:21 |
Maxdamantus | That's for the mmc driver, so it doesn't cut access to the SD card when the back cover is open. | 23:21 |
Maxdamantus | (doesn't affect what the rest of the system thinks about the gpio state, just disables that disabling behaviour in hsmmc) | 23:22 |
Maxdamantus | I don't think writing "open" to the existing "state" file will work, since it's in input mode, not output. | 23:24 |
Maxdamantus | Seems to just ignore it for me. | 23:24 |
Maxdamantus | and it doesn't seem to let me set it to be an output. | 23:25 |
sicelo | yes. only the bind mount way seems to be working. thanks! | 23:26 |
sixwheeledbeast | I have done 444 trick for things like cam button. the back cover wouldn't be open tho, only the shutter. | 23:30 |
* Maxdamantus doesn't see how that would work. | 23:34 | |
Maxdamantus | Normally, the kernel will just figure out the gpio state when you read from that file. | 23:34 |
Maxdamantus | You'd surely have to mount a regular file on top of it if you want it to behave like a regular file. | 23:35 |
Maxdamantus | and if you do the mount thing, you're probably not going to have other userspace processes writing into it, so 444 shouldn't be necessary. | 23:37 |
*** Kilroo has joined #maemo | 23:48 | |
bencoh | nice trick (mount -o bind) | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!