[ubuntu-studio-users] USB audio device already in the list is not matched

James Harkins jamshark70 at zoho.com
Fri Mar 15 10:43:33 UTC 2024


If I grep autojack.json for raw, id and bus, I get:

    182:            "raw": "UR22mkII",
    183:            "id": "0499:170f",
    184:            "bus": "001",

    217:            "raw": "Pro",
    218:            "id": "0763:2012",
    219:            "bus": "001",

    267:            "raw": "USB",
    268:            "id": "17ef:306a",
    269:            "bus": "005",

    304:            "raw": "TB",
    305:            "id": "23e5:a090",
    306:            "bus": "007",

OK.

I am now connected to that "Pro" device. In the Studio Controls USB device menu, I see

USB13 0763:2012 001 Pro:0,0 capture and playback (unplugged)
USB13 0763:2012 001 Pro:1,0 capture and playback (unplugged)

Ahem. It's plugged in.

Then, at the bottom of the list:

USB16 0763:2012 001 Pro:0,0 capture and playback ()
USB16 0763:2012 001 Pro:1,0 capture and playback ()

So this is how I was getting garbage in my device list -- failure to match previously encountered devices. ID and bus are the same but it went and made a new device for it.

What's up? A bad string compare somewhere? Looks like a bug.

I mean, I guess I can set up a script to purge autojack.json from time to time, but that seems extreme.

hjh



More information about the ubuntu-studio-users mailing list