/srv/irclogs.ubuntu.com/2021/01/20/#ubuntustudio-devel.txt

=== tomreyn_ is now known as tomreyn
OvenWerksEickmeyer[m]: studio-controls 2.1.1 is up19:53
Eickmeyer[m]OvenWerks: Thanks!20:38
OvenWerksEickmeyer[m]: for 2.2 I am looking at how to deal with mutiple USB devices that have the same name, man, prod and serial no (generally no serial number)20:41
Eickmeyer[m]OvenWerks: Ok, cool. Sounds like a challenge!20:41
OvenWerksEickmeyer[m]: I am thinking of calling all USB devices USB_number and then keeping their snd name, man prod bus and port in the DB. Th euser will be able to name the jack client that zita uses20:43
Eickmeyer[m]Should work in theory.20:43
OvenWerksThere are a lot of USB devices called Device or Codec20:44
OvenWerksdepending on the chip it is based on.20:44
OvenWerksMany are C-media who's manufacture code is Intel20:45
OvenWerks(or maybe Intel is their biggest customer)20:45
Eickmeyer[m]Something.20:50
studiobot<teward001> Eickmeyer: where's your SRU bug?20:51
Eickmeyer[m]@teward001: ERR:Busy20:51
studiobot<teward001> ERR:Don'tCareYouBroughtTheIssueUpInitiallyWithThatBackportRequest20:51
studiobot<teward001> s/backport/upload/20:51
Eickmeyer[m]@teward001: It was OvenWerks that started it, to be honest. Actually, it's the bug reports against studio-controls that brought it up.20:57
wonkoOvenWerks: I just stumbled upon two identical USB audio devices so I thought I'd plug them in and give them a look and.......... They have actual serial numbers. :-D21:23
wonkohttps://gist.github.com/bhechinger/5c2bd0b43d43561cd7523d402b5aaa4621:23
Eickmeyer[m]@teward001: https://bugs.launchpad.net/ubuntu/+source/python-cffi/+bug/191253521:24
ubottuLaunchpad bug 1912535 in python-cffi (Ubuntu Groovy) "[SRU] python-cffi in Groovy needs a no-change rebuild" [High,New]21:24
Eickmeyer[m]OvenWerks: That's unexpected.21:25
wonkoI don't know that those actual serial numbers are though because they don't match the serial numbers printed on the devices.21:26
OvenWerkswonko: do you have these products close by?21:26
wonkoyeah, and if I go find a second usb cable I can even plug them both in at the same time. :)21:26
OvenWerkswhen they are plugged in, what is the ls /proc/asound/card*/21:27
OvenWerksone at a time is fine21:27
wonkoHow do I tell which one is the right on? I have 5. :-D21:28
OvenWerksone of the cards will have files called usbid and usbbus21:28
wonkogot it21:29
OvenWerksI am wondering if another file with the serial number appears or is the serial gets added to usbid21:29
wonkohttps://gist.github.com/bhechinger/95c771457e1e4efb7cb97a4f57274c3e21:29
OvenWerksoh wow two streams21:30
OvenWerkstwo playback devices21:30
OvenWerkswonko: so now I want the contents of id (should be boring) stream0 and stream1 usbbus usbid and usbmixer21:32
wonkoI'm not finding that serial anywhere here. I have no idea where usb-devices gets it unless it interrogates the devices directly for it21:32
OvenWerksit may be that the snd-usb driver doesn't bother to look for it because so few manufactures add it21:33
OvenWerksusb-devices gets it from /sys/devices/pci* somewhere21:34
OvenWerksit is a pain finding things in that tree though21:34
OvenWerksthe length of two similar paths may vary21:35
wonkook, refresh that last gist, added it all there21:35
OvenWerkswierd... only Pro,1,0 has 44k121:38
OvenWerksPro,0,1 where all the input is has only 48k and 96k21:39
OvenWerksPro,0,021:39
wonkoPro,1,0 I think might be the digital output21:39
wonkoThere is an optical SPDIF port21:40
wonkoonly for output though21:40
wonkohttps://us.creative.com/p/sound-blaster/sound-blaster-x-fi-surround-5-1-pro21:41
wonkoThat, btw21:41
wonkoexcept dustier. :-D21:41
OvenWerksnormally spdif is 48k but it does bring it's own clock21:42
OvenWerksnormally spdif is 24 bit as well but it is possible to run at 1621:42
wonkoJust a guess on my part, really21:43
OvenWerkswonko what does cat /proc/asound/pcm show?21:45
wonkohttps://gist.github.com/bhechinger/bf4d7a9a6084f328d22736320424b25121:46
OvenWerksgood21:47
OvenWerksI'm covered :)21:47
OvenWerksI wonder how jack deals with them at different sample rates21:48
OvenWerkswonko actually one more thing for completeness: cd /tmp && wget https://community.ardour.org/files/adevices.sh && bash ./adevices.sh |pastebinit21:49
OvenWerksThats all one line21:49
wonkohttps://paste.ubuntu.com/p/w48PnD7TxY/21:52
OvenWerksyeah what I thought, good, no subdevices21:54
OvenWerksI have saved it all for reference21:55
wonkogreat! Let me know if you need anything else or any testing. I'll probably bother getting jack setup after the FW device arrives (card gets here today, Echo.... whenever USPS gets around to it)21:56
OvenWerkswonko the spdif may be the surround kind that stuffs 6 ch on a two ch spdif line21:56
OvenWerkssome "receivers" take that signal (proprietary I think) in21:57
wonkoYour package is on its way to a USPS facility.21:57
wonkoHe dropped it off last night you bastards and your shitty tracking system.21:58
OvenWerksThey were doing you a "favour" by dropping it off early :P21:58
wonkoUSPS has an appalling tracking system.21:59
* OvenWerks didn't know sound blaster still was around21:59
wonkoyeah, neither did I until four years ago when I bought those. :)21:59
OvenWerksmust have lots of outputs on the back22:00
OvenWerks6 outs in 4 connectors?22:01
wonkothe sound blaster?22:05
OvenWerksyeah, it looks like headphone jacks for everything bu FL and FR22:06
wonkoyeah, RCA for those, 3.5mm for everything else22:06
OvenWerksThe problem for me with most consumer interfaces is they have more outputs than I need and not enough inputs. I can get by with two outputs but would really like more inputs at the same clock rate22:07
wonkoThat's why I got the KA622:08
OvenWerksThats the one that say MK2?22:08
wonkoyes22:08
wonkohttps://www.native-instruments.com/en/products/komplete/audio-interfaces/komplete-audio-6/22:09
OvenWerkshaving two headphones out is nice22:10
wonkoit really is22:11
wonkoI'll lose that with the audiofire22:15
wonkowhich kinda sucks, but I can deal with that with some jack magic. :)22:16
wonkonot that I've really used the second headphone jack in a while22:16
OvenWerkszita-ajbridge will take care of that22:16
OvenWerksAnyway, that you for the info in the SB boxes22:17
wonkoany time22:17
wonkoglad I happened to be digging through that box for something unrelated. :)22:18

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