libera/#maemo-leste/ Wednesday, 2023-08-23

siceloarno11, Wizzup : i got the N900 earpiece working :p00:14
sicelobut i really must sleep now, will share in the morning00:14
sicelolooking at the maemo kernel sources helped me solve it00:15
sicelothe asound.state: https://paste.debian.net/1289750/00:19
siceloi'm sure this needs some cleanup, but at least the sound works ;-)00:20
* sicelo now has even stronger desire to get the FM receiver going - pity about the bluetooth :-(00:34
arno11sicelo: well done man !08:55
arno11sicelo: well done man !09:02
arno11channel seems to bug09:03
siceloarno11: do test it and let me know if it works for you too09:57
Wizzupsicelo: wow, great!10:11
wunderwungielIs it possible to boot Maemo Leste on N900 in different partitions configuration? I want boot partition to be 3rd partition and rootfs partition to be 4th partition13:18
wunderwungielI guess changing U-Boot item file isnt enough13:18
buZzwunderwungiel ; yes16:28
arno11.17:38
arno11Wizzup: Leste irc log seems down17:39
Wizzuphm18:01
arno11last message on log is from yesterday18:03
arno11(and our messages from now are not appearing)18:05
Wizzupwill fix, gimme a few mins18:06
arno11ok :) thx18:07
Wizzupshould work again18:25
arno11yes thx18:27
arno11Wizzup: sicelo: btw generic pwm-ir-tx seems a bit unstable and timers seems not perfect18:30
arno11i mean pwm-ir-tx works when it wants to work and it seems not possible to send correctly a single pulse (sending quickly several same pulses works)18:33
arno11repeating quickly the same pulse is the way i use to control my cd player for example18:35
arno11so not ideal18:37
sicelooh, that sucks18:41
sicelomaybe we should look at the old driver first and see if we can fix it?18:41
arno11yes i think that's the best way18:41
sicelohowever, we could also just ask linux-media to help us make the pwm-ir-tx work better18:42
sicelobut sure, if you think n900-ir is better option, let's look at it :-)18:42
arno11yes because according to forums like raspberry ones, there are lot of troubles with pwm-ir-tx18:43
sicelommm, i see18:43
sicelobut then are we sure old driver wouldn't have these issues?18:44
arno11yes i'm pretty sure18:44
siceloif it really wouldn't have the issues, maybe whatever it does better should get ported to pwm-ir?18:44
sicelolet's see if we can grab the crash/oops from old driver, and take it from there18:45
arno11yes agreed but how18:46
siceloor do you have another idea how we can fix the older driver?18:46
arno11maybe we can look on dts parameters first, it sounds really unclear18:48
sicelo< arno11> yes agreed but how --> well, Wizzup has serial, but he's got his hands full :-)18:48
arno11ok :)18:49
WizzupI will be home in ~5 days and have access to the serial18:49
siceloi'm quite sure the dts is fine ... N900 is the only consumer for that older driver, so driver and dts are very unlikely to be out of sync18:49
arno11cool18:49
siceloarno11: i don't recall exactly where now, but something i read in the past led me to believe there's a timing issue with the older driver, responsible for that oops18:50
arno11ok interesting because timing seems the main issue for the generic one as well (but with no oops)18:52
siceloanyway, let's wait for the crash info. hopefully it will help us18:52
arno11yes18:53
siceloas far as the hardware/electronics goes, it's really just straightforward - IR LED connected via a transistor to a CPU pin18:57
arno11yes really basic18:58
arno11btw if we have the cpu pin number, another driver seems possible to use according to raspb forums18:59
arno11gpio-ir-tx iirc19:00
arno11anyway, crash info first lol19:04
sicelois gpio-ir better?19:15
arno11not sure19:24
arno11but could be a third alternative just in case19:25
arno11sicelo: i'm able to load gpio-ir-tx (already in the kernel)19:49
arno11i'll try to use it (editing dts in a custom uImage just in case it goes wrong). back in a bit19:51
arno11gpio-ir-tx doesn't work with original dts parameters (no surprise)20:45
siceloarno11: yes gpio can't work. it's connected to a PWM line21:47
sicelothe CPU pin is labelled `GPT9 PWM`21:48
arno11sicelo: ah ok so impossible to use21:57
siceloyes. we either need to get pwm-ir to play along, or fix n900-ir22:00
siceloi want to think asking the linux-media people for suggestions about the delays could help for pwm-ir. i haven't looked at both drivers in-depth, but i don't expect they're doing something completely different from each other22:01
sicelowill see if i can find time to look later on22:02
arno11ok :)22:03
sicelobut it's the bluetooth that's stealing my interest now. unfortunately my skills for it are close to 022:05
siceloarno11: i guess you'll prepare updated UCM2 files for Wizzup to include in Leste? you're the resident ucm expert here :p22:18
Wizzupfor the earpiece?22:20
siceloyes22:21
arno11sicelo: :D it's too late for me today but tomorrow night it should be ready22:54
siceloyeah no rush ;-)22:55

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