Last active
June 2, 2023 14:28
-
-
Save timnugent/ed65a79b2bd6c63788bfada3624756a4 to your computer and use it in GitHub Desktop.
udev rule for the Xone 23C; sets configuration to state "2" so this shows up as a 4 input/4 output soundcard - otherwise shows up as only 2 input/2 output. Only tested with the Xone 32C configured for DVS. Put this file in /etc/udev/rules.d/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="22f0", ATTR{idProduct}=="0008", ATTR{bConfigurationValue}="2" |
@molli1312 All right, after a "reboot" of the mixer it now works as expected, i see correctly 4 channels in Mixxx.
Thank you man!
As a side note, in my setup at least, it is important to unplug the USB cable as well then reconnect only after the mixer is on. If the USB cable stay connected, the device is not recognized at all:
May 12 11:19:58 dellxps13 kernel: usb 3-8: new high-speed USB device number 6 using xhci_hcd
May 12 11:19:58 dellxps13 kernel: usb 3-8: New USB device found, idVendor=22f0, idProduct=0008, bcdDevice= 2.00
May 12 11:19:58 dellxps13 kernel: usb 3-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 12 11:19:58 dellxps13 kernel: usb 3-8: Product: Xone:23C
May 12 11:19:58 dellxps13 kernel: usb 3-8: Manufacturer: Allen&Heath
May 12 11:19:58 dellxps13 kernel: usb 3-8: SerialNumber: no serial number
May 12 11:19:58 dellxps13 kernel: usb 3-8: 1:2 : UAC_AS_GENERAL descriptor not found
May 12 11:19:58 dellxps13 kernel: usb 3-8: 2:2 : UAC_AS_GENERAL descriptor not found
May 12 11:19:58 dellxps13 mtp-probe[3020]: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8"
May 12 11:19:58 dellxps13 mtp-probe[3020]: bus: 3, device: 6 was not an MTP device
May 12 11:19:58 dellxps13 (udev-worker)[3040]: controlC1: /usr/lib/udev/rules.d/78-sound-card.rules:5 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/sound/card1/controlC1/../uevent}, ignoring: No such file or directory
May 12 11:19:58 dellxps13 mtp-probe[3042]: checking bus 3, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8"
May 12 11:19:58 dellxps13 mtp-probe[3042]: bus: 3, device: 6 was not an MTP device
May 12 11:20:02 dellxps13 kernel: usb 3-8: USB disconnect, device number 6
It seems an udev rule related to sound card initialization fails.
Once the system fall into this issue, whatever i do (unplug, replug, reboot the mixer) the device is not recognized. The only solution i found is to reboot the kernel. I'll look more further at this issue then report here if i find something interresting.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing the scheme worked like a charm for me. I made the change permanent by following this StackExchange answer. Thanks @pierregermain !