*** CathyInBlue has joined #automotive | 00:34 | |
*** bn_mobile has joined #automotive | 00:53 | |
*** CathyInBlue has quit IRC | 01:18 | |
*** CathyInBlue has joined #automotive | 01:20 | |
*** bn_mobile has quit IRC | 05:13 | |
*** anjumkaiser has joined #automotive | 06:03 | |
*** bn_mobile has joined #automotive | 06:17 | |
*** walzert has joined #automotive | 06:23 | |
walzert | smurray: just started the download ^^ proton issue und updates seems to get it working | 06:27 |
---|---|---|
*** walzert has quit IRC | 06:41 | |
*** KREYREN has quit IRC | 07:10 | |
*** KREYREN has joined #automotive | 07:10 | |
*** Wetmelon has quit IRC | 07:22 | |
*** Wetmelon has joined #automotive | 07:40 | |
*** KREYREN has quit IRC | 08:00 | |
*** Wetmelon has quit IRC | 08:13 | |
*** vrubiolo has joined #automotive | 08:20 | |
*** walzert has joined #automotive | 08:25 | |
*** bn_mobile has quit IRC | 08:33 | |
*** leon-anavi has joined #automotive | 09:00 | |
*** leon-anavi has quit IRC | 09:49 | |
*** leon-anavi has joined #automotive | 09:50 | |
*** leon-anavi has quit IRC | 10:32 | |
*** leon-anavi has joined #automotive | 10:33 | |
*** leon-anavi has quit IRC | 11:46 | |
*** leon-anavi has joined #automotive | 11:47 | |
*** walzert has quit IRC | 11:50 | |
*** anjumkaiser has quit IRC | 12:44 | |
*** anjumkaiser has joined #automotive | 12:55 | |
*** anjumkaiser has quit IRC | 13:10 | |
*** walzert has joined #automotive | 13:14 | |
*** walzert has quit IRC | 14:29 | |
*** anjumkaiser has joined #automotive | 14:30 | |
*** Newami has joined #automotive | 16:30 | |
*** leon-anavi has quit IRC | 16:32 | |
*** leon-anavi has joined #automotive | 16:33 | |
*** walzert has joined #automotive | 16:57 | |
*** walzert has quit IRC | 17:17 | |
fury | smurray: i'm looking at the ST TDA7707 and what it'd take to do stuff in it with AGL. i guess i'll need to write a kernel driver for it? or maybe i can just /dev/i2c0 or /dev/spidev0 in a radio service implementation | 17:40 |
fury | what would be your recommendation | 17:41 |
smurray | fury: if you don't have h/w with it already, I'd perhaps contact ST and see what they provide | 17:44 |
smurray | fury: a lot of the radio chip vendors have s/w solutions | 17:44 |
smurray | fury: in an ideal world, an open kernel driver would be nice. Most of the newer radio stuff isn't being done that way, though, AFAIK | 17:47 |
fury | oof | 17:48 |
smurray | fury: that was one of the issues that came up in a discussion of designing a better radio API, how would you be able to accomodate gluing in piles of binary libraries or whatever underneath | 17:48 |
fury | yeah it's not built yet but I think that's where we're headed. I think we got some kind of an SDK package but I'm not sure yet whether it's got a Linux specific implementation | 17:48 |
smurray | fury: that's what the ADI parts provide, iirc | 17:49 |
smurray | fury: we had a project where one of our guys wrote a V4L2 tuner driver for a newer ADI chip, there are a couple for older ADI chips in the kernel. iirc, reading their SDK code helped with that | 17:51 |
smurray | fury: sorry, bad memory, s/ADI/SI/ | 17:53 |
*** toscalix has joined #automotive | 17:59 | |
*** toscalix has quit IRC | 18:00 | |
*** toscalix has joined #automotive | 18:01 | |
smurray | fury: before I forget, there is an example of an I2C controlled tuner in the radio binding now, the contributed tef655x backend does that | 18:04 |
fury | smurray: thanks, yeah, that's what i was looking at | 18:04 |
smurray | fury: I've been recommending people look at writing a V4L2 tuner driver if possible, but realize that's more work for most folks that have sample userspace code that bangs on I2C on hand | 18:05 |
smurray | fury: another thing to note is that depending on what your h/w design looks like, there's a good chance there's work to get the digital audio path working via devicetree configuration | 18:07 |
fury | is v4l2 hard to work with? i haven't done much in the kernel driver area yet, i did a bit of a USB HID driver til i realized there was already one in hiddev / hidraw, then i started messing around with just making something talk to spi in the kernel, without actually providing some known api in the /dev space yet | 18:07 |
fury | i think in this case it's gonna be analog out to a DAC into the CPU, and the DAC i'm pretty sure is gonna have an asoc / alsa driver already | 18:08 |
smurray | fury: there's a bunch of tuner drivers in drivers/media/tuners if you want to get an idea. I don't believe our developer working on it had issues in that area, the V4L2 stack has been around for a while | 18:08 |
fury | so in theory should be as simple as opening that input and playing it through the sound thingy | 18:09 |
smurray | fury: some of the member company folks have mentioned they have usescases the V4L2 tuner API doesn't cover, but what's there is enough for all basic radio use and stuff like RDS | 18:10 |
fury | basic ought to be fine | 18:10 |
*** toscalix has quit IRC | 18:10 | |
smurray | fury: tbh, I'd be very tempted to not use analog and go with the digital I2S if you think you'll support stuff like digital FM, DAB, etc. | 18:11 |
fury | the dual tuner on it may get used for something like scanning for the weather alert tone on weather band, or RDS for following a radio program around to different freqs | 18:11 |
fury | hmm | 18:12 |
fury | good to know | 18:12 |
smurray | note I am not a h/w guy ;) | 18:12 |
fury | me either :D | 18:12 |
fury | i just have to know what hardware will accomplish the goals of the software i need to write | 18:12 |
smurray | our customers that I've seen designs for do not use analog, though, full digital path | 18:12 |
fury | or pull together | 18:13 |
*** toscalix has joined #automotive | 18:13 | |
fury | stm32mp1 having umpteen digital audio input lines it might work out, if i can run them at different frequencies | 18:14 |
smurray | fury: right, that's where the fun stuff around configuration with devicetree comes in | 18:14 |
smurray | fury: matching clocks and formats | 18:14 |
fury | https://wiki.st.com/stm32mpu/wiki/SAI_device_tree_configuration#Sharing_the_codec_interface_between_two_SAIs | 18:15 |
fury | eh, not that #, but that page in general, looks semi useful | 18:15 |
smurray | fury: yes, that's a starting point. In practice things can get complicated based on complaining from coworkers ;) | 18:16 |
fury | sounds like fun :D | 18:16 |
smurray | fury: if you're only wiring up the one tuner IC, likely not as bad | 18:17 |
fury | i remember a certain bluetooth chip vendor telling me it "should" support bluetooth streaming to two headsets....in practice, well...that's probably where i earned some of my grey hairs | 18:17 |
fury | one tuner IC yep | 18:18 |
fury | as far as i know | 18:18 |
fury | but i'm often wrong | 18:18 |
*** toscalix has quit IRC | 18:19 | |
*** toscalix has joined #automotive | 18:19 | |
smurray | fury: heh, things are indeed usually never as easy as they seem on paper | 18:21 |
fury | was fun tho. two phones, two headsets connected and streaming audio every which way, just...wasn't as easy as it shoulda been :D | 18:23 |
smurray | heh, there's a reason that's not a very commonly supported thing | 18:23 |
fury | people complain about the nintendo switch not supporting bluetooth audio...if only they'd seen the things i've seen...things that can make a grown man cry | 18:25 |
smurray | right, for a consumer product like that, compatibility testing is hassle & $$$ | 18:30 |
smurray | the compatibility part is what BT stack vendors provide as value add (hopefully) | 18:31 |
fury | if making it happen in the first place is even theoretically possible | 18:31 |
fury | maybe with only 2 wireless controllers attached, and some special attention paid to the topology like i had to do for that 4-way audio device project | 18:32 |
fury | but i hear you can connect 8 joycons to the switch, and that exceeds the normal limit of 7 ACLs | 18:32 |
fury | so i dunno how they're doing it anyway | 18:32 |
fury | but then, yeah, how many headsets do you test it with, what quirks do they all have that throws a wrench into the gears, etc | 18:33 |
fury | easy solution: separate bluetooth channel altogether with a usb-c bluetooth dongle :) | 18:34 |
*** toscalix has quit IRC | 18:34 | |
*** toscalix has joined #automotive | 18:34 | |
smurray | fury: heh, right | 18:35 |
fury | things that can make a grown man cry | 18:35 |
*** toscalix has quit IRC | 18:43 | |
*** toscalix has joined #automotive | 18:48 | |
*** toscalix has quit IRC | 18:59 | |
*** moto-timo has quit IRC | 20:01 | |
*** moto-timo has joined #automotive | 20:06 | |
*** leon-anavi has quit IRC | 20:32 | |
*** leon-anavi has joined #automotive | 20:33 | |
*** toscalix has joined #automotive | 20:45 | |
*** CathyInBlue has quit IRC | 20:56 | |
*** CathyInBlue has joined #automotive | 21:03 | |
*** anjumkaiser has quit IRC | 22:04 | |
*** anjumkaiser has joined #automotive | 22:04 | |
*** anjumkaiser has quit IRC | 22:19 | |
*** toscalix has quit IRC | 22:50 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!