**** BEGIN LOGGING AT Wed May 01 02:59:58 2013 May 01 03:31:49 is there a functional youtube client? May 01 03:36:06 Macer: CuteTube? May 01 03:36:10 phew, voted. May 01 07:00:45 \o/ May 01 09:20:38 I am getting a bit of troubles with msn to connect on my n900 as chat May 01 10:35:43 well now I am trying fring May 01 11:00:09 lots troubles ... fring much more problematic May 01 14:50:03 <_rd> Is there a way to disable GPS (e.g. via dbus) if an application has registered for GPS? May 01 14:50:28 <_rd> Usecase would be that I use the accel and disable GPS whenever it does not detect any significant motion. May 01 14:50:50 <_rd> I.e. when I arrived somewhere and forgot to shutdown navit or another mapping application. May 01 14:51:18 _rd, there is API for using GPS May 01 14:51:37 I do not know if it using dbus, but it is C api May 01 14:52:33 for example status menu GPS plugin using that api too and is able to stop GPS May 01 14:53:54 <_rd> aaah...good hint. And can I reenable the GPS again when I detect movement? May 01 14:54:17 _rd: I think yes, but really not sure May 01 14:55:33 _rd: look here: http://maemo.org/api_refs/5.0/5.0-final/liblocation/ May 01 15:04:40 <_rd> Hmm... location_gpsd_control_stop () looked promising, but the explanation implies that it is not doing what I am asking for: "...Location service is kept running as long as there is at least one application using it...." May 01 15:05:35 <_rd> Is the location framework open? I am wondering if it would not be best to directly patch the location framework. Then all GPS applications would benefit... May 01 15:06:18 location framework is closed May 01 15:07:26 _rd: but, that checkbox in status area applet which enabling/disabling GPG seems only changing some gconf key May 01 15:07:41 and there is scheme of all gconf keys May 01 15:07:55 so you can try to change some enable gconf key May 01 15:08:07 that may be working... May 01 15:08:44 look at gconf keys: /system/nokia/location/supl/ May 01 15:08:57 <_rd> do you know where the gconf keys are documented? May 01 15:09:20 in scheme files May 01 15:13:22 _rd: look to file: /etc/gconf/schemas/location.schemas May 01 15:13:25 (on n900) May 01 15:20:37 <_rd> Pali, thank you, looks promising. I will experiment a little with that. May 01 15:21:04 ok May 01 15:41:29 <_rd> Pali, gconf works nicely. May 01 15:41:51 <_rd> I will hack together a python script for my own purposes.... May 01 15:42:19 <_rd> ....with some enhancements that would make a nice enhancement in cssu May 01 18:59:28 hmm.. since the new ribbon cable, I have started noticing proxy sensor issues in sunlight. not good. May 01 19:01:01 I suppose england only has 3 days of sunny weather a year anyway... May 01 19:04:14 hehe May 01 19:07:14 mmm... may give this a go. http://talk.maemo.org/showpost.php?p=979708&postcount=33 May 01 19:10:15 DocScrutinizer05, qwazix May 01 19:16:02 hey everyone May 01 19:16:08 where do live all May 01 19:16:10 hey May 01 19:16:35 don't they wake up while I do... May 01 19:17:00 speak like yoda, you do. May 01 19:17:07 yes May 01 19:17:45 anyway I was wondering about a good client for all chat May 01 19:17:53 including twitter... May 01 19:18:13 for n900 i guess? May 01 19:18:17 I have msn gtalk facebook skype twitter irc... some SIP May 01 19:18:19 yes ofc May 01 19:18:43 I know pidgin on my linux May 01 19:18:59 there's pidgin for maemo May 01 19:19:04 I know there is the default conversations on n900 that works fine May 01 19:19:22 I downloaded pidgin for maemo too May 01 19:19:29 but how to get it in autorun May 01 19:19:53 autorun? May 01 19:20:02 some autostart manager May 01 19:20:08 autostart / autorun May 01 19:20:18 to start at boot time? May 01 19:20:22 ye May 01 19:20:27 upstart May 01 19:20:36 is it the name? May 01 19:21:09 you have to make a valid upstart file and save it in /etc/event.d/foo/ May 01 19:21:47 oh... May 01 19:21:52 some guide? May 01 19:21:54 pidgin can be heavy for maemo tho. May 01 19:21:59 yes May 01 19:22:04 I agree May 01 19:22:26 but I get troubles with default conversation but I really like it May 01 19:22:33 it works like pidgin May 01 19:22:39 looking like pidgin too May 01 19:22:43 It's nice to have the same features as your desktop so it's give and take. May 01 19:23:40 I mean... my msn does not work... the output error says that I have opened the msn and twitter in some other client May 01 19:23:44 but I don't... May 01 19:25:19 nfc, i don't use twit-book or skyp-ter. I have real friends I go the pub with :) May 01 19:25:51 yes... but I want to have all May 01 19:27:21 dropn900 does not work May 01 19:33:03 there's a hacky fix posted on TMO today I believe May 01 20:10:17 hm May 01 20:10:24 do i need a power kernel still for mobile hotspot? May 01 20:10:29 keeps giving me a failed to start error May 01 20:10:39 i thought cssu came with an iptables kernel May 01 20:11:15 oh.. then again. i didn't restart. maybe mobile hotspot instsalled on May 01 20:35:29 guess not :) May 01 20:35:39 hm. thought mobile hotspot added the kernel for you May 01 20:36:16 how odd May 01 20:36:49 hm... kernel-modules-maemo conflicts with power kernel? May 01 20:37:46 ~powerkernel May 01 20:42:23 Exception: Command 'insmod /lib/modules/2.6.28-omap1/nf_conntrack.ko' returned with code 256 (0 expected) May 01 20:46:04 im kind of stuck May 01 20:46:11 i cant install the power user kernel May 01 20:49:01 oh May 01 21:05:55 Macer isn't that a really old version? May 01 21:08:10 thanks for updating Maemo.org team/How Elections Work: http://wiki.maemo.org/Maemo.org_team/How_Elections_Work May 01 21:08:58 ditto ^^^ May 01 21:14:08 doesn't matter anyways May 01 21:42:31 is it bad taste to vote for oneself? May 01 21:43:13 I don't see why. May 01 21:44:28 kerio: vote is anonymous, so noone will learn about that :P May 01 21:44:39 *the vote May 01 21:45:13 I wouldn't expect politicians to vote for the other parties. May 01 22:11:45 Anybody know how/if possible to "permanently" set the RDS station name on fmtx? May 01 22:12:53 sixwheeledbeast: hm, something sets it to "NOKIA", not sure what May 01 22:13:05 and i'm not sure how often it does that May 01 22:13:41 I can change it with fmtx_client but somehow it reverts back after a while. May 01 22:14:07 sixwheeledbeast: try running strings on fmtxd May 01 22:14:56 there's a sysfs node to write RDS text to May 01 22:15:39 iirc May 01 22:16:41 /sys/class/i2c-adapter/i2c-2/2-0063/rds_ps_name May 01 22:19:33 DocScrutinizer05: ty, i'd would have spend ages looking for that. May 01 22:20:14 cd /sys/class/i2c-adapter/i2c-2/2-0063/; for f in rds*; do echo -e '\n\n' $f; cat $f; done May 01 22:24:19 a somewhat OT question: how would I check in a bashscript for mousebutton pressed? Or could I even receive a signal or message when it gets pressed and when it gets released? May 01 22:25:57 I'd be fine with checking for x-events, or mapping a "regular" kbd key to mousebutton and then readln, or whatever May 01 22:26:20 probably ready from sysfs however would be my favourite May 01 22:27:28 I guess reading from /dev/input* or similar is the way to go though May 01 22:27:58 it's most definetely not May 01 22:28:07 going that route will only lead to pain and suffering May 01 22:28:16 mhm May 01 22:28:20 :-P May 01 22:28:21 fighting against xorg is like invading russia May 01 22:28:44 I might even shut down X11 on that machine, it's not really needed May 01 22:28:48 you'll get to some halfway point where something vaguely works May 01 22:28:56 and then winter comes and you freeze your ass off and starve May 01 22:29:32 look at xev maybe May 01 22:29:37 I need that for generic input from sensors May 01 22:29:58 in a controller alike setup May 01 22:30:28 usually I'd use a USB 16 GPIO extender May 01 22:30:35 DocScrutinizer05: why a mouse? May 01 22:30:39 will position matter? May 01 22:30:46 like, the position of the cursor May 01 22:30:57 because a mouse is cheaper than such GPIO dongle May 01 22:31:35 no, as already mentioned I will run that script on a console, so any mouse moving doesn't interfere May 01 22:31:39 DocScrutinizer05: use ncurses and enable mouse input :D May 01 22:32:01 gpm should work, in the linux consoles May 01 22:32:13 I just want *raw* button-pressed?1:0 May 01 22:32:52 or get a SIGUSR1 whenever it's pressed and a SIGUSR2 whenever it gets released May 01 22:33:29 think of sth like a stopwatch May 01 22:34:29 the 'app' starts on system init and takes control over the whole machine May 01 22:35:09 and mousebuttons are your start/stop and reset buttons May 01 22:35:32 hm, i can't seem to *find* anything to do that May 01 22:35:36 while only input from kbd that matters is ^C May 01 22:36:07 or ctrl-alt-del ;-D May 01 22:36:28 DocScrutinizer05: well May 01 22:36:43 try gpm to enable the mouse in the consoles May 01 22:36:51 then enable mouse tracking and read May 01 22:37:02 like `printf "\e[?9h"` May 01 22:37:18 each mouse event is 6 characters May 01 22:37:35 DocScrutinizer05: http://cfajohnson.com/shell/?2005-07-15_mousetraps May 01 22:37:47 i'm not sure if it will work inside of a linux console May 01 22:37:48 thanks a lot May 01 22:37:53 it'll work under xterm, for sure May 01 22:40:04 xinput --test May 01 22:40:44 it would require something like gpm for the linux console May 01 22:41:28 ah, console, right May 01 22:41:32 lazy reader May 01 22:42:09 (the sequences are the same in the console as for xterm, though) May 01 22:53:18 * Win7Mac says goodnight. Heads up! May 01 22:54:59 anyway, there is also evtest May 01 22:55:34 gn from here too May 01 23:35:17 cat /dev/input/mouse0|od -x -w2; already yields almost all I need May 01 23:35:28 nevertheless thanks May 01 23:36:43 now maybe I manage to decouple mouse0 from trackpad of that laptop, and actually disable the mouse for X11 May 01 23:37:11 then I wouldn't even need to shutdown X11 for this to work unattended May 01 23:38:48 if you wonder: the true purpose is kinda that of a doorchime playing a random chime *.wav each time the button gets pressed May 01 23:40:22 to make all that a tiny bit less booring, the laptop shall shut down when mains power gets switched off, and shall boot or resume to that chime app when mains power gets restored May 01 23:40:35 s/boo/bo/ May 01 23:40:37 DocScrutinizer05 meant: to make all that a tiny bit less boring, the laptop shall shut down when mains power gets switched off, and shall boot or resume to that chime app when mains power gets restored May 01 23:41:48 allowed hardware mods: slaughter a mouse to wire the door chime button to the mouse button switch May 01 23:42:31 for sure on N900 I had chosen different input method May 01 23:42:44 like hold button on headset May 01 23:43:14 but a N900 was too expensive for that job May 01 23:50:20 DocScrutinizer05: may i suggest hooking up a physical bell to the door? May 01 23:50:43 I said "kinda like" May 01 23:50:53 did I? May 01 23:51:01 lol May 01 23:51:23 plus the random part is essential May 01 23:51:29 btw, why slaughter a mouse and not a keyboard? May 01 23:51:42 umm what's this about? May 01 23:51:53 a random doorbell tune? May 01 23:52:00 also retriggerability and general finegrained control over behaviour in niche cases is important May 01 23:52:27 may i suggest hooking up the kinda like door to a double pendulum that hits tiny bells in a random order May 01 23:52:56 one of my relatives actually have random tunes playing when you doorbell May 01 23:52:57 it's about a advert poster that plays random messages when PIR motion detectors show somebody is near May 01 23:53:12 mhm May 01 23:53:33 sounds more advanced than the above then May 01 23:53:55 (also, where is a n900 more expensive than a laptop? :o) May 01 23:54:00 kerio: the guy managing this acted prematurely, or he already had a mouse laying around, and he also thought a mouse is "mechanically simpler to handle" than a kbd with its matrix and stuff May 01 23:54:02 (as in :o and then ) May 01 23:54:29 kerio: old used laptops (which I guess would fit this purpose) probably cost less May 01 23:54:43 DocScrutinizer05: fair 'nuff May 01 23:54:45 FIQ: exactly May 01 23:54:45 and they're easier to get on hold of to... May 01 23:55:23 *too May 01 23:56:13 I might have to deal with up to 4 or 5 PIR sensors, to detect approach as well as wandering off of visitors May 01 23:56:22 I have to handel multiple visitors May 01 23:56:57 I have to handle timeouts to avoid endless loops when bulks of 100s of visiotrs pass by May 01 23:57:47 there might be even requirements about the not so random randomness May 01 23:58:08 like "text C never must follow on text A" May 01 23:58:35 end user might want to chanhe textx "on the fly" May 01 23:58:42 change* May 01 23:59:03 there might be mandatory pause times between texts May 01 23:59:48 (which is easy to accomplish with silent recorting tailing the text in *.wav, but I can think of more elegant ways to implement it) May 02 00:00:54 so ut took me 00:2:15 to come up with the complete concept after customer explained what he needs May 02 00:01:18 and in that 2min 15s I said "mouse, for example" May 02 00:01:34 dammit doc, why didn't you say "usb gpio" May 02 00:02:54 because there been tough cost constraints May 02 00:03:53 and also time constraints, the whole thing has to work in 2 days May 02 00:04:15 the jobs we like most ;-P May 02 00:04:20 why do you always end up in situations where there's less than the healthy amount of time available? May 02 00:05:03 nah, 2 days is more than enough to write that silly little bash script May 02 00:05:30 I'm more worried about the "wake on power return" which is not a function generally found on laptops May 02 00:06:01 and of course got introduced into specs after initial concept been agreed upon May 02 00:06:14 and laptop got purchased May 02 00:06:27 (t60, for 150EUR) May 02 00:07:08 dman, those crittest have a poor screen ;-) May 02 00:07:24 damn, those critters have a poor screen ;-) May 02 00:07:42 tiny 1024*768 May 02 00:07:44 DocScrutinizer05: power key on a timer May 02 00:07:54 RTC-ALARM May 02 00:08:18 no, like a physical timer, i guess May 02 00:08:23 hooked up to the power key May 02 00:08:26 make linux ignore it May 02 00:08:28 I have no problem at all to power down the shit when mains->battery mode May 02 00:08:57 DocScrutinizer05: why even have it with the battery connected? May 02 00:08:59 I won't disassembel that T60 and solder wires to the power key May 02 00:09:11 good point May 02 00:09:27 but still, would it boot on power return? May 02 00:10:21 idk, check the bios May 02 00:11:15 I thought of having it wake up every NN minutes on RTC-alarm, check if it's on mains power or battery power, and set new RTC-alarm and suspend again when on battery May 02 00:11:38 hm, make it wake up every NN minutes on RTC-alarm, and remove the battery May 02 00:11:45 (hopefully the backup battery can last enough) May 02 00:11:54 hold on, "wake up"? May 02 00:11:56 kerio: it's a laptop, tose usually have no "boot on power return" bios option May 02 00:12:38 anyway, a raspberry pi costs much less than 150EUR, has audio and gpio May 02 00:12:43 alas RTC can only have one alarm per day scheduled May 02 00:13:42 sure, but coding all that shit on RPi would require me to first *get* such RPi and then install a development environment for it May 02 00:14:08 it would require you to first get such a RPi and then vi awesoemadverts.sh May 02 00:14:20 and then... idk, run it from rc.local May 02 00:14:42 I'm not able to accomplish all that in 48h May 02 00:17:08 I offered a N810 for lease, for 30 bucks a month, but that been no option May 02 00:17:47 fwiw, i'd probably *require* 30 bucks a month to host a n810 May 02 00:18:25 but then you're not the customer May 02 00:18:40 who is as technophob as it gets May 02 00:19:03 anyway, you lost an occasion to sell one of your half-broken n900s for 150€ :P May 02 00:19:42 i have no half-broken N900, and honestly I been asked if I could sell one of them, but I didn't like to May 02 00:20:36 we finally decided that a standard ISA laptop, used one for cheap, was the best solution May 02 00:21:04 when it breaks during that project running, everybody can get replacement in no time May 02 00:21:47 and after that project ends, it still has a certain value for the customer. Unlike e.g. a RPi May 02 00:22:10 DocScrutinizer05: ....have you considered one eeebox? May 02 00:23:12 not that i really knew what that is, except that it sounds like eeePC, but we had only 48h to get hw and implement the complete set May 02 00:23:14 xes: raspberry motherfuckin pi! May 02 00:23:41 the eeebox is like a mac mini May 02 00:23:50 except not expensive May 02 00:23:59 ie a "real" desktop computer May 02 00:24:10 wouldn't be available at that shop next door where my friend bought that T60 May 02 00:25:12 not that a laptop was a particularly smart idea, given that you could get a cheesy used desktop PC for <100 bucks May 02 00:25:35 while that T60 cost 150 May 02 00:25:55 well, i have one box filled of eeebox, i love them , when i need a spare pc, connection boxes, vpn, firewall, monitoring systems etc...i pick one, and.. done! ;) May 02 00:26:53 well, I'm only the system architect and coder monkey, and I haven't put any particular constraints on hw to get, except "runs linux, has a external mouse or kbd" May 02 00:28:07 my friend does all the shopping and hw mods needed, also probably will get a amp and speakers, and the PIR sensors, and in the end he sells the whole thing to customer May 02 00:29:06 and he called me and told me "eh, I got a T60, and here's a mouse I will rewire to the PIR sensors" May 02 00:29:28 "could you please come down to 1st floor and install linux on that laptop?" May 02 00:30:17 I told him how to install linux while i ate my pizza ;-D May 02 00:30:54 xes: why the eeebox and not something smaller? :s May 02 00:31:37 now until Friday I'll write a cheesy little bash script, and hope for everything to work as expected when that exhibition opens doors on weekend May 02 00:33:23 kerio: it's easy: time! They use a sata disk that i can prepare into a desktop pc in 10 minutes without wait "intel Atom" times... And they also have all the peripherals of a standard pc in the same misures of a router May 02 00:39:52 ok, anothe one for you, if you're still bored and willing to help a little: I have /dev/input/mouse1 and /dev/input/mouse0. How ould I tell X to ignore mouse1? May 02 00:40:26 aiui all mouse* are merged into /dev/input/mice May 02 00:40:49 which is kinda PITA for what I need to implement May 02 00:43:21 * DocScrutinizer05 looks at /etc/X11/xorg.conf.d/11-mouse.conf and pukes May 02 00:44:59 * DocScrutinizer05 frowns at /dev/input/event* as well May 02 00:46:03 humm... my friend used an rs232 usb adaptor to read the status of a pir sensor... May 02 00:48:01 yeah, that would've been my approach if we had a)time and b)funds May 02 00:49:05 this could be interesting: http://unix.stackexchange.com/questions/4469/disable-mouse-not-touchpad-in-xorg-while-idle May 02 00:49:16 yeah, sounds good May 02 00:49:19 thanks May 02 00:49:22 using actkbd May 02 00:54:57 xes: indeed this is *exactly* what i needed, many thanks :-D May 02 00:55:11 yw! ;-) **** ENDING LOGGING AT Thu May 02 02:59:58 2013