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

joergsicelo: the N900 FM radio works all fine16:43
joergsorry for late reply16:44
joergiirc the "kernel" driver needed some patching somewhere I guess between pr1.0 and 1.116:45
joerghttps://tabletui.wordpress.com/2009/10/29/preview-fm-radio-for-n900/  just checked, works as advertised17:07
joerghttps://talk.maemo.org/showthread.php?t=8221817:10
joerglast post in that thread strongly deprecated17:23
joergmaybe "relevant" - or at least useful background info: https://bugs.maemo.org/show_bug.cgi?id=7334#c12 mohammadag FTW17:47
joerghttps://termbin.com/tp2p   fwiw18:13
sicelojoerg: thanks. yes i do use the fm radio on n900 a lot. was just curious after looking at the sources to fmrx-enabler ... the chip doesn't exist on the i2c bus until it receives a specific bit sequence via bluetooth socket22:32
sicelothis is the unfortunate bit22:32
joerghmmmm22:33
joergnever heard of fmrx-enabler22:34
siceloyou can't have fm-radio withoutit :-)22:35
sicelothe radio applications pull it in transparently as a dependency22:35
joerghmmm22:40
joergafaik the FMRX shares chip with the BT and they use the same I2C interface, so you need to power up BT at large to access the FNRX feature. No big thing22:43
siceloBT uses uart22:43
joergfor audio22:43
sicelono, for everything :-)22:44
sicelothe chip is nowhere to be found on i2c bus even if BT is turned on22:44
joergwhatever, not really interestied in this any more. It works without jumping any weird hoops, on CSSU-T22:45
siceloyeah. i was just looking into it because i was hoping for easy way to get the fm receiver working on modern kernels22:46
sicelobluetooth isn't working there, and it seems to be a big subsystem to the point i have no clue where to start.22:47
joergmodern kernels, that are supposed to work on all platforms but don't do a great job on any except the 99% mainstream22:47
joergthe point about maemo always been the kernel been tailored to fit exactly one platform, without ballast and obviously not fit to go upstream22:49
joerghttp://wiki.maemo.org/N900_FM_radio_receiver doesn't mention any trickery, nust be done in kernel module then, I guess23:01
joergmaybe a modprobe bcm2048 is needed23:10
joergIroN900:~# lsmod23:13
joergModule                  Size  Used by23:13
joergradio_bcm2048          20352  223:13
joergonly visible when I start a FM radio app23:13
joergso what fmrx-enabler might do is to add a `modprobe bcm2048` to sudoers, or somesuch, so the app can load the module without needing root permissions23:16
joergthe nightmare is bluetooth and its API and interfaces23:21
siceloyeah23:22
* sicelo still finds N900 to be an amazing gem from the past23:22
joergbcm2048 datasheet seems unobtainium too23:43
joergadmittedly I didn't try any hard to find it23:43
siceloi did try in the past, and yes, nowhere to be found23:44
siceloaccording to someone else, it also appears this was a customized chip specific to Nokia23:45
joergprolly not since:23:47
joerg/usr/src/linux-5.3.18-150300.59.101/drivers/staging/media/bcm204823:47
joerg/usr/src/linux-5.3.18-150300.59.101/drivers/staging/media/bcm2048/Kconfig23:47
joerg/usr/src/linux-5.3.18-150300.59.101/drivers/staging/media/bcm2048/Makefile23:47
joerg/usr/src/linux-5.3.18-150300.59.101-obj/x86_64/default/include/config/i2c/bcm2048.h23:47
siceloyes they dropped it because driver doesn't exactly meet required standards :-)23:47
siceloi am interested to try and do some of the required work, but the big problem is the bluetooth23:48

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