*** NishanthMenon__ has joined #maemo-ssu | 00:19 | |
*** NishanthMenon has quit IRC | 00:20 | |
*** useretai- has quit IRC | 00:23 | |
*** jurov has quit IRC | 00:23 | |
*** _laco has quit IRC | 00:23 | |
*** XDS2010 has quit IRC | 00:26 | |
*** XDS2010 has joined #maemo-ssu | 00:27 | |
*** useretai- has joined #maemo-ssu | 00:28 | |
*** jurov has joined #maemo-ssu | 00:28 | |
*** _laco has joined #maemo-ssu | 00:28 | |
*** NishanthMenon__ is now known as NishanthMenon | 00:45 | |
*** RedM has joined #maemo-ssu | 00:48 | |
*** RedW has quit IRC | 00:48 | |
*** NishanthMenon has quit IRC | 00:49 | |
*** NishanthMenon has joined #maemo-ssu | 00:49 | |
*** NishanthMenon has joined #maemo-ssu | 00:49 | |
*** Pali has quit IRC | 01:32 | |
*** NishanthMenon has quit IRC | 02:23 | |
*** povbot has joined #maemo-ssu | 06:53 | |
*** ChanServ sets mode: +v povbot | 06:53 | |
*** DocScrutinizer05 has quit IRC | 07:31 | |
*** DocScrutinizer05 has joined #maemo-ssu | 07:31 | |
*** freemangordon has quit IRC | 08:10 | |
*** freemangordon has joined #maemo-ssu | 08:10 | |
*** freemangordon has quit IRC | 09:00 | |
*** freemangordon has joined #maemo-ssu | 09:00 | |
*** arcean has joined #maemo-ssu | 09:07 | |
*** Pali has joined #maemo-ssu | 09:14 | |
*** Pali has quit IRC | 09:52 | |
*** ChanServ has quit IRC | 12:14 | |
*** useretai- has quit IRC | 12:17 | |
*** jurov has quit IRC | 12:17 | |
*** _laco has quit IRC | 12:17 | |
*** freemangordon has quit IRC | 12:17 | |
*** xes has quit IRC | 12:17 | |
*** macmaN_ has quit IRC | 12:17 | |
*** infobot has quit IRC | 12:17 | |
*** ShadowJK_ has quit IRC | 12:17 | |
*** Sicelo has quit IRC | 12:17 | |
*** mickname has quit IRC | 12:17 | |
*** drathir has quit IRC | 12:17 | |
*** Gizmokid2005 has quit IRC | 12:17 | |
*** DocScrutinizer05 has quit IRC | 12:17 | |
*** RedM has quit IRC | 12:17 | |
*** LauRoman|Alt has quit IRC | 12:17 | |
*** chainsawbike has quit IRC | 12:17 | |
*** g3kk3r has quit IRC | 12:17 | |
*** dos1 has quit IRC | 12:17 | |
*** bencoh has quit IRC | 12:17 | |
*** brolin_empey has quit IRC | 12:17 | |
*** APic has quit IRC | 12:17 | |
*** Guest64392 has quit IRC | 12:17 | |
*** sparetire has quit IRC | 12:17 | |
*** XDS2010 has quit IRC | 12:17 | |
*** jon_y has quit IRC | 12:17 | |
*** amiconn has quit IRC | 12:17 | |
*** kerio has quit IRC | 12:17 | |
*** atk has quit IRC | 12:17 | |
*** arcean has quit IRC | 12:17 | |
*** NIN101 has quit IRC | 12:17 | |
*** sailus has quit IRC | 12:17 | |
*** sixwheeledbeast^ has quit IRC | 12:17 | |
*** ruskie has quit IRC | 12:17 | |
*** merlin1991 has quit IRC | 12:17 | |
*** merlin1991 has joined #maemo-ssu | 13:09 | |
*** sixwheeledbeast^ has joined #maemo-ssu | 13:09 | |
*** sailus has joined #maemo-ssu | 13:09 | |
*** ruskie has joined #maemo-ssu | 13:09 | |
*** NIN101 has joined #maemo-ssu | 13:09 | |
*** freemangordon has joined #maemo-ssu | 13:09 | |
*** arcean has joined #maemo-ssu | 13:09 | |
*** dos1 has joined #maemo-ssu | 13:09 | |
*** bencoh has joined #maemo-ssu | 13:09 | |
*** drathir has joined #maemo-ssu | 13:09 | |
*** Gizmokid2005 has joined #maemo-ssu | 13:09 | |
*** mickname has joined #maemo-ssu | 13:09 | |
*** macmaN_ has joined #maemo-ssu | 13:09 | |
*** g3kk3r has joined #maemo-ssu | 13:09 | |
*** xes has joined #maemo-ssu | 13:09 | |
*** Sicelo has joined #maemo-ssu | 13:09 | |
*** chainsawbike has joined #maemo-ssu | 13:09 | |
*** LauRoman|Alt has joined #maemo-ssu | 13:09 | |
*** ShadowJK_ has joined #maemo-ssu | 13:09 | |
*** infobot has joined #maemo-ssu | 13:09 | |
*** RedM has joined #maemo-ssu | 13:09 | |
*** DocScrutinizer05 has joined #maemo-ssu | 13:09 | |
*** adams.freenode.net sets mode: +v infobot | 13:09 | |
*** useretai- has joined #maemo-ssu | 13:10 | |
*** jurov has joined #maemo-ssu | 13:10 | |
*** _laco has joined #maemo-ssu | 13:10 | |
*** useretai- has quit IRC | 13:10 | |
*** jurov has quit IRC | 13:10 | |
*** _laco has quit IRC | 13:10 | |
*** NIN101 has quit IRC | 13:10 | |
*** sailus has quit IRC | 13:10 | |
*** ruskie has quit IRC | 13:10 | |
*** sixwheeledbeast^ has quit IRC | 13:10 | |
*** merlin1991 has quit IRC | 13:10 | |
*** arcean has quit IRC | 13:10 | |
*** freemangordon has quit IRC | 13:10 | |
*** xes has quit IRC | 13:10 | |
*** macmaN_ has quit IRC | 13:10 | |
*** infobot has quit IRC | 13:10 | |
*** ShadowJK_ has quit IRC | 13:10 | |
*** Sicelo has quit IRC | 13:10 | |
*** mickname has quit IRC | 13:10 | |
*** drathir has quit IRC | 13:10 | |
*** Gizmokid2005 has quit IRC | 13:10 | |
*** DocScrutinizer05 has quit IRC | 13:10 | |
*** RedM has quit IRC | 13:10 | |
*** LauRoman|Alt has quit IRC | 13:10 | |
*** chainsawbike has quit IRC | 13:10 | |
*** g3kk3r has quit IRC | 13:10 | |
*** dos1 has quit IRC | 13:10 | |
*** bencoh has quit IRC | 13:10 | |
*** freemangordon has joined #maemo-ssu | 13:28 | |
*** _laco has joined #maemo-ssu | 13:28 | |
*** jurov has joined #maemo-ssu | 13:28 | |
*** useretai- has joined #maemo-ssu | 13:28 | |
*** dos1 has joined #maemo-ssu | 13:28 | |
*** bencoh has joined #maemo-ssu | 13:28 | |
*** drathir has joined #maemo-ssu | 13:28 | |
*** Gizmokid2005 has joined #maemo-ssu | 13:28 | |
*** mickname has joined #maemo-ssu | 13:28 | |
*** macmaN_ has joined #maemo-ssu | 13:28 | |
*** g3kk3r has joined #maemo-ssu | 13:28 | |
*** xes has joined #maemo-ssu | 13:28 | |
*** Sicelo has joined #maemo-ssu | 13:28 | |
*** chainsawbike has joined #maemo-ssu | 13:28 | |
*** LauRoman|Alt has joined #maemo-ssu | 13:28 | |
*** ShadowJK_ has joined #maemo-ssu | 13:28 | |
*** infobot has joined #maemo-ssu | 13:28 | |
*** RedM has joined #maemo-ssu | 13:28 | |
*** DocScrutinizer05 has joined #maemo-ssu | 13:28 | |
*** merlin1991 has joined #maemo-ssu | 13:28 | |
*** sixwheeledbeast^ has joined #maemo-ssu | 13:28 | |
*** sailus has joined #maemo-ssu | 13:28 | |
*** ruskie has joined #maemo-ssu | 13:28 | |
*** NIN101 has joined #maemo-ssu | 13:28 | |
*** adams.freenode.net sets mode: +v infobot | 13:28 | |
*** brolin_empey has joined #maemo-ssu | 13:28 | |
*** APic has joined #maemo-ssu | 13:28 | |
*** Guest64392 has joined #maemo-ssu | 13:28 | |
*** sparetire has joined #maemo-ssu | 13:28 | |
*** XDS2010 has joined #maemo-ssu | 13:28 | |
*** jon_y has joined #maemo-ssu | 13:28 | |
*** amiconn has joined #maemo-ssu | 13:28 | |
*** kerio has joined #maemo-ssu | 13:28 | |
*** atk has joined #maemo-ssu | 13:28 | |
*** sparetire has quit IRC | 13:28 | |
*** APic has quit IRC | 13:28 | |
*** APic has joined #maemo-ssu | 13:29 | |
*** ChanServ has joined #maemo-ssu | 13:29 | |
*** adams.freenode.net sets mode: +o ChanServ | 13:29 | |
*** XDS2010 has quit IRC | 13:30 | |
*** sparetire has joined #maemo-ssu | 13:33 | |
*** XDS2010 has joined #maemo-ssu | 13:44 | |
*** how900 has joined #maemo-ssu | 15:11 | |
how900 | moin moin | 15:12 |
---|---|---|
*** parazyd has joined #maemo-ssu | 15:12 | |
how900 | freemangordon: did you see parazyd's baby? https://files.devuan.org/devuan_jessie_beta/testing/devuan_jessie_1.0.0-beta2.rc1_armhf_n900.img.xz | 15:12 |
parazyd | meh | 15:12 |
parazyd | it's the classic | 15:12 |
*** ChanServ sets mode: +o DocScrutinizer05 | 15:13 | |
DocScrutinizer05 | [Notice] -asimov.freenode.net- #maemo-cssu forward channel is #maemo-ssu | 15:15 |
*** ChanServ sets mode: -o DocScrutinizer05 | 15:15 | |
how900 | :) | 15:19 |
*** NishanthMenon has joined #maemo-ssu | 15:46 | |
DocScrutinizer05 | how900: won't there be an announcement for it on devuan or even on tmo? | 15:58 |
DocScrutinizer05 | parazyd: ^^^ | 16:06 |
DocScrutinizer05 | also would be great to give it a try and make a video of N900 running it | 16:07 |
DocScrutinizer05 | :-) | 16:07 |
parazyd | i can do it with how900 when he comes to our office :) | 16:08 |
parazyd | should be soon(tm) | 16:08 |
how900 | DocScrutinizer05: 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.html | 16:12 |
how900 | parazyd: if you write a nice howto I can test it since I have an N900 sitting here without a SIM card ;) | 16:13 |
parazyd | how900: https://git.devuan.org/sdk/arm-sdk/blob/master/doc/quirks.md#nokia-n900 | 16:15 |
how900 | parazyd: I should have known :) | 16:15 |
how900 | ok there's room for improvement :) | 16:17 |
bencoh | parazyd: "To actually run the maemo kernel using a new kernel, revert:: | 16:18 |
bencoh | " what does that mean? | 16:18 |
parazyd | bencoh: booting maemo with 4.x | 16:18 |
parazyd | pali can explain | 16:18 |
bencoh | parazyd: s/kernel// then? | 16:18 |
parazyd | yeah well, this is a paste i got from wizzup | 16:19 |
bencoh | oh okay | 16:19 |
bencoh | this doc looks pretty useful btw | 16:19 |
parazyd | yep | 16:20 |
bencoh | oh btw .... http://pavelmachek.livejournal.com/137806.html | 16:22 |
DocScrutinizer05 | >>* Charging (seems to work)<< hmmm... | 16:22 |
bencoh | DocScrutinizer05: I'd expect it to work with bq24150 kernel driver | 16:22 |
bencoh | it shouldn't need any userland | 16:22 |
DocScrutinizer05 | ack, if there's any bq24150 driver. Is it upstream? | 16:23 |
bencoh | it is | 16:23 |
DocScrutinizer05 | great :-) | 16:23 |
bencoh | (it has been for quite some time actually) | 16:23 |
DocScrutinizer05 | never checked :-) | 16:23 |
bencoh | I wished pavel was a tiny bit more ... verbose in his livejournal posts | 16:24 |
DocScrutinizer05 | so finally a driver based on my drafts made it into mainline \o/ ;-D | 16:24 |
parazyd | DocScrutinizer05: it works, but you have to script the led flashing yourself | 16:25 |
bencoh | looks like he's doing some nice work but hardly gives any details :/ | 16:25 |
DocScrutinizer05 | parazyd: that's pretty clear. Nobody would want the LED "hardwired" | 16:25 |
parazyd | :) | 16:25 |
bencoh | parazyd: well, you wouldn't want to kludge bq24150 with lp55xx driving functions :) | 16:25 |
DocScrutinizer05 | parazyd: though, there are some weeeeiiird things about LEDs, where you can tell LED driver "flash when MMC access" and simliar obscure stuff | 16:26 |
DocScrutinizer05 | bencoh: ^^^ | 16:27 |
DocScrutinizer05 | I never thought that was a really sustainable approach though | 16:27 |
DocScrutinizer05 | particularly it doesn't scale, nor is it really tangible for any config | 16:28 |
bencoh | DocScrutinizer05: in hw you mean? | 16:28 |
parazyd | but you know, it's there :D | 16:28 |
DocScrutinizer05 | nono, that's a LED kernel driver property | 16:28 |
bencoh | ah, that | 16:28 |
bencoh | well if it's a generic kernel thing then that's "fine" with me :) | 16:29 |
DocScrutinizer05 | somewhere deep in /sys/* | 16:29 |
bencoh | (whether this generic property is really relevant is another story) | 16:29 |
DocScrutinizer05 | indeed | 16:29 |
DocScrutinizer05 | I used it with N900 for MMC access and it sort of "worked" | 16:29 |
bencoh | and if there is such a property for charging then implementing it might be worth it | 16:30 |
DocScrutinizer05 | dunno how generic it is | 16:30 |
DocScrutinizer05 | also no idea how 'specified' the list of "commands" is that this feature understands | 16:31 |
parazyd | there is no charging prop | 16:31 |
DocScrutinizer05 | I know for sure that list has no "batcharge" value | 16:31 |
DocScrutinizer05 | for sure xyou could augment the list with such "batcharge" feature, but if you can get that upstream is another question | 16:32 |
DocScrutinizer05 | I hate the whole concept | 16:33 |
DocScrutinizer05 | such stuff is typically best handled in middleware | 16:34 |
DocScrutinizer05 | like MCE ;-) | 16:34 |
kerio | is batcharge a special batman move | 16:36 |
DocScrutinizer05 | no, it's a backpack for bats | 16:36 |
kerio | DocScrutinizer05: i take it that you've never seen /sys/class/leds/*/trigger on a raspberry pi? | 16:37 |
kerio | it spanned like 6 lines of a 80-column terminal | 16:37 |
DocScrutinizer05 | exactly | 16:37 |
kerio | when listing all the possibilities | 16:37 |
DocScrutinizer05 | duh! | 16:37 |
kerio | granted, the raspbian kernel is not mainline, but | 16:37 |
DocScrutinizer05 | ok, so it's platform specific and not written in stone | 16:38 |
kerio | if anything should go there, battery charging should be it | 16:38 |
kerio | ...but then again | 16:38 |
kerio | which led? | 16:38 |
kerio | orange is not a color | 16:38 |
kerio | :D | 16:38 |
DocScrutinizer05 | hehehe | 16:38 |
DocScrutinizer05 | this approach sucks in so many aspects | 16:38 |
DocScrutinizer05 | as braindamaged as it gets | 16:38 |
DocScrutinizer05 | I can see you want that for really (copper) hardwired signalling that you nevertheless can enable / disable | 16:39 |
bencoh | I suspect those properties should be defined in devicetree nowadays, but not sure | 16:40 |
bencoh | (with some defaults as well) | 16:40 |
DocScrutinizer05 | bencoh: they are not hardware | 16:40 |
bencoh | I know | 16:40 |
DocScrutinizer05 | so what got DT to do with it? | 16:40 |
bencoh | DT often defines "platform-dependent" behavior because they don't have any better place of doing so | 16:41 |
bencoh | to do so* | 16:42 |
DocScrutinizer05 | the LED signalling of charging is not platform specific on N900, that's the whole point | 16:42 |
bencoh | apparently there is such a thing as default-trigger that should come from DT, for instance | 16:43 |
bencoh | and some drivers a battery-related trigger | 16:43 |
bencoh | +implement | 16:43 |
DocScrutinizer05 | it's a general purpose LED that can signal anything it likes. Assigning charging to it is completely arbitrary | 16:43 |
bencoh | apparently some people expect it to be board-vendor-defined | 16:44 |
DocScrutinizer05 | that's braindead | 16:44 |
bencoh | dunno | 16:44 |
parazyd | braindead's a good miniseries | 16:44 |
parazyd | watch it | 16:44 |
bencoh | see Documentation/devicetree/bindings/leds/common.tx btw | 16:45 |
DocScrutinizer05 | nobody in their sane mind want vendor define the LED behavior for them | 16:45 |
DocScrutinizer05 | isn't that exactly what we want to get rid of and thus we use linux instead of a proprietary OS? | 16:46 |
bencoh | that's actually the other way around | 16:48 |
DocScrutinizer05 | anyway as long as DT just defines the list of properties/values for /sys/*/LED*/*/trigger, I don't mind | 16:49 |
DocScrutinizer05 | this would still not explain how to make the LED shine orange. | 16:50 |
DocScrutinizer05 | a 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-ssu | 17:41 | |
DocScrutinizer05 | for led in LED:R LED:G; do echo 'kevent.bq24150.chargestart' > $led/event_on; echo 'kevent.bq24150.chargeend' > $led/event_off; done | 17:48 |
*** jon_y_ has joined #maemo-ssu | 17:53 | |
*** jon_y has quit IRC | 17:56 | |
DocScrutinizer05 | but 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_this | 18:02 |
DocScrutinizer05 | so, better already do it in userland, by a daemon | 18:03 |
kerio | DocScrutinizer05: yeah but only if you can inotify it or whatever | 18:20 |
kerio | polling is :( | 18:20 |
*** Pali has joined #maemo-ssu | 18:26 | |
parazyd | kerio: http://z3bra.org/wendy/ | 18:33 |
kerio | ty but i don't really linux anymor | 18:33 |
kerio | e | 18:33 |
kerio | i have seen the truth | 18:33 |
DocScrutinizer05 | kerio: knotify | 18:51 |
kerio | anyway should i try that devuan | 18:51 |
kerio | i don't even know what i could do | 18:51 |
kerio | like | 18:51 |
kerio | i have no wifi | 18:52 |
DocScrutinizer05 | err sorry, kevents? | 18:52 |
DocScrutinizer05 | https://www.freebsd.org/cgi/man.cgi?kqueue | 18:52 |
DocScrutinizer05 | https://wiki.linuxfoundation.org/networking/kevent | 18:54 |
DocScrutinizer05 | parazyd: inotify fails on sysfs | 18:56 |
DocScrutinizer05 | as well as other virtual filesystems | 18:56 |
DocScrutinizer05 | in maemo I think kerecv does that kevent stuff | 19:00 |
freemangordon | how900: no. which kernel it has? | 19:26 |
freemangordon | parazyd: ^^^ | 19:27 |
how900 | freemangordon: "The kernels are built with custom gcc | 19:27 |
how900 | toolchains that can be retrieved at https://pub.parazyd.cf/mirror/ | 19:27 |
how900 | " see https://lists.dyne.org/lurker/message/20161012.203353.ad85a13e.en.html | 19:27 |
freemangordon | ok, but what is the kernel version? | 19:28 |
freemangordon | 4.? | 19:28 |
how900 | freemangordon: parazyd was mentioning 4.8 earlier. I didn't test yet. | 19:29 |
freemangordon | 4.8 is ok, if it is the version includede. downloading atm, no idea when I will have time to test it | 19:30 |
* freemangordon wonders where is his uSD card | 19:32 | |
parazyd | 4.6-rc1 is on the imge | 19:32 |
freemangordon | hmm, not good, lots of stuff missing | 19:32 |
parazyd | it was the default branch on pali's repo | 19:33 |
freemangordon | esp in the terms of PM | 19:33 |
freemangordon | oh, so you're not using upstream kernal? | 19:33 |
freemangordon | *kernel | 19:33 |
parazyd | feel free to make your own with arm-sdk: https://git.devuan.org/sdk/arm-sdk | 19:33 |
parazyd | freemangordon: no | 19:33 |
freemangordon | parazyd: BTW, I am not complaining, just saying ;) | 19:34 |
parazyd | yeah well, i try to do stable kernels for devuan | 19:36 |
freemangordon | parazyd: 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 sdk | 19:38 |
freemangordon | but first I need to find my spare uSD card | 19:40 |
*** NishanthMenon has quit IRC | 19:54 | |
* kerio has a 128gb uSD card | 20:04 | |
kerio | fucking voodoo magic man | 20:05 |
kerio | theres no way 128gb can be that small | 20:05 |
freemangordon | kerio: what about 256GB? | 20:06 |
kerio | HERETIC | 20:06 |
freemangordon | parazyd: hmm, I see no kernel included in the image, is that expected? | 20:50 |
kerio | freemangordon: uImage in /boot? | 21:10 |
kerio | also how do i use that image | 21:11 |
kerio | do i shove it in a microsd partition and boot from it | 21:11 |
freemangordon | kerio: iirc it should be on fat partition | 21:53 |
freemangordon | try searching google on how to boot meego from usd | 21:53 |
*** Pali has quit IRC | 23:01 | |
bencoh | freemangordon: btw http://pavelmachek.livejournal.com/137806.html?nojs=1 :( | 23:18 |
bencoh | dunno if you guys noticed | 23:18 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!