libera/#maemo/ Friday, 2022-04-29

joergthere's a quite tricky part in BT regarding audio iirc06:49
joerggrr06:53
joergbasically analog audio gets fed to BT chip instead of headphone amp?06:53
joergmy memory seems foggy06:53
siceloFM audio? That seems to go to the audio codec, so i guess that part's easy enough10:26
siceloIt's just that for some reason, the fm part doesn't operate when the bt side is off. However, the product brief says it does.10:27
siceloSo either we suffer because ours is Nokia custom, or it's the way the chip is connected/controlled10:28
joergor the kernel drivers(?) are "stupid"? I know they share one interface for the chip, maybe layering / dependency conflicts?19:48
joergthe chip isn't Nokia custom afaik19:49
joergI'd suspect "killswitch" for BT TX is simply too brute force, shutting down the whole chip as much as possible19:50
siceloI hope it's not the drivers :-)20:42
siceloI guess you're right about it not being custom. I found that the bcm2048 is used on a couple of nokia feature phones, one or two lg phones  as well as a portable media player20:43
siceloMaybe I will make time to go through the driver code, and see what happens if we skip the Bluetooth check (it's in the driver)20:44
siceloPity there's zero documentation for it ... I'd try manual i2c20:46
sicelojoerg: but i remember on tmo, the dev who made the first working radio application for n900 (Martin Grimme, I think) specifically mentioned that there was no way for it to work without bt on20:55
joerghttps://www.broadcom.com/site-search?q=bcm204821:12
joergsicelo: sorry, it was FMTX that's connected to headphones lines https://i.imgur.com/zGcDxwv.png21:24
joergBTFM chip (bcm2048) has FM_AUDIO_PR FM_AUDIO_PL that go straight to audio codec, unrelated to BT audio PCM interface21:27
siceloYes21:29
siceloIt's the activation of the fm function that's bound to bt21:29
siceloThe product brief says, "fm control through either bsc compatible interface or bluetooth hci"21:34
joergthere been a http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM2048 but it's gone21:35
joergmaybe archive.com?21:35
siceloIsn't that the 2-page product brief? Seems Broadcom only publishes briefs :-)21:37
sicelohttps://web.archive.org/web/20100107153109/http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM204821:40
joergno idea since I can't check anymore, since... it's gone21:53
joergI had a bookmark for this, no other bookmarks related to BCM2048 - I guess whan I didn't find anything back when, it's futile to get locked in to a search session like I just did21:54
joergexcuse me, what was the *question*?21:54
joergfound https://www.nokiarepairchicago.us/n85/bluetooth-and-fm-rds-radio-module.html  and  https://html.datasheetq.com/pdf-html/306820/Broadcom/1page/BCM2048.html?lang=en21:56
joerghttps://www.embedded.com/fm-radio-joins-with-bluetooth-on-same-silicon/21:56
joerghttp://www.mjdic.com/proclass-read-id-1075910.html21:59
joergand of course https://elinux.org/N90022:02
joerghttps://elixir.bootlin.com/linux/v4.8/source/drivers/staging/media/bcm2048/radio-bcm2048.c22:04
joergaaaaand I'm out22:04
joergsorry22:04
joergthe weirdest thing is Broadcom outright denies now that chip ever existed22:12
joerga "nice" example why eventually you have to bin all your dsigns and start anew from scratch since building the old design simply became impossible due to sourcing problems22:14
siceloFun :-)22:16
siceloi guess this is what you were referring to earlier - "There is no direct bypass from the FMRX hardware to the sound system (or more precisely, there is, but it cannot be used since it does not seem to filter high frequency sounds that may damage the speakers) so the sound has to be processed by the CPU." good to know this actually22:25
joerghow to fix the /topic to deal with infobot no more?23:51
joerg*sigh* btdt err dtat, particularly I asked http://reisenweber.net/irclogs/libera/_maemo/_maemo.2022-01-01.log.html#t2022-01-01T18:43:1323:54
joerghttp://reisenweber.net/irclogs/libera/_maemo/_maemo.2021-01-16.log.html#t2021-01-16T18:08:09 ff has a few of them23:58

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