*** LauRoman has joined #maemo | 00:00 | |
*** LauRoman has quit IRC | 00:02 | |
*** LauRoman has joined #maemo | 00:08 | |
bencoh | DocScrutinizer05: ^@ is probably just some undisplayable character | 00:08 |
---|---|---|
DocScrutinizer05 | sounds like 0x00 | 00:12 |
DocScrutinizer05 | compare less `which date` | 00:17 |
DocScrutinizer05 | as such it's indeed "undisplayable" and gets represented in ^notation | 00:30 |
*** DocScrutinizer05 has quit IRC | 00:30 | |
*** DocScrutinizer05 has joined #maemo | 00:31 | |
DocScrutinizer05 | :o> | 00:31 |
DocScrutinizer05 | shouldn't try to type a ctrl+q to get a ctrl+@ ;-P | 00:32 |
bencoh | :D | 00:33 |
*** geaaru has quit IRC | 00:45 | |
*** cyteen has quit IRC | 01:11 | |
*** xy2_ has quit IRC | 01:21 | |
*** N-Mi has joined #maemo | 01:26 | |
*** N-Mi has joined #maemo | 01:26 | |
*** guerby has quit IRC | 01:32 | |
*** Pali has quit IRC | 01:34 | |
*** Venemo has quit IRC | 01:35 | |
*** cyteen has joined #maemo | 01:48 | |
*** LouisA has quit IRC | 02:10 | |
*** florian has quit IRC | 02:14 | |
*** cyteen has quit IRC | 03:12 | |
*** infobot has quit IRC | 03:18 | |
*** infobot has joined #maemo | 03:19 | |
*** xorly has quit IRC | 03:49 | |
*** LouisA has joined #maemo | 03:59 | |
*** drcode has quit IRC | 04:15 | |
*** drcode has joined #maemo | 04:17 | |
*** LouisA has quit IRC | 04:20 | |
*** drcode has quit IRC | 04:25 | |
*** drcode has joined #maemo | 04:29 | |
*** drcode has quit IRC | 04:31 | |
*** eMHa_ has quit IRC | 04:34 | |
*** drcode has joined #maemo | 04:42 | |
Vajb | sicelo: cool. I bet then there'll be regular updates ;) | 05:06 |
*** phlixi_ has joined #maemo | 05:46 | |
*** phlixi has quit IRC | 05:48 | |
*** DocScrutinizer05 has quit IRC | 05:49 | |
*** DocScrutinizer05 has joined #maemo | 05:49 | |
*** vahe has joined #maemo | 06:14 | |
*** drcode has quit IRC | 06:39 | |
*** drcode has joined #maemo | 06:54 | |
*** drcode has quit IRC | 06:57 | |
*** drcode has joined #maemo | 07:00 | |
*** DocScrutinizer05 has quit IRC | 07:09 | |
*** DocScrutinizer05 has joined #maemo | 07:09 | |
*** spiiroin has quit IRC | 07:32 | |
*** stryngs has quit IRC | 07:44 | |
*** stryngs has joined #maemo | 07:46 | |
*** cyphase has quit IRC | 07:52 | |
*** eMHa_ has joined #maemo | 07:53 | |
*** guerby has joined #maemo | 07:55 | |
*** guerby has joined #maemo | 07:55 | |
*** cyphase has joined #maemo | 07:57 | |
sicelo | Vajb: unfortunately we will not get any further updates . . . irssi 1.x needs a newer glib than we have on Maemo | 08:02 |
vahe | Hi all :) I'm looking for bitcoin wallet for n900 | 08:08 |
*** sunshavi has quit IRC | 08:20 | |
sicelo | 19:25 < vahe> hi all :) I'm looking for bitcoin wallet for n900 | 08:22 |
sicelo | 19:55 < DocScrutinizer05> https://talk.maemo.org/showthread.php?t=66756 | 08:22 |
*** jonwil has joined #maemo | 08:23 | |
Vajb | sicelo: that wont be a problem since mainlining is done, right? | 08:26 |
Vajb | tho i have a feeling that thing or two are yet to be done | 08:27 |
*** spiiroin has joined #maemo | 08:35 | |
dreamer | huhm. since yesterday my n900 often doesn't see the sim. tried with some paper between sim and battery, but no luck. any tips? | 08:39 |
dreamer | ok, bending the sim-pins a bit upwards. see how that goes .. | 08:41 |
dreamer | so far so good .. | 08:43 |
dreamer | eh. nope | 08:43 |
dreamer | on boot it's there. 20 secs later it's gone | 08:43 |
dreamer | oh now it's back .. highly unstable then .. | 08:44 |
*** eMHa_ has quit IRC | 08:45 | |
*** eMHa has joined #maemo | 08:47 | |
*** xy2_ has joined #maemo | 08:56 | |
dreamer | aaahnd it's gone | 08:57 |
Vajb | happens to me too once in awhile | 08:58 |
dreamer | I read some topic that mentions firmware being the issue. highly improbable | 08:59 |
dreamer | this worked fine until last weekend | 08:59 |
Vajb | probably gsm modem is coming loose from the board | 09:00 |
Vajb | there was some spring fix for that, but didn't try it out | 09:01 |
dreamer | hmz | 09:01 |
Vajb | u could try "pnatd AT+CFUN=0" instead of rebooting whole device | 09:02 |
Vajb | it restarts the modem chip or something like that | 09:02 |
Vajb | also u can try to switch to offline and back | 09:02 |
*** dafox has joined #maemo | 09:03 | |
dreamer | atm it's just keeps switching off/on/off/on | 09:05 |
*** N-Mi has quit IRC | 09:07 | |
*** Ras_Older has joined #maemo | 09:08 | |
ShadowJK | The sim icon is kinda misleading | 09:16 |
ShadowJK | It's the whole modem blinking out of existence | 09:16 |
*** florian has joined #maemo | 09:19 | |
*** Kabouik has joined #maemo | 09:20 | |
vahe | sicelo: thanks | 09:21 |
*** xy2_ has quit IRC | 09:22 | |
KotCzarny | yeah, modem might be getting loose from th board | 09:24 |
KotCzarny | check if it happens if you dont touch anything (especially kb) | 09:24 |
ShadowJK | I've killed 3 or 4 N900 that way .. it always starts disconnecting when typing f and j or in between there | 09:28 |
*** florian has quit IRC | 09:28 | |
*** dafox has quit IRC | 09:29 | |
dreamer | hmz, this is my 3rd n900. 1st got fried usb port. 2nd got 'lost' (seriously no idea what happened there hehe) and this one I only had a month or 2 | 09:31 |
dreamer | but. hmm. so do I find a rework station and try heating the modem part? | 09:31 |
KotCzarny | maybe it was already faulty, and previous user 'fixed' it by baking? | 09:31 |
dreamer | nah, previous user was a noob | 09:31 |
dreamer | and it only started acting up since this weekend | 09:31 |
KotCzarny | could be selling it because of that | 09:31 |
dreamer | it's in otherwise pristine condition | 09:32 |
KotCzarny | ie. problem could be happening from time to time and he decided to try to cash it while its possible | 09:32 |
*** LauRoman|Alt has joined #maemo | 09:33 | |
Vajb | for me it happens from time to time. I hope it is just area specific thing... | 09:34 |
*** cyteen has joined #maemo | 09:35 | |
KotCzarny | it happened to me once or twice with worn sim card | 09:37 |
KotCzarny | so there is a chance that sim card itself is dirty | 09:37 |
*** Kabouik has quit IRC | 09:39 | |
*** dmth|intevation has joined #maemo | 09:39 | |
*** LauRoman|Alt has quit IRC | 09:43 | |
*** drcode has quit IRC | 09:51 | |
dreamer | KotCzarny: wasn't a he. some middle-aged lady | 09:53 |
KotCzarny | :) | 09:53 |
dreamer | simcard is also new btw | 09:53 |
dreamer | tried cleaning it. no avail | 09:54 |
dreamer | so, rework station? | 09:54 |
*** jskarvad has joined #maemo | 10:05 | |
*** jskarvad has quit IRC | 10:05 | |
*** jskarvad has joined #maemo | 10:05 | |
KotCzarny | if you are skilled enough | 10:06 |
KotCzarny | btw. surest sign of modem fault is 'error communicating with the modem' yellow popup at the boot time | 10:19 |
*** florian has joined #maemo | 10:22 | |
*** drcode has joined #maemo | 10:28 | |
*** florian has quit IRC | 10:33 | |
*** florian has joined #maemo | 10:34 | |
Wizzup | dreamer: there are some 'easy' fixes | 10:41 |
Wizzup | as in, make sure it's not the sim connection, and check what dmesg says, and you can, put a small folded paper in between the phone and the battery (if you think the modem connection is the issue) | 10:41 |
*** Kabouik has joined #maemo | 10:50 | |
*** Kabouik has joined #maemo | 10:50 | |
*** ruskie has quit IRC | 11:01 | |
*** ruskie has joined #maemo | 11:03 | |
buZz | vahe: fyi, native bitcoin core supports arm nowadays, no need for untrusted binaries ;) | 11:10 |
buZz | vahe: but without spv , i wouldnt really run it on n900 | 11:10 |
buZz | there is https://github.com/bitcoin/bitcoin/pull/9483 though | 11:10 |
vahe | buZz: Yes, I already understood , thanks :D | 11:12 |
buZz | :) yw | 11:12 |
vahe | :) | 11:12 |
vahe | buZz: I was just looking for a wallet for your phone | 11:13 |
vahe | but didn't think it was so hard for this phone | 11:13 |
buZz | well its older than bitcoin :P | 11:13 |
buZz | took a while for ppl to realize what bitcoin was etc | 11:14 |
vahe | yup :) | 11:14 |
buZz | there is https://multibit.org/ which is just java | 11:16 |
buZz | it could work, although you might struggle with interface a bit | 11:16 |
vahe | I'm on my computer use electrum | 11:18 |
dreamer | Wizzup: already did the folder paper thing. also bended the pins a bit up. pretty sure it's not the connection to the sim | 11:19 |
vahe | buZz: https://electrum.org/ | 11:19 |
buZz | vahe: i think someone did make a maemo port of that at some time | 11:20 |
buZz | but doubt it kept up with recent changes | 11:20 |
Wizzup | dreamer: the paper helps not just with the sim connection | 11:23 |
vahe | buZz: https://bpaste.net/show/12eadef92c96 | 11:32 |
vahe | :D | 11:32 |
buZz | well yes :P | 11:41 |
dreamer | Wizzup: well, it didn't help at all :) | 12:00 |
Wizzup | dreamer: aw | 12:04 |
*** xorly has joined #maemo | 12:15 | |
*** eMHa has quit IRC | 12:37 | |
*** XDS2010 has quit IRC | 12:43 | |
*** XDS2010 has joined #maemo | 12:47 | |
*** LouisA has joined #maemo | 13:05 | |
*** vahe has quit IRC | 13:20 | |
*** N-Mi has joined #maemo | 13:23 | |
*** N-Mi has joined #maemo | 13:23 | |
*** frals has quit IRC | 13:25 | |
*** silviof has joined #maemo | 13:29 | |
*** vahe has joined #maemo | 13:30 | |
DocScrutinizer05 | ~tell dreamer about springfix | 13:35 |
DocScrutinizer05 | "paper between sim and battery" doesn't help anything | 13:36 |
DocScrutinizer05 | "bending the sim-pins a bit upwards" is risky and doesn't help either | 13:36 |
sicelo | Vajb: irssi needs your testing and voting :) - http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/irssi/0.8.21-1/ | 13:36 |
DocScrutinizer05 | when the SIM symbol is initially there but vanishes after ~20s just to return later on, it's highly likely the problem is faintly related to TX, so the modem detects problems as soon as trying to register to a cell it found. Similar effect known to happen on mountain summits when phones have clear and good reception but the station is too far away to allow login. | 13:41 |
DocScrutinizer05 | another possible issue is very old battery which causes brownouts during TX bursts, ruining the TX signal to a degree where all connections fail | 13:41 |
DocScrutinizer05 | but that's a condition the modem should detect and report separately | 13:42 |
DocScrutinizer05 | the only real effect of paper cushion for SIM is: it supports the PCB slightly, so the PCB can bend less when pressing keys on kbd | 13:47 |
DocScrutinizer05 | dreamer: ^^^ | 13:48 |
DocScrutinizer05 | rework station is a good approach, when the operator is experienced | 13:50 |
DocScrutinizer05 | ~usbfix | 13:51 |
infobot | it has been said that usbfix is http://talk.maemo.org/showthread.php?t=75920 - and **NEVER** use epoxy (unless you want to seal your device for underwater), or https://www.youtube.com/watch?v=fYz5nIHH0iY#t=1866, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt | 13:51 |
DocScrutinizer05 | while you're at it | 13:51 |
Vajb | sicelo: i don't have account there. Failed o activation. I reported it here and forgot the whole thing. | 13:52 |
Vajb | in acti... | 13:52 |
DocScrutinizer05 | when you're "baking" the device, you must remove all heat sensitive items before: camera, domesheet (*carefully* peel off and store on a "wax" paper), plastic frame on uSD board | 13:53 |
DocScrutinizer05 | ) | 13:53 |
DocScrutinizer05 | better use a professional rework station and reflow the modem chipset only. You need to remove tha can prior to that | 13:54 |
DocScrutinizer05 | but before you do that, clean the antenna contacts of GSM antenna | 13:55 |
DocScrutinizer05 | and make sure you got a battery with low ESR aka impedance, colloquially "a new fresh battery" | 13:56 |
* dreamer never had the usb issue | 14:01 | |
dreamer | but hmm. will see if I can use a rework station one of these days | 14:02 |
DocScrutinizer05 | usbfix is baby easy as long as USB is not broken yet. Once it's broken you will be sorry you didn't reinforce it beforehand | 14:12 |
DocScrutinizer05 | actually for USB fix you don't need anything but a screwdriver or knife to scratch away the green solderstop varnish, a decent 60W soldering iron and good quality brand 60/40 flux core solder | 14:17 |
DocScrutinizer05 | if you can solder two wires together and are sufficiently skilled to erase a writing from paper with a razorblade/knife, you can do USB fix | 14:20 |
DocScrutinizer05 | reflow fixing the "no SIM" modem defect is a whole different story | 14:21 |
*** vahe has quit IRC | 14:22 | |
DocScrutinizer05 | also make sure it's not actually a problem of your network providers. E.g. in some parts of USA I could see how N900 slowly ceases working at all, simply due to discontinued support for any of the frequency bands it could use | 14:24 |
DocScrutinizer05 | a "fails after 20s" could also mean "the device thinks there's a band/network suitable for logging in, but when trying to log in the carrier rejects the login" | 14:25 |
DocScrutinizer05 | weird new extensions to the OverTheAir protocol might actually even cause lockups or freezes in the modem's firmware, so yes, it may also be a firmware issue, alas not fixable on N900 side, only by using a different SIM for a different provider, or the 'rogue' provider fixing their protocol extensions | 14:28 |
DocScrutinizer05 | generally I strongly suggest installing syslogd and having a look into the logs | 14:29 |
*** eMHa has joined #maemo | 14:31 | |
DocScrutinizer05 | to rule out the "incompatible carrier" issues you could use any other Nokia phone using BB5 modem of roughly same age. They are a zillion | 14:32 |
*** jskarvad has quit IRC | 14:32 | |
*** LouisA has quit IRC | 14:33 | |
DocScrutinizer05 | https://en.wikipedia.org/wiki/List_of_Nokia_products ^F "BB5" | 14:33 |
DocScrutinizer05 | ideally you check for similar modem firmware, but I don't know how to accomplish that | 14:44 |
DocScrutinizer05 | going for release date in *#0000# might be the as close as it gets here | 14:45 |
*** MoeIcenowy has left #maemo | 14:56 | |
dreamer | DocScrutinizer05: lol @ springs and glue .. | 14:57 |
dreamer | but ehm. the cell connection just keeps goin on/off/on/off | 14:58 |
dreamer | was so at home and now at work | 14:58 |
dreamer | can't really discern any when/how/what would be the cause | 14:58 |
KotCzarny | change provider? | 14:59 |
KotCzarny | ie. test with different network? | 14:59 |
KotCzarny | borrow from someone or just buy cheapest prepaid | 14:59 |
dreamer | so, that would be if it's the towers dropping certain bands? | 15:11 |
dreamer | there are only 2 kinds of towers in .nl | 15:11 |
dreamer | those by kpn and those by t-mobile | 15:11 |
dreamer | any prepaid will also use the kpn network (where I'm on). so it wouldn't matter | 15:11 |
*** remarc has joined #maemo | 15:23 | |
*** remarc has quit IRC | 16:00 | |
*** remarc has joined #maemo | 16:03 | |
sicelo | modem on its way out. mine did the same thing for a few weeks, until eventually it completely stopped working (second N900. thankfully my daily is still fine) | 16:10 |
*** spiiroin has quit IRC | 16:10 | |
*** N-Mi has quit IRC | 16:25 | |
*** spiiroin has joined #maemo | 16:25 | |
*** remarc has quit IRC | 16:36 | |
*** N-Mi has joined #maemo | 16:39 | |
*** N-Mi has joined #maemo | 16:39 | |
*** silviof has quit IRC | 16:53 | |
*** BCMM has joined #maemo | 16:56 | |
*** silviof has joined #maemo | 17:06 | |
*** florian has quit IRC | 17:14 | |
*** remarc has joined #maemo | 17:22 | |
*** jskarvad has joined #maemo | 17:28 | |
DocScrutinizer05 | dreamer: most likely your modem can receive but fails to transmit | 17:35 |
DocScrutinizer05 | since logging in to a network involves transmitting, the login will eventually fail | 17:36 |
DocScrutinizer05 | the modem "resets" and retries | 17:36 |
*** jonwil has quit IRC | 17:42 | |
DocScrutinizer05 | possible reasons are (in no particular order): chip balls coming off the PCB; IMEI blacklisted at provider; antenna contacts dirty; SIM contacts dirty; battery weak/worn; huge distance to base station; firmware issues, possibly caused by new protocol details on carrier | 17:42 |
*** LauRoman has quit IRC | 17:42 | |
*** LauRoman has joined #maemo | 17:42 | |
*** povbot has joined #maemo | 17:47 | |
*** FredrIQ has joined #maemo | 17:47 | |
*** luke-jr has joined #maemo | 17:48 | |
DocScrutinizer05 | anyway, the problem is known, probably usually related to chip solder joints snapping open, and there's no surefire fix for it | 17:48 |
*** N-Mi has quit IRC | 17:48 | |
DocScrutinizer05 | the initial cause is too high force pushing down keys on hw keyboard | 17:49 |
*** sunshavi has joined #maemo | 17:51 | |
*** hadara has joined #maemo | 17:52 | |
DocScrutinizer05 | could also happen from pushing/squeezing the complete device while in pocket for example | 17:53 |
*** FIQ has joined #maemo | 17:56 | |
*** FredrIQ has quit IRC | 17:56 | |
*** aloril_ has joined #maemo | 17:57 | |
*** AndrewX192 has joined #maemo | 17:58 | |
*** dmth|intevation has quit IRC | 17:59 | |
*** N-Mi has joined #maemo | 18:01 | |
*** N-Mi has joined #maemo | 18:01 | |
*** BCMM has quit IRC | 18:05 | |
*** xy2_ has joined #maemo | 18:07 | |
dreamer | DocScrutinizer05: no it actually connects. I can use the cell functions when it is connected | 18:08 |
DocScrutinizer05 | hmm ok | 18:08 |
dreamer | so, my guess is reflowing modem | 18:09 |
DocScrutinizer05 | still that doesn't help tracking down the issue much | 18:09 |
dreamer | but .. no idea when I'll have access to a reflow gun | 18:09 |
DocScrutinizer05 | check your syslog! | 18:10 |
DocScrutinizer05 | though odds are it's the usual issue | 18:10 |
dreamer | McSAAB? | 18:10 |
DocScrutinizer05 | hm? | 18:10 |
dreamer | I see bunch of messages by McSAAB in dmesg | 18:11 |
DocScrutinizer05 | this is the interface to modem | 18:11 |
dreamer | 'CMT reset line change detected' and then bunch of stuff | 18:11 |
DocScrutinizer05 | yes, that means the modem received a reset | 18:13 |
DocScrutinizer05 | or rather, sent one | 18:14 |
DocScrutinizer05 | iow it rebooted | 18:14 |
dreamer | so that indicates the modem doesn't connect to the pcb properly? | 18:14 |
dreamer | or can it reboot to other reasons? | 18:14 |
DocScrutinizer05 | of course it can reboot for a lot of reasons | 18:14 |
DocScrutinizer05 | none of them expected though | 18:15 |
DocScrutinizer05 | for reference: http://paste.ubuntu.com/24499019 | 18:17 |
DocScrutinizer05 | IroN900:~# wc -l /var/log/syslog | 18:19 |
DocScrutinizer05 | 137722 /var/log/syslog | 18:19 |
* dreamer really needs to fix ssh into the n900 | 18:20 | |
dreamer | for this kind of stuff hehe | 18:20 |
dreamer | usually after a restart it can connect to the cell btw. can see my provider name and 3G reception etc. | 18:20 |
*** xy2_ has quit IRC | 18:34 | |
*** dafox has joined #maemo | 18:47 | |
*** Kabouik has quit IRC | 19:00 | |
*** xy2_ has joined #maemo | 19:11 | |
*** dafox has quit IRC | 19:21 | |
*** Pali has joined #maemo | 19:26 | |
*** xy2_ has quit IRC | 19:28 | |
*** hurrian_ has joined #maemo | 19:36 | |
*** hurrian has quit IRC | 19:38 | |
*** florian has joined #maemo | 19:40 | |
*** florian has joined #maemo | 19:40 | |
*** BCMM has joined #maemo | 19:41 | |
Enrico_Menotti | Hello. I investigated a bit about gpio keys in Devuan on the n900. After loading the kernel module gpio-keys, a new node appears on /dev/input/event3. I tried with evtest event3 and got the following: | 19:43 |
Enrico_Menotti | root@devuan:/dev/input# evtest event3 | 19:43 |
Enrico_Menotti | Input driver version is 1.0.1 | 19:43 |
Enrico_Menotti | Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100 | 19:43 |
Enrico_Menotti | Input device name: "gpio_keys" | 19:43 |
Enrico_Menotti | Supported events: | 19:43 |
Enrico_Menotti | Event type 0 (EV_SYN) | 19:43 |
Enrico_Menotti | Event type 1 (EV_KEY) | 19:43 |
Enrico_Menotti | Event code 152 (KEY_SCREENLOCK) | 19:43 |
Enrico_Menotti | Event code 212 (KEY_CAMERA) | 19:43 |
Enrico_Menotti | Event code 528 (?) | 19:43 |
Enrico_Menotti | Event type 5 (EV_SW) | 19:43 |
Enrico_Menotti | Event code 9 (SW_CAMERA_LENS_COVER) | 19:43 |
Enrico_Menotti | Event code 10 (SW_KEYPAD_SLIDE) | 19:43 |
Enrico_Menotti | Event code 11 (SW_FRONT_PROXIMITY) | 19:43 |
Enrico_Menotti | Properties: | 19:43 |
Enrico_Menotti | Testing ... (interrupt to exit) | 19:43 |
KotCzarny | slide it baby, slid | 19:44 |
Enrico_Menotti | The side slide switch reacts as KEY_SCREENLOCK. Let's forget for now the (?) event (quite strange). | 19:44 |
KotCzarny | and proximity is the photoresistor near the screen | 19:45 |
Enrico_Menotti | Ok. | 19:45 |
Enrico_Menotti | Now these gpio keys produce strange symbols on console. I'd expect something listening to them and reporting events to the console. But how to find what it is and make it behave properly? | 19:46 |
KotCzarny | you get what you have there | 19:47 |
KotCzarny | ie. check input.h for key aliases and friends | 19:48 |
KotCzarny | KEY_CAMERA KEY_SCREENLOCK etc | 19:48 |
Enrico_Menotti | Input.h in the kernel module? | 19:49 |
KotCzarny | in kernel tree | 19:49 |
Enrico_Menotti | Ok. I'll look for it. | 19:49 |
KotCzarny | SW_* ones might be in some n900 specific one though | 19:49 |
Enrico_Menotti | Ok. | 19:50 |
KotCzarny | those are the keys generated, think of it as a keyboard with multimedia keys | 19:50 |
*** xy2_ has joined #maemo | 19:54 | |
*** xy2_ has quit IRC | 20:11 | |
*** dafox has joined #maemo | 20:13 | |
DocScrutinizer05 | Enrico_Menotti: didn't I point you to a website a few days ago? http://compsoc.man.ac.uk/~shep/pedals.html | 20:14 |
DocScrutinizer05 | also see | 20:14 |
DocScrutinizer05 | ~vi-keymap | 20:14 |
DocScrutinizer05 | dang what been it | 20:14 |
DocScrutinizer05 | ~listvalues vi*awesome | 20:14 |
infobot | Factoid search of 'vi*awesome' by value (3): vi-kbd ;; ironman ;; #maemo awesome-keymap. | 20:14 |
DocScrutinizer05 | ~awesome-keymap | 20:15 |
infobot | i heard awesome-keymap is http://wiki.maemo.org/Remapping_keyboard/user_vis_awesome_kbdmapping | 20:15 |
Enrico_Menotti | DocScrutinizer05 To be honest I don't remember that first website. Yes, I know the awesome kbdmapping - I will look at that again. Ty. | 20:15 |
Enrico_Menotti | Meanwhile I found where the gpio key definitions are (at least, some trace of them): https://lkml.org/lkml/2013/10/22/509. | 20:16 |
DocScrutinizer05 | IIRC you first need to determine the scancodes, then assign keysyms to them, and finally make your apps react on the keysyms | 20:17 |
DocScrutinizer05 | wait | 20:18 |
DocScrutinizer05 | IIRC you first need to determine the scancodes, then assign keycodes to scancodes, then assign keysyms to keycodes, and finally make your apps react on the keysyms ??? | 20:18 |
Enrico_Menotti | Now I see the first link refers to udev, which I don't have. | 20:19 |
DocScrutinizer05 | input in linux is a MESS | 20:19 |
Enrico_Menotti | :) | 20:19 |
APic | 😎 | 20:20 |
Enrico_Menotti | :D | 20:20 |
DocScrutinizer05 | udev only executes other commandline tools basically | 20:20 |
Enrico_Menotti | Ah. | 20:20 |
DocScrutinizer05 | afaik the only thing udev does on its own is creating generic 'files' with permissions and maybe also mount or symlink sth there | 20:21 |
*** vahe has joined #maemo | 20:21 | |
APic | 😎 | 20:21 |
DocScrutinizer05 | also it can change owner/permission of files | 20:22 |
DocScrutinizer05 | but for stuff like keymapping it for sure resorts to other commandline tools, I'd think | 20:23 |
DocScrutinizer05 | oh fsck! actually udev handles scancode mapping internally | 20:25 |
DocScrutinizer05 | KEYBOARD_KEY_70004=f13 ((/etc/udev/hwdb.d/90-custom-keyboard.hwdb)) but AIUI this is already accomplished in your gpio driver which doesn't provide scancodes but actually keycodes | 20:27 |
DocScrutinizer05 | at least your "evtest event3" results suggest that | 20:29 |
DocScrutinizer05 | so for lockswitch I'd assume you get a "Event type 1 (EV_KEY) - Event code 152 (KEY_SCREENLOCK)" event on dev/input3 | 20:32 |
KotCzarny | in short, gpio input layer says 'there is scancode 152' and kernel says 'ok got KEY_SCREENLOCK' | 20:33 |
KotCzarny | so your apps should react on KEY_* and SW_* keys | 20:33 |
*** florian has quit IRC | 20:35 | |
DocScrutinizer05 | xev would see something similar to http://paste.ubuntu.com/24499762 | 20:35 |
DocScrutinizer05 | compare to http://paste.ubuntu.com/24499769 which is my spacebar key and mapped to char " " | 20:37 |
DocScrutinizer05 | I guess "KeyPress event" is equivalent to "Event type 1 (EV_KEY)" | 20:40 |
Enrico_Menotti | I admit I am a bit confused. DocScrutinizer05 , how did you get exactly those pastes? And if I understand, they are related to the X environment, right? Now I'm on console - where is the mapping from KEY_SCREENLOCK to any action? | 20:40 |
DocScrutinizer05 | there is none for console | 20:41 |
KotCzarny | Enrico_Menotti: you can remap those keys with mainline kernel | 20:42 |
DocScrutinizer05 | except in the shell and mintty or whatever you're running | 20:42 |
Enrico_Menotti | I'll add what I get from evtest event3 if I move the slide switch: | 20:43 |
Enrico_Menotti | Event: time 1493745937.054557, type 1 (EV_KEY), code 152 (KEY_SCREENLOCK), value 1 | 20:43 |
Enrico_Menotti | Event: time 1493745937.054557, -------------- EV_SYN ------------ | 20:43 |
Enrico_Menotti | Event: time 1493745937.228474, type 1 (EV_KEY), code 152 (KEY_SCREENLOCK), value 0 | 20:43 |
Enrico_Menotti | Event: time 1493745937.228474, -------------- EV_SYN ------------ | 20:43 |
DocScrutinizer05 | when I'm on console, pressing that keycode 172 (keysym 0x1008ff14, XF86AudioPlay) on my PC's keyboard doesn't do shit | 20:44 |
Enrico_Menotti | 172? | 20:44 |
DocScrutinizer05 | yes, that's the jeycode for that multimedia "Play" button | 20:45 |
Enrico_Menotti | Ok. | 20:45 |
DocScrutinizer05 | lockswitch on N900 with GPIOswitch obviously delivers code 152 (KEY_SCREENLOCK) | 20:46 |
DocScrutinizer05 | plus a EV_SYN event whatever that is | 20:47 |
Enrico_Menotti | Ok, so this code appears somewhat at /dev/input/event3. Now how is that converted to a signal to the console? | 20:47 |
DocScrutinizer05 | signal? | 20:47 |
DocScrutinizer05 | what kind of "signal" do you hope for? | 20:48 |
Enrico_Menotti | I used that ambigous term on purpose, since I don't know actually how to define some event as perceived by the console. | 20:49 |
DocScrutinizer05 | tbh the console shouldn't even read from /dev/input3 at all | 20:49 |
Enrico_Menotti | Yes, in fact. This is what is strange to me. | 20:49 |
DocScrutinizer05 | and when it does, it shouldn't receive a char mapped to those events | 20:49 |
DocScrutinizer05 | so nothing for the console to do | 20:50 |
Enrico_Menotti | Yes. | 20:50 |
DocScrutinizer05 | od -foobarparam /dev/input3 | 20:50 |
Enrico_Menotti | With the same kernel, and booting Debian, the slide switch works properly (on console): it wakes up the screen. | 20:50 |
DocScrutinizer05 | that's not done "on console" | 20:51 |
Enrico_Menotti | Yes, I understand. | 20:51 |
Enrico_Menotti | But console doesn't output strange symbols. (On Debian.) (At least, I did not recognise any.) | 20:51 |
Enrico_Menotti | Let me check. | 20:51 |
DocScrutinizer05 | some other process is listening to /dev/onput3 and acts accordingly when seeing "type 1 (EV_KEY), code 152 (KEY_SCREENLOCK), value 1" | 20:51 |
DocScrutinizer05 | "act accordingly" means: blank/unblamk the screen | 20:52 |
Enrico_Menotti | I'm booting Debian. I want to understand what happens there. | 20:53 |
DocScrutinizer05 | unrelated to whether that's a console or a hildon-chess or whatever showing on display | 20:53 |
DocScrutinizer05 | lsof|grep /dev/input3 | 20:53 |
DocScrutinizer05 | if there's even such thing like /dev/input3 | 20:54 |
Enrico_Menotti | Ok. A moment. | 20:54 |
DocScrutinizer05 | could even be kernel itself handling that | 20:54 |
DocScrutinizer05 | to start with, check if there's /dev/input3 and lsmod|grep gpio | 20:55 |
DocScrutinizer05 | maemo handles that stuff completely different, via /sys/* | 20:56 |
DocScrutinizer05 | and kevents iirc | 20:56 |
DocScrutinizer05 | check kerecv | 20:56 |
DocScrutinizer05 | hmm nope, maemo's ke-recv handles a lot but not lockswitch http://paste.ubuntu.com/24499859 | 20:59 |
*** vahe has quit IRC | 21:00 | |
Enrico_Menotti | Ok, I was completely wrong. Sorry. Also with Debian I get the same strange symbol on console. :/ | 21:00 |
DocScrutinizer05 | yes, I also get ^@ on console for keys that are not known to the console | 21:06 |
DocScrutinizer05 | on my PC | 21:06 |
DocScrutinizer05 | however there are other keys I don't get anything at all | 21:07 |
*** BCMM has quit IRC | 21:08 | |
DocScrutinizer05 | only in evtest though. without evtest running I don't get anything at all for most "special" keys", incl the vol- key that delivers ^[[25~ and the Play key that delivers ^@ in evtest | 21:10 |
Vajb | dreamer: just a thought, but have u tried to change phone modes from settings? I mean dual-3g-gsm. | 21:12 |
DocScrutinizer05 | anyway who cares about special keys in console of N900? ;-P | 21:12 |
DocScrutinizer05 | after all console isn't what you want to run on N900 in the end | 21:13 |
Enrico_Menotti | DocScrutinizer05 Yes, ok. I was thinking there was something wrong, that's why I started investigating these gpio keys. Now I know the module which handles them, and also where they show up (/dev/input/...). | 21:14 |
Enrico_Menotti | I'm just curious to understand where these events get mapped to keycodes. | 21:15 |
*** xorly has quit IRC | 21:20 | |
*** N-Mi has quit IRC | 21:22 | |
*** florian has joined #maemo | 21:43 | |
dreamer | Vajb: either gsm or 3g it still loses connection | 21:50 |
dreamer | I think I'll have to go try and destroy a pen to put the spring in there | 21:52 |
dreamer | or 'bits of spring' | 21:53 |
dreamer | and see if that keeps the modem connected .. | 21:53 |
*** Kabouik has joined #maemo | 21:56 | |
*** frals has joined #maemo | 22:09 | |
*** Kabouik has joined #maemo | 22:15 | |
*** Kabouik has quit IRC | 22:16 | |
*** jskarvad has quit IRC | 22:24 | |
*** RedW has quit IRC | 22:48 | |
dreamer | meh | 22:52 |
dreamer | Wizzup: you don't happen to want to trade an n900 do you? ;) (if you don't need stable modem) | 22:53 |
*** RedW has joined #maemo | 23:07 | |
*** xy2_ has joined #maemo | 23:12 | |
*** remarc has quit IRC | 23:43 | |
*** Cor-Ai has quit IRC | 23:47 | |
*** Cor-Ai has joined #maemo | 23:51 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!