*** xy3_ has quit IRC | 00:01 | |
KotCzarny | no worries, will find another, cheaper | 00:07 |
---|---|---|
KotCzarny | for sure | 00:07 |
*** L29Ah has left #maemo | 00:10 | |
*** L29Ah has joined #maemo | 00:14 | |
*** krnlyng has joined #maemo | 00:25 | |
*** cyphase has quit IRC | 00:52 | |
*** cyphase has joined #maemo | 00:52 | |
*** shentey has quit IRC | 01:01 | |
*** Michael_a380 has joined #maemo | 01:31 | |
*** ubizzy_ has quit IRC | 01:36 | |
*** xorly has quit IRC | 02:39 | |
*** florian has quit IRC | 03:00 | |
*** Michael_a380 has quit IRC | 03:12 | |
*** enyc has quit IRC | 03:15 | |
*** enyc has joined #maemo | 03:17 | |
*** silviof has quit IRC | 04:03 | |
*** chainsawbike has quit IRC | 04:13 | |
*** LauRoman|Alt has joined #maemo | 04:21 | |
*** LauRoman has quit IRC | 04:24 | |
*** dafox has joined #maemo | 04:28 | |
*** Oksanaa has joined #maemo | 04:50 | |
*** Oksanaa has quit IRC | 04:55 | |
*** Oksanaa has joined #maemo | 04:55 | |
*** Pali has quit IRC | 05:15 | |
*** dafox has quit IRC | 05:17 | |
*** chainsawbike has joined #maemo | 05:23 | |
*** MetalGearSolid has quit IRC | 05:25 | |
*** robink has quit IRC | 05:44 | |
*** newbieAlert has joined #maemo | 05:46 | |
newbieAlert | Hi . My n900 seems t have a hardware problem of proximity sensor being "Closed" always. Is there any way to disable it ? | 05:50 |
*** robink has joined #maemo | 05:50 | |
Oksanaa | Huh... One: try to shine a really bright flashlight into it, see if it helps. Is it the sensor responsible for backlight of hardware keyboard? If yes, I have the same problem, but then, I have a paper sticker over the sensor. | 05:54 |
*** MetalGearSolid has joined #maemo | 06:03 | |
*** newbieAlert has quit IRC | 06:03 | |
*** newbieAlert has joined #maemo | 06:15 | |
newbieAlert | Oksanaa: No it did not help. | 06:15 |
newbieAlert | I dont think keypad light are related to proximiity sensor. Is there anyway to disable proximity sensor during call so that it is easy to pick up the call. | 06:17 |
*** Kabouik_ has quit IRC | 06:19 | |
Oksanaa | Ah, have no problems with call, I think. https://talk.maemo.org/showthread.php?t=71188 Might be problem with flex ribbon cable? | 06:25 |
newbieAlert | Most probably no. It remains active irrespective of keyboard being closed or not. And technicians here do not want to repair this phone because of lack of spare parts. So, I want a software solution if possible. | 06:31 |
Oksanaa | Okay... Never seen a technician agreeing to repair my N900, either. https://talk.maemo.org/showthread.php?p=974759 software and proximity sensor | 06:36 |
Oksanaa | Not quite solver, though ^ | 06:37 |
newbieAlert | Oksanaa: i do not think it is the solution. But thank you. :) I tried /sys/devices/platform/gpio-switch/proximity/disabled -> 0 ( it is 1 by default) but nothing happened. | 06:40 |
Oksanaa | Different device, similar problem? https://talk.maemo.org/archive/index.php/t-86100.html try editing /etc/mce/mce.ini to remove proximity; from Modules=? | 06:45 |
Oksanaa | Would recommend back-up of anything important from phone, if possible. To restart mce, either reboot, or sudo gainroot \n stop mce; start mce | 06:49 |
Oksanaa | newbieAlert : How are you? I am not sure myself if proximity is listed in N900's mce.ini | 06:54 |
*** DocScrutinizer05 has quit IRC | 07:14 | |
*** DocScrutinizer05 has joined #maemo | 07:14 | |
*** Oksanaa has quit IRC | 08:00 | |
*** Oksanaa has joined #maemo | 08:00 | |
*** spinal84 has quit IRC | 08:32 | |
*** Oksanaa has quit IRC | 08:55 | |
*** Oksanaa has joined #maemo | 08:58 | |
*** Oksanaa has left #maemo | 08:59 | |
newbieAlert | Dont think proximity is there in mce modules list. | 10:02 |
bencoh | newbieAlert: I suppose you tried rebooting, obviously? | 10:16 |
bencoh | Vajb: hangouts on n900? | 10:18 |
*** florian has joined #maemo | 10:25 | |
*** jonwil has joined #maemo | 10:29 | |
jonwil | hi | 10:29 |
Vajb | bencoh: hangouts smiley theme in pidgin | 10:38 |
bencoh | ah | 10:39 |
*** krnlyng has quit IRC | 11:19 | |
*** krnlyng has joined #maemo | 11:33 | |
*** frals has quit IRC | 11:54 | |
*** user____ has joined #maemo | 12:06 | |
*** user____ is now known as ff_ | 12:06 | |
*** Monsieur has quit IRC | 12:18 | |
*** ff_ has quit IRC | 12:19 | |
freemangordon | omg, clutter 1.x depends on gtk3 ?!? | 12:34 |
*** user____ has joined #maemo | 12:35 | |
*** ff_ has joined #maemo | 12:36 | |
freemangordon | KotCzarny: ^^^ any clue? | 12:42 |
KotCzarny | its gnome project after all, right? | 12:42 |
KotCzarny | problem is with gtk>3 | 12:42 |
KotCzarny | because their versioning plan is weird | 12:43 |
freemangordon | KotCzarny: I built h-d on gtk2 with clutter 1.0 | 12:43 |
KotCzarny | you can try backporting clutter to gtk2? | 12:43 |
freemangordon | but it refuses to start as clutter1.0 loads gdk3 libs | 12:43 |
KotCzarny | o.O | 12:43 |
freemangordon | this is insane | 12:44 |
KotCzarny | https://developer.gnome.org/clutter/stable/building-clutter.html | 12:44 |
KotCzarny | nothing about gtk/gdk version | 12:44 |
KotCzarny | http://www.linuxfromscratch.org/blfs/view/svn/x/clutter.html | 12:45 |
KotCzarny | similarly | 12:45 |
freemangordon | seems there is gdk backend build by default | 12:46 |
KotCzarny | maybe it autodetected gdk during build and used it | 12:46 |
KotCzarny | you can check unused raw lib dependencies (ldd -u) | 12:47 |
KotCzarny | to see if it really depends on gdk3 or gets it from some subli b | 12:47 |
freemangordon | already did and it uses gdk3.so | 12:49 |
KotCzarny | check the build config/log | 12:49 |
freemangordon | --enable-gdk-backend=yes, in debian/rules :) | 12:50 |
KotCzarny | check if you can point to v2 | 12:50 |
freemangordon | tried, fails | 12:51 |
KotCzarny | does it build without gdk? | 12:51 |
*** user____ has quit IRC | 12:52 | |
freemangordon | seems like yes | 12:52 |
KotCzarny | benchmark | 12:53 |
KotCzarny | ;) | 12:53 |
*** ff_ has quit IRC | 12:53 | |
freemangordon | hmm? | 12:56 |
freemangordon | this is for x86 | 12:56 |
KotCzarny | to see if it will be slower without gdk | 12:56 |
freemangordon | isn't that supposed to use GL?!? | 12:57 |
freemangordon | why should I care about gdk? | 12:57 |
*** Pali has joined #maemo | 12:57 | |
KotCzarny | was it linked to opengl when built with gdk? | 12:57 |
freemangordon | no idea, but afaik backend is runtime-detected | 12:58 |
freemangordon | and deffinitely I don;t want gdk backend for hildon-deskto | 12:58 |
freemangordon | but e/gl | 12:59 |
*** user____ has joined #maemo | 12:59 | |
freemangordon | ok, something got build, lets see :) | 12:59 |
*** ff_ has joined #maemo | 13:00 | |
freemangordon | or not :( | 13:01 |
*** xorly has joined #maemo | 13:09 | |
*** jonwil has quit IRC | 13:11 | |
freemangordon | KotCzarny: it runs :) | 13:16 |
KotCzarny | anything being different? | 13:16 |
freemangordon | so far nothing | 13:17 |
*** Michael_a380 has joined #maemo | 13:21 | |
bencoh | freemangordon: hildon-desktop+clutter on recent gtk2? | 13:22 |
freemangordon | yes | 13:22 |
bencoh | neat | 13:22 |
bencoh | how comes you're back to gtk2 though? | 13:22 |
freemangordon | bencoh: themes ;) | 13:22 |
bencoh | huhu | 13:22 |
KotCzarny | and i bet its easier to upgrade one by one | 13:22 |
KotCzarny | than all at once | 13:22 |
freemangordon | well, "back"... | 13:22 |
freemangordon | I just want to see which option is more viable | 13:23 |
freemangordon | hmm, it looks almost like the real one, needs just some more work on libhildon | 13:30 |
*** ubizzy_ has joined #maemo | 13:31 | |
*** ff_ has left #maemo | 13:31 | |
*** user____ has left #maemo | 13:33 | |
*** user____ has joined #maemo | 13:33 | |
*** user____ has quit IRC | 13:35 | |
*** florian has quit IRC | 13:36 | |
*** ff_ has joined #maemo | 13:44 | |
*** silviof has joined #maemo | 13:50 | |
*** Michael_a380 has quit IRC | 13:58 | |
*** frals has joined #maemo | 14:13 | |
*** shentey has joined #maemo | 14:22 | |
newbieAlert | bencoh: Yes :D Did not work :( Or is there atleast a way to unlock screen during call ? That is the main problem. Can it be done using dbus for call state and disabling lock based on that ? | 14:42 |
bencoh | I guess it could | 14:43 |
bencoh | you might try patching whichever part of the code is responsible for the proximity sensor as well | 14:44 |
*** kraft has quit IRC | 14:52 | |
*** kraft has joined #maemo | 14:54 | |
*** mueddib has joined #maemo | 15:10 | |
*** Kabouik has joined #maemo | 15:16 | |
*** Smily has quit IRC | 15:17 | |
*** mueddib is now known as netadmin | 15:20 | |
*** netadmin is now known as mueddib | 15:20 | |
*** mva is now known as MajorTom | 15:35 | |
*** kraft has quit IRC | 15:50 | |
*** MetalGearSolid has quit IRC | 15:51 | |
*** sunshavi has joined #maemo | 15:51 | |
*** MetalGearSolid has joined #maemo | 15:54 | |
*** kraft has joined #maemo | 16:10 | |
*** lxp has joined #maemo | 16:28 | |
*** shentey has quit IRC | 16:34 | |
*** silviof has quit IRC | 16:39 | |
*** shentey has joined #maemo | 16:39 | |
*** silviof has joined #maemo | 16:43 | |
*** mueddib has quit IRC | 16:58 | |
*** mueddib has joined #maemo | 16:59 | |
*** mueddib is now known as Guest61589 | 17:00 | |
*** Guest61589 has quit IRC | 17:05 | |
*** xes has quit IRC | 17:06 | |
*** dafox has joined #maemo | 17:21 | |
*** dafox has quit IRC | 17:25 | |
*** dafox has joined #maemo | 17:26 | |
*** dafox has quit IRC | 17:26 | |
*** dafox has joined #maemo | 17:27 | |
*** shamus has joined #maemo | 17:43 | |
*** Gadgetoid has quit IRC | 17:46 | |
*** Gadgetoid has joined #maemo | 17:46 | |
*** Gadgetoid has quit IRC | 17:52 | |
*** Gadgetoid has joined #maemo | 17:53 | |
bencoh | I wonder if changing vibrate pattern for messages/notifcations based on proximity/lumonisity sensor and whether keyboard is opened/closed would be feasable/easy | 18:04 |
bencoh | probably by patching mce | 18:06 |
bencoh | you do want strong vibrations when phone is in your pocket, but once it's already in your hands, or even worse, sitting on a wooden table .... | 18:07 |
*** Pali has quit IRC | 18:08 | |
*** Pali has joined #maemo | 18:10 | |
ff_ | modified mce.ini & restart mce works, but only several times | 18:13 |
ff_ | and then start: mce respawning too fast, stopped | 18:13 |
ff_ | why OS doesn't allow unlimit restart daemons? | 18:15 |
bencoh | I wouldn't want to edit/restart mce everytime I open/close keyboard | 18:16 |
bencoh | and I dont wanna monitor light sensor either | 18:16 |
kerio | can't you just SIGHUP mce | 18:16 |
bencoh | I want it to check system status before issuing a vibrate command | 18:16 |
kerio | to make it reload the config | 18:16 |
bencoh | kerio: no idea, but still | 18:17 |
bencoh | I dont want a kludge/workaround :) | 18:17 |
bencoh | I guess I'll have a look at this part of the code | 18:17 |
ff_ | it would be nice feature :) | 18:19 |
bencoh | actually there is already something close in "policy | 18:19 |
bencoh | in the policy field of vibrating patterns | 18:20 |
bencoh | but it only checks whether display is on/off and/or device in acting dead | 18:20 |
*** spinal84 has joined #maemo | 18:20 | |
*** stryngs has quit IRC | 18:29 | |
*** newbieAlert has quit IRC | 18:52 | |
*** L29Ah has quit IRC | 18:55 | |
*** newbieAlert has joined #maemo | 18:58 | |
*** l_bratch has quit IRC | 19:07 | |
*** shentey has quit IRC | 19:29 | |
*** l_bratch has joined #maemo | 19:44 | |
*** Monsieur has joined #maemo | 19:53 | |
Vajb | KotCzarny: T520 bought. Now im just waiting to get my hands on it :) | 19:54 |
KotCzarny | yay! | 19:55 |
KotCzarny | what config? | 19:55 |
Vajb | i5 2520M, 8GB ram and 160GB ssd. Win 7 pro. | 19:56 |
KotCzarny | integrated card or dedicated? | 19:56 |
Vajb | that i do not know | 19:56 |
KotCzarny | do you know exact model-type ? | 19:57 |
KotCzarny | or have a photos of the bottom? | 19:57 |
Vajb | nope | 19:57 |
KotCzarny | you will love it anyway | 19:58 |
KotCzarny | :) | 19:58 |
Vajb | will know when i get it :) | 19:58 |
KotCzarny | if you dont use cd/dvd, you can get bay 2nd hdd adapter | 19:59 |
KotCzarny | and put some storage drive there | 19:59 |
newbieAlert | bencoh : tried dbus-scripts.. did not work. Can not find a reason :/ | 20:04 |
Vajb | KotCzarny: oh i see. Is it possible to get dock with dvd drive for this model? | 20:06 |
KotCzarny | hum? | 20:08 |
Vajb | tho i have usb dock for hdd's so maybe i use that :) | 20:08 |
KotCzarny | i've found that cd/dvd is obsolete these days | 20:08 |
KotCzarny | just popout the optical drive and put hdd dock in there | 20:09 |
Vajb | i see | 20:09 |
KotCzarny | something like this: https://www.aliexpress.com/item/Aluminum-2nd-HDD-Caddy-12-7mm-2-5-SATA-3-0-SSD-Case-HDD-Enclosure-for/32364238935.html?spm=2114.01010208.3.18.8lzRYB&ws_ab_test=searchweb0_0,searchweb201602_2_10065_10068_10000009_10084_10083_10080_10082_10081_10060_10062_10056_10055_10037_10054_10059_10032_10099_10078_10079_10077_10000012_426_10103_10073_10102_10000015_10096_10052_10053_10107_10050_10106_10051,searchweb201603_1,afswitch_5,single_sort_0_p | 20:10 |
*** louisdk has joined #maemo | 20:11 | |
Vajb | oh that's one cheap improvement | 20:12 |
KotCzarny | yup | 20:12 |
KotCzarny | but that depends if you need optical drive, some people have work that requires it | 20:13 |
KotCzarny | otherwise 2nd hdd is much better idea | 20:13 |
Vajb | in wiki it said it supports 16gb ram, but i guess there r only two slots | 20:13 |
newbieAlert | Hi i have another question. I have shortcudD but stilol camera button actually opens Camera. Isn't there any way to remove this functionality ? | 20:14 |
KotCzarny | you might check which thickness you need htough, 9.5mm or 12.5 | 20:14 |
KotCzarny | price is the same, just physical size differs depending on the slot | 20:14 |
Vajb | newbieAlert: u can change this from camera settings i think | 20:15 |
Vajb | can't wait to get my hands on it! | 20:17 |
*** Smily has joined #maemo | 20:17 | |
newbieAlert | Vajb: My camera button seems to work in a different way .. proper press of it tends to open the camera but improper press ( like just pressing it without clicking it) actually executes the shortcutD commands . | 20:18 |
Vajb | yes it has zoom feature | 20:19 |
Vajb | but that camera opening can be changed | 20:19 |
Vajb | i just can't remember where and looking for it now | 20:20 |
newbieAlert | Vajb: That's changed. It was in the settings . :) Thanks :) But shortcutd is still not working :/ | 20:20 |
*** robink has quit IRC | 20:21 | |
Vajb | go to settings menu and check that u have correct settings in shortcutd | 20:22 |
Vajb | yeah just found those settings too :) | 20:22 |
Vajb | from shortcutd settings u can change actions for short and longpress | 20:23 |
sixwheeledbeast | newbieAlert: not really. There are things in extras to "suppress" the camera-ui appearing. Shortcutd uses cam-focus to activate commands. | 20:23 |
bencoh | hmmm mce/modules/vibrator.c is plain ugly | 20:23 |
KotCzarny | :> | 20:23 |
newbieAlert | Vajb: Still not working.. I mean it works randomly . | 20:24 |
Vajb | is ur camera button good? | 20:24 |
newbieAlert | sixwheeledbeast: camera-ui can be swithced off from the settings it self as Vajb suggested. | 20:24 |
newbieAlert | Vajb: for opening cmaera.. 100% strike rate ... For shortrcutd, depends on luck. | 20:25 |
Vajb | i think u can use syslog or something to check if it detects all ur presses | 20:25 |
Vajb | what u have set it to do then? | 20:25 |
newbieAlert | act as power button or unlock the screen | 20:26 |
sixwheeledbeast | I don't believe you can you have installed something from extras for that option in settings. | 20:26 |
newbieAlert | Vajb: ^^ | 20:26 |
sixwheeledbeast | dmesg will show cam_focus | 20:26 |
Vajb | i have mediaplayer play/pause as short press and panucci play/pause for longpress and if i hold button tad too long it executes long press one. It is easy to miss | 20:26 |
*** robink has joined #maemo | 20:26 | |
newbieAlert | sixwheeledbeast: Maybe. But i found the setting in the UI itself. Checking dmesg. Last time I had checked it had something something for cam-launch or something. | 20:27 |
Vajb | sixwheeledbeast: setting camera ui triggering from cam button was implemented in cssu | 20:27 |
Vajb | setting off* | 20:27 |
sixwheeledbeast | so you would need something from extras to disable it, or gconftool I imagine | 20:28 |
Vajb | do u have device with cssu in hand now sixwheeledbeast? | 20:29 |
sixwheeledbeast | yep | 20:29 |
Vajb | open camera. Tap screen to show title. Click title and select settings. From there u can change it | 20:30 |
sixwheeledbeast | that will be camera-ui2 not camera-ui | 20:31 |
sixwheeledbeast | ~nicocam | 20:31 |
Vajb | oh? | 20:31 |
Vajb | apt-cache policy camera-ui | 20:32 |
Vajb | camera-ui: Installed: 1.1.29.2+0cssu18 Candidate: 1.1.29.2+0cssu18 | 20:32 |
newbieAlert | Vajb: Found. CAm focus is not working properly. :( Cam launch is perfectly working. | 20:33 |
Vajb | or is this camera-ui2 already? | 20:33 |
sixwheeledbeast | 1.1.29.1+0m5 is stock camera | 20:33 |
Vajb | newbieAlert: im glad to be right at once :) | 20:33 |
KotCzarny | maybe os is eating cam-focus | 20:34 |
Vajb | sixwheeledbeast: ok i installed something from repos then or it came with cssu | 20:34 |
sixwheeledbeast | it will be testing version that's why | 20:35 |
Vajb | i have cssu-testing btw | 20:35 |
sixwheeledbeast | :nod: | 20:35 |
Vajb | ah :) | 20:35 |
newbieAlert | Vajb: :) Thanks. Anyway to make it use cam-launch instead of focus ? | 20:36 |
newbieAlert | Or volume buttons ? They can also made available in a locked device,so may replace cam-button funcitonality. | 20:37 |
Vajb | i think it can be done, sixwheeledbeast? | 20:37 |
sixwheeledbeast | http://wiki.maemo.org/Community_SSU/Features/Camera_UI | 20:37 |
Vajb | volumebuttons control mediaƄlayer volume already | 20:37 |
Vajb | mediaplayer* | 20:38 |
sixwheeledbeast | shortcutd only works with cam_focus | 20:38 |
sixwheeledbeast | or prox sensor | 20:38 |
newbieAlert | sixwheeledbeast: I meant something other than shorcutd. Dont they fire dbus signal?? Something like HildonVolsomething. | 20:40 |
sixwheeledbeast | Use command in terminal to test your cam_focus -> while true; do cat /sys/devices/platform/gpio-switch/cam_focus/state; done | 20:41 |
ff_ | you can use "inotifywait -qq -e access /sys/devices/platform/gpio-switch/cam_launch/state" in loop and do whatever you like | 20:42 |
ff_ | inotifywait is in "inotify-tools", so just "apt-get install inotify-tools" | 20:43 |
newbieAlert | Thanks guys :) :) | 20:45 |
ff_ | cam_focus is fragile here also, WD40 helped :) | 20:45 |
ff_ | actually it was faulty :) | 20:47 |
ff_ | or if you want volume shortcuts or any other keyboard shortcut find out somewhere in arm distro "evkey" and command "evkey -d -t -1 /dev/input/event1" gives you number of pressed key | 20:57 |
ff_ | volume gives 65 and 66 | 20:58 |
newbieAlert | thank you :) | 21:00 |
ff_ | what's a nice crew here :) | 21:03 |
*** drrrz has joined #maemo | 21:04 | |
*** drrz has quit IRC | 21:06 | |
*** MajorTom is now known as mva | 21:23 | |
*** florian has joined #maemo | 21:50 | |
*** Michael_a380 has joined #maemo | 21:55 | |
*** infobot has quit IRC | 22:36 | |
*** drrrz has quit IRC | 22:40 | |
DocScrutinizer05 | I thought inotify doesn't work on /sys | 22:42 |
*** xes has joined #maemo | 22:45 | |
DocScrutinizer05 | but wow, it does | 22:45 |
*** louisdk has quit IRC | 22:45 | |
DocScrutinizer05 | ff_: great! :-) | 22:46 |
DocScrutinizer05 | alas cam button (GPIO?) is disabled when screen locked | 23:04 |
DocScrutinizer05 | might be possible to change that in /etc/mce/mce.ini - don't know | 23:04 |
DocScrutinizer05 | not even syslog shows | 23:06 |
DocScrutinizer05 | Jan 8 22:06:21 IroN900 kernel: [29036.340728] cam_focus (GPIO 68) is now active | 23:06 |
DocScrutinizer05 | Jan 8 22:06:22 IroN900 kernel: [29036.965698] cam_focus (GPIO 68) is now inactive | 23:06 |
DocScrutinizer05 | when screen locked | 23:06 |
DocScrutinizer05 | so must be GPIO (kernel facility) that gets disabled | 23:07 |
*** dafox has quit IRC | 23:07 | |
*** dafox has joined #maemo | 23:09 | |
DocScrutinizer05 | anyway, great! thanks again! IroN900:~# cat `which waitforcamtriggerbutton` | 23:12 |
DocScrutinizer05 | #!/bin/sh | 23:12 |
DocScrutinizer05 | inotifywait -e access /sys/devices/platform/gpio-switch/cam_launch/state | 23:12 |
ff_ | yes, when it's locked cam button is disabled, only volume keys can be working in this state | 23:12 |
DocScrutinizer05 | i'm pretty sure this isn't terribly complicated to fix, with a few lines like `echo "export 68">/sys/devices/platform/gpio-switch/fooobar` | 23:14 |
DocScrutinizer05 | ff_: btw where did you hide the last 7 years? | 23:14 |
DocScrutinizer05 | :-) | 23:14 |
ff_ | for enable volume keys, needs change "DisableKPImmediately=2 | 23:15 |
ff_ | " in /etc/mce/mce.ini | 23:15 |
DocScrutinizer05 | yep, volume keys know to be handled in mce.ini | 23:15 |
DocScrutinizer05 | not sure about cam button | 23:16 |
DocScrutinizer05 | prolly not | 23:16 |
DocScrutinizer05 | but from a kernel and hw PoV there's not much difference between volume keys and cam button, and even less between cam button (GPIO68) and e.g. lockswitch (GPIO113) | 23:17 |
DocScrutinizer05 | so it's for sure pretty simple to enable cam button when screen locked | 23:18 |
ff_ | I've n900 for two years | 23:18 |
DocScrutinizer05 | I've seen you only recently in here, first time | 23:20 |
ff_ | you're right | 23:20 |
DocScrutinizer05 | so a late "welcome!" :-) | 23:21 |
bencoh | :) | 23:21 |
ff_ | I saw oscp from KotCzarny, and he mentioned in his threads about this channel | 23:22 |
DocScrutinizer05 | great! | 23:22 |
ff_ | so, in last Friday I checked it out, and I'm positive surprised | 23:23 |
DocScrutinizer05 | :-D | 23:23 |
ff_ | there was somewhere in /proc or /sys one file, in which all gpio are counter | 23:26 |
ff_ | and I think that counter for cam pressed also increase during locked device | 23:28 |
DocScrutinizer05 | I know IRQ file listing all IRQ counts | 23:29 |
DocScrutinizer05 | not sure if there's same for GPIO | 23:30 |
DocScrutinizer05 | if there is, it must be pretty non-standard I guess, like complete GPIO implementation | 23:30 |
DocScrutinizer05 | gosh! my locate db doesn't index /sys and /proc?!? | 23:31 |
ff_ | I'll try to find it out | 23:31 |
DocScrutinizer05 | http://paste.opensuse.org/17589632 | 23:33 |
*** ubizzy_ has quit IRC | 23:35 | |
ff_ | in this file /proc/interrupts | 23:37 |
ff_ | count when it's locked but only once per look/unlook cycle | 23:38 |
DocScrutinizer05 | cat /sys/kernel/debug/omap_gpio | 23:39 |
DocScrutinizer05 | no counts | 23:39 |
DocScrutinizer05 | from `watch cat /proc/interrupts` you can see not even kernel receives an IRQ when pressing cam button while locked | 23:41 |
DocScrutinizer05 | this might be interesting for you: http://paste.opensuse.org/40386599 - monitored device lock via tk_lock switch | 23:44 |
ff_ | nice | 23:47 |
DocScrutinizer05 | watch cat /sys/devices/platform/gpio-switch/cam_launch/disable ;-) | 23:47 |
DocScrutinizer05 | ls -l /sys/devices/platform/gpio-switch/cam_launch/disable | 23:48 |
DocScrutinizer05 | echo 0 >/sys/devices/platform/gpio-switch/cam_launch/disable ; #:-) done | 23:49 |
DocScrutinizer05 | don't know who's doing the "echo 1 >/sys/devices/platform/gpio-switch/cam_launch/disable" on tk_lock, prolly mce. Anyway should be simple enough to undo it | 23:51 |
DocScrutinizer05 | or even just change permissions of that file? so write is forbidden? | 23:51 |
ff_ | let's try | 23:52 |
DocScrutinizer05 | sudo "echo 0 >/sys/devices/platform/gpio-switch/cam_launch/disable && chmod -w /sys/devices/platform/gpio-switch/cam_launch/disable" | 23:53 |
*** louisdk has joined #maemo | 23:54 | |
ff_ | yes, it works | 23:54 |
DocScrutinizer05 | :-) | 23:54 |
DocScrutinizer05 | don't forget to chmod +w the file on cleanup-on-exit of whatever monitoring process is interested in cam button getting pressed | 23:55 |
sixwheeledbeast | ~beasttweaks | 23:58 |
sixwheeledbeast | note item number 2 ;) | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!