IRC logs for #automotive for Thursday, 2020-12-10

*** CathyInBlue has joined #automotive00:34
*** bn_mobile has joined #automotive00:53
*** CathyInBlue has quit IRC01:18
*** CathyInBlue has joined #automotive01:20
*** bn_mobile has quit IRC05:13
*** anjumkaiser has joined #automotive06:03
*** bn_mobile has joined #automotive06:17
*** walzert has joined #automotive06:23
walzertsmurray: just started the download ^^ proton issue und updates seems to get it working06:27
*** walzert has quit IRC06:41
*** KREYREN has quit IRC07:10
*** KREYREN has joined #automotive07:10
*** Wetmelon has quit IRC07:22
*** Wetmelon has joined #automotive07:40
*** KREYREN has quit IRC08:00
*** Wetmelon has quit IRC08:13
*** vrubiolo has joined #automotive08:20
*** walzert has joined #automotive08:25
*** bn_mobile has quit IRC08:33
*** leon-anavi has joined #automotive09:00
*** leon-anavi has quit IRC09:49
*** leon-anavi has joined #automotive09:50
*** leon-anavi has quit IRC10:32
*** leon-anavi has joined #automotive10:33
*** leon-anavi has quit IRC11:46
*** leon-anavi has joined #automotive11:47
*** walzert has quit IRC11:50
*** anjumkaiser has quit IRC12:44
*** anjumkaiser has joined #automotive12:55
*** anjumkaiser has quit IRC13:10
*** walzert has joined #automotive13:14
*** walzert has quit IRC14:29
*** anjumkaiser has joined #automotive14:30
*** Newami has joined #automotive16:30
*** leon-anavi has quit IRC16:32
*** leon-anavi has joined #automotive16:33
*** walzert has joined #automotive16:57
*** walzert has quit IRC17:17
furysmurray: 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 implementation17:40
furywhat would be your recommendation17:41
smurrayfury: if you don't have h/w with it already, I'd perhaps contact ST and see what they provide17:44
smurrayfury: a lot of the radio chip vendors have s/w solutions17:44
smurrayfury: in an ideal world, an open kernel driver would be nice.  Most of the newer radio stuff isn't being done that way, though, AFAIK17:47
furyoof17:48
smurrayfury: 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 underneath17:48
furyyeah 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 implementation17:48
smurrayfury: that's what the ADI parts provide, iirc17:49
smurrayfury: 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 that17:51
smurrayfury: sorry, bad memory, s/ADI/SI/17:53
*** toscalix has joined #automotive17:59
*** toscalix has quit IRC18:00
*** toscalix has joined #automotive18:01
smurrayfury: before I forget, there is an example of an I2C controlled tuner in the radio binding now, the contributed tef655x backend does that18:04
furysmurray: thanks, yeah, that's what i was looking at18:04
smurrayfury: 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 hand18:05
smurrayfury: 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 configuration18:07
furyis 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 yet18:07
furyi 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 already18:08
smurrayfury: 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 while18:08
furyso in theory should be as simple as opening that input and playing it through the sound thingy18:09
smurrayfury: 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 RDS18:10
furybasic ought to be fine18:10
*** toscalix has quit IRC18:10
smurrayfury: 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
furythe 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 freqs18:11
furyhmm18:12
furygood to know18:12
smurraynote I am not a h/w guy ;)18:12
furyme either :D18:12
furyi just have to know what hardware will accomplish the goals of the software i need to write18:12
smurrayour customers that I've seen designs for do not use analog, though, full digital path18:12
furyor pull together18:13
*** toscalix has joined #automotive18:13
furystm32mp1 having umpteen digital audio input lines it might work out, if i can run them at different frequencies18:14
smurrayfury: right, that's where the fun stuff around configuration with devicetree comes in18:14
smurrayfury: matching clocks and formats18:14
furyhttps://wiki.st.com/stm32mpu/wiki/SAI_device_tree_configuration#Sharing_the_codec_interface_between_two_SAIs18:15
furyeh, not that #, but that page in general, looks semi useful18:15
smurrayfury: yes, that's a starting point.  In practice things can get complicated based on complaining from coworkers ;)18:16
furysounds like fun :D18:16
smurrayfury: if you're only wiring up the one tuner IC, likely not as bad18:17
furyi 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 hairs18:17
furyone tuner IC yep18:18
furyas far as i know18:18
furybut i'm often wrong18:18
*** toscalix has quit IRC18:19
*** toscalix has joined #automotive18:19
smurrayfury: heh, things are indeed usually never as easy as they seem on paper18:21
furywas fun tho. two phones, two headsets connected and streaming audio every which way, just...wasn't as easy as it shoulda been :D18:23
smurrayheh, there's a reason that's not a very commonly supported thing18:23
furypeople 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 cry18:25
smurrayright, for a consumer product like that, compatibility testing is hassle & $$$18:30
smurraythe compatibility part is what BT stack vendors provide as value add (hopefully)18:31
furyif making it happen in the first place is even theoretically possible18:31
furymaybe 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 project18:32
furybut i hear you can connect 8 joycons to the switch, and that exceeds the normal limit of 7 ACLs18:32
furyso i dunno how they're doing it anyway18:32
furybut then, yeah, how many headsets do you test it with, what quirks do they all have that throws a wrench into the gears, etc18:33
furyeasy solution: separate bluetooth channel altogether with a usb-c bluetooth dongle :)18:34
*** toscalix has quit IRC18:34
*** toscalix has joined #automotive18:34
smurrayfury: heh, right18:35
furythings that can make a grown man cry18:35
*** toscalix has quit IRC18:43
*** toscalix has joined #automotive18:48
*** toscalix has quit IRC18:59
*** moto-timo has quit IRC20:01
*** moto-timo has joined #automotive20:06
*** leon-anavi has quit IRC20:32
*** leon-anavi has joined #automotive20:33
*** toscalix has joined #automotive20:45
*** CathyInBlue has quit IRC20:56
*** CathyInBlue has joined #automotive21:03
*** anjumkaiser has quit IRC22:04
*** anjumkaiser has joined #automotive22:04
*** anjumkaiser has quit IRC22:19
*** toscalix has quit IRC22:50

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!