libera/#maemo-leste/ Sunday, 2023-08-13

dakedresYo has anyone had issues with the Droid 4 refusing to charge after like 30 seconds of being plugged in?21:02
Wizzupis the battery full? or empty?21:03
dakedresEmpty, I assume21:03
dakedresIt won't turn on21:03
dakedresthe light shows green when I plug it21:03
dakedresMaybe it is full21:03
dakedresBut it showed green the first time I plugged it in too21:04
Wizzupleave it on a charger for a few hours21:04
Wizzupit will still charge a bit usually21:04
Wizzupnot a pc, but a wall charger21:04
dakedresThe light goes off after about 30 seconds charging21:04
dakedresThat's normal?21:04
Wizzupno, but if the battery is completely empty then it is21:08
siceloregarding the UCM files for N900, automatic switching of sinks appears to only work when PA is running. with just alsa, it doesn't work22:40
siceloWizzup: would you have any idea?22:40
sicelotbf, i am now wondering if it works on D4 or any other device if pulse isn't running ...22:41
Wizzupoh yeah, this depends on pa22:41
sicelooh, interesting22:42
sicelowhy does alsa have it then?22:42
WizzupI think if alsa act on it, it's usually on x86 drivers that have more knowledge22:43
Wizzupthese plug events aren't always connected22:43
Wizzupbut tbh I feel like I am not the right person to ask22:43
siceloyou're the right person to ask about everything :p22:43
sicelothanks for the pointer. at least i can be somewhat sure i'm not going crazy22:44
sicelothe jack event does show up with `alsactl monitor` fwiw22:44
sicelonode hw:0, #109 (0,0,0,AV Jack,0) VALUE22:45
sicelonode hw:0, #109 (0,0,0,AV Jack,0) VALUE22:45
Wizzupmhm yeah22:45
siceloarno hooked it up correctly as far as docs go, https://github.com/maemo-leste/leste-config/blob/master/leste-config-n900/usr/share/alsa/ucm2/RX-51/HiFi.conf.leste#L17122:46
Wizzupwell, we always have pa running22:47
sicelotrue :-)22:47
Wizzupso probably why we didn't care :D22:47
WizzupI am making final changes to the news post22:56
Wizzupwill post it in the next hour22:56
siceloawesome!22:58
siceloWizzup: so, regarding IR TX ... I haven't done more thorough testing, but here's what I briefly tested, and seems to work:23:02
sicelohttps://lore.kernel.org/all/20180713122230.19278-1-sean@mess.org/T/#t23:02
sicelothat guy was right, pwm-ir-tx appears to work just fine. at least `ir-ctl` is able to send pulse the LED23:03
Wizzupcan you catch me up briefly?23:03
WizzupI can add it to the news post too23:03
sicelohow to go about responding to that though? it's been over 5 years!23:03
WizzupCC the folks with a new subject, paste the old email in body, maybe23:03
sicelojust edit the dts, and replace `nokia,n900-ir` with `pwm-ir-tx` ... this can be done without rebuilding kernel too23:04
Wizzupyeah, sorry, I mean, what didn't work before, everything?23:05
Wizzupand with that patch, does other userspace work, or just some lower level layer?23:05
siceloir-ctl -S rc5:0x1e01 works23:05
sicelowhat didn't work before was - you send a pulse, and the entire device hangs23:06
sicelothe n900-specific driver probably has a timing issue leading to that lockup. while looking at that, i stumbled on this patch23:06
siceloas for userspace, i have yet to make more tests, with specific remotes, for example. maybe we/i/someone should port Pierogi to Leste :-)23:07
Wizzupok23:09
Wizzupsounds like we might want to include this patch regardless23:09
siceloyeah23:09
siceloi already shared this info with arno since he's keen on IR tx too ... maybe one of us gets to porting Pierogi quickly. I think it will be slightly easier than the other remote control applications since it didn't depend on lirc, and ir-ctl doesn't too23:11
sicelos/lirc/lircd/23:11
Wizzupgot a link to it?23:11
Wizzuphttps://wiki.maemo.org/Pierogi23:12
siceloyeah that one23:12
siceloi used it extensively on Fremantle, and it worked well most of the time23:12
Wizzupoh, it's qt4?23:12
Wizzupshouldn't be too hard to port23:12
siceloyeah, qt423:13
sicelothere were other remote control applications, but i don't have personal experience with using them, and afaik, they needed lircd, which we don't absolutely need on N900 since we won't ever receive incoming pulses23:14
Wizzupyeah, I remember some of the other ones that allowed you customise stuff23:15
Wizzupbut it never really worked for me23:15
maxwelldi don't understand these things, for me it is very hard, but i managed to port several gtk, and even one qt program to later qt for maemo.23:21
Wizzupsicelo: I just pushed osme changes23:21
Wizzupto the news post23:21
Wizzupin case you have a bit of time to look23:21
Wizzupoh, sec, didn't push yet23:25
Wizzuppushed now23:26
Wizzuphonestly, it's probably fine to push out as is23:29
Wizzup:)23:29
sixwheeledbeastonly thing to consider with Pierogi is every remote is hardcoded23:30

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!