**** BEGIN LOGGING AT Sun Jul 03 02:59:58 2016 Jul 03 06:36:50 Deadness. Jul 03 14:52:00 what tool/utility could i use on linux/n900 to figure out what keys a bluetooth device sends? it's a bluetooth camera remote Jul 03 14:55:38 xmodmap? Jul 03 14:56:12 xev Jul 03 14:57:03 awesome. thanks. will try that Jul 03 15:04:01 that is, if it shows as an input for xorg :) Jul 03 15:12:25 i hope it does :) Jul 03 15:36:17 when it doesn't, you have another class of problem already Jul 03 15:37:13 I dunno if wireshark would help to dump raw data from BT socket Jul 03 15:38:35 but "which keys" implies it's a kbd device of sorts, so should show up in /dev/*/* Jul 03 15:39:00 then it's xev, yes Jul 03 15:39:21 or a brute force dump of the /dev/*/* input device Jul 03 15:40:59 possibly helpful sites: http://compsoc.man.ac.uk/~shep/pedals.html http://homepages.cwi.nl/~aeb/linux/kbd/scancodes-8.html#kccb2 Jul 03 15:44:55 (xev) or evtest Jul 03 15:46:51 thankfully, the device *does* show up as a keybaord. first problem gone Jul 03 15:46:59 :-) Jul 03 15:47:00 time to figure out the key Jul 03 15:47:34 when xev shows something, you're more than halfway there already Jul 03 15:48:07 it does, but i think useless info :-/ Jul 03 15:48:20 paste the line Jul 03 15:48:37 wait, xev is multiline iirc Jul 03 15:48:42 so pastebin Jul 03 15:48:58 PropertyNotify event, serial 16, synthetic NO, window 0x3008c58, atom 0x14a (_NET_WM_USER_TIME), time 67423988, state PropertyNewValue Jul 03 15:49:23 even pressing any N900 key shows the same :-/ (mostly) Jul 03 15:49:30 DocScrutinizer05: err, xev only helps with *X* input devs, not general inputs Jul 03 15:50:18 Sicelo: xev needs focus Jul 03 15:50:47 it has focus (active window) Jul 03 15:52:17 iirc/afaict it doesn't take focus (without the help of wmctrl maybe) Jul 03 15:52:50 plain X11 windows support is half-broken with mb2 Jul 03 15:53:24 rather x11 clients should set a hint/property and they dont, which is one mb2 doesn't give it focus Jul 03 15:53:43 s/one/why/ Jul 03 15:53:44 bencoh meant: rather x11 clients should set a hint/property and they dont, which is why mb2 doesn't give it focus Jul 03 15:53:51 okay. seems uphill battle :) Jul 03 15:54:13 bencoh: I know Jul 03 15:54:21 fixing it usually takes a 4lines patch and a rebuild Jul 03 15:55:06 i'm with N900 only here :p Jul 03 15:55:28 so it will have to wait for next week Jul 03 15:56:03 http://pastebin.notk.org/pastebin.php?show=d3caee2cc for mupdf for instance Jul 03 15:56:08 ah... Jul 03 15:56:49 maybe we should actually add said patch and push it to -extras, actually Jul 03 15:57:00 (or patch mb2 so that it doesn't need it ....) Jul 03 16:03:52 what is mb2? Jul 03 16:04:25 DocScrutinizer05: Is the Neo900 Project still alive? Jul 03 16:04:28 matchbox Jul 03 16:04:35 APic: yes Jul 03 16:04:37 Nice Jul 03 16:04:39 ☺ Jul 03 16:05:08 DocScrutinizer05: matchbox Jul 03 16:05:23 rhugh I'm severely struggling with everything and more getting offloaded to my responsibility, which originally absolutely wasn't the plan Jul 03 16:05:39 bencoh: ta Jul 03 16:06:18 yes, matchbox is half-broken when you challenge it on a proper X11 level Jul 03 16:07:01 and yes, it prolly could use some patches to fix several of those flaws Jul 03 16:55:34 cat /dev/input/something ? Jul 03 17:02:02 od -An -N3 -tx1 -w3 /dev/input/mouse1 Jul 03 17:03:21 as for the headset buttons i think i've used dbus monitor Jul 03 18:14:51 had stepped away. dmesg shows it coming uu[83072.050964] input: i shutter as /class/input/input6 Jul 03 18:14:59 dmesg Jul 03 18:15:01 meh Jul 03 18:15:04 [83072.050964] input: i shutter as /class/input/input6 Jul 03 18:15:27 cat /dev/input/event6 ? Jul 03 18:17:23 doesn't exists. only in /sys Jul 03 18:17:26 :-/ Jul 03 18:18:36 pastebin /proc/bus/input/devices Jul 03 18:19:23 mknod? Jul 03 18:19:45 nah, probably different name Jul 03 18:19:47 /sys/class/input/event6/uevent will suggest you the args Jul 03 18:20:04 it goes to /dev/inpitu/eventX Jul 03 18:20:12 just reconnecting the thing Jul 03 18:20:16 *input Jul 03 18:20:37 it seems to disconnect after a while (to save battery i suppose) Jul 03 18:23:43 damn thing sends a whole lot of characters Jul 03 18:24:58 you don't want to cat any /dev/input7* Jul 03 18:25:05 it seems a lost cause ... will test it properly when back on a pc (next week) Jul 03 18:25:37 or just give it to a friend with android/ios phone Jul 03 18:25:45 o.O Jul 03 18:25:47 * Sicelo isn't a photos person any way Jul 03 18:26:08 nfc what's the purpose of that thing anyway Jul 03 18:26:34 it's a remote shutter Jul 03 18:26:46 ? Jul 03 18:26:49 heheh Jul 03 18:26:59 might require proper software Jul 03 18:27:18 could be Jul 03 18:27:59 DocScrutinizer05: for taking pictures while camera is at a distance (they use them in selfie sticks for example) Jul 03 18:28:17 so it's basically a kbd Jul 03 18:28:37 yes, N900 bluetooth interface sees it as keyboard Jul 03 18:28:54 then I don't understand the problem Jul 03 18:29:36 i need to know what 'key/character' it sends .. so i can remap it to the 'C' key if possible, which nicocam uses for capturing Jul 03 18:29:50 or anyone has better idea than this? Jul 03 18:29:58 did you read the links I suggested? Jul 03 18:30:09 what is the name/model of th thing? Jul 03 18:30:34 chinese thing i think. DocScrutinizer05, i did. will go through them again Jul 03 18:30:44 KotCzarny: chinese thing .. let me see Jul 03 18:30:55 od -An -N3 -tx1 -w3 /dev/input/$* Jul 03 18:31:40 KotCzarny: nothing specific (no surprise) .. just "i shutter" Jul 03 18:31:51 https://shkspr.mobi/blog/2016/02/cheap-bluetooth-buttons-and-linux/ Jul 03 18:33:26 DocScrutinizer05: n900 doesn't like some of the arguments there .. not sure which one Jul 03 18:34:35 sicelo, see the link, code is there too and debug commands Jul 03 18:34:59 also in the comments section Jul 03 18:35:50 looking :) Jul 03 18:37:37 yes, this might be the exact same... the remote also has two buttons (android/ios) Jul 03 18:39:01 most are clones anywat with the same hw Jul 03 18:40:50 i gues though, it will be a bit more useful on a pc than N900 Jul 03 18:41:24 could use it to control a media player, or at least mute/unmute Jul 03 18:41:29 :) Jul 03 18:41:47 is there any obvious reason why the battery %/mah reading in the system tray dropdown menu has basically stopped updating automatically? it was at 2% and i let it charge overnight, reported 2% until a reboot was done, same thing happens with discharging Jul 03 18:41:50 you can use n900 to control media player Jul 03 18:42:28 yes :& Jul 03 18:43:09 Linkandzelda: i get that too .. dunno really. haven't looked at it deeper. probably should Jul 03 18:43:37 Sicelo: the only way i can fix it is to use the advanced power which has its own daemon to report the info Jul 03 18:44:08 i don't like those :-/ Jul 03 18:44:14 me neither Jul 03 18:44:34 Sicelo: try cat /dev/input/event42|od -An -N3 -tx1 -w3 Jul 03 18:44:38 * Sicelo wants minimal system .. no duplicate software doing the same thing Jul 03 18:45:08 DocScrutinizer05: that won't work too .. -A -N are not in N900's od :( Jul 03 18:45:14 substitute 42 by whatever the new input device you see when connecting the thing Jul 03 18:45:18 i ended up testing only the -x Jul 03 18:45:46 i think i'll leave this for a proper pc :) Jul 03 18:46:03 so will ping you all again next week Jul 03 18:46:09 use proper gnu od Jul 03 18:46:36 messybox hardly understand what od *is* Jul 03 18:46:48 i was given an old Thinkpad X40 today, lol .. dunno how useful that is/will be Jul 03 18:47:13 sicelo: grab msata to ide adapter and make it soar Jul 03 18:47:22 do you see a new input device when pairing the thing? Jul 03 18:47:28 err connecting Jul 03 18:47:39 remember to get 3,3V one Jul 03 18:47:48 KotCzarny: it's got SSD apparently .. not yet sure the size as it has no power cable Jul 03 18:48:18 x40 is a little marvel Jul 03 18:48:29 DocScrutinizer05: dmesg doesn't seem to register anything, but it does get created as /dev/input/event4 Jul 03 18:48:36 sing;e core hurts performance though Jul 03 18:49:14 i can imagine. no wifi too .. maybe if i'm lucky will find a card for it Jul 03 18:49:27 just plain minipci Jul 03 18:49:37 then you can get scancodes from input4 Jul 03 18:49:59 usb dongle in the worst case Jul 03 18:50:12 seems to have IR too .. so maybe i can get more remotes for my N900 (pierogi) Jul 03 18:50:27 or maybe not .. :-/ Jul 03 18:50:44 KotCzarny: but yes, it looks good for an oldie thing Jul 03 18:51:11 i still use mine as console/webbrowser machine Jul 03 18:51:35 cat /dev/input/event4|od -tx1 Jul 03 18:51:41 how much ram it has? Jul 03 18:52:04 512 soldered on + 1gb module Jul 03 18:52:06 you'll need to press button several times until your broken od will spam out first printline Jul 03 18:52:39 DocScrutinizer05: no -t or tx on this one Jul 03 18:52:52 ohmy then use -x iirc Jul 03 18:53:08 KotCzarny: i don't yet know if the 1GB was added, but hope to power it up soon and test Jul 03 18:53:15 however you get 16bit values then iirc Jul 03 18:53:27 with upper/lower byte swapped Jul 03 18:53:39 which is confusing like hell Jul 03 18:53:45 you might be unlucky to have the board with 256M soldered on Jul 03 18:54:03 i find it funny that the n900 has a more up to date version of rsync than the latest os x release Jul 03 18:54:09 fsck messybox! Jul 03 18:54:25 KotCzarny: i expect that tbh Jul 03 18:54:57 http://www.thinkwiki.org/wiki/Category:X40 Jul 03 18:55:59 at least it seems Gb ethernet was standard, if that wiki is correct Jul 03 18:56:09 apt-get install coreutils-gnu Jul 03 18:56:28 honestly now Jul 03 18:56:37 ~messybox Jul 03 18:56:37 messy... err busybox is meant for lean scripting. Regarding all the missing options and immanent limitations (see su, passwd, nice, ps, diff as used by mc...) it's not really the interactive shell of choice. A lot of people hate busybox because a lot of system integrators don't understand the difference between busybox and a decent user interactive shell plus unix utils Jul 03 18:56:52 i have that DocScrutinizer05 Jul 03 18:57:06 then what the heck is your od? Jul 03 18:57:24 IroN900:~# od --version Jul 03 18:57:24 lol. maybe is should do 'god' Jul 03 18:57:25 od (GNU coreutils) 8.4 Jul 03 18:57:39 o.O Jul 03 18:57:55 IroN900:~# echo $PATH Jul 03 18:57:56 /usr/local/sbin:/usr/local/bin:/usr/sbin/gnu:/usr/sbin:/usr/bin/gnu:/usr/bin:/sbin:/bin:/usr/bin/X11 Jul 03 18:58:27 i don't have that gnu path Jul 03 18:58:50 thats probably from installing some gnu utils Jul 03 18:58:53 no surprise, you need to fix your .bashrc for that ;-) Jul 03 18:59:05 DocScrutinizer05: that wdoesn't cause conflict with busybox's stuff? Jul 03 18:59:16 though seriously, its a wrong approach Jul 03 18:59:20 PATH=$(echo $PATH|sed "s.:/usr/bin:.:/usr/bin/gnu:/usr/bin:.;s.:/usr/sbin:.:/usr/sbin/gnu:/usr/sbin:.") Jul 03 18:59:21 export PATH Jul 03 18:59:34 * Sicelo doesn't mind putting g at the beginning to be honest Jul 03 19:00:16 Sicelo: not for root at least Jul 03 19:00:41 why the heck cssu didnt fix those old utils? Jul 03 19:00:52 for user you might end up with a bootloop Jul 03 19:01:34 so i will leave it as is .. and preprend g :) Jul 03 19:01:44 ~jrtools Jul 03 19:01:44 hmm... jrtools is http://wiki.maemo.org/User:Joerg_rw/tools Jul 03 19:02:25 http://wiki.maemo.org/User:Joerg_rw/tools#proper_bash_and_tools Jul 03 19:02:32 i'm not looking forward to reflashing .. i know it's not difficult, but still .. and not when i'm 1000miles from home :) Jul 03 19:02:57 you need second n900 for experiments Jul 03 19:03:08 i have ;) Jul 03 19:03:34 there are about 10 N900 at the DebConf, seen one N9 too Jul 03 19:08:14 DocScrutinizer05: i had a short chat with Paul Wise today here at DebConf. just now i have a question: who pays for the openmoko infrastructure now? servers for example .. Jul 03 19:08:38 afaik Harald Welte Jul 03 19:09:06 why? Jul 03 19:09:17 just curios :) Jul 03 19:09:32 Paul should know Jul 03 19:09:33 thought there'd be something like HiFO that side too Jul 03 19:09:47 nope Jul 03 19:09:56 i didn't ask him as the question didn't come up in my mind at the time Jul 03 19:10:17 nobody in a 1 mile radius around OM ever been insane enough to do such thing Jul 03 19:12:14 :) Jul 03 19:12:20 meritocracy and management by anarchy just works for OM Jul 03 19:12:48 until bob ham chimes in and starts bitching Jul 03 19:12:55 OM's estel Jul 03 19:16:06 the difference OM vs maemo is: OM always been in the hands of community, more or less. Nevertheless it never been administrated in a "democratic process" Jul 03 19:16:43 everybody understood that for such tasks a hierarchy works better Jul 03 19:17:21 and nobody had concerns about meritocracy instead of democracy Jul 03 19:19:23 greetings to pabs err Paul when you meet him once more Jul 03 19:19:47 democracy isn't always the answer, that's for sure Jul 03 19:19:59 see brexit ;-P Jul 03 19:20:17 will gladly let him know. awesome guy :) Jul 03 19:21:24 democracy more often than not can turn into a dictatorship of the intellectual precariate Jul 03 19:22:05 that's why pretty much all democracies have a representative democracy Jul 03 19:22:45 which for maemo was (is?) the council Jul 03 19:24:19 brexit is very interesting Jul 03 19:24:50 maybe 'interesting' isn't the to-the-point term Jul 03 19:25:04 :) Jul 03 19:25:52 not that I'm worried too much (I'm allergic to politics anyway), but it shows how the wrong thing is done thanks to populism and propaganda and blatant lies Jul 03 19:26:51 the unwashed masses are a very poor expert crew more often than not Jul 03 19:27:54 now everybody publicly admits that it was against own government more than about anything EU related, but now the damage is done Jul 03 19:28:36 and more and more people in GB realize that the promises about what brexit will accomplish were blatant lies Jul 03 19:29:24 I actually guess many already knew beforehand, and yet they voted for brexit to punish their own government Jul 03 19:29:52 hmm, doesn't that also punish them too? Jul 03 19:30:14 I guess they will realize that rather sooner than later Jul 03 19:31:14 * DocScrutinizer05 would like to see a referendum about abolishing police and courts Jul 03 19:31:21 I bet that would pass Jul 03 19:31:40 i'd love that!! Jul 03 19:31:50 for 4 weeks maybe Jul 03 19:31:52 i don't really like police at all .. Jul 03 19:32:02 just proves my point Jul 03 19:32:02 but yeah, criminals :-/ Jul 03 19:32:45 how do i properly kill/restart browserd? Jul 03 19:32:56 killall browserd Jul 03 19:33:28 comes in handy every now and then Jul 03 19:33:48 ;-) Jul 03 19:34:30 i'm having a problem with a site that needs a client certificate Jul 03 19:34:39 ouch Jul 03 19:34:51 Outlook Web Access .. it has worked fine for a long time, but today not at all Jul 03 19:34:52 that gets tricky on maemo Jul 03 19:35:19 cert expired? Jul 03 19:35:39 actually client side cert is always tricky Jul 03 19:35:40 only change i recently made was to save my username in the browser, but now the site doesn't work (which of course doesn't make sense) Jul 03 19:35:56 cert not expired... good till 2018 Jul 03 19:37:12 hmm, now can't browse any pages, after killall browserd Jul 03 19:37:27 it did respawn, but yeah, Jul 03 19:38:58 hm? Jul 03 19:39:06 weird Jul 03 19:39:25 never faced any problems like that with killall browserd Jul 03 19:39:48 it just keeps 'searching', i may say Jul 03 19:40:02 unless you did that too often so dsme doesn't respawn the process any longer Jul 03 19:40:18 the process is there Jul 03 19:40:49 are you sure it's not just your connection which might be pretty falwed, given it's a hacker congress. May explain your cert problems as well Jul 03 19:40:58 $ ps aux | grep browserd 9269 user 36788 S /usr/sbin/browserd -d 9270 user 63612 S /usr/sbin/browserd -s 9270 -n RTComMessagingServer Jul 03 19:41:14 it was working when i arrived :) Jul 03 19:41:51 well, when you arriver joe evilhacker hadn't installed his interceptor yet Jul 03 19:42:55 i sent a mail :p Jul 03 19:43:04 so? Jul 03 19:43:25 let me see how dsme works .. should be able to restart this properly Jul 03 19:43:45 other browsing working ..just this OWA thing Jul 03 19:43:45 "dear Joe Evilhacker! please stop fucking with my internet traffic" Jul 03 19:44:46 what's the file on N900 that's used for startup? Jul 03 19:44:56 other browsing is easier to intercept. That's why you got client cert for OWA Jul 03 19:45:24 err, please rephrase Jul 03 19:45:33 or reboot ;-P Jul 03 19:45:45 yes, reboot is easiest Jul 03 19:45:52 dsme -b Jul 03 19:46:15 haha, not that one for now Jul 03 19:46:26 i want to restart browserd properly Jul 03 19:46:58 I guess that will happen when dsme -bOOTS the device Jul 03 19:48:35 rebooting Jul 03 19:48:52 ouch sorry, dsmetool -b of course Jul 03 19:52:25 works after reboot Jul 03 19:52:33 wish i knew what ha happend Jul 03 19:53:05 you never know what happened, on maemo. Way too complex Jul 03 19:53:26 I even see a weird ps aux|grep dsme no listing the grep process Jul 03 19:54:07 never seen that before... http://paste.opensuse.org/27223723 Jul 03 19:55:05 maybe grep wasn't started yet while ps already filled the pipe with results Jul 03 19:55:32 that's something that happens sometimes, yeah Jul 03 19:55:41 hey ceene :) Jul 03 19:55:55 hi, Sicelo :) Jul 03 19:55:59 while true; do ps faux|grep grep || echo nogrep; done Jul 03 19:56:03 you'll see a few nogreps in there Jul 03 19:56:14 gotta have dinner! Jul 03 19:56:15 cya! Jul 03 19:56:19 cya Jul 03 19:57:33 bon appetit Jul 03 19:58:32 ((you'll see)) not on my i5 ;-) Jul 03 19:58:56 neither with ps faux nor ps aux nor ps nor >/dev/null Jul 03 20:00:14 prolly too many processes for ps to iterate over (and procps is pretty heavy), to allow for grep not even being started yet Jul 03 20:04:54 hmm no, not even IroN900:~# while true; do ps|grep -q grep || echo nogrep; done Jul 03 20:06:17 not even while true; do ps|cat|cat|grep -q grep || echo nogrep; done Jul 03 20:18:02 i've seen a few Jul 03 20:18:52 how is debconf going, Sicelo ? Jul 03 20:19:29 ceene: awesome! really great. met two devs from your country Jul 03 20:19:55 there a few, yes! Jul 03 20:21:02 it's a nice feeling when you report a bug or whatever and it happens that the maintainer of one appreciated package happens to be almost a neighbour! Jul 03 20:21:45 ;) Jul 03 20:23:04 as user, it is quite cool to actually meet these guys, see how they work Jul 03 20:23:42 some of them are people i've spoken to lots of times on IRC, and face to face meet always great Jul 03 20:24:31 many systemd advocates? :P Jul 03 20:27:09 i haven't heard it mentioned yet, but there is an upcoming talk about systemd Jul 03 20:28:55 i guess most people just wants to do his own thing Jul 03 20:29:03 and initiating a real life flame isn't as fun as it could sound Jul 03 20:29:05 :) Jul 03 20:32:22 i will try to attend the systemd session, if it doesn't conflict with something i have more interest in Jul 03 20:33:57 it's Tuesday .. conflicting with a session on ifupdown2 Jul 03 20:34:09 maybe i go to systemd after all :p Jul 03 20:34:57 it's always curious seeing there are people interested in the most boring things Jul 03 20:35:07 what would *they* think of *my* interests? Jul 03 20:36:04 lol what do you mean? Jul 03 20:36:54 just... don't know, there are things that i would find boring as hell, yet people are passionate about them Jul 03 20:37:26 ifupdown2 sounds like... whatever, what do i need that for? why would anybody spend time coding a strange replacement for something that's working already quite fine? Jul 03 20:37:50 but i guess they would think the same of the things i do, so... Jul 03 20:39:16 i don't even know ifupdown2 tbh .. so i would have chosen that .. of course, i'm also curious to see what will happen in the systemd session .. maybe i'll hear expletives :p Jul 03 20:41:17 * DocScrutinizer05 sends Sicelo a rotten large fish, just in case Poettering attends too Jul 03 20:42:17 ~freee Jul 03 20:42:18 methinks freee is http://www.youtube.com/watch?feature=player_detailpage&v=ZTdUmlGxVo0&t=3296 Jul 03 20:42:36 begs for a big fish in your hands Jul 03 20:44:41 haha, **** ENDING LOGGING AT Mon Jul 04 02:59:58 2016