IRC log of #maemo-ssu for Thursday, 2016-10-13

*** NishanthMenon__ has joined #maemo-ssu00:19
*** NishanthMenon has quit IRC00:20
*** useretai- has quit IRC00:23
*** jurov has quit IRC00:23
*** _laco has quit IRC00:23
*** XDS2010 has quit IRC00:26
*** XDS2010 has joined #maemo-ssu00:27
*** useretai- has joined #maemo-ssu00:28
*** jurov has joined #maemo-ssu00:28
*** _laco has joined #maemo-ssu00:28
*** NishanthMenon__ is now known as NishanthMenon00:45
*** RedM has joined #maemo-ssu00:48
*** RedW has quit IRC00:48
*** NishanthMenon has quit IRC00:49
*** NishanthMenon has joined #maemo-ssu00:49
*** NishanthMenon has joined #maemo-ssu00:49
*** Pali has quit IRC01:32
*** NishanthMenon has quit IRC02:23
*** povbot has joined #maemo-ssu06:53
*** ChanServ sets mode: +v povbot06:53
*** DocScrutinizer05 has quit IRC07:31
*** DocScrutinizer05 has joined #maemo-ssu07:31
*** freemangordon has quit IRC08:10
*** freemangordon has joined #maemo-ssu08:10
*** freemangordon has quit IRC09:00
*** freemangordon has joined #maemo-ssu09:00
*** arcean has joined #maemo-ssu09:07
*** Pali has joined #maemo-ssu09:14
*** Pali has quit IRC09:52
*** ChanServ has quit IRC12:14
*** useretai- has quit IRC12:17
*** jurov has quit IRC12:17
*** _laco has quit IRC12:17
*** freemangordon has quit IRC12:17
*** xes has quit IRC12:17
*** macmaN_ has quit IRC12:17
*** infobot has quit IRC12:17
*** ShadowJK_ has quit IRC12:17
*** Sicelo has quit IRC12:17
*** mickname has quit IRC12:17
*** drathir has quit IRC12:17
*** Gizmokid2005 has quit IRC12:17
*** DocScrutinizer05 has quit IRC12:17
*** RedM has quit IRC12:17
*** LauRoman|Alt has quit IRC12:17
*** chainsawbike has quit IRC12:17
*** g3kk3r has quit IRC12:17
*** dos1 has quit IRC12:17
*** bencoh has quit IRC12:17
*** brolin_empey has quit IRC12:17
*** APic has quit IRC12:17
*** Guest64392 has quit IRC12:17
*** sparetire has quit IRC12:17
*** XDS2010 has quit IRC12:17
*** jon_y has quit IRC12:17
*** amiconn has quit IRC12:17
*** kerio has quit IRC12:17
*** atk has quit IRC12:17
*** arcean has quit IRC12:17
*** NIN101 has quit IRC12:17
*** sailus has quit IRC12:17
*** sixwheeledbeast^ has quit IRC12:17
*** ruskie has quit IRC12:17
*** merlin1991 has quit IRC12:17
*** merlin1991 has joined #maemo-ssu13:09
*** sixwheeledbeast^ has joined #maemo-ssu13:09
*** sailus has joined #maemo-ssu13:09
*** ruskie has joined #maemo-ssu13:09
*** NIN101 has joined #maemo-ssu13:09
*** freemangordon has joined #maemo-ssu13:09
*** arcean has joined #maemo-ssu13:09
*** dos1 has joined #maemo-ssu13:09
*** bencoh has joined #maemo-ssu13:09
*** drathir has joined #maemo-ssu13:09
*** Gizmokid2005 has joined #maemo-ssu13:09
*** mickname has joined #maemo-ssu13:09
*** macmaN_ has joined #maemo-ssu13:09
*** g3kk3r has joined #maemo-ssu13:09
*** xes has joined #maemo-ssu13:09
*** Sicelo has joined #maemo-ssu13:09
*** chainsawbike has joined #maemo-ssu13:09
*** LauRoman|Alt has joined #maemo-ssu13:09
*** ShadowJK_ has joined #maemo-ssu13:09
*** infobot has joined #maemo-ssu13:09
*** RedM has joined #maemo-ssu13:09
*** DocScrutinizer05 has joined #maemo-ssu13:09
*** adams.freenode.net sets mode: +v infobot13:09
*** useretai- has joined #maemo-ssu13:10
*** jurov has joined #maemo-ssu13:10
*** _laco has joined #maemo-ssu13:10
*** useretai- has quit IRC13:10
*** jurov has quit IRC13:10
*** _laco has quit IRC13:10
*** NIN101 has quit IRC13:10
*** sailus has quit IRC13:10
*** ruskie has quit IRC13:10
*** sixwheeledbeast^ has quit IRC13:10
*** merlin1991 has quit IRC13:10
*** arcean has quit IRC13:10
*** freemangordon has quit IRC13:10
*** xes has quit IRC13:10
*** macmaN_ has quit IRC13:10
*** infobot has quit IRC13:10
*** ShadowJK_ has quit IRC13:10
*** Sicelo has quit IRC13:10
*** mickname has quit IRC13:10
*** drathir has quit IRC13:10
*** Gizmokid2005 has quit IRC13:10
*** DocScrutinizer05 has quit IRC13:10
*** RedM has quit IRC13:10
*** LauRoman|Alt has quit IRC13:10
*** chainsawbike has quit IRC13:10
*** g3kk3r has quit IRC13:10
*** dos1 has quit IRC13:10
*** bencoh has quit IRC13:10
*** freemangordon has joined #maemo-ssu13:28
*** _laco has joined #maemo-ssu13:28
*** jurov has joined #maemo-ssu13:28
*** useretai- has joined #maemo-ssu13:28
*** dos1 has joined #maemo-ssu13:28
*** bencoh has joined #maemo-ssu13:28
*** drathir has joined #maemo-ssu13:28
*** Gizmokid2005 has joined #maemo-ssu13:28
*** mickname has joined #maemo-ssu13:28
*** macmaN_ has joined #maemo-ssu13:28
*** g3kk3r has joined #maemo-ssu13:28
*** xes has joined #maemo-ssu13:28
*** Sicelo has joined #maemo-ssu13:28
*** chainsawbike has joined #maemo-ssu13:28
*** LauRoman|Alt has joined #maemo-ssu13:28
*** ShadowJK_ has joined #maemo-ssu13:28
*** infobot has joined #maemo-ssu13:28
*** RedM has joined #maemo-ssu13:28
*** DocScrutinizer05 has joined #maemo-ssu13:28
*** merlin1991 has joined #maemo-ssu13:28
*** sixwheeledbeast^ has joined #maemo-ssu13:28
*** sailus has joined #maemo-ssu13:28
*** ruskie has joined #maemo-ssu13:28
*** NIN101 has joined #maemo-ssu13:28
*** adams.freenode.net sets mode: +v infobot13:28
*** brolin_empey has joined #maemo-ssu13:28
*** APic has joined #maemo-ssu13:28
*** Guest64392 has joined #maemo-ssu13:28
*** sparetire has joined #maemo-ssu13:28
*** XDS2010 has joined #maemo-ssu13:28
*** jon_y has joined #maemo-ssu13:28
*** amiconn has joined #maemo-ssu13:28
*** kerio has joined #maemo-ssu13:28
*** atk has joined #maemo-ssu13:28
*** sparetire has quit IRC13:28
*** APic has quit IRC13:28
*** APic has joined #maemo-ssu13:29
*** ChanServ has joined #maemo-ssu13:29
*** adams.freenode.net sets mode: +o ChanServ13:29
*** XDS2010 has quit IRC13:30
*** sparetire has joined #maemo-ssu13:33
*** XDS2010 has joined #maemo-ssu13:44
*** how900 has joined #maemo-ssu15:11
how900moin moin15:12
*** parazyd has joined #maemo-ssu15:12
how900freemangordon: did you see parazyd's baby? https://files.devuan.org/devuan_jessie_beta/testing/devuan_jessie_1.0.0-beta2.rc1_armhf_n900.img.xz15:12
parazydmeh15:12
parazydit's the classic15:12
*** ChanServ sets mode: +o DocScrutinizer0515:13
DocScrutinizer05[Notice] -asimov.freenode.net- #maemo-cssu forward channel is #maemo-ssu15:15
*** ChanServ sets mode: -o DocScrutinizer0515:15
how900:)15:19
*** NishanthMenon has joined #maemo-ssu15:46
DocScrutinizer05how900: won't there be an announcement for it on devuan or even on tmo?15:58
DocScrutinizer05parazyd: ^^^16:06
DocScrutinizer05also would be great to give it a try and make a video of N900 running it16:07
DocScrutinizer05:-)16:07
parazydi can do it with how900 when he comes to our office :)16:08
parazydshould be soon(tm)16:08
how900DocScrutinizer05: sure, parazyd wanted to push the images before addressing the community.  He sent an email... https://lists.dyne.org/lurker/message/20161012.203353.ad85a13e.en.html16:12
how900parazyd: if you write a nice howto I can test it since I have an N900 sitting here without a SIM card ;)16:13
parazydhow900: https://git.devuan.org/sdk/arm-sdk/blob/master/doc/quirks.md#nokia-n90016:15
how900parazyd: I should have known :)16:15
how900ok there's room for improvement :)16:17
bencohparazyd: "To actually run the maemo kernel using a new kernel, revert::16:18
bencoh" what does that mean?16:18
parazydbencoh: booting maemo with 4.x16:18
parazydpali can explain16:18
bencohparazyd: s/kernel// then?16:18
parazydyeah well, this is a paste i got from wizzup16:19
bencohoh okay16:19
bencohthis doc looks pretty useful btw16:19
parazydyep16:20
bencohoh btw .... http://pavelmachek.livejournal.com/137806.html16:22
DocScrutinizer05>>* Charging (seems to work)<< hmmm...16:22
bencohDocScrutinizer05: I'd expect it to work with bq24150 kernel driver16:22
bencohit shouldn't need any userland16:22
DocScrutinizer05ack, if there's any bq24150 driver. Is it upstream?16:23
bencohit is16:23
DocScrutinizer05great :-)16:23
bencoh(it has been for quite some time actually)16:23
DocScrutinizer05never checked :-)16:23
bencohI wished pavel was a tiny bit more ... verbose in his livejournal posts16:24
DocScrutinizer05so finally a driver based on my drafts made it into mainline \o/  ;-D16:24
parazydDocScrutinizer05: it works, but you have to script the led flashing yourself16:25
bencohlooks like he's doing some nice work but hardly gives any details :/16:25
DocScrutinizer05parazyd: that's pretty clear. Nobody would want the LED "hardwired"16:25
parazyd:)16:25
bencohparazyd: well, you wouldn't want to kludge bq24150 with lp55xx driving functions :)16:25
DocScrutinizer05parazyd: though, there are some weeeeiiird things about LEDs, where you can tell LED driver "flash when MMC access" and simliar obscure stuff16:26
DocScrutinizer05bencoh: ^^^16:27
DocScrutinizer05I never thought that was a really sustainable approach though16:27
DocScrutinizer05particularly it doesn't scale, nor is it really tangible for any config16:28
bencohDocScrutinizer05: in hw you mean?16:28
parazydbut you know, it's there :D16:28
DocScrutinizer05nono, that's a LED kernel driver property16:28
bencohah, that16:28
bencohwell if it's a generic kernel thing then that's "fine" with me :)16:29
DocScrutinizer05somewhere deep in /sys/*16:29
bencoh(whether this generic property is really relevant is another story)16:29
DocScrutinizer05indeed16:29
DocScrutinizer05I used it with N900 for MMC access and it sort of "worked"16:29
bencohand if there is such a property for charging then implementing it might be worth it16:30
DocScrutinizer05dunno how generic it is16:30
DocScrutinizer05also no idea how 'specified' the list of "commands" is that this feature understands16:31
parazydthere is no charging prop16:31
DocScrutinizer05I know for sure that list has no "batcharge" value16:31
DocScrutinizer05for sure xyou could augment the list with such "batcharge" feature, but if you can get that upstream is another question16:32
DocScrutinizer05I hate the whole concept16:33
DocScrutinizer05such stuff is typically best handled in middleware16:34
DocScrutinizer05like MCE ;-)16:34
keriois batcharge a special batman move16:36
DocScrutinizer05no, it's a backpack for bats16:36
kerioDocScrutinizer05: i take it that you've never seen /sys/class/leds/*/trigger on a raspberry pi?16:37
kerioit spanned like 6 lines of a 80-column terminal16:37
DocScrutinizer05exactly16:37
keriowhen listing all the possibilities16:37
DocScrutinizer05duh!16:37
keriogranted, the raspbian kernel is not mainline, but16:37
DocScrutinizer05ok, so it's platform specific and not written in stone16:38
kerioif anything should go there, battery charging should be it16:38
kerio...but then again16:38
keriowhich led?16:38
kerioorange is not a color16:38
kerio:D16:38
DocScrutinizer05hehehe16:38
DocScrutinizer05this approach sucks in so many aspects16:38
DocScrutinizer05as braindamaged as it gets16:38
DocScrutinizer05I can see you want that for really (copper) hardwired signalling that you nevertheless can enable / disable16:39
bencohI suspect those properties should be defined in devicetree nowadays, but not sure16:40
bencoh(with some defaults as well)16:40
DocScrutinizer05bencoh: they are not hardware16:40
bencohI know16:40
DocScrutinizer05so what got DT to do with it?16:40
bencohDT often defines "platform-dependent" behavior because they don't have any better place of doing so16:41
bencohto do so*16:42
DocScrutinizer05the LED signalling of charging is not platform specific on N900, that's the whole point16:42
bencohapparently there is such a thing as default-trigger that should come from DT, for instance16:43
bencohand some drivers a battery-related trigger16:43
bencoh+implement16:43
DocScrutinizer05it's a general purpose LED that can signal anything it likes. Assigning charging to it is completely arbitrary16:43
bencohapparently some people expect it to be board-vendor-defined16:44
DocScrutinizer05that's braindead16:44
bencohdunno16:44
parazydbraindead's a good miniseries16:44
parazydwatch it16:44
bencohsee Documentation/devicetree/bindings/leds/common.tx btw16:45
DocScrutinizer05nobody in their sane mind want vendor define the LED behavior for them16:45
DocScrutinizer05isn't that exactly what we want to get rid of and thus we use linux instead of a proprietary OS?16:46
bencohthat's actually the other way around16:48
DocScrutinizer05anyway as long as DT just defines the list of properties/values for /sys/*/LED*/*/trigger, I don't mind16:49
DocScrutinizer05this would still not explain how to make the LED shine orange.16:50
DocScrutinizer05a proper way to solve this stuff would be a LED "trigger" sysnode that understands a sort of handle to a (pair of) kernel events, and the charger emitting those events (it already does I think)16:52
*** qwqwqwqw has joined #maemo-ssu17:41
DocScrutinizer05for led in LED:R LED:G; do echo 'kevent.bq24150.chargestart' > $led/event_on; echo 'kevent.bq24150.chargeend' > $led/event_off; done17:48
*** jon_y_ has joined #maemo-ssu17:53
*** jon_y has quit IRC17:56
DocScrutinizer05but then, you actually rather (NOT) want something like echo 'kevent.bq24150.chargestart {engine1_load="9d80407f7f00e0047f0040007f007f007f00407f7f00e0047f007f000000;9d804000e080407fe0800000"; engine1_LEDs=000001100; start}; kevent.bq24150.chargestop [stop}' >lp5523/new_sysnode_for_this18:02
DocScrutinizer05so, better already do it in userland, by a daemon18:03
kerioDocScrutinizer05: yeah but only if you can inotify it or whatever18:20
keriopolling is :(18:20
*** Pali has joined #maemo-ssu18:26
parazydkerio: http://z3bra.org/wendy/18:33
kerioty but i don't really linux anymor18:33
kerioe18:33
kerioi have seen the truth18:33
DocScrutinizer05kerio: knotify18:51
kerioanyway should i try that devuan18:51
kerioi don't even know what i could do18:51
keriolike18:51
kerioi have no wifi18:52
DocScrutinizer05err sorry, kevents?18:52
DocScrutinizer05https://www.freebsd.org/cgi/man.cgi?kqueue18:52
DocScrutinizer05https://wiki.linuxfoundation.org/networking/kevent18:54
DocScrutinizer05parazyd: inotify fails on sysfs18:56
DocScrutinizer05as well as other virtual filesystems18:56
DocScrutinizer05in maemo I think kerecv does that kevent stuff19:00
freemangordonhow900: no. which kernel it has?19:26
freemangordonparazyd: ^^^19:27
how900freemangordon: "The kernels are built with custom gcc19:27
how900toolchains that can be retrieved at https://pub.parazyd.cf/mirror/19:27
how900" see https://lists.dyne.org/lurker/message/20161012.203353.ad85a13e.en.html19:27
freemangordonok, but what is the kernel version?19:28
freemangordon4.?19:28
how900freemangordon: parazyd was mentioning 4.8 earlier.  I didn't test yet.19:29
freemangordon4.8 is ok, if it is the version includede. downloading atm, no idea when I will have time to test it19:30
* freemangordon wonders where is his uSD card19:32
parazyd4.6-rc1 is on the imge19:32
freemangordonhmm, not good, lots of stuff missing19:32
parazydit was the default branch on pali's repo19:33
freemangordonesp in the terms of PM19:33
freemangordonoh, so you're not using upstream kernal?19:33
freemangordon*kernel19:33
parazydfeel free to make your own with arm-sdk: https://git.devuan.org/sdk/arm-sdk19:33
parazydfreemangordon: no19:33
freemangordonparazyd: BTW, I am not complaining, just saying ;)19:34
parazydyeah well, i try to do stable kernels for devuan19:36
freemangordonparazyd: the point is that in vanilla 4.8 there should be most of the stuff which is on Pali's tree as patches. However, I'll try to find some time in the upcoming weekend to play with that sdk19:38
freemangordonbut first I need to find my spare uSD card19:40
*** NishanthMenon has quit IRC19:54
* kerio has a 128gb uSD card20:04
keriofucking voodoo magic man20:05
keriotheres no way 128gb can be that small20:05
freemangordonkerio: what about 256GB?20:06
kerioHERETIC20:06
freemangordonparazyd: hmm, I see no kernel included in the image, is that expected?20:50
keriofreemangordon: uImage in /boot?21:10
kerioalso how do i use that image21:11
keriodo i shove it in a microsd partition and boot from it21:11
freemangordonkerio: iirc it should be on fat partition21:53
freemangordontry searching google on how to boot meego from usd21:53
*** Pali has quit IRC23:01
bencohfreemangordon: btw http://pavelmachek.livejournal.com/137806.html?nojs=1 :(23:18
bencohdunno if you guys noticed23:18

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!