*** trumee has joined #maemo | 00:04 | |
ceene | https://github.com/community-ssu/mce/commit/09e11e180126c5a2cffe1d05a37c6c3ed6409f43#diff-119974261001e1b4fa526ad05946cbe6R598 | 00:04 |
---|---|---|
*** louisdk has joined #maemo | 00:05 | |
ceene | if close() return value is not going to be checked | 00:05 |
ceene | does it make much sense the test for fd!=-1? | 00:05 |
ceene | and also, wouldn't fd be anyway checked when open is called? | 00:06 |
*** FlameReaper-PC has quit IRC | 00:06 | |
ceene | not important anyway | 00:06 |
freemangordon | ceene: I am not sure it is a good idea to call close(-1) | 00:07 |
ceene | i guess -1 would be returned by close | 00:07 |
ceene | with errno set to EBADF | 00:07 |
freemangordon | also, see who and how calls register_io_monitor_chunk | 00:07 |
freemangordon | re open() | 00:08 |
ceene | on that same patch it's only called is the previous call to open wasn't -1 | 00:08 |
ceene | so it should be safe anyhow | 00:09 |
*** trumee has quit IRC | 00:09 | |
ceene | 22:29 < Wizzup> https://github.com/community-ssu/mce/commit/c0648e5a567682fd9302c3225011264af1341ec4 line 382 has an underindented } though I think? | 00:10 |
ceene | i also see that on github | 00:10 |
*** trumee has joined #maemo | 00:11 | |
freemangordon | ceene: correct, but it is on line 381 :) | 00:11 |
ceene | oh | 00:11 |
ceene | well, that's all i could find :) | 00:11 |
ceene | gotta go now | 00:11 |
ceene | cya! | 00:11 |
freemangordon | thanks | 00:12 |
freemangordon | jonwil: please pull mce, as I just fixed a nasty bug I introduced earlier :) | 00:16 |
jonwil | ok | 00:16 |
*** mp_ has joined #maemo | 00:18 | |
jonwil | rebuilding MCE now :) | 00:18 |
*** arcean has quit IRC | 00:31 | |
*** pozitron has quit IRC | 00:31 | |
*** raandoom has quit IRC | 00:37 | |
*** realitygaps has quit IRC | 00:37 | |
*** AndrewX192 has quit IRC | 01:05 | |
*** trumee has quit IRC | 01:15 | |
*** louisdk has quit IRC | 01:16 | |
*** trumee has joined #maemo | 01:19 | |
*** AndrewX192 has joined #maemo | 01:31 | |
*** ashneo76 has joined #maemo | 01:35 | |
*** xorly has quit IRC | 01:35 | |
*** ashneo76 has quit IRC | 01:40 | |
*** ashneo76 has joined #maemo | 01:42 | |
*** florian has quit IRC | 01:50 | |
*** realitygaps has joined #maemo | 01:50 | |
*** realitygaps has joined #maemo | 01:50 | |
*** futpib_ has quit IRC | 01:53 | |
*** LauRoman has quit IRC | 02:10 | |
*** AndrewX192 has quit IRC | 02:12 | |
* DocScrutinizer05 spanks freemangordon with a trout | 02:16 | |
freemangordon | you went fishing? | 02:18 |
*** realitygaps has quit IRC | 02:20 | |
*** louisdk has joined #maemo | 02:24 | |
Wizzup | So let's pretend I'm a total newbie to maemo devel, but not to programming/devel in general | 02:25 |
Wizzup | Where do I start so I can deploy/develop on/for a spare n900 that I have | 02:25 |
freemangordon | Wizzup: SB | 02:26 |
Wizzup | Right | 02:26 |
jonwil | Do you have a Linux system? | 02:26 |
jonwil | If not, the Maemo Dev VM is the easiest way to get started | 02:26 |
merlin1991 | even if you have a linux system the dev vm is better | 02:27 |
merlin1991 | since a lot of automagic sb does doesn't work so well anymore with new kernels :/ | 02:27 |
Wizzup | jonwil: I many linux systems | 02:27 |
freemangordon | well, depends on how much RAM you can spend on it. | 02:27 |
Wizzup | I have an arm laptop in fact | 02:28 |
Wizzup | (not sure if that makes things easier or harder - I also have intel laptop(s)) | 02:28 |
freemangordon | not sure there is SB for ARM | 02:28 |
Wizzup | I thought that there was something with qemu on intel that emulates arm to get a SB, but I ... am not into this yet | 02:29 |
Wizzup | so basically: set up SB on an intel machine, in a vm | 02:29 |
Wizzup | (the dev vm) | 02:29 |
merlin1991 | no | 02:29 |
merlin1991 | you grab the vm | 02:29 |
Wizzup | s/set up SB/set up a/the dev VM/ | 02:29 |
merlin1991 | and it has evertyhing set up | 02:29 |
Wizzup | Yeah, that's what I mean. | 02:29 |
Wizzup | Cool. | 02:29 |
jonwil | yeah you grab the dev VM, run it n vmware and its good to go | 02:29 |
Wizzup | (optional step convert to vbox or qemu :)) | 02:30 |
Wizzup | I will do that tomorrow then. Time to hit the sack now. Thanks for the quick responses | 02:31 |
*** pigeon has joined #maemo | 02:34 | |
*** trumee has quit IRC | 02:42 | |
*** louisdk has quit IRC | 02:46 | |
*** heroux has quit IRC | 02:46 | |
*** trumee has joined #maemo | 02:52 | |
*** realitygaps has joined #maemo | 02:57 | |
*** realitygaps has joined #maemo | 02:57 | |
*** trumee_ has joined #maemo | 03:02 | |
*** trumee has quit IRC | 03:02 | |
*** heroux has joined #maemo | 03:04 | |
*** trumee has joined #maemo | 03:05 | |
*** trumee_ has quit IRC | 03:06 | |
*** trumee has quit IRC | 03:06 | |
*** trumee has joined #maemo | 03:09 | |
*** pozitrono has joined #maemo | 03:09 | |
*** louisdk has joined #maemo | 03:47 | |
*** louisdk has quit IRC | 04:01 | |
*** eMHa has joined #maemo | 04:15 | |
*** eMHa__ has quit IRC | 04:18 | |
*** Vajb has quit IRC | 04:29 | |
*** Vajb has joined #maemo | 04:29 | |
*** Defiant has quit IRC | 04:40 | |
*** Defiant has joined #maemo | 04:41 | |
*** AndrewX192 has joined #maemo | 04:48 | |
DocScrutinizer05 | ~sb | 04:49 |
infobot | i heard scratchbox is a cross-compiling system that uses binfmt_misc, rpc calls, and an nfs mount to make a cross-build appear to be 100% native, and is found at http://www.scratchbox.org/, hosted by maemo now. Also at http://maemo.merlin1991.at/files/SB | 04:49 |
*** protem has joined #maemo | 04:49 | |
DocScrutinizer05 | Wizzup: http://maemo.cloud-7.de/maemo5/fiasco+co/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.txt | 05:08 |
DocScrutinizer05 | and http://maemo.cloud-7.de/maemo5/fiasco+co/Readme_Ubuntu_Lucid_Desktop_SDK_Virtual_Image_Final.7z_DIR.txt | 05:17 |
*** louisdk has joined #maemo | 05:20 | |
*** FlameReaper-PC has joined #maemo | 05:22 | |
*** louisdk has quit IRC | 05:29 | |
DocScrutinizer05 | http://i.imgur.com/4pLE1jX.jpg | 05:57 |
*** DocScrutinizer05 has quit IRC | 06:03 | |
*** DocScrutinizer05 has joined #maemo | 06:03 | |
*** SamZaNemesis has joined #maemo | 06:08 | |
*** SamZaNemesis has quit IRC | 06:09 | |
*** ashneo76 has quit IRC | 06:44 | |
*** ashneo76 has joined #maemo | 06:47 | |
*** FlameReaper-PC has quit IRC | 07:03 | |
*** protem has quit IRC | 07:17 | |
*** vahe has joined #maemo | 07:35 | |
*** jonwil has quit IRC | 07:37 | |
*** mp_ has quit IRC | 07:50 | |
*** Sicelo009N has quit IRC | 08:00 | |
*** Sicelo009N has joined #maemo | 08:02 | |
*** sparetire_ has quit IRC | 08:36 | |
*** florian has joined #maemo | 09:09 | |
*** florian has quit IRC | 09:15 | |
brolin_empey | Wizzup: Which model of ARM notebook computer do you have? | 09:33 |
*** Sicelo009N has quit IRC | 09:49 | |
*** Sicelo009N has joined #maemo | 09:53 | |
*** arossdotme has quit IRC | 09:59 | |
*** futpib_ has joined #maemo | 10:25 | |
*** florian has joined #maemo | 10:36 | |
*** FlameReaper-PC has joined #maemo | 10:41 | |
*** Shoggoth has joined #maemo | 10:47 | |
*** jonwil has joined #maemo | 10:51 | |
Wizzup | DocScrutinizer05: thx | 10:55 |
Wizzup | brolin_empey: chromebook 1 and 2: snow and peach-pi | 10:55 |
Wizzup | http://linux-exynos.org/wiki/Samsung_Chromebook_XE303C12 and http://linux-exynos.org/wiki/Samsung_Chromebook_2_XE503C32 | 10:56 |
*** jonwil has quit IRC | 11:08 | |
*** mhlavink has joined #maemo | 11:13 | |
*** N-Mi has joined #maemo | 11:15 | |
*** freemangordon_ has joined #maemo | 11:18 | |
*** eijk has joined #maemo | 11:22 | |
*** ab has quit IRC | 11:39 | |
*** ab has joined #maemo | 11:39 | |
*** ab has joined #maemo | 11:39 | |
*** keithzg has quit IRC | 11:40 | |
*** pozitrono has quit IRC | 11:46 | |
Sicelo009N | so it seems i'm not behind NAT on my mobile network | 11:49 |
KotCzarny | do you pay for incoming traffic too? | 11:49 |
Sicelo009N | i don't know. i didn't even know there was no NAT | 11:50 |
*** keithzg has joined #maemo | 11:50 | |
KotCzarny | well, external ip is usually a sign of it | 11:54 |
Sicelo009N | i've had others with external ip, but firewalled. this one is open | 11:55 |
Maxdamantus | no NAT as in you have your own IP address, or no NAT as in only PAT (which I think is actually usually considered NAT anyway)? | 11:56 |
Sicelo009N | it's a routable internet address | 11:57 |
Maxdamantus | routable as in all packets go to you? | 11:58 |
*** zGrr has joined #maemo | 11:58 | |
Sicelo009N | yes. i could ssh into my N900 using the address on gprs0 iface | 11:58 |
zGrr | moin :) | 11:59 |
Maxdamantus | Interesting. | 12:00 |
*** futpib_ has quit IRC | 12:00 | |
*** futpib has joined #maemo | 12:00 | |
*** keithzg has quit IRC | 12:06 | |
Sicelo009N | mixed feelings | 12:07 |
KotCzarny | sicelo: portscanner ahoy! | 12:08 |
Sicelo009N | i'm happy i have iptables properly configured since years ago, but now i need to examine this more closely before i get in big problems (if not already) | 12:10 |
KotCzarny | yeah, external ip is a mixed blessing | 12:10 |
KotCzarny | but as long you pay for incoming traffic, it can be costly | 12:11 |
KotCzarny | because even with fw you still pay for data sent your way (think udp) | 12:11 |
*** LauRoman has joined #maemo | 12:13 | |
Sicelo009N | i'll investigate. though i've had this net for about 6 months now, and have not really had mysterious data depletion | 12:14 |
KotCzarny | lucky for you freenode has cloaking | 12:14 |
Wizzup | KotCzarny: I thought sometimes udp/icmp doesn't even count towards traffic 'costs' | 12:16 |
KotCzarny | wizzup, nope, all data is counted, otherwise people would abuse it | 12:16 |
Wizzup | pretty sure my ICMP is not :) | 12:16 |
KotCzarny | but i cant speak for every provider | 12:17 |
Wizzup | it's also not rate limited | 12:17 |
*** Sicelo009N has quit IRC | 12:17 | |
KotCzarny | wizzup, setup icmp proxy at home and have free data? :> | 12:17 |
Wizzup | I already have free data | 12:17 |
Wizzup | but they still list how much I have used | 12:17 |
Wizzup | KotCzarny: I have 8KB/s internet | 12:17 |
KotCzarny | :) | 12:17 |
Wizzup | 'unlimited' | 12:17 |
Wizzup | Through EU, too :) | 12:18 |
Wizzup | Throughout* | 12:18 |
KotCzarny | not bad | 12:18 |
*** Sicelo009N has joined #maemo | 12:21 | |
Sicelo009N | i blocked icmp long ago (even via wifi). and, re:cloaking, yes, it's nice. i adjusted my irssi to wait before joining channels, although once in a while it "leaks" my IP, lol. then again, i'm not often logged in via N900 directly | 12:21 |
*** LauRoman has quit IRC | 12:22 | |
KotCzarny | sicelo, for 100% safeness you can use bouncer at home | 12:22 |
Wizzup | or just ssh+irssi :) | 12:22 |
Sicelo | yes, i use Wizzup's solution .. remote server ;) | 12:22 |
Sicelo | Sicelo009N logs in once in a while (that's N900). | 12:23 |
Wizzup | He meant use ssh from the n900 | 12:23 |
Wizzup | I think | 12:23 |
Wizzup | or, that is what I meant | 12:23 |
Wizzup | he meant using your bnc at home | 12:23 |
Sicelo | and that's what i do most of the time (ssh & irssi). i don't find bouncers as user friendly (tried znc, psy) | 12:24 |
*** N-Mi has quit IRC | 12:25 | |
Sicelo | also, i don't have "IP" at "home" .. i'm living in company residence .. free internet via ethernet. it is filtered | 12:26 |
Wizzup | that's ... bad | 12:26 |
Sicelo | i don't mind it too much. unlimited fast internet would cost an arm and a leg in these parts. filtering is a much smaller price to pay | 12:28 |
Wizzup | filtering is philosophical problem | 12:28 |
Wizzup | I guess you can just use Tor. | 12:28 |
Sicelo | i do ;) | 12:28 |
Sicelo | or ssh proxy | 12:28 |
bencoh | company residece :/ | 12:29 |
Sicelo | actually i proxy tor through ssh .. i can more easily explain ssh traffic than tor traffic if someone was to ask :p | 12:29 |
*** N-Mi has joined #maemo | 12:41 | |
*** xorly has joined #maemo | 12:48 | |
*** jonwil has joined #maemo | 12:48 | |
*** pozitron has joined #maemo | 12:51 | |
KotCzarny | yeah, as if MB/s via ssh is easily explainable | 13:01 |
Wizzup | proxy :) | 13:01 |
KotCzarny | 'but you are supposed to use our *filtering* proxy' | 13:04 |
Sicelo009N | KotCzarny: didn't get your MB/s statement.. | 13:07 |
Wizzup | freemangordon_: is there a point to defining SW_CAMERA_LENS_COVER and others in event-switches.h ? Do the normal maemo headers lack them? | 13:07 |
Wizzup | My gentoo system has all the four that are being defined there | 13:07 |
KotCzarny | sicelo: ssh is very low bandwidth, so its easy to distinguish normal ssh work from bulk transfers | 13:13 |
*** ecloud has quit IRC | 13:15 | |
*** ecloud has joined #maemo | 13:16 | |
Sicelo | i am aware, can say sftp :p | 13:17 |
Sicelo | point is .. there's a bit more 'latitude' | 13:18 |
jonwil | What exactly are they filtering anyhway? | 13:18 |
KotCzarny | pr0n | 13:20 |
KotCzarny | probably | 13:20 |
jonwil | probably anything that would get the company in trouble | 13:20 |
Sicelo | not a lot actually .. pr0n, known malicious websites,proxies, gambling, and few other categories .. don't remember all of them | 13:21 |
KotCzarny | pr0n is 'not a lot'? :> | 13:22 |
KotCzarny | internet data is mostly pr0n and spam | 13:22 |
Wizzup | Sicelo: wikileaks? ;) | 13:22 |
jonwil | Surprised they aren't blocking pirated content | 13:23 |
jonwil | Also I do wonder what they are doing about encrypted web content (i.e. SSL) | 13:24 |
Sicelo | KotCzarny: i meant .. not a lot.. not many categories .. just the obvious ones | 13:24 |
Sicelo | jonwil: they do block known pirate stuff. sometimes even archive.org gets blocked .. not sure why (and this is the most common reason i enabled ssh proxy) | 13:25 |
jonwil | yeah I suspected they would block pirated content | 13:26 |
KotCzarny | maybe keyword matching | 13:26 |
Sicelo | don't seem they touch ssl @ home, but in the work network, they have ssl inspection. | 13:26 |
jonwil | Corporate networks will usually have SSL proxying for work PCs | 13:26 |
jonwil | with a special local root certificate installed for the SSL proxy | 13:27 |
Sicelo | yep. exactly that | 13:27 |
jonwil | good that they aren't doing anything for SSL for the filtered home network | 13:27 |
jonwil | Although I suspect they probably still filter by DNS or IP somewhere | 13:27 |
Sicelo | but all this doesn't trouble me as generally my browsing habits are "safe" haha. but the one day i got link from jonwil .. had to proxy that as i was unsure | 13:28 |
Sicelo | yep, the do dns filtering .. i made sure my dns queries go via the ssh proxy too (and tested it) :p | 13:28 |
Sicelo | that's why i know opera mobile on N900 is not very "safe" | 13:28 |
KotCzarny | :> | 13:29 |
jonwil | Security is something I care a lot about | 13:29 |
Sicelo009N | as far as proxying .. KotCzarny (re:opera) | 13:29 |
jonwil | Which is why I am doing whatever I can to update the N900 and make it more secure | 13:29 |
Sicelo009N | :) | 13:30 |
Sicelo009N | jonwil: \m/ | 13:30 |
KotCzarny | having updated kernel/iptables/libs(libc,ssl)/servers is usually enough | 13:31 |
Wizzup | jonwil++ | 13:32 |
jonwil | Updating OpenSSL and the things that use it is high on the wishlist | 13:33 |
jonwil | As is updating the set of root certificates on Maemo | 13:34 |
jonwil | inside maemo-security-certman | 13:34 |
*** Guest78024 is now known as juiceme | 13:42 | |
*** juiceme has joined #maemo | 13:42 | |
*** RedW has quit IRC | 13:44 | |
jonwil | and also update nss inside microb | 13:47 |
jonwil | Those 3 are the most important things to do for security | 13:47 |
*** RedW has joined #maemo | 13:49 | |
jonwil | currently waiting to see if Juhani Mäkelä can provide more info about how to update the certificates | 13:50 |
*** Sicelo009N has quit IRC | 14:00 | |
Maxdamantus | In the long run, everything should really be ported to Debian. | 14:07 |
Maxdamantus | or abandoned. | 14:07 |
jonwil | Ideally yeah | 14:10 |
jonwil | but for now we are stuck with maemo-security-certman | 14:10 |
jonwil | and all the closed things that link to it like activesync for exchange, browser UI, wifi security daemon and various bits of the connectivity UI layer | 14:13 |
Maxdamantus | I don't care about Maemo enough to do most of it. Maemo is just more hackable (easy to swap components around—works relatively similar to other unix-like OSes) than others, so it's preferable to me. | 14:15 |
Wizzup | ok | 14:16 |
Wizzup | Luckily, others in here (#maemo), do | 14:16 |
jonwil | My goal is to make Maemo more secure without sacrificing useful functionality | 14:16 |
Maxdamantus | I'd be happier running some custom xmonad configuration as a WM and some simple UI/database system for SMS/telephony. | 14:17 |
Maxdamantus | (on top of ofono or something) | 14:17 |
jonwil | If it was up to me, I would say "screw ActiveSync" but aparently there are people on this earth who own a N900 and need to talk to an ActiveSync server | 14:17 |
Wizzup | well, do it | 14:17 |
* Maxdamantus hasn't figured out what there is of the last part yet. | 14:17 | |
Wizzup | I find the maemo UI much more pleasant for mobile than any WM I have tried | 14:18 |
Wizzup | jonwil: there are? (re: activesync) | 14:18 |
jonwil | aparently there are | 14:18 |
Wizzup | I would say screw activesync -atm- and worry about it later :) | 14:18 |
Sicelo | yes, i'm one of them. | 14:19 |
jonwil | anyhow, zzz time :), later guys | 14:19 |
*** jonwil has quit IRC | 14:19 | |
* Maxdamantus just sshes into his main computer to do email/IRC/etc | 14:19 | |
Sicelo | EAS is currently the only well-integrated sync method still working on N900 | 14:20 |
Sicelo | discounting syncml via usb (pc suite) | 14:20 |
Sicelo | or bluetooth .. all of which are of course not so convenient | 14:21 |
Sicelo | Maxdamantus: EAS is not only email .. it can sync calendar & contacts. works very well on N900, trust me | 14:22 |
freemangordon_ | Wizzup: there are defined in linux/input.h, and are missing in 2.4.26 | 14:24 |
Wizzup | freemangordon_: 2.6.26 I presume | 14:24 |
freemangordon_ | 2.6.28 :) | 14:24 |
Wizzup | eh, yeah | 14:24 |
Sicelo | (re:my network... torrents aren't blocked, but you'l! definitely be asked what's up) | 14:27 |
Sicelo | anyway, i don't generally torrent anything. | 14:28 |
*** ceene has quit IRC | 14:52 | |
*** vahe has quit IRC | 15:06 | |
*** Vajb has quit IRC | 15:23 | |
*** freemangordon_ has quit IRC | 15:39 | |
*** freemangordon_ has joined #maemo | 15:40 | |
*** Kilroo has quit IRC | 15:48 | |
*** Kilroo has joined #maemo | 15:54 | |
*** zGrr has quit IRC | 16:01 | |
*** freemangordon_ has quit IRC | 16:04 | |
*** Vajb has joined #maemo | 16:05 | |
*** ArGGu^^ has quit IRC | 16:06 | |
*** ArGGu^^ has joined #maemo | 16:12 | |
*** ashneo76 has quit IRC | 16:13 | |
*** pozitron has quit IRC | 16:13 | |
*** Vajb has quit IRC | 16:18 | |
*** Vajb has joined #maemo | 16:19 | |
*** BCMM has joined #maemo | 16:26 | |
*** freemangordon_ has joined #maemo | 16:32 | |
*** zGrr has joined #maemo | 16:33 | |
*** louisdk has joined #maemo | 16:40 | |
*** louisdk has quit IRC | 16:48 | |
*** louisdk has joined #maemo | 16:56 | |
*** freemangordon_ has quit IRC | 17:13 | |
*** freemangordon_ has joined #maemo | 17:17 | |
*** louisdk has quit IRC | 17:17 | |
*** louisdk has joined #maemo | 17:30 | |
*** hubutm20 has joined #maemo | 17:33 | |
*** freemangordon_ has quit IRC | 17:34 | |
*** louisdk has quit IRC | 17:52 | |
*** louisdk has joined #maemo | 18:02 | |
*** mhlavink has quit IRC | 18:02 | |
*** sparetire_ has joined #maemo | 18:07 | |
brolin_empey | Wizzup: OK, thank you. | 18:13 |
*** teotwaki has quit IRC | 18:14 | |
*** mp_ has joined #maemo | 18:15 | |
bencoh | Maxdamantus: to be honest, the best part about maemo is probably the community/ecosystem around it :) | 18:16 |
*** mhlavink has joined #maemo | 18:32 | |
*** mp_ has quit IRC | 18:34 | |
*** louisdk has quit IRC | 18:34 | |
*** KotCzarny has quit IRC | 18:45 | |
*** zGrr has quit IRC | 18:48 | |
*** ceene has joined #maemo | 18:49 | |
*** Vajb has quit IRC | 18:53 | |
*** lobito1 has joined #maemo | 18:58 | |
*** Vajb has joined #maemo | 18:59 | |
*** lobito has quit IRC | 19:00 | |
*** realitygaps has quit IRC | 19:03 | |
*** realitygaps has joined #maemo | 19:06 | |
*** florian has quit IRC | 19:10 | |
*** arossdotme has joined #maemo | 19:12 | |
*** Pali has joined #maemo | 19:14 | |
freemangordon | Pali: russell applied the patches, just don;t ask me to which tree :). also, see https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=574aab1e02837927e3c94193eedf94128ad10b6d, going to cherrypick to see if it fixes the net oops | 19:17 |
*** teotwaki has joined #maemo | 19:18 | |
*** mp_ has joined #maemo | 19:20 | |
*** louisdk has joined #maemo | 19:23 | |
Pali | freemangordon: ok, do not forget and just check that patches will be in 4.5-rc1 | 19:38 |
*** KotCzarny has joined #maemo | 19:39 | |
freemangordon | sure | 19:44 |
*** trx has quit IRC | 19:53 | |
*** eMHa_ has joined #maemo | 19:54 | |
*** eMHa has quit IRC | 19:54 | |
*** Smily has quit IRC | 20:24 | |
*** Smily has joined #maemo | 20:28 | |
*** trumee has quit IRC | 20:31 | |
*** futpib has quit IRC | 20:37 | |
*** futpib_ has joined #maemo | 20:37 | |
freemangordon | Pali: ke-recv still spits "ke_recv[2434]: get_usb_cable_udi:1725: coudn't find USB cable indicator" | 20:41 |
Pali | there is something broken in hal or ke-recv.. | 20:41 |
*** trumee has joined #maemo | 20:48 | |
*** FlameReaper-PC has quit IRC | 21:25 | |
Sicelo | N900 doesn't have a selfie-stick .. if one was to make one, what's the best way to capture at that distance? :) | 21:35 |
KotCzarny | does it have a timer? | 21:36 |
Sicelo | yes | 21:37 |
Sicelo | camera2-ui .. up to 20s | 21:37 |
Sicelo | but it would be nice to have some remote button/control | 21:38 |
bencoh | do we really want a selfie-stick? :( | 21:40 |
Sicelo | haha, i don't (because i hate taking pics) | 21:41 |
freemangordon | Pali: yeah, hal | 21:42 |
freemangordon | merlin1991: : do we have maemo hal in gitorious backup? | 21:42 |
Wizzup | Sicelo: create a network input device with a 'camera button' ? :P | 21:46 |
*** jonwil has joined #maemo | 21:47 | |
Sicelo | :) | 21:47 |
*** louisdk has quit IRC | 21:47 | |
Sicelo | i'll look to see how the others work | 21:48 |
Sicelo | i've seen people connect to earphone jack .. but i don't understand how that relates to camera | 21:50 |
bencoh | Sicelo: listening to a hal/mce/whatever event and sending a dbus command, I guess | 21:51 |
bencoh | or something close | 21:51 |
Sicelo | nice idea | 21:54 |
Sicelo | e.g. listen for headset button (which we already have in Maemo) | 21:55 |
merlin1991 | freemangordon: no idea | 22:01 |
Defiant | pitty that the n900 doesn't have an ir receiver | 22:02 |
KotCzarny | it has bt | 22:02 |
KotCzarny | should be enough | 22:02 |
Defiant | ir is way simpler | 22:02 |
KotCzarny | bt passes through obstacles | 22:02 |
KotCzarny | so you can have it in your pocket etc | 22:03 |
Defiant | I never did make selfies, so no idea if obstacles involved | 22:03 |
Defiant | but ir could be set up in no time | 22:03 |
Defiant | no paring.. | 22:03 |
Sicelo | although our N900 is quite a brick. i'm sure the weight would be felt | 22:04 |
KotCzarny | sicelo, bt mini keyboard | 22:04 |
KotCzarny | == instant button | 22:04 |
Sicelo | ;) | 22:04 |
KotCzarny | couldnt be simpler i think | 22:05 |
Sicelo | that's also neat idea. camera-ui2 actually captures when you press C on keyboard | 22:05 |
KotCzarny | only thing you need to set up is pairing devices | 22:05 |
KotCzarny | no need to tweak/hack anything | 22:05 |
Wizzup | Finally, a use for bluetooth! | 22:06 |
KotCzarny | :) | 22:06 |
KotCzarny | bt mouse could work too | 22:06 |
KotCzarny | assuming you block the laser and only rely on buttons | 22:06 |
*** mp_ has quit IRC | 22:07 | |
Sicelo | that may start needing hacks .. how do you capture? | 22:07 |
KotCzarny | press the button? | 22:07 |
Sicelo | i don't think that would work without some sort of mapping? | 22:08 |
KotCzarny | (you need to position mouse pointer over the clicky area first, then put a piece of tape over the laser | 22:08 |
*** krnlyng has quit IRC | 22:08 | |
Sicelo | haha, nah.. that would be difficult | 22:08 |
KotCzarny | camera-ui2 doesnt have a make-a-photo-on-click ? | 22:08 |
Sicelo | it does | 22:08 |
KotCzarny | but bt keyboard is way easier | 22:08 |
*** stryngs is now known as SamyIsMyHero | 22:08 | |
Sicelo | yes, your idea is bed | 22:08 |
*** SamyIsMyHero is now known as stryngs | 22:09 | |
Sicelo | *best | 22:09 |
KotCzarny | are there bt headsets with more buttons that can be mapped? | 22:10 |
bencoh | what's wrong with the wired headset button ? :p | 22:10 |
bencoh | not-simple-enough? | 22:10 |
freemangordon | merlin1991: who should I ask, xes? | 22:10 |
KotCzarny | not-long-enough | 22:10 |
KotCzarny | also you dont want cable in the photo, do you? | 22:10 |
bencoh | it's on the stick ... | 22:11 |
Sicelo | it can be long enough .. but you need some dbus-foo as well to make it trigger | 22:11 |
KotCzarny | sicelo, that dbus-foo is trivial | 22:11 |
KotCzarny | you can even use oscp-dbus.py from oscp to just map the event to something | 22:11 |
KotCzarny | for example faking 'c' key | 22:12 |
Sicelo | yes, of course. i did like the headset idea. i'm just saying that bt keyboard definitely is quickest/painless way (even for someone that knows zilch about dbus, etc.) | 22:13 |
Pali | freemangordon: https://github.com/community-ssu/hal | 22:13 |
Pali | my git repo from Jun 11 2014 | 22:14 |
freemangordon | Pali: thanks | 22:19 |
*** louisdk has joined #maemo | 22:36 | |
*** pozitrono has joined #maemo | 22:40 | |
*** realitygaps has quit IRC | 22:46 | |
*** realitygaps has joined #maemo | 22:48 | |
*** realitygaps has quit IRC | 22:48 | |
*** realitygaps has joined #maemo | 22:48 | |
*** louisdk has quit IRC | 22:51 | |
*** louisdk has joined #maemo | 23:04 | |
*** LauRoman has joined #maemo | 23:12 | |
*** louisdk has quit IRC | 23:19 | |
*** BCMM has quit IRC | 23:19 | |
freemangordon | Pali: how do you think, where should we get usb cable status? bme or isp? | 23:22 |
freemangordon | isp1707 that is | 23:22 |
freemangordon | Pali: or we should add button.type = usb.cable to hald bme addon? | 23:24 |
bencoh | how does it work thus far? | 23:24 |
*** krnlyng has joined #maemo | 23:25 | |
freemangordon | bencoh: which one? | 23:25 |
Pali | from hal bme | 23:25 |
Pali | (hald-addon-bme) | 23:25 |
freemangordon | Pali: hal bme addon? | 23:25 |
freemangordon | ok | 23:25 |
freemangordon | I was thinking the same :) | 23:25 |
freemangordon | Pali: where is the code? | 23:26 |
freemangordon | in cssu? | 23:26 |
Pali | hald-addon-bme source code is on github cssu | 23:26 |
freemangordon | found it | 23:26 |
freemangordon | Pali: is that supposed to work with stock kernel? | 23:27 |
Pali | bme replacement hald-addon-bme has same API as nokia bme | 23:28 |
Pali | so if you use hald-addon-bme API it should work on both stock Maemo and bme-replacment Maemo | 23:28 |
freemangordon | Pali: I know, but is that addon supposed to work with KP and stock kernels? as we'll duplicate usb.cable | 23:29 |
freemangordon | ke-recv takes 1st found, but I wonder is someone else uses that | 23:29 |
Pali | no, bme replacment version work *only* with bme replacment (kp or upstream kernel) | 23:29 |
freemangordon | ok, bu KP exports /org/freedesktop/Hal/devices/usb_device_1d6b_2_musb_hdrc | 23:30 |
freemangordon | *but | 23:30 |
freemangordon | with button.type = 'usb.cable' (string) | 23:30 |
Pali | freemangordon: but I did not catch up where is problem... | 23:30 |
Pali | in ke-recv? | 23:30 |
freemangordon | I will add the same in bme | 23:30 |
freemangordon | so we'll have 2 udis with button.type = 'usb.cable' (string) | 23:31 |
Pali | ke-recv needs musb device! | 23:31 |
Pali | not bme! | 23:31 |
freemangordon | this is not musb device | 23:31 |
freemangordon | this is usb cable detection | 23:31 |
Pali | ok, so what is problem? | 23:31 |
freemangordon | (23,30,59) freemangordon: so we'll have 2 udis with button.type = 'usb.cable' (string) | 23:31 |
Pali | in which kernel? | 23:32 |
freemangordon | KP | 23:32 |
Pali | stock too? | 23:32 |
freemangordon | if used with bme-replacement, yes | 23:32 |
freemangordon | but I guess this is not possible | 23:32 |
freemangordon | Pali: I don't know it this will bring problems, just making a note | 23:33 |
Pali | ok, I'm lost... problem is in which combinations? stock+nokiabme; kp+nokiabme; kp+replacbme; upstream+replacbme | 23:34 |
freemangordon | kp+replacbme | 23:34 |
Pali | and which hal UDIs have that? | 23:34 |
freemangordon | now only /org/freedesktop/Hal/devices/usb_device_1d6b_2_musb_hdrc | 23:35 |
freemangordon | if I add it to bme, both bme and ^^^ will have it | 23:35 |
freemangordon | when the combination is kp+replacbme | 23:35 |
Pali | what if you add to bme? | 23:35 |
freemangordon | button.type = 'usb.cable' | 23:35 |
Pali | and why you want to add it? | 23:36 |
freemangordon | because ke-recv needs it | 23:36 |
Pali | ?? | 23:36 |
Pali | nokia bme does not add it | 23:36 |
freemangordon | libhal_manager_find_device_string_match(hal_ctx, "button.type", "usb.cable", &num_devices, &error); | 23:36 |
Pali | so ke-recv does not need it | 23:36 |
freemangordon | it is added by p, li { white-space: pre-wrap; } hald-addon-usb-cable | 23:36 |
*** louisdk has joined #maemo | 23:37 | |
freemangordon | hald-addon-usb-cable | 23:37 |
Pali | now I'm lost... can you explain me again what is problem? | 23:37 |
freemangordon | ke-recv needs to detect when usb cable is connected | 23:38 |
freemangordon | to show you the "mass storage" dialog | 23:38 |
freemangordon | ok? | 23:38 |
Pali | ok | 23:38 |
Pali | this is done by gadget driver | 23:38 |
Pali | musb | 23:38 |
Pali | musb kernel code | 23:38 |
freemangordon | not in upstream kernal | 23:38 |
freemangordon | *kernel | 23:38 |
Pali | hm? this should be there | 23:38 |
freemangordon | but it is not | 23:39 |
Pali | hm... maybe I removed something important from .config? | 23:39 |
freemangordon | no idea | 23:39 |
freemangordon | but it was the same before you cleaned it up | 23:39 |
Pali | so problem is that in ke-recv "usb_cable_udi" variable is empty? | 23:40 |
freemangordon | which udi you think should export that? | 23:40 |
Pali | that UDI which export musb state | 23:40 |
Pali | b_idle b_peripheral ... | 23:40 |
freemangordon | Pali: the problem is that ke-recv cannot find udi which exports "button.type"="usb.cable" | 23:41 |
Pali | can you share me again lshal? | 23:41 |
freemangordon | ~ # lshal | grep idle | 23:41 |
freemangordon | ~ # | 23:41 |
infobot | it has been said that # is pound, or hash, or sometimes the number sign. a tic-tac-toe board, or octothorpe | 23:41 |
freemangordon | sure | 23:41 |
Pali | $ cat /sys/devices/platform/musb_hdrc/mode | 23:42 |
Pali | is in stock kernel | 23:42 |
Pali | similar sysfs entry must be also on upstream kernel | 23:42 |
freemangordon | http://pastebin.com/RVb9Ruh5 | 23:43 |
Pali | and if exists it should be exported to HAL (if not, bug is in HAL) | 23:43 |
freemangordon | udi = '/org/freedesktop/Hal/devices/platform_musb_hdrc_0_auto' | 23:43 |
Pali | freemangordon: see HAL hald/linux/addons/addon-usb-cable.c | 23:44 |
*** louisdk has quit IRC | 23:45 | |
freemangordon | what to look for there? | 23:45 |
freemangordon | sysfs paths? | 23:45 |
Pali | yes | 23:45 |
Pali | this is usb-cable module | 23:45 |
freemangordon | see 10-usb-cable.fdi | 23:46 |
Pali | so this module is responsible for exporting usb.cable right? | 23:46 |
freemangordon | I know | 23:46 |
freemangordon | no | 23:46 |
freemangordon | see ^^^ fdi | 23:46 |
Pali | HAL hald/linux/device.c | 23:46 |
freemangordon | <match key="button.type" string="usb.cable"> | 23:46 |
Pali | search for "usb.cable" | 23:47 |
Pali | this code set button.type to usb.cable | 23:47 |
freemangordon | hmm | 23:47 |
Pali | if exists hal_util_get_string_from_file (sysfs_path, "../mode"); | 23:47 |
freemangordon | yes | 23:47 |
Pali | it should match in our case udi = '/org/freedesktop/Hal/devices/platform_musb_hdrc_0_auto' which has linux.sysfs_path = '/sys/devices/platform/68000000.ocp/480ab000.usb_otg_hs/musb-hdrc.0.auto' | 23:49 |
freemangordon | yes | 23:49 |
Pali | so check which sysfs node has entry "mode" | 23:49 |
freemangordon | it has, just checked | 23:49 |
Pali | find /sys -name mode | 23:49 |
Pali | what is result? | 23:49 |
freemangordon | /sys/devices/platform/68000000.ocp/480ab000.usb_otg_hs/musb-hdrc.0.auto # ls | 23:49 |
freemangordon | driver driver_override gadget modalias mode musb-hdrc.0.auto power srp subsystem uevent vbus | 23:49 |
freemangordon | oh | 23:50 |
freemangordon | it looks for "../mode" | 23:50 |
Pali | hmm | 23:50 |
Pali | will look at stock Maemo | 23:51 |
freemangordon | I have KP booted, will check | 23:51 |
freemangordon | /sys/devices/platform/musb_hdrc/mode | 23:51 |
Pali | ah right | 23:52 |
freemangordon | usb_device.linux.sysfs_path = '/sys/devices/platform/musb_hdrc/usb1' | 23:52 |
Pali | see for info.product | 23:52 |
Pali | host driver | 23:52 |
Pali | binded to usb1 | 23:52 |
freemangordon | yep | 23:53 |
Pali | you should see it in lsusb | 23:53 |
*** raandoom has joined #maemo | 23:53 | |
Pali | what do you see on upstream kernel in lsusb? | 23:53 |
freemangordon | nothing :) | 23:53 |
Pali | this looks like broken gadget support | 23:53 |
Pali | can you compile g_nokia as external module? | 23:53 |
Pali | (not linked into zImage) | 23:54 |
freemangordon | ok, gimme 5 minutes | 23:54 |
freemangordon | Pali: only g_nokia? | 23:55 |
*** florian has joined #maemo | 23:55 | |
Pali | yes | 23:55 |
Pali | or you can also g_mass_storage | 23:55 |
freemangordon | hmm, why is # CONFIG_USB_MUSB_GADGET is not set | 23:55 |
freemangordon | ah, p, li { white-space: pre-wrap; } CONFIG_USB_MUSB_DUAL_ROLE=y | 23:56 |
Pali | I know why | 23:58 |
Pali | isp1704 disconnect gadget at load | 23:58 |
freemangordon | hmm | 23:58 |
Pali | so if gadget is not loaded *after* isp704 we loose it | 23:58 |
*** jonwil has quit IRC | 23:58 | |
Pali | and when gadget is compiled into zImage it cannot be initialized after isp1704 easily | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!