IRC log of #maemo for Wednesday, 2016-04-06

*** auenf has joined #maemo00:02
*** auenfx4 has joined #maemo00:18
*** auenf has quit IRC00:19
*** auenf has joined #maemo00:21
*** auenfx4 has quit IRC00:22
*** sunshavi has joined #maemo00:22
*** auenf has quit IRC00:28
*** auenf has joined #maemo00:34
*** Dynamit has quit IRC00:40
*** Dynamit has joined #maemo00:41
*** Dynamit has quit IRC00:42
*** Dynamit has joined #maemo00:42
*** xorly has quit IRC00:43
*** auenfx4 has joined #maemo00:44
*** auenf has quit IRC00:45
*** Dynamit has quit IRC00:45
*** Dynamit has joined #maemo00:46
robotanarchyWizzup: here is what I found out so far (with lots of help from sre), regarding ofono and 4.6-rc1 kernel:00:46
robotanarchyfeel free to extends this :)00:46
keriowhat's ofono again00:55
robotanarchykerio: a piece of c software, that provides a dbus api to the n900 modem (and for other phones)00:55
*** auenf has joined #maemo00:55
robotanarchyso you can easily connect it, type in the pin, write sms, do calls etc00:55
robotanarchymore or less easily ;)00:56
robotanarchyalso it is heavily bloated and out of date. but there aren't much alternatives00:56
robotanarchyhere is some more info:
*** auenfx4 has quit IRC00:57
*** auenfx4 has joined #maemo01:02
*** auenf has quit IRC01:02
Wizzuprobotanarchy: That is helpful. I think I may be able to get it to work with this even.01:05
WizzupI'll let you know when I have some time.01:05
robotanarchynice :)01:05
WizzupThere should also be some scripts that you can use to test ofono, like send-sms or so01:06
WizzupIn gentoo, I think it is a useflag.01:06
robotanarchyyes, they are in the source. I have linked them under "trying to find the modem"01:06
robotanarchyWizzup: not sure if I have asked already, but which distro do you run currently on your n900?01:07
*** disco_stu has quit IRC01:07
*** disco_stu has joined #maemo01:08
*** auenf has joined #maemo01:16
*** auenfx4 has quit IRC01:16
robotanarchy... okay, gentoo i guess :p01:21
*** auenfx4 has joined #maemo01:36
Wizzuprobotanarchy: yes, gentoo01:37
Wizzuprobotanarchy: how did you guess? ;)01:37
*** auenf has quit IRC01:37
*** futpib has quit IRC01:40
DocScrutinizer05((there aren't much alternatives)) FSO01:40
infoboti heard fso is the mobile devices middleware.
*** lxp has quit IRC01:41
keriodoes nokia use any of those01:43
*** LauRoman has quit IRC01:44
kerioayy lmao01:44
DocScrutinizer05and the ofono guys were quite ... strange when defeating to join FSO rather than starting a second project of same purpose. They argued "FSO is just a better AT interface to modem, ofono approach is much broader". Now it seems it's exactly the other way around01:44
DocScrutinizer05NIH, never seen such pattern before¡ ;-P01:46
DocScrutinizer05kerio: Nokia invented their own stuff called ISI iirc01:47
DocScrutinizer05which nobody ever really used, except Nokia01:47
DocScrutinizer05(ISI) the usual "we share the (incomplete) specs so everybody may use them, but we don't provide any code of a reference implementation" industry "standard"  :-/01:49
infobotrumour has it, isi is Ingénierie des Systèmes Informatiques01:51
*** auenfx4 has quit IRC01:52
*** auenf has joined #maemo01:53
DocScrutinizer05~#maemo ISI is
infobotokay, DocScrutinizer0501:54
infobothmm... isi is
DocScrutinizer05~#maemo ISI is also or
infobotDocScrutinizer05: okay01:59
infobotextra, extra, read all about it, isi is
*** Kabouik_ has joined #maemo02:01
DocScrutinizer05literal isi02:02
DocScrutinizer05~literal isi02:02
infobot"#maemo isi" is " ||"02:02
DocScrutinizer05friggin idiot bot02:02
DocScrutinizer05infobot: no, #maemo isi is
infobotDocScrutinizer05: okay02:03
infobothmm... isi is
*** Kabouik has quit IRC02:03
*** auenfx4 has joined #maemo02:05
DocScrutinizer05Openmoko SHR (OS) is completely based on FSO02:07
DocScrutinizer05and dos1 did a phonecall with SHR already, on Neo900 proto_v102:07
*** auenf has quit IRC02:08
* Wizzup is interested in alternative ways to do the same thing02:08
Wizzupespecially if it means I can just use my own distro of choice02:08
DocScrutinizer05SHR also works on N90002:08
DocScrutinizer05maemo is way more "professional" and polished than SHR, but...02:09
Wizzupand it's not gentoo, and also has no up to date packages :)02:11
Wizzupi'd be happy with a very simple TUI to do calls02:11
DocScrutinizer05so try SHR02:11
Wizzupis it possible to install it on gentoo?02:12
Wizzuplast I checked the last release was very old02:12
DocScrutinizer05or check out PaulFertser's emacs UI for freerunner ;-)02:12
*** Church- has joined #maemo02:13
DocScrutinizer05well, I don't think there are many distro/release specific things in the vala code of FSO - dunno about SHR02:13
*** N-Mi has quit IRC02:14
kerio>using gentoo in $current_year02:14
kerio>using linux in $current_year02:14
*** florian has quit IRC02:15
DocScrutinizer05kerio: vala is a compiled language, so you should build FSO on top of whatever linux you use02:15
Wizzupkerio: let me know when minix runs on the n90002:18
DocScrutinizer05Wizzup: actually you can ping paul in #openmoko-cdevel02:21
WizzupI won't right now - because I don't have time currently02:21
WizzupI will first give ofono a try, also to get gprs to work02:21
DocScrutinizer05why not FSO?02:21
Wizzupbecause ofono is packaged for gentoo02:21
DocScrutinizer05aah ok02:22
WizzupI don't want to package FSO first :)02:22
WizzupI may do it at some point02:22
Wizzupand I still have actually live up to my promise to fmg and finally get IDA ready and make some time for PA :(02:22
DocScrutinizer05zhere's a guy nicked "Sid" living here who bought a N900 from me for spare, and he's a big gentoo fan. I wouldn't be surprised if he packaged both ofono and FSO for N900 gentoo02:25
DocScrutinizer05actually Sidd ->
Church-Just curious where I could find the toolchaine for freemantle?02:31
DocScrutinizer05not worth logging in, the user page doesn't give away any better details02:31
infobotsomebody said scratchbox was 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, hosted by maemo now. Also at
Church-DocScrutinizer05: ?02:31
DocScrutinizer05the second link is a VM02:32
DocScrutinizer05you don't need ^^^ when using the VM02:33
Church-The things I do to get r2 workin gon this thing. :P02:34
DocScrutinizer05please rephrase02:34
Church-Trying to get a copy of radare2 compiled for my 900.02:35
DocScrutinizer05at least what's r2?02:35
DocScrutinizer05aah knew I heard it before, that was you :-)02:36
Church-Yarp. Always been shite at cross-compiling though, so this'll be an adventure.02:36
*** oldtopman has joined #maemo02:37
DocScrutinizer05inside scratchbox it feels like genuine02:38
DocScrutinizer05actualy I think it sort of _is_ genuine02:38
DocScrutinizer05I mean SB is not only a chroot but also a qemu afaik02:39
oldtopmanIs it alright if I ask questions about the nokia n900 here?02:39
DocScrutinizer05of course! :-)02:39
DocScrutinizer05where else if not here02:39
oldtopmanWell, can never be too sure. The community gets smaller every day and I don't want to step on any toes :)02:40
DocScrutinizer05nah, here is a nice bunch02:40
oldtopmanSo, I was just on Lycamobile 2 years ago. They deactivated all of their old sim cards. I bought a new one and put it in, but I still get the generic no sim error.02:41
DocScrutinizer05no matter which SIM you use?02:41
Wizzupdo you get the same problem with other SIMs?02:41
Wizzupwhat doc said.02:41
oldtopmanI tried a h2o wireless one in the interim as well, but AT&T has deactivated their gsm network here (as I found out :/ )02:41
DocScrutinizer05well, that doesn't result in no-SIM02:42
DocScrutinizer05as long as you enter the pin correctly02:42
oldtopmanWhat errors are there? Regardless of sim, I get the 'cellular communication error, all calls disabled...etc, etc.'02:43
DocScrutinizer05if it doesn't even ask for PIN though it should, you have a hw problem02:43
oldtopmanWith sim out, I can look up IMEI, with it in, it's blank on h2o02:43
DocScrutinizer05ok, you're in a ecosystem aka country where SIMs don't use PINs?02:44
DocScrutinizer05I know a few of those02:44
oldtopmanah, yeah. America here.02:44
DocScrutinizer05as long as you can request IMEI, there's still hope02:45
DocScrutinizer05but odds are you are a victim of the notorious no-SIM hw error02:45
infobothmm... springfix is  and
DocScrutinizer05try to clean SIM contacts though, before you try that02:46
oldtopmanDocScrutinizer05: It's blank with this sim in as well. Am I screwed? Really not a fan of android or ios right now :/02:46
DocScrutinizer05there are still working N900 available on ebay :-)02:46
DocScrutinizer05we need to do deeper examination of your modem status to definitely decide whether it's the nasty hw error or maybe something inb software or simply SIM contacts or sth02:47
DocScrutinizer05a very good indicator would be when no-SIM occurs only statistically from time to time. Then you're screwed02:48
DocScrutinizer05you can talk to the modem low level via program pnatd02:49
DocScrutinizer05in a shell02:49
DocScrutinizer05there you can use some AT commands to check status of modem and query details of SIM etc02:49
oldtopmanDocScrutinizer05: I found my old Nokia 2720, should be able to tell if the sim card is working, yeah?02:49
DocScrutinizer05not trivial particularly to recall all the AT commands off top of my head02:49
DocScrutinizer05yep, sure - excellent approach02:50
DocScrutinizer05Wizzup: could you (or anybody else) take over? I'm tired and off for bed02:51
oldtopmanDocScrutinizer05, thanks for the advice. I'll give cleaning a shot before holding a funeral and replacing anything.02:51
keriowho shuts down a gsm network like that02:52
DocScrutinizer05ping me in 10h, we can go on investigating the issue02:52
DocScrutinizer05kerio: AT&T ;-P02:52
kerioDocScrutinizer05: i shit you not ebay italy has some listings for 400+€ for brand new n900s02:53
DocScrutinizer05I know02:53
DocScrutinizer05a tad expensive, eh? ;-)02:53
DocScrutinizer05also check those offers, often they are from 201102:54
kerioit makes the neo900 price feel more sensible ᕕ( ᐛ )ᕗ02:54
DocScrutinizer05I even found an original Nokia offer on Amazon02:54
oldtopman...darn 2720 isn't unlocked. Which is a good sign, I suppose, since it's more of a reaction than it had to the h2o card.02:55
WizzupDocScrutinizer05: I just went to bed as well02:55
DocScrutinizer05If I wouldn't know Nokia doesn't even exist anymore (selling phones) I would have assumed this were a real N900 new offer02:55
DocScrutinizer05Wizzup: oldtopman: kerio: $folks:  good night :-)02:56
kerio 700 washingtons02:57
keriowell, 700€02:57
keriothat's roughly 800 washingtons02:58
DocScrutinizer05that's the one I found :-D02:58
DocScrutinizer05"sold by: Nokia"02:58
kerioᕕ( ᐛ )ᕗ02:59
DocScrutinizer05the comments give it away though02:59
DocScrutinizer05on the english amazon page there were user questions or comments up to 2011 then stopping03:00
DocScrutinizer05>>By Jason Byrne on May 10, 2011<<03:07
keriowho IS marina harisson03:08
kerioand why does she have pink hair03:08
kerioDocScrutinizer05: hahahahah look at the last 3 star review03:09
kerio"3.0 out of 5 starsIncredible potential. Substandard execution."03:09
kerio***January 2010 Update*** I'm now on my third N90003:10
infobot[usbfix] - and **NEVER** use epoxy (unless you want to seal your device for underwater), or, you will basically need two irons: a small good one (or better hot-air reflow) and a 60+ Watt03:12
keriowhy would you keep buying n900s if they weren't great, tho03:12
DocScrutinizer05anyway n803:13
Church-Alright, well fuck getting radare2 installed. Compiling is taking forever, and being naughty and snagging the .deb from debian requires a newer version of libc603:23
oldtopmanChurch-: You ought to upgrade your toaster then.03:32
oldtopmanI can compile it on my old athlon in a few minutes.03:33
Church-oldtopman: Heh, I meant I'm running into errors. :P03:41
oldtopmanReally? I didn't realize radare had any dependencies.03:41
Church-Well installing it would require a newer version of libc6 than is in the maemo repos.03:42
oldtopmanRight, but even compiling has it's dependencies?03:44
Church-oldtopman: No, on that end It's just a pain the ass getting scratchbox working correctly. :P03:46
oldtopmanWhat's wrong with ye olde makefile?03:47
oldtopmanoh, I'm in the n900 channel, haha03:47
Church-Nothing, needed the toolchain though.03:47
*** Trizt has quit IRC03:58
*** Trizt has joined #maemo04:00
*** andril has quit IRC04:00
oldtopmanWait - the gsm problem is caused by pressure on the gsm chips itself, not the sim slot?04:11
*** Hurrian has quit IRC04:19
*** eMHa has joined #maemo04:28
*** eMHa__ has quit IRC04:31
DocScrutinizer05so putting paper under the SIM doesn't really help04:33
DocScrutinizer05it just bends the PCB a little which may help the chip's snapped-open solder points04:34
*** robotanarchy_ has joined #maemo04:41
*** robotanarchy has quit IRC04:43
*** azkay has joined #maemo04:50
oldtopmanDocScrutinizer05: Is it a good fix, or is it a temporary stopgap until I can source another board?04:50
oldtopmanMine lives daily in my pockets - not an easy life, I killed the stand and camera cover already :/04:50
DocScrutinizer05there is no known good fix to no-SIM issue04:52
DocScrutinizer05when it's hw problem04:52
DocScrutinizer05springfix allegedly works up to a year or longer04:52
*** liujian0012hn has joined #maemo04:56
*** maemo_user_ has joined #maemo05:03
*** maemo_user has quit IRC05:04
*** florian__ has joined #maemo05:10
*** florian_kc has quit IRC05:13
Church-Welp, looks like I'll be asking somebody to attempt porting r2 for me.05:16
Church-Should be a while.05:16
azkayWish this new sd card wasn't being a jerk05:17
azkayI've tried formatting it to fat32 on windows, on n900 with the file manager, and manually with terminal. Every time I'm getting "Memory card not supported", even though others aren't having problems with it05:18
azkayTime to try gparted I guess05:18
Church-Screw it, I'm just going to install neopwn on this fucking thing. :P05:23
*** ArGGu^^ has quit IRC05:25
*** ArGGu^^ has joined #maemo05:32
*** azkay has quit IRC05:39
*** auenf has joined #maemo05:44
*** auenfx4 has quit IRC05:45
*** lobito has joined #maemo05:49
*** Church- has quit IRC05:52
*** azkay has joined #maemo05:57
*** liujian0012hn has joined #maemo06:17
*** auenf has quit IRC06:20
*** auenf has joined #maemo06:20
Maxdamantusazkay: does it mount manually?06:21
*** pagurus has quit IRC06:25
*** DocScrutinizer05 has quit IRC06:29
*** DocScrutinizer05 has joined #maemo06:29
azkayformatted it to fat32 in gparted, put it in and "mount /dev/mmcblk1p1 /mnt" gives me "invalid argument"06:29
*** BitEvil has joined #maemo06:30
*** SpeedEvil is now known as Guest2132806:30
*** Guest21328 has quit IRC06:31
azkayUnrelated, but damn this n900 that I got seems to have a much softer digitiser than my old one06:31
azkayEvery day I'm seeing more scratches on it, my last one didn't have any06:31
azkayWeee, after a restart (for the 10th time) it's now working :)06:34
*** auenf has quit IRC06:35
*** vahe1 has joined #maemo06:39
*** auenf has joined #maemo06:41
*** lobito has quit IRC06:43
*** lobito has joined #maemo06:45
*** valdyn has left #maemo06:45
*** auenf has quit IRC06:55
*** auenf has joined #maemo06:58
*** auenfx4 has joined #maemo07:18
*** auenf has quit IRC07:18
*** auenfx4 has quit IRC07:25
*** auenf has joined #maemo07:25
*** liujian0012hn has quit IRC07:27
*** auenf has quit IRC07:30
*** vakkov has quit IRC07:35
*** auenf has joined #maemo07:35
*** auenf has quit IRC07:40
*** auenf has joined #maemo07:42
*** auenf has quit IRC07:48
*** vahe1 has quit IRC07:59
*** Church- has joined #maemo08:04
Church-About ready to shoot myself over bleeding radare2. >_>08:04
*** oldtopman has quit IRC08:05
*** auenf has joined #maemo08:06
stryngsDocScrutinizer05: Thank you for the response.  You too sixwheeledbeast.  Is there a proper PDF I can scour so I can disassemble properly?08:10
*** vahe1 has joined #maemo08:13
*** auenf has quit IRC08:19
*** xorly has joined #maemo08:39
*** sunshavi has quit IRC08:51
*** LauRoman has joined #maemo08:56
*** arcean has joined #maemo08:59
*** lobito has quit IRC09:06
*** lobito has joined #maemo09:07
*** auenf has joined #maemo09:07
*** tanty_off is now known as tanty09:08
*** xorly has quit IRC09:15
*** auenf has quit IRC09:38
*** auenf has joined #maemo09:39
*** auenfx4 has joined #maemo09:44
*** auenf has quit IRC09:45
*** auenf has joined #maemo09:50
*** auenfx4 has quit IRC09:51
*** Pali has joined #maemo10:06
*** florian__ is now known as florian10:24
Vajbstryngs: try searching service manual from google or maemo wiki.10:33
ceenehow is maemo's support for java?10:48
ceenestill... i'm not willing to record yappari in java10:50
*** geaaru has joined #maemo10:52
ceenethere is this10:58
ceenethat may be a little easier to use with yappari's gui10:59
ceenealthough i think it's basically the same thing as the qt5/4 implementation i got from coderus10:59
ceenewho, by the way, has decided not to continue developing his whatsapp client10:59
ceenei think the way, really, is to make a telepathy plugin that supports whatsapp11:00
bencohceene: there is a purple plugin11:01
ceenethat supports encryption?11:01
bencohah, not sure11:01
*** maemo_user_ has quit IRC11:01
ceenemaybe they do11:01
ceenethere's a libaxolotl-cpp dir in that repo11:02
ceeneso they should, yeah11:02
bencohit does use axolo11:02
bencohyeah ;)11:02
ceenewell, that's a good thing11:02
ceeneremove all protocol related things from yappari11:02
ceeneand make it a purple user?11:02
bencohhmm, dunno, I suspect we'd still deps issues regarding libpurple11:03
bencoh(and newer libpurple needs newer glib iirc)11:03
*** Pali has quit IRC11:03
bencohyeah, deps hell11:03
ceeneno wonder coderus is fed up with all this11:03
bencohactually the way to go would be telepathy->haze->whatsapp-purple11:03
ceenehaze is a telepathy-purple thing, isn't it?11:04
ceenei had a company once, named hazent :)11:04
bencohbut deps hell still apply11:04
ceenewe didn't do shit except lose money, time and throw business cards like we were important or something11:04
ceenefun times those11:04
ceenebetter than this whatsapp thing11:04
ceeneis there any feasible way then?11:07
ceeneor should i just announce that i retire from this?11:07
bencohI guess you could start by sending a few emails around (to coderus, and/or to whatsapp-purple author)11:10
bencohDepends: ${shlibs:Depends}, ${misc:Depends}, libpurple0 (>= 2.3.0), libfreeimage3, libprotobuf811:12
bencohii  libpurple0                                          2.10.11-0maemo1                  multi-protocol instant messaging library11:12
bencohlooks like it might actually work o.O11:13
bencohstill need protobuf, but...11:13
ceenethe libprotobuf thing i think i can work around11:14
ceeneas i got coderus' libs to compile on scratchbox11:15
bencohyeah looks like libprotobuf is pretty much standalone11:15
ceenei don't remember how, but i did11:15
azkayLogin finally down11:16
ceenethat's an uber client?11:16
ceeneon console11:16
ceenecool :)11:16
azkayIt's been a week since I started using my new n900, and a week since I've been able to get an uber :P11:17
ceeneE: Couldn't find package libfreeimage-dev11:17
bencohazkay: oh, nice11:17
ceenewhat is does thing and why does a library need to manipulate images11:17
infobotceene meant: what is this thing and why does a library need to manipulate images11:18
bencohprocessing/converting images before sending I guess (?)11:18
ceenemaybe, yeah11:19
ceenenow i need to port this libfreeimage to maemo11:19
azkayCan't just use the armel one from there?11:19
bencohalmost yeah11:20
ceeneand this freeimage thing depends on a bunch of other image processing libraries that we don't have11:20
bencoherr we won't just take in the binary though11:20
bencohbut we can fetch their package and adapt the debian/11:20
azkayI seeee11:21
bencohwe have most of it11:21
bencohlcms2 is missing (we have lcms1)11:21
bencohlibraw5 might be missing (not sure about the version we have) but I suspect we won't need it for a whatsapp client :)11:21
bencohwe might get away without lcms as well11:22
azkayOfftopic: Once I get the console version pretty much working, I should look at how to implement it into the maemo plugins stuff (like skype, facebook, etc). Send an SMS or something to Uber and it requests it, maybe11:23
*** arcean has quit IRC11:35
azkayAnd this is why I hate oauth API stuff, they say not to distribute the client_secret. Well, how are people supposed the client if they can't login without it?11:36
azkaysupposed to use the client*11:36
azkayAnyone know what I should be looking for for coding something that works with Maemo? (Like skype, facebook, etc). Where you add your account, change it to online/offline in the top menu etc11:39
ceenei don't think this is it11:41
ceenei think that's for apps that share files through some service11:41
ceenebut it's related nonetheless11:42
*** arcean has joined #maemo11:42
azkayThanks :), I just found some examples too
*** jskarvad has joined #maemo11:47
*** silviof has quit IRC11:49
*** azkay_ has joined #maemo11:52
*** azkay has quit IRC11:56
*** silviof has joined #maemo11:59
*** silviof has joined #maemo12:01
*** azkay_ has quit IRC12:06
Vajbmaybe it could be implemented as pidgin plugin?12:37
ceenethat's purple, basically12:53
*** xorly has joined #maemo12:58
*** hashcore has joined #maemo13:06
*** azkay has joined #maemo13:09
*** liu has joined #maemo13:15
*** xorly has quit IRC13:15
*** ecloud_wfh is now known as ecloud13:25
*** liu has quit IRC13:30
*** eMHa has quit IRC13:31
*** eMHa has joined #maemo13:31
*** liu has joined #maemo13:38
*** azkay has quit IRC13:39
*** eMHa has quit IRC13:48
*** azkay has joined #maemo13:49
*** arcean has quit IRC13:51
*** ecloud has quit IRC13:52
*** ecloud has joined #maemo13:53
*** hashcore has quit IRC14:03
*** eMHa has joined #maemo14:04
*** liujian0012hn has joined #maemo14:05
*** hashcore has joined #maemo14:06
*** arcean has joined #maemo14:07
*** azkay has quit IRC14:30
*** hashcore has quit IRC14:36
*** hashcore has joined #maemo14:38
*** Kabouik has joined #maemo14:53
*** Kabouik has quit IRC15:01
*** Pali has joined #maemo15:05
*** BitEvil is now known as SpeedEvil15:05
*** freemangordon has quit IRC15:14
*** freemangordon has joined #maemo15:15
xesit would be nice to have on maemo some kind of transport like spectrum2 that would allow to connect many other IM protocols: Now i'm using it as gateway transport for whatsapp with the setup: openfire/spectrum2/tranwhat/yowsup15:16
ceenenever heard about that15:17
*** hashcore has quit IRC15:22
*** hashcore has joined #maemo15:29
*** liu has quit IRC15:36
*** liu has joined #maemo15:36
*** hashcore has quit IRC15:39
*** hashcore has joined #maemo15:40
DocScrutinizer05zxspectrum2? ;-)15:44
*** hashcore has quit IRC15:45
Wizzuprobotanarchy_: did you try it with mdbus215:48
DocScrutinizer05mickeyL's dbus \o/15:49
*** N-Mi has joined #maemo15:49
*** N-Mi has joined #maemo15:49
DocScrutinizer05ported from Openmoko15:49
WizzupYes. written in .... vala15:50
Wizzupand I have no valac15:50
DocScrutinizer05vala? duh! I thought it's python15:50
Wizzupit requires valac15:50
DocScrutinizer05I'm almost sure it's python. Maybe the *1 version15:51
Wizzuplet me look.15:51
Wizzup 40415:51
*** cnjj has joined #maemo15:52
Wizzuptaking the debian pkg15:53
DocScrutinizer05prolly mdbus2 is vala then15:54
DocScrutinizer05not prolly, obviously15:54
DocScrutinizer05  WFM15:55
Wizzup# ./mdbus2 -s org.ofono / org.ofono.Manager.GetModems15:57
WizzupOK, will continue a tad later.15:58
*** ketaran has joined #maemo16:01
DocScrutinizer05complete FSO was python and then version 2 rewrite in vala16:01
DocScrutinizer05I liked the python variant more16:02
DocScrutinizer05but alegedly for performance reasons Mickey went to vala16:02
DocScrutinizer05btw vala is just a C preprocessor, basically16:03
xesDocScrutinizer05: zxspectrum2? It would be nice.. Spectrum2 &CO is a big undocumented mess ..16:03
DocScrutinizer05Wizzup: anyway if you are interested in FSO, Mickey is a very nice guy and always willing to help16:05
DocScrutinizer05unlike ofono folks, reportedly16:06
WizzupI'm just trying to do what the linux ML post says on how to test this...16:06
DocScrutinizer05sre is none of the ofono folks though16:06
*** Maxdamantus has quit IRC16:08
*** XDS2010 has quit IRC16:14
*** Maxdamantus has joined #maemo16:14
Wizzuprobotanarchy_: have you managed to successfully probe nokia-modem?16:15
WizzupI think that is the main reason it fails16:16
WizzupI get this:16:16
Wizzup[  100.532379] nokia-modem n900-modem: Could not get gpio 016:16
Wizzup[  100.532501] nokia-modem n900-modem: Could not probe GPIOs16:16
Wizzup[  100.532806] nokia-modem: probe of n900-modem failed with error -1616:16
DocScrutinizer05hmm GPIOs not in mainstream kernel?16:22
DocScrutinizer05I seem to recall sth like that16:22
*** hashcore has joined #maemo16:23
*** XDS2010 has joined #maemo16:23
DocScrutinizer05either not available at all, or (more likely) massively changed API16:23
*** krnlyng has quit IRC16:24
*** hashcore has quit IRC16:27
*** Maxdamantus has quit IRC16:37
*** Maxdamantus has joined #maemo16:40
*** krnlyng has joined #maemo16:41
*** florian has quit IRC16:43
*** Kabouik has joined #maemo16:52
*** arcean has quit IRC16:54
DocScrutinizer05GPIO 0 ???  CMT_EN is GPIO_7416:58
WizzupDocScrutinizer05: well, sre can get it to work on some mainline version16:59
Wizzupand apparently also a few others. so there's likely something odd16:59
DocScrutinizer05 APE_RST_RQ and CMT_RST_RQ  are on GPIO_72 and 73, CMT_RST on GPIO_7517:01
DocScrutinizer05we also got APESLEEPX to CMT/RAPUYAMA on GPIO_70 which I got NFC what it does17:02
DocScrutinizer05ooh, sorry I missed:  APE_RST_RQ Input, CMT_RST_RQ Output, all others output too17:04
DocScrutinizer05from APE view17:04
PaliWizzup: which kernel?17:05
Paliand for which userapace?17:05
Wizzup(booting now)17:06
WizzupPali: userspace is gentoo, do you want to know udev version? kernel is 4.5-rcX from your branch (sec)17:07
Paliabove error message is there if you gpio_switch kernel driver want to use those GPIOS together with nokia-modem driver17:07
WizzupLinux gentoo900 4.5.0-rc5+ #1 PREEMPT Wed Mar 9 18:58:02 CET 2016 armv7l Nokia RX-51 board GNU/Linux17:07
Paliso only one kernel driver should control17:07
Wizzup# lsmod | grep gpio17:07
Wizzupgpio_keys               8404  017:07
Paligpio switch is static linked into zImage17:08
WizzupYep. I see it now in dmesg.17:08
Paliand is available only in my linux-n900 tree (not in upstream)17:08
DocScrutinizer05that's what I meant17:08
WizzupWhat is the best thing to do? Make it a module? Disable it?17:08
Paliso depends on how you want to control those GPIOs17:08
Palivia gpio switch?17:09
Palior via generic gpio sysfs (exported by nokia modem)?17:09
DocScrutinizer05I guess that depends what ofono is doing ;-)17:09
Wizzupthis is without ofono starting17:09
Paliofono should support both methods :-)17:09
WizzupThis is just me trying to probe the module :)17:09
Palibut preferred is second via nokia modem17:09
WizzupWhat would you recommend I do?17:10
Wizzup(I'm trying to get this to work and have no preference)17:10
Paliyou need: 1) disable gpio switch when compiling kernel or either 2) load
DocScrutinizer05emphasis on "or either"17:11
DocScrutinizer05which one is better?17:11
Palidepends on userspace17:11
Palimaemo needs 1)17:11
Palierr 2)17:12
PaliMaemo sscd and csd can work only with pm=0 and with gpio switch17:12
WizzupPali: pm=0 worked when probing17:12
Palipm=0 just skip exporting gpios17:12
DocScrutinizer05you're such a smart bunch, guys :-))17:12
Paliso gpio switch can control gpios17:13
DocScrutinizer05anybody ever checked that weird stuff around APE_RST_RQ  CMT_RST_RQ APESLEEPX ?17:14
DocScrutinizer05I suspect the former two are about a mutual watchdog17:15
DocScrutinizer05third *maybe* to tell cellmo to suspend watchdog since APE went asleep17:17
PaliAPESLEEPX is for flash mode17:18
Palin900 has rapu type 117:18
DocScrutinizer05wow, weird. Many thanks17:18
*** liu has quit IRC17:20
*** liu has joined #maemo17:20
WizzupOK, so nokia-modem probes successfully. My next plan is to make gprs work17:23
DocScrutinizer05OUCH!  missing a usleep()17:24
keriohow much usleep17:24
DocScrutinizer05minimum 100us17:24
kerioor what17:24
DocScrutinizer05raher 100017:24
DocScrutinizer05or modem might miss IRQ due to too short 0-time17:25
keriothere's also two rst close togheter in the next function17:25
DocScrutinizer05yep, same issue17:26
*** liu has quit IRC17:26
DocScrutinizer05pretty anti-EE/hw approach I see in ofono17:27
DocScrutinizer05I mean you can't rely on CPU clock without even probing/knowing it to shape a hw electrical signal17:28
*** liu has joined #maemo17:29
DocScrutinizer05I bet my skinny ass the pulsewidth of a GPIO_WRITE(cmt_rst, 0); GPIO_WRITE(cmt_rst, 1); is significantly shorter than 1us17:29
DocScrutinizer05shorter than 0.1us even17:30
keriocan you even usleep in the kernel, though17:30
kerioor would that need to be refactored17:30
kerioPali: halp us17:30
DocScrutinizer05dunno, use NOPs if you can't do smarter things17:30
keriono i mean17:30
keriowouldn't it freeze the everything17:30
DocScrutinizer05I think there's a delay or sleep kernel function17:31
*** Luke-Jr has quit IRC17:31
DocScrutinizer05and yes it freezes the system for the sleeptime17:31
DocScrutinizer05that's why yiu usually avoid it17:32
DocScrutinizer05not here though, here you must use it17:32
DocScrutinizer05I mean it's one millisecond17:32
*** florian has joined #maemo17:33
DocScrutinizer05you may quote me when upstreaming the patch - I'll even sign it off17:33
Wizzuprobotanarchy_: I also think that your udev rename is not correct / bogus path to go down to17:34
Wizzuprobotanarchy_: when you properly modprobe the nokia modem, you get a phonet017:34
WizzupI'm rebuilding ofono now with tools and some other use flags17:34
DocScrutinizer05yes, that's the ISI interface basically17:34
WizzupLet's hope they are useful17:34
WizzupI want to see if I can get the gprs0 interface up17:35
DocScrutinizer05Wizzup: please already apply my patches ;-)17:35
WizzupI will do that when I installed it and it doesn't work - not that I don't trust your patches, but I want to reproduce what others did before17:36
WizzupI need a solid base to work/test from17:36
DocScrutinizer05though the usleeps only take out unpredictable behaviour from a fringe case17:37
DocScrutinizer05without them it may or may not work, with them it must work17:37
Wizzupthanks for noticing it17:37
DocScrutinizer05yw :-)17:38
DocScrutinizer05ofono guys had diect help from Nokia and still they coded such mess17:42
* DocScrutinizer05 idly wonders about cmd pipelining in ARM17:50
DocScrutinizer05dunno if GPIO access is pipelined17:51
DocScrutinizer05worst case pulsewidth is 1/600E6 seconds, or completely optimized out17:52
Wizzuprobotanarchy_: have you configured ofono in any way? like in /etc/ofono/17:56
*** xorly has joined #maemo17:58
*** liu has quit IRC18:14
DocScrutinizer05Pali: could we get dmesg early kernel boot msgs copied to syslog early during boot?18:19
DocScrutinizer05wait, what's that?18:21
Palisyslog copy it (after it start)18:22
DocScrutinizer05yeah think so, thanks and sorry for the noise18:22
DocScrutinizer05but very early kernel stuff still seems to be missing18:24
DocScrutinizer05size of dmsg buffer?18:27
*** florian has quit IRC18:28
DocScrutinizer05or is it just ne getting puzzled?18:28
freemangordonDocScrutinizer05: that paste is missing some early log messages, yes18:31
freemangordonhmm, "i2c_omap i2c_omap.2: controller timed out"18:32
DocScrutinizer05and yep, we could get those if that lazy ashole here had already soldered the wires to the debug port ;-) Sorry!18:32
freemangordonDocScrutinizer05: is that stock kernel?18:32
DocScrutinizer05err yup18:32
*** xorly has quit IRC18:33
freemangordonno need for debug port, you should have evrything in syslog18:33
DocScrutinizer05IroN900:~# uname -a18:33
DocScrutinizer05Linux IroN900 2.6.28-omap1 #1 PREEMPT Fri Aug 6 11:50:00 EEST 2010 armv7l GNU/Linux18:33
*** liu has joined #maemo18:34
kerio>stock kernel in 201618:34
freemangordonDocScrutinizer05: no idea why those are missing, reboot once again and check18:35
DocScrutinizer05I rebooted and checked several times and same18:35
DocScrutinizer05will redo nevertheless18:35
keriofreemangordon: still no thumby openssl 0.9.8zh? :(18:41
DocScrutinizer05looks pretty much same, no?18:42
*** BitEvil has joined #maemo18:43
*** SpeedEvil is now known as Guest4022018:43
DocScrutinizer05wpwrak and me both think dmsg buffer too small for chatty kernel18:45
DocScrutinizer05resizing dmsg buffer shouldn't be too hard, no?18:45
DocScrutinizer05dmesg even18:46
*** liu has quit IRC18:46
*** liu has joined #maemo18:47
DocScrutinizer05       -s bufsize18:47
DocScrutinizer05              Use  a  buffer  of  size  bufsize to query the kernel ring buffer.  This is 16392 by default.  (The default kernel syslog buffer size was 4096 at first, 8192 since 1.3.54,18:47
DocScrutinizer05              16384 since 2.1.113.)  If you have set the kernel buffer to be larger than the default then this option can be used to view the entire buffer.18:47
Wizzuprobotanarchy_: ofono doesn't seem to detect any modem for me, yet18:47
Wizzuprobotanarchy_: the symlink as suggested in sre's mail and your wiki makes no difference18:47
*** xorly has joined #maemo18:48
*** Luke-Jr has joined #maemo18:50
DocScrutinizer05seems kernel ringbuffer is a pathetic 16kB per default, could it get resized by a kernel cmdline parameter on boot, or do we need a kernel rebuild?18:51
Paliyou can change it by kernel cmdline18:52
DocScrutinizer05so let's make it 64k and fix the dmesg -s used for copying to syslog(?)18:53
DocScrutinizer05at least with uBoot that should work, no?18:53
Paliand what is problem?18:54
DocScrutinizer05could we binary patch kernel hardcoded default size?18:54
PaliI have full dmesg in syslog18:54
DocScrutinizer05err see above, I don't18:54
DocScrutinizer05stock kernel18:54
*** BitEvil is now known as SpeedEvil18:55
Palimusb spams too much...18:55
DocScrutinizer05I prolly should finally switch to PK ;-)18:55
DocScrutinizer05yeah, kernel* too chatty18:55
DocScrutinizer05but actually I prefer chatty over too silent18:56
Wizzupdepends if it is a program or person18:58
DocScrutinizer05don't we have a plaintext kernel default cmdline hardcoded into kernel?19:00
DocScrutinizer05is it actually evaluated by kernel? or just provided to /proc and no matter what's inside?19:01
*** liu has quit IRC19:02
DocScrutinizer05who does copying of dmesg to syslog?19:15
Wizzupsyslog should just pick it up19:16
*** eMHa has quit IRC19:17
DocScrutinizer05aah builtin, with no options?19:17
DocScrutinizer05meh, RTFM19:17
*** sunshavi has joined #maemo19:18
DocScrutinizer05no manpage for /etc/syslog.conf19:20
DocScrutinizer05usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]19:21
*** auenfx4 has joined #maemo19:21
DocScrutinizer05how the heck I tell syslog about larger kernel ringbuffer, similar to dmesg -s ?19:22
DocScrutinizer05or does it simply know the size?19:22
*** auenf has quit IRC19:22
*** ArGGu^^ has quit IRC19:23
DocScrutinizer05btw would jr@saturn:~/mymaemo-workdir/maemo_flasher-3.5_2.5.2.2> ./flasher-3.5 -b="$blabla log_buf_len=64K"  work? I guess it's not sticky anyway, in that NOLO would store it to NAND permanently and use it for further boots19:24
DocScrutinizer05flasher-3.5 -b="`ssh root@iron900 cat /proc/cmdline` log_buf_len=64K"19:32
*** jskarvad has quit IRC19:39
Pali-b is temporary just for current boot19:39
*** eMHa has joined #maemo19:39
Palino permanent solution except recompiling kernel19:39
DocScrutinizer05Pali: ack19:43
DocScrutinizer05or binary patching kernel ;-D19:43
*** tanty is now known as tanty_off19:44
DocScrutinizer05or uBoot as kerio said?19:44
DocScrutinizer05for testing flasher -b is just fine I'd guess19:44
bencohyeah, uboot19:44
bencohseriously, stock kernel and no uboot... what the hell are you doing? :p19:45
freemangordonkerio: I am waitng for merlin1991 to issue new cssu, -thumb will follow shortly19:50
*** pagurus has joined #maemo19:51
infobotsomebody said rescueos was
*** pagurus has quit IRC19:54
*** pagurus has joined #maemo19:55
*** Church- has quit IRC19:55
bencohis there any reason why we don't have a cssu target (or several) with autobuilder19:56
bencohI mean, a repository where cssu maintainers could push source packages and autobuilder would generate binary packages19:56
bencohjust like with extras19:56
freemangordonbencoh: nobody wants to take the decision :)19:57
freemangordontake? make? whatever19:57
WizzupI'm happy to donate arm hw19:58
freemangordonWizzup: hmm?19:58
Wizzupfor build machines19:59
bencohis it just about "deciding", or is there any ...obstacle?19:59
Wizzupif that is helpful19:59
bencohWizzup: it shouldn't be considering we use scratchbox, but thx anyway :)19:59
Wizzupoffer will stand for considerable future :P19:59
freemangordonbencoh: I am not aware of any obstacle20:00
bencohfreemangordon: so we could have both -testing and -stable?20:01
bencohand still have usual extras* packages built against stock PR?20:02
*** vahe1 has quit IRC20:02
freemangordonI see no problem with that20:03
freemangordonwe can even have -thumb target20:03
bencohthat'd be great as well20:03
bencohhmm ... who's admin on autobuilder/package infra?20:03
DocScrutinizer05bencoh: CSSU is a layered supplementary repo which nevertheless overrides base packages20:04
bencohDocScrutinizer05: yeah, I'm aware of that20:05
freemangordonbencoh: me and merlin199120:05
freemangordonme(autobuilder), merlin1991(package interface)20:05
DocScrutinizer05there are no regular build targets like CSSU for 'ordinary' packages20:05
DocScrutinizer05all maemo-etras is supposed to work on CSSU as well20:05
bencohfreemangordon: think you could add one of those (-testing or -devel maybe?) just to check if it works/things don't break?20:06
freemangordonDocScrutinizer05: no build targets - it is a matter of setting them up20:06
freemangordonbencoh: I am a kind of maintainer, not a decision-maker20:07
bencohDocScrutinizer05: CSSU-* stuff shouldn't interfere with extras*, yeah20:07
DocScrutinizer05no, there's no need for such. There's aneed for thumb build target though20:07
bencohfreemangordon: which means this question should go to council?20:07
freemangordonor HiFo20:07
freemangordonnot sure what is the official "structure" lately :)20:07
bencohDocScrutinizer05: well, I dunno if there is a need but I feel silly everytime I read fmg/merlin having to fiddle with building packages for release20:08
bencohit just doesn't feel right to loose time on that and do a manual build while we could just send source package to some auto process20:08
freemangordonDocScrutinizer05: all the packages in Nokia and SDK repos are build by a kind of autobuilder20:08
DocScrutinizer05yeah ok20:09
bencohbesides this remind me of something you asked lately regarding neo900 and a working, buildable from scratch maemo ;)20:09
freemangordonbencoh: well, usually building is not a problem and we don;t have *that* much new packages with every release20:09
DocScrutinizer05but then this needs to be a sort of restricted autobuilder, with special care taken about who can upload stuff20:10
bencohfreemangordon: well, see merlin's fight against autotools a few days ago :)20:10
freemangordonDocScrutinizer05: deffinitely20:10
bencohDocScrutinizer05: indeed20:10
DocScrutinizer05build TARGETS are x86, ARM, (new:) thumb. In extras etc20:10
bencohfreemangordon: would they be repositories, targets, something else?20:11
DocScrutinizer05a new autobuilder and repo could be very useful for CSSU but only when access is limited to CSSU members20:11
DocScrutinizer05and under final control of merlin199120:11
freemangordonbencoh: I know what you meant, but that happens relatively rarely. and I guess one of the reasons it has happened this time is because it was a while since merlin1991 had done it for the last time ;)20:11
bencohmaybe yeah :)20:11
bencohoh and, another cool thing is we could benefit from the promoting system20:12
bencoh-devel -> -testing -> -stable20:12
freemangordonno, no20:12
freemangordonwon;t work20:12
bencohah, why?20:12
freemangordonsee extras :)20:13
bencohI'm not talking about users voting20:13
bencohbut about admins/maintainers promoting packages20:13
freemangordonbut who?20:13
freemangordonthere is one maintainer - merlin199120:13
*** MohammadAG has joined #maemo20:14
DocScrutinizer05CSSU works because it's a strict hierarchy with benevolent dictators20:14
freemangordonand when we used to have regular updates, there were regular meeting of the CSSU team members, where we discussed what to be included in the next update20:14
bencohDocScrutinizer05: haha20:15
DocScrutinizer05nah, no haha, see freemangordon ^^^20:15
bencohfair enough20:15
freemangordonbencoh: yes, exactly what DocScrutinizer05 said20:15
DocScrutinizer05CSSu dictators are shanghaied20:16
DocScrutinizer05actually that organizational structure is the only one that works for Openssource projects, in my book. And the probe,m is when people don't get the idea20:24
DocScrutinizer05then messy stuff like a little bit longer than one year ago, with the eV and "let's abolish council" happens20:25
DocScrutinizer05it's an idiocy to try let a community of thousands take decisions20:26
DocScrutinizer05no matter which, except elections20:26
DocScrutinizer05even a community of one dozen usually fails epically20:27
DocScrutinizer05unless there's one dude with the hat on20:27
bencohwhich is what we have here, basically20:29
DocScrutinizer05in industry you usually have project leaders for each project. everybody of the crew can become project leader, usually nobody wants to20:30
DocScrutinizer05since the PL has all the nasty duties20:30
DocScrutinizer05and kets ass-kicked in the end20:31
DocScrutinizer05as soon as somebody thinks PL has anything todo with power and might, very bad things happen20:32
DocScrutinizer05council are the maemo project leaders20:34
DocScrutinizer05merlin1991 is CSSU project leader20:34
*** lxp has joined #maemo20:35
*** xelo has joined #maemo20:36
DocScrutinizer05and note that a PL has no saying usually in the shape, design, goals, and structure of a project. There are other guys to provide that data/drafts and PL only decides if those are OK with everybody else and the project requirements20:38
DocScrutinizer05PL nly keep the project running. They don't "provide ideas" other than "to do that right, we need to ask A, B, C to help procduce data x, concept y, poll z"20:43
*** geaaru has quit IRC20:44
DocScrutinizer05when they provide ideas, they do it as team peer, not as PL20:44
*** ArGGu^^ has joined #maemo20:46
DocScrutinizer05a boss could also give orders to overrule any team decision, but a good boss won't usually do that, rather act as peer in the crew and let the PL do their job20:46
*** krnlyng has quit IRC20:46
*** krnlyng has joined #maemo20:47
*** sunshavi has quit IRC20:48
DocScrutinizer05a FOSS project usually has no boss, so if it got poor prerforming PLs, the project is busted20:49
*** futpib has joined #maemo20:50
DocScrutinizer05a last saying: "wer glaubt dass ein Projektleiter Prokekte *leitet*, der glaubt auch das ein Zitronenfalter Zitronen faltet"20:51
infobotDocScrutinizer05 meant: a last saying: "wer glaubt dass ein Projektleiter Projekte *leitet*, der glaubt auch das ein Zitronenfalter Zitronen faltet"20:52
*** SpeedEvil has quit IRC21:02
*** SpeedEvil has joined #maemo21:04
*** MohammadAG has quit IRC21:10
*** pagurus has quit IRC21:14
*** N-Mi has quit IRC21:24
*** florian has joined #maemo21:35
*** Kabouik has quit IRC21:46
*** M4rtinK has joined #maemo22:16
DocScrutinizer05freemangordon: Pali: how is softupd supposed to work?22:21
PaliDocScrutinizer05: what do you mean by how?22:22
*** veikko has joined #maemo22:22
DocScrutinizer05typical usecase, how maemo uses it22:22
Paliit is "server" for flashing images to mtd, mmc and also to modem22:22
DocScrutinizer05no connection to NOLO?22:23
Palino, softupd is linux binary22:23
Paliit is started *after* booting linux kernel22:23
Palinot in bootloader22:23
DocScrutinizer05I thought it's used together with local flasher and allows all of flasher's options?22:23
Palimaemo via (local) flasher can flash new kernel or bootloader22:23
DocScrutinizer05but not boot?22:24
Palilocal flasher is just client for softupd22:24
Palino booting22:24
Palialso it listen on usb device22:24
Paliso you can communite via softup via usb22:24
Palie.g. via g_nokia.ko22:24
Palisee 0xFFFF and Mk II protocol22:24
DocScrutinizer05aaah for vanilla flashing22:24
Palisoftup understand Mk II protocol via usb or local socket22:24
DocScrutinizer05yep, makes sense22:25
DocScrutinizer05thank you very much22:25
Palialso this is only way how to flash mmc image22:25
Paliwhen you boot into "update" mode, it just boot linux kernel and then init system22:25
Pali+ softup as server22:25
Paliminimal "busybox" userspace22:25
DocScrutinizer05Pali: does 0xFFFF|flasher's -b=cmdline option also apply to booting a kernel from NAND?22:49
PaliDocScrutinizer05: it apply to currently loaded kernel in RAM22:49
DocScrutinizer05only RAM?22:50
Paliif you do not send any kernel via USB, then in RAM is kernel from NAND22:50
DocScrutinizer05aah, right22:50
DocScrutinizer05so I can modify the cmdline for an 'ordinary' boot?22:50
DocScrutinizer05I.E start flasher -b=blablabla and then plug a powered down device to USB22:52
DocScrutinizer05I don't think I have a special purpose for asking that right now, rather I'm just curious22:53
DocScrutinizer05Iprolly should simply try it ;-)22:54
*** lobito has quit IRC22:59
*** xelo has quit IRC23:01
PaliDocScrutinizer05: yes, but do not forget to specify what is in /proc/cmdline23:07
Palias -b overwrite whole cmdline... it does not do "append"23:07
*** ced117 has joined #maemo23:07
*** andril has joined #maemo23:25
*** L29Ah has left #maemo23:45
*** L29Ah has joined #maemo23:47

Generated by 2.15.1 by Marius Gedminas - find it at!