IRC log of #maemo for Sunday, 2020-10-25

*** geaaru has joined #maemo00:53
*** Kabouik has quit IRC00:55
*** Kabouik has joined #maemo01:02
*** DocScrutinizer05 has quit IRC01:35
*** Pali has quit IRC01:56
*** DocScrutinizer05 has joined #maemo02:02
*** florian has quit IRC03:03
*** drathir_tor has quit IRC03:17
*** drathir_tor has joined #maemo03:43
*** freemangordon has quit IRC03:51
*** freemangordon has joined #maemo03:58
*** infobot has quit IRC03:04
*** tm has quit IRC03:10
*** Kilroo has joined #maemo03:13
*** tm has joined #maemo03:13
*** Gizmokid2005 has joined #maemo03:35
*** chainsawbike has quit IRC04:18
*** chainsawbike has joined #maemo04:19
*** tm has quit IRC05:02
*** tm has joined #maemo05:06
*** pagurus has quit IRC05:55
*** DocScrutinizer05 has quit IRC07:04
*** DocScrutinizer05 has joined #maemo07:04
*** Kilroo has quit IRC07:08
*** infobot has joined #maemo07:16
*** ChanServ sets mode: +v infobot07:16
*** yosafbridge has quit IRC08:32
*** sunshavi has quit IRC08:43
*** yosafbridge has joined #maemo08:53
*** infobot has quit IRC09:10
*** xmn has quit IRC10:03
*** Pali has joined #maemo11:07
*** florian has joined #maemo11:48
*** florian has quit IRC11:53
*** sicelo has quit IRC12:48
*** sicelo has joined #maemo12:49
*** sicelo has joined #maemo12:49
*** sicelo has quit IRC13:01
*** sicelo has joined #maemo13:02
*** sicelo has quit IRC13:14
*** sicelo has joined #maemo13:15
*** sicelo has quit IRC13:15
*** sicelo has joined #maemo13:15
*** florian has joined #maemo13:23
*** florian has quit IRC13:31
*** L29Ah has quit IRC13:47
*** L29Ah has joined #maemo13:53
siceloouch, my N900 stopped detecting camera door open state14:06
bencohisn't it just being slow?14:06
bencohI mean, it can "ignore" it sometimes14:06
Wizzupmight be able to do some cleaning14:06
siceloi'll look at it further a little later, but even reboot hasn't resulted in working camera detection14:11
sixwheeledbeastwhile true; do cat /sys/devices/platform/gpio-switch/cam_shutter/state; done14:14
KotCzarnycam door is a magnet14:15
KotCzarnymaybe it got weaker?14:15
KotCzarnydo you have spare backpanel?14:15
*** akossh has joined #maemo15:23
*** sunshavi has joined #maemo16:37
*** sunshavi has quit IRC16:53
*** sunshavi has joined #maemo17:21
siceloKotCzarny: cam door is light sensor. magnet is the SD card present/cover sensor17:24
sicelodifferent back panel doesnt' change the situation17:24
KotCzarnyi have always though cam door was also magnet based17:25
siceloit can't :) there would be too many magnetic fields to deal with, considering that all the magic is in the same area17:25
sicelothe other magnetic thing is the keyboard slide, since that's far from the camera mechanism17:26
sixwheeledbeasti always believed the cam_shutter was some light sensor part of the reason the back of the shutter had blue film too on I recall17:31
sixwheeledbeastdid you try test above?17:31
sixwheeledbeastis it hardware?17:32
siceloyes, always "closed"17:32
siceloi believe it's h/w. guess my sensor has failed17:32
sixwheeledbeastisn't the cam on a little daughterboard? does that have some flex or connections? I honestly can't remember17:35
sicelothe daughterboard thing is sd card reader, iirc17:49
*** Vajb has quit IRC18:38
*** Vajb has joined #maemo18:45
*** xmn has joined #maemo18:50
*** florian has joined #maemo19:33
*** florian has quit IRC19:39
Maxdamantussicelo: 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
Maxdamantusthen `killall camera-ui omap3camd`23:19
sicelonice! will try that soonish23:20
siceloi recall you have kernel patches for something in fremantle, or was it for the back cover removal?23:21
sixwheeledbeastor maybe manually set file to "open" and make it 44423:21
MaxdamantusThat'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
MaxdamantusI don't think writing "open" to the existing "state" file will work, since it's in input mode, not output.23:24
MaxdamantusSeems to just ignore it for me.23:24
Maxdamantusand it doesn't seem to let me set it to be an output.23:25
siceloyes. only the bind mount way seems to be working. thanks!23:26
sixwheeledbeastI 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
MaxdamantusNormally, the kernel will just figure out the gpio state when you read from that file.23:34
MaxdamantusYou'd surely have to mount a regular file on top of it if you want it to behave like a regular file.23:35
Maxdamantusand 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 #maemo23:48
bencohnice trick (mount -o bind)23:51

Generated by 2.15.1 by Marius Gedminas - find it at!