[SOLVED] Udev: recognising plugging/unplugging of USB Audio Device

Hi!
I am trying to write an udev rule to detect if an usb audio device was plugged / unplugged to change my default audio device (in effect this udev rule should run a bash script..).
Right now it looks like that:
KERNEL=="pcmC[D0-9cp]*", DRIVERS=="usb", ACTION=="add", PROGRAM="/bin/bash -c '/home/me/dotfiles/soundconf.sh attached'"
and I have a second rule for "remove" instead of add calling a different parameter.
However, unfortunately the change is not being detected. my sound devices are listed in e.g. /proc/asound/card0/pcm0c etc for my first card and /proc/asound/card4/... for the second.
They are also listed in /proc/asound/NAMEOFCARD (e.g. PCH).
how can i reliably detect if one was plugged or unplugged?
thanks !
Last edited by replax (2013-11-27 22:50:00)

hi!
thanks!
my output for "sudo udevadm monitor --kernel" is:
monitor will print the received events for:
KERNEL - the kernel uevent
KERNEL[409.000749] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18 (input)
KERNEL[409.023556] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
KERNEL[409.023611] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
KERNEL[409.023632] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
KERNEL[409.023648] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
KERNEL[409.023829] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
KERNEL[409.023845] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
KERNEL[409.023859] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
KERNEL[409.023869] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
KERNEL[409.023885] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
KERNEL[409.023899] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
KERNEL[409.024517] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
KERNEL[411.633928] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
KERNEL[411.634043] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
KERNEL[411.648482] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
KERNEL[411.649170] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
KERNEL[411.649320] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18 (input)
KERNEL[411.649347] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
KERNEL[411.657385] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
KERNEL[411.680527] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
KERNEL[411.680564] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
KERNEL[411.680737] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
KERNEL[411.680796] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
KERNEL[411.680951] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
KERNEL[411.705251] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
and my output for "sudo udevadm --udev --property" is:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
UDEV [409.001439] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18 (
input)
ACTION=remove
DEVLINKS=/dev/input/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-event-if00 /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2
.1:1.0-event
DEVNAME=/dev/input/event18
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event18
ID_BUS=usb
ID_INPUT=1
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MAJOR=13
MINOR=82
SEQNUM=2036
SUBSYSTEM=input
USEC_INITIALIZED=4690
UDEV [409.024376] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24
EV=1
ID_BUS=usb
ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_INPUT=1
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MODALIAS=input:b0003v262Ap10E1e0100-e0,kramlsfw
NAME="HiFimeDIY Audio SA9023 USB Audio"
PHYS="usb-0000:00:1d.0-1.2.1/input0"
PRODUCT=3/262a/10e1/100
PROP=0
SEQNUM=2037
SUBSYSTEM=input
TAGS=:seat:
UNIQ=""
USEC_INITIALIZED=634532
UDEV [409.024487] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hid
raw/hidraw0 (hidraw)
ACTION=remove
DEVNAME=/dev/hidraw0
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0
MAJOR=248
MINOR=0
SEQNUM=2038
SUBSYSTEM=hidraw
USEC_INITIALIZED=9023681
UDEV [409.026487] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hi
d)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005
HID_ID=0003:0000262A:000010E1
HID_NAME=HiFimeDIY Audio SA9023 USB Audio
HID_PHYS=usb-0000:00:1d.0-1.2.1/input0
MODALIAS=hid:b0003g0001v0000262Ap000010E1
SEQNUM=2039
SUBSYSTEM=hid
USEC_INITIALIZED=23875
UDEV [409.026531] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (
sound)
ACTION=remove
DEVLINKS=/dev/snd/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-01 /dev/snd/by-path/pci-0000:00:1d.0-usb-0:1.2.1:1.1
DEVNAME=/dev/snd/controlC1
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1
ID_BUS=usb
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=audio
ID_USB_DRIVER=snd-usb-audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=01
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MAJOR=116
MINOR=13
SEQNUM=2043
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=665890
UDEV [409.026557] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3
DEVTYPE=usb_interface
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=1/2/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc02ip00in03
PRODUCT=262a/10e1/1
SEQNUM=2046
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=665944
UDEV [409.026573] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0
DEVTYPE=usb_interface
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=3/0/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic03isc00ip00in00
PRODUCT=262a/10e1/1
SEQNUM=2040
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=130
UDEV [409.026616] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (s
ound)
ACTION=remove
DEVNAME=/dev/snd/pcmC1D0p
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p
MAJOR=116
MINOR=12
SEQNUM=2042
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=5836
UDEV [409.078843] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (s
ound)
ACTION=remove
DEVNAME=/dev/snd/pcmC1D1p
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p
MAJOR=116
MINOR=11
SEQNUM=2041
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=5794
UDEV [409.079039] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
ID_BUS=usb
ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_ID=usb-HiFimeDIY_Audio_SA9023_USB_Audio-01-Audio
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=audio
ID_USB_DRIVER=snd-usb-audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=01
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
ID_VENDOR_ID=262a
SEQNUM=2044
SOUND_INITIALIZED=1
SUBSYSTEM=sound
SYSTEMD_WANTS=sound.target
TAGS=:seat:systemd:
USEC_INITIALIZED=5712
UDEV [409.079517] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1
DEVTYPE=usb_interface
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=1/1/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc01ip00in01
PRODUCT=262a/10e1/1
SEQNUM=2045
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=642712
UDEV [409.085432] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
ACTION=remove
BUSNUM=004
DEVNAME=/dev/bus/usb/004/010
DEVNUM=010
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1
DEVTYPE=usb_device
ID_BUS=usb
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_MODEL_ID=10e1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
ID_VENDOR_ID=262a
MAJOR=189
MINOR=393
PRODUCT=262a/10e1/1
SEQNUM=2047
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=619842
UDEV [411.697540] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
ACTION=add
BUSNUM=004
DEVNAME=/dev/bus/usb/004/011
DEVNUM=011
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1
DEVTYPE=usb_device
ID_BUS=usb
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_MODEL_ID=10e1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
ID_VENDOR_ID=262a
MAJOR=189
MINOR=394
PRODUCT=262a/10e1/1
SEQNUM=2048
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=33928
UDEV [411.699672] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3
DEVTYPE=usb_interface
DRIVER=snd-usb-audio
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=1/2/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc02ip00in03
PRODUCT=262a/10e1/1
SEQNUM=2059
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=80939
UDEV [411.699773] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0
DEVTYPE=usb_interface
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=3/0/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic03isc00ip00in00
PRODUCT=262a/10e1/1
SEQNUM=2049
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=34043
UDEV [411.699840] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1
DEVTYPE=usb_interface
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
INTERFACE=1/1/0
MODALIAS=usb:v262Ap10E1d0001dc00dsc00dp00ic01isc01ip00in01
PRODUCT=262a/10e1/1
SEQNUM=2054
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=57387
UDEV [411.701367] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hi
d)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006
HID_ID=0003:0000262A:000010E1
HID_NAME=HiFimeDIY Audio SA9023 USB Audio
HID_PHYS=usb-0000:00:1d.0-1.2.1/input0
MODALIAS=hid:b0003g0001v0000262Ap000010E1
SEQNUM=2050
SUBSYSTEM=hid
USEC_INITIALIZED=48481
UDEV [411.701544] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
SEQNUM=2055
SUBSYSTEM=sound
SYSTEMD_WANTS=sound.target
TAGS=:seat:systemd:
USEC_INITIALIZED=80503
UDEV [411.702560] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25
EV=1
ID_BUS=usb
ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_INPUT=1
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MODALIAS=input:b0003v262Ap10E1e0100-e0,kramlsfw
NAME="HiFimeDIY Audio SA9023 USB Audio"
PHYS="usb-0000:00:1d.0-1.2.1/input0"
PRODUCT=3/262a/10e1/100
PROP=0
SEQNUM=2051
SUBSYSTEM=input
TAGS=:seat:
UNIQ=""
USEC_INITIALIZED=49147
UDEV [411.703227] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (s
ound)
ACTION=add
DEVNAME=/dev/snd/pcmC1D0p
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p
MAJOR=116
MINOR=12
SEQNUM=2057
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=80672
UDEV [411.704394] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hid
raw/hidraw0 (hidraw)
ACTION=add
DEVNAME=/dev/hidraw0
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0
MAJOR=248
MINOR=0
SEQNUM=2053
SUBSYSTEM=hidraw
USEC_INITIALIZED=49353
UDEV [411.705903] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18 (
input)
ACTION=add
DEVLINKS=/dev/input/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-event-if00 /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2
.1:1.0-event
DEVNAME=/dev/input/event18
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event18
ID_BUS=usb
ID_INPUT=1
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.0
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_0
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MAJOR=13
MINOR=82
SEQNUM=2052
SUBSYSTEM=input
USEC_INITIALIZED=49330
UDEV [411.714557] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (
sound)
ACTION=add
DEVLINKS=/dev/snd/by-id/usb-HiFimeDIY_Audio_SA9023_USB_Audio-01 /dev/snd/by-path/pci-0000:00:1d.0-usb-0:1.2.1:1.1
DEVNAME=/dev/snd/controlC1
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1
ID_BUS=usb
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=audio
ID_USB_DRIVER=snd-usb-audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=01
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_ID=262a
MAJOR=116
MINOR=13
SEQNUM=2058
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=80812
UDEV [411.759604] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (s
ound)
ACTION=add
DEVNAME=/dev/snd/pcmC1D1p
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p
MAJOR=116
MINOR=11
SEQNUM=2056
SUBSYSTEM=sound
TAGS=:uaccess:
USEC_INITIALIZED=80575
UDEV [411.760476] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
ACTION=change
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1
ID_BUS=usb
ID_FOR_SEAT=sound-pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_ID=usb-HiFimeDIY_Audio_SA9023_USB_Audio-01-Audio
ID_MODEL=SA9023_USB_Audio
ID_MODEL_ENC=SA9023\x20USB\x20Audio
ID_MODEL_FROM_DATABASE=USB-2.0 4-Port HUB
ID_MODEL_ID=10e1
ID_PATH=pci-0000:00:1d.0-usb-0:1.2.1:1.1
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_1_1
ID_REVISION=0001
ID_SERIAL=HiFimeDIY_Audio_SA9023_USB_Audio
ID_TYPE=audio
ID_USB_DRIVER=snd-usb-audio
ID_USB_INTERFACES=:030000:010100:010200:
ID_USB_INTERFACE_NUM=01
ID_VENDOR=HiFimeDIY_Audio
ID_VENDOR_ENC=HiFimeDIY\x20Audio
ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
ID_VENDOR_ID=262a
SEQNUM=2060
SOUND_INITIALIZED=1
SUBSYSTEM=sound
SYSTEMD_WANTS=sound.target
TAGS=:seat:systemd:
USEC_INITIALIZED=80503
the output of "sudo udevadm monitor" is:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[10520.780009] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event17 (input)
UDEV [10520.783295] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24/event17 (input)
KERNEL[10520.789826] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
KERNEL[10520.789859] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
KERNEL[10520.789871] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
KERNEL[10520.789895] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
KERNEL[10520.789965] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
KERNEL[10520.789999] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
KERNEL[10520.790031] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
KERNEL[10520.790473] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
UDEV [10520.790483] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005/hidraw/hidraw0 (hidraw)
KERNEL[10520.790494] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
UDEV [10520.790521] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input24 (input)
KERNEL[10520.790533] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
UDEV [10520.790543] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
KERNEL[10520.790615] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
UDEV [10520.790653] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
UDEV [10520.790723] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
UDEV [10520.790843] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0005 (hid)
UDEV [10520.790870] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
UDEV [10520.791022] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
UDEV [10520.791133] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
UDEV [10520.791157] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
UDEV [10520.795934] remove /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
KERNEL[10523.411837] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
KERNEL[10523.411961] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
KERNEL[10523.425856] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
KERNEL[10523.426126] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
KERNEL[10523.426179] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event17 (input)
KERNEL[10523.426268] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
KERNEL[10523.433989] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
KERNEL[10523.455486] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
KERNEL[10523.455508] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
KERNEL[10523.455540] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
KERNEL[10523.455580] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
KERNEL[10523.455608] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
UDEV [10523.463039] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1 (usb)
UDEV [10523.464322] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0 (usb)
UDEV [10523.464384] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1 (usb)
UDEV [10523.464409] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.3 (usb)
UDEV [10523.465345] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006 (hid)
UDEV [10523.465380] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
UDEV [10523.466303] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25 (input)
UDEV [10523.466417] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/0003:262A:10E1.0006/hidraw/hidraw0 (hidraw)
UDEV [10523.467311] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.0/input/input25/event17 (input)
UDEV [10523.468387] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D1p (sound)
UDEV [10523.468659] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/pcmC1D0p (sound)
KERNEL[10523.468942] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
UDEV [10523.474581] add /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1/controlC1 (sound)
UDEV [10523.475757] change /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2/4-1.2.1/4-1.2.1:1.1/sound/card1 (sound)
please not that my usb soundcard is attached through a usb hub to my laptop and that it was attached when I ran the command, then removed it and attached it again.
tried to use those udev rules:
KERNEL=="pcmC1D1p", DRIVERS=="usb", ACTION=="add", RUN+="/bin/bash -c '/home/me/dotfiles/soundconf.sh attached'"
KERNEL=="pcmC1D1p", DRIVERS=="usb", ACTION=="remove", RUN+="/bin/bash -c '/home/me/dotfiles/soundconf.sh detached'"
to no avail unfortunately...
thanks a lot for your patience and time !

Similar Messages

  • [SOLVED]Udev: How to easily automount usb/storage devices?...

    Hello there everyone, first time posting here.
    So as for my question, I recently finished up my preferred install for arch but I have just one problem. Can't seem to get Udev working right.
    Before I was using debian with the same Udev automount rules posted in the wiki actually. Then I tried the same ones migrating to arch but they don't seem to work. After searching for my netbook, getting the runaround, then searching for an alternative method and getting the same it's getting kind of annoying. So here I am.
    I'm running Arch with LXDE and all default DE components(PCmanFM, openbox, etc). I don't have HAL installed, only udisks and udev as PnP support. Any help?
    (Also in specific, I was using the second rule in the Udev wiki page. The one with LUKS support)
    (Ah, nevermind is was just a tiny bit of a syntax error. A little bit more googling helped me find the answer)
    Last edited by jjsullivan (2011-02-10 09:03:33)

    v43 wrote:i'll tell you anyway
    my choice was autofs (+hal). no volume managers.
    it works like a charm with thunar (and pcmanfm too).
    Its nice that you told anyway, solved my problem

  • USB Audio Device sometimes not detected. udev, maybe?

    I am using an external usb audio device which I usually keep plugged into my machine.  I am finding that this device is sometimes not being detected when I boot the computer.
    When this happens, issuing the following command:
    $ aplay -L
    does not list this particular device.  Plugging and unplugging the device does not seem to help.
    What does seem to resolve the problem is unloading and then reloading the snd_sub_audio kernel module.  This is done by issuing the following commands:
    # rmmod snd_usb_audio
    # modprobe snd_usb_audio
    Could anyone give some insight as to why the usb audio device isn't being detected and why this only happen occasionally?  Could this be a udev issue?  The device in question is an M-Audio Fast Track Pro.

    Make a "Genius" appointment at an Apple Store.
    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.
    Keeping your confidential data secure during hardware repair
    *An SSD doesn't need to be zeroed.

  • Cannot see my plugged in USB audio device (Schiit Loki DAC)

    I can not see my plugged in USB audio device (Schiit Loki DAC).  Can anyone help?

    According to the manufacturer, Loki does not need any driver to work with Mac.  Funny thing is, I tried it on an old Macbook runing OS X Version 10.4.6 and it worked! Schiit Loki showed up in both Sound and Midi settings.  I then took the Loki to the local Apple Store and tried it on their new Macbook Air (same as mine running OS X 10.9.1 and it failed again.  The Macbook Air just could not see my device at all.
    Talked with one of their technical experts and he just told me to get a driver from the manufacturer, he wasn't very helpful.  I am about to give up: convinced that Loki simply will not work with Macbook Air for some reason.  If anyone had an experience that showed otherwise, I would be very happy to know.  Thanks for helping.

  • How to list all USB AUDIO DEVICES using PowerShell on Windows 7

    Hi all, 
    I'm starting today on the powershell programming world, and my first task is list all USB Headsets plugged on my computer, I wanna get the name of this devices like is shown on Windows Volume Control.
    My headset is a ZOX  DH-60, every time that I change the USB port, the name changes, like Headset ZOX DH-60, then Headset 2 ZOX DH-60, how could I get this name using powershell ? 
    Thanks,
    Best Regards
    Leonardo Lima

    Hi, 
    Nope... see my command and return
    Get-WmiObject Win32_PnPEntity | ? {$_.Service -eq 'usbaudio'} | Select * | Format-List
    __GENUS : 2
    __CLASS : Win32_PnPEntity
    __SUPERCLASS : CIM_LogicalDevice
    __DYNASTY : CIM_ManagedSystemElement
    __RELPATH : Win32_PnPEntity.DeviceID="USB\\VID_0D8C&PID_000E&MI_00\\8&149B33FB&0&0000"
    __PROPERTY_COUNT : 24
    __DERIVATION : {CIM_LogicalDevice, CIM_LogicalElement, CIM_ManagedSystemElement}
    __SERVER : HOBBIT
    __NAMESPACE : root\cimv2
    __PATH : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_0D8C&PID_000E&MI_00\\8&149B33FB&0&0000"
    Availability :
    Caption : Generic USB Audio Device
    ClassGuid : {4d36e96c-e325-11ce-bfc1-08002be10318}
    CompatibleID : {USB\Class_01&SubClass_01&Prot_00, USB\Class_01&SubClass_01, USB\Class_01}
    ConfigManagerErrorCode : 0
    ConfigManagerUserConfig : False
    CreationClassName : Win32_PnPEntity
    Description : Dispositivo de áudio USB
    DeviceID : USB\VID_0D8C&PID_000E&MI_00\8&149B33FB&0&0000
    ErrorCleared :
    ErrorDescription :
    HardwareID : {USB\VID_0D8C&PID_000E&REV_0100&MI_00, USB\VID_0D8C&PID_000E&MI_00}
    InstallDate :
    LastErrorCode :
    Manufacturer : (Áudio USB genérico)
    Name : Generic USB Audio Device
    PNPDeviceID : USB\VID_0D8C&PID_000E&MI_00\8&149B33FB&0&0000
    PowerManagementCapabilities :
    PowerManagementSupported :
    Service : usbaudio
    Status : OK
    StatusInfo :
    SystemCreationClassName : Win32_ComputerSystem
    SystemName : HOBBIT
    Scope : System.Management.ManagementScope
    Path : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_0D8C&PID_000E&MI_00\\8&149B33FB&0&0000"
    Options : System.Management.ObjectGetOptions
    ClassPath : \\HOBBIT\root\cimv2:Win32_PnPEntity
    Properties : {Availability, Caption, ClassGuid, CompatibleID...}
    SystemProperties : {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY...}
    Qualifiers : {dynamic, Locale, provider, UUID}
    Site :
    Container :
    __GENUS : 2
    __CLASS : Win32_PnPEntity
    __SUPERCLASS : CIM_LogicalDevice
    __DYNASTY : CIM_ManagedSystemElement
    __RELPATH : Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&285F78A6&0&0000"
    __PROPERTY_COUNT : 24
    __DERIVATION : {CIM_LogicalDevice, CIM_LogicalElement, CIM_ManagedSystemElement}
    __SERVER : HOBBIT
    __NAMESPACE : root\cimv2
    __PATH : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&285F78A6&0&0000"
    Availability :
    Caption : ZOX DH-60
    ClassGuid : {4d36e96c-e325-11ce-bfc1-08002be10318}
    CompatibleID : {USB\Class_01&SubClass_01&Prot_00, USB\Class_01&SubClass_01, USB\Class_01}
    ConfigManagerErrorCode : 0
    ConfigManagerUserConfig : False
    CreationClassName : Win32_PnPEntity
    Description : Dispositivo de áudio USB
    DeviceID : USB\VID_074D&PID_3556&MI_00\8&285F78A6&0&0000
    ErrorCleared :
    ErrorDescription :
    HardwareID : {USB\VID_074D&PID_3556&REV_0006&MI_00, USB\VID_074D&PID_3556&MI_00}
    InstallDate :
    LastErrorCode :
    Manufacturer : (Áudio USB genérico)
    Name : ZOX DH-60
    PNPDeviceID : USB\VID_074D&PID_3556&MI_00\8&285F78A6&0&0000
    PowerManagementCapabilities :
    PowerManagementSupported :
    Service : usbaudio
    Status : OK
    StatusInfo :
    SystemCreationClassName : Win32_ComputerSystem
    SystemName : HOBBIT
    Scope : System.Management.ManagementScope
    Path : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&285F78A6&0&0000"
    Options : System.Management.ObjectGetOptions
    ClassPath : \\HOBBIT\root\cimv2:Win32_PnPEntity
    Properties : {Availability, Caption, ClassGuid, CompatibleID...}
    SystemProperties : {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY...}
    Qualifiers : {dynamic, Locale, provider, UUID}
    Site :
    Container :
    __GENUS : 2
    __CLASS : Win32_PnPEntity
    __SUPERCLASS : CIM_LogicalDevice
    __DYNASTY : CIM_ManagedSystemElement
    __RELPATH : Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&3B19294B&0&0000"
    __PROPERTY_COUNT : 24
    __DERIVATION : {CIM_LogicalDevice, CIM_LogicalElement, CIM_ManagedSystemElement}
    __SERVER : HOBBIT
    __NAMESPACE : root\cimv2
    __PATH : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&3B19294B&0&0000"
    Availability :
    Caption : ZOX DH-60
    ClassGuid : {4d36e96c-e325-11ce-bfc1-08002be10318}
    CompatibleID : {USB\Class_01&SubClass_01&Prot_00, USB\Class_01&SubClass_01, USB\Class_01}
    ConfigManagerErrorCode : 0
    ConfigManagerUserConfig : False
    CreationClassName : Win32_PnPEntity
    Description : Dispositivo de áudio USB
    DeviceID : USB\VID_074D&PID_3556&MI_00\8&3B19294B&0&0000
    ErrorCleared :
    ErrorDescription :
    HardwareID : {USB\VID_074D&PID_3556&REV_0006&MI_00, USB\VID_074D&PID_3556&MI_00}
    InstallDate :
    LastErrorCode :
    Manufacturer : (Áudio USB genérico)
    Name : ZOX DH-60
    PNPDeviceID : USB\VID_074D&PID_3556&MI_00\8&3B19294B&0&0000
    PowerManagementCapabilities :
    PowerManagementSupported :
    Service : usbaudio
    Status : OK
    StatusInfo :
    SystemCreationClassName : Win32_ComputerSystem
    SystemName : HOBBIT
    Scope : System.Management.ManagementScope
    Path : \\HOBBIT\root\cimv2:Win32_PnPEntity.DeviceID="USB\\VID_074D&PID_3556&MI_00\\8&3B19294B&0&0000"
    Options : System.Management.ObjectGetOptions
    ClassPath : \\HOBBIT\root\cimv2:Win32_PnPEntity
    Properties : {Availability, Caption, ClassGuid, CompatibleID...}
    SystemProperties : {__GENUS, __CLASS, __SUPERCLASS, __DYNASTY...}
    Qualifiers : {dynamic, Locale, provider, UUID}
    Site :
    Container :

  • USB audio device is not working (code 10)

    USB audio device is not working (code 10)

    dominichristine wrote:
    USB audio device is not working (code 10)
    where do you get this error code? do you see this when you plug in
    a USB device or does it show up with out anything plugged in?

  • Recording into Audition 3.0 via Behringer UFO202 USB audio device

    I am running Audition 3.0 on a PC with Windows 7 Home Premium.  This may not be the proper place for this question, but I was not able to put it on the Adobe Audition 3.0 and earlier forum.
    I am trying to record cassettes into Audition via a Behringer UFO202 USB device.  I plug in the USB and my computer sees it and I can hear via the headphone output that it is playing.  I go to the Windows Recording Mixer and it indicates that a USB audio device is working.  However, I cannot get the sound into Audition.  It doesn't show up when I record to the edit window or click on the meters to monitor. 
    I am also using a HT Omega Sound Card, but their support said that it shouldn't interfere.
    Any help would be greatly appreciated.
    thank you,
    New Orleans Audition User

    Unfortunately you cannot reduce the levels of audio on it's way into Audition. Audition just records whatever the audio interface sends it. If the levels are that high when recorded into Audition then it is likely that you could be overloading the input to the Behringer interface. You need to somehow reduce the level at source in the analogue domain. Once it is in the audio interface at too high a level then any distortion caused will be burnt into the digital audio file and you won't be able to get rid of it.

  • USB Audio Device only plays left channel out both speakers.

    usually i use my Yamaha Audiogram 3 usb audio device to record things in cubase, and when the cubase settings are set it is fine, but as soon as i close cubase, the left channel of any audio (like itunes playback) plays out of both left and right speakers in the headphones i use. this only happens when the Audiogram 3 is plugged into 1 certain usb port (of 2).
    its even fine when i have cubase running in the background while i play music from itunes. it just doesn't make any sense. it also appears to recognize that its stereo in one port, but not the other.
    i would suspect it has something to do with the drivers for the usb device (if there even are any), that the drivers it placed into the system only applies to that one usb port, but if thats the case, you would think it would install new drivers for the other port as soon as i plug in my audiogram, but thats not the case.
    no cd for the audiogram. you simply plug it in.
    ive tried restarting the computer, plugging it in again, trying to change the settings. nothing seems to work. i need the other port to work.

    Try resetting the PRAM. Info here:
    http://docs.info.apple.com/article.html?artnum=2238
    You may also want to take a look at the Audio MIDI Setup utility and make sure everything is configured properly there.

  • Playing iTunes on USB Audio Device

    I would like to output all audio from iTunes to a USB audio device I have attached to my Macbook Pro but leave all other audio going to the laptop speakers.
    I've looked through iTunes (10) preferences to see if there is an option to select an audio device, but can't find anything.
    I have my HiFI plugged into the USB device for playing all my music, but obviously I don't want system sounds etc to play over the HiFi.
    Surely there must be a method to tell iTunes what audio output to use.
    Anyone got any recommendations?

    Here's a solution.

  • Renaming USB Audio Devices

    I have two USB mics, and both get assigned the name "Unknown USB Audio Device" when plugged in. How can change that label of each device so I don't get them confused?

    So I think the best way to handle this is to go into Audio MIDI Setup utility and create an aggregate device by clicking the plus at the bottom left corner. Add the single unnamed device, and then give it a new aggregate name by double-clicking on the title. Repeat this for each of the unnamed devices.
    This won't rename the orginal device, nor will it remove the unnamed device from the list of audio devices, but it will give you a sure way to select the intended device.

  • No Digital Output available in Playback devices (USB audio device)

    If one has USB audio device with coax/toslink out, with proper drivers (like ie TurtleBeach Micro Advantage) available & installed then Digital Output is available to select in Playback devices. (and one can play AC3/DTS to external amplifier with ie
    VLC or MPC-HT with AC3Filter DS filter)
    But some USB devices (ie Phonic Digitrack -
    http://www.phonic.com/en/digitrack.html ) do NOT come with drivers (as Windows has default build in). Digitrack uses TI
    Burr-Brown USB Audio Codec 2906 -
    http://www.ti.com/product/pcm2906
    Sadly these Windows drivers do NOT have a clue about what the device actually has as inputs/outputs
    So even it had coax digital out & the sound IS send via it, the actual data send is in right way, not recognized/played correctly by Digital Amplifier (AC3/DTS)
    Does anybody know of a hack to make Digital Out available?
    Seb

    Hi,
    Generally speaking, An Audio Device do need more driver besides USB driver to make itself work properly. In terms of your situation, USB driver is not enough to make your Audio Device works properly.  I think S.Sengupta
    is right. Actually it would be better to contact Digitrack support to confirm its product compatibility with Windows 7.
    Roger Lu
    TechNet Community Support

  • USB audio device loses output connection

    I use a MobilePRE USB interface and had no problems until recently. My iMac is set to never sleep but if I do not use the computer for a few hours the output from the MobilePre is gone.If I change to the driver to the internal headphone output on the Mac all is fine but in order to use the MobilePre as output I must restart, then it is fine until the next day or a few hour later.
    The same time that this problem developed, about a month ago, I also noticed a low level snap or popping sound. This happens through my external speakers and is triggered by any sound activity approximately 30 seconds later. It even happens with the volume turned all the way down and sounds like a connection is being made. Like I said these two problems started about a month ago around the time Apple was sending a lot of updates. I have read a long thread on the OSX forum and know this is a pervasive problem with no solution yet. I mention it here as a curiosity as it started around the same time as the USB audio device problem. My hunch is that it has something to do with a recent update.
    I don't think this is a GarageBand problem because it is the same no matter what software is outputting. I ask on this forum because there some knowledgeable audio heads here.

    Check the archlinux news item which calls for an entry in kernel commandline .................

  • Volume control with USB Audio device

    Hello all.
    I have just purchased a cheap USB audio device to connect my HiFi to my laptop with only one, neat USB lead and a USB hub - meaning I no longer need several USB wires and an audio cable across my desk.
    This works fine, but I have just noticed that the volume control in OS X has no effect on the output now, only Mute or On. The volume within iTunes works fine, but not the OS X one.
    Any way I can avoid having to use the volume on the hifi when using the USB Audio device?
    Many thanks.

    Don't think so unless that piece of hardware came with compatible Mac software to control it.

  • Windows 7 x64 USB AUDIO DEVICE - Device Not Working - Mac Pro

    I have a mac pro early 2009. I had vista x64 installed, everything was great. I had 2 audio devices under device manager, one was listed as HD (digital) and one device was listed as analog audio.
    When I played games and wanted the external speakers (using the digital out connection) I had the HD (digital) audio device enabled.
    When I played games and wanted to use a headphone/microphone combo, I had the analog audio device enabled.
    Switching between the two was as easy as clicking the audio device icon and clicking on whichever device I wanted.
    Now that I installed windows 7 x64, I have a HD (optical out) device in device manager and it works perfectly. Unfortunately, I also have another device listed called "USB Audio Device" and it shows a yellow exclamation mark next to it and it is NOT working properly.
    I tried many suggestions on here, which included downloading the cirrus logic audio driver and picking different models, as well as trying the snow leopard install disk driver for cirrus logic, and even tried installing the realtek analog driver. The closest I got to getting anything to work was installing the realtek analog driver. It installed fine up to the point when windows said "this driver is not tested, do you wish to install it anyway?" and I click yes, but then it pauses for a few seconds and the same message comes up again and repeats in a endless loop until you say "no, do not install driver" and then it does a uninstall of the driver.
    Has anyone else experienced this problem and if so were you able to fix it?
    Thanks
    Message was edited by: What2be1

    I found Gigabyte has links to latest updates which work fine.
    Treat Mac Pro as just a dual Xeon PC.
    http://forums.tweaktown.com/gigabyte/30530-latest-overclocking-programs-system-i nfo-benchmarking-stability-tools.html
    Realtek High Definition Audio for Vista\Win 7 2.54
    2010-11-05
    Realtek HD Audio Windows 7
    Or from Realtek which is http://218.210.127.131/
    http://www.realtek-driver.com/
    Guru3D is also a popular site for drivers.
    http://downloads.guru3d.com/Realtek-HD-Audio-2.51_d2598.html
    You can ignore USB audio, you want RealTek HD Audio. There are or can be some of those yellow alerts that are safe to ignore. Buried somewhere in Apple Support BootCamp technotes.
    You can use installer from Realtek or zip file in which case just uncompress and update the driver from inside Device Manager. Nice thing, you can rollback a driver if you want to, or totally uninstall and then reinstall.

  • OS X 10.7–10.10 iSub workarounds? USB audio devices?

    The old Harman/Kardon iSub (USB subwoofer) never worked right with Intel Macs—but it was always a software issue, which could be worked around: I read years ago about people connecting USB headphones or speakers, which "tricked" the Mac into sending audio to the iSub. (In the case of headphones, I assume they would also use Audio MIDI Setup to make a Multi-Output device allowing sounds from your normal speakers at the same time as the 'phones.)
    Does that trick still work in Yosemite? If not, when did it stop working? Can't seem to get it working on my 10.7 laptop with Jabra Revo Wireless headphones connected to USB (they have wired modes as well as wireless).
    Any other workarounds? I'd love to get this thing going with either 10.7 or 10.10! Requiring an additional USB audio device isn't a great workaround... but I happen to have such a device anyway!
    Thanks for any ideas.

    removed TextEdit related files in /Users/gordan/Library/Preferences (mainly .lock files) , now it is working

Maybe you are looking for

  • Issue in iSupplier Portal after upgrade from 12.1.1 to 12.1.3

    Hi After upgrade to 12.1.3, I am getting 'java.lang.NullPointerException' error when I navigate to Oracle iSupplier Portal -> 'Purchase Order' tab. I have pasted the error text below. I have also noted down the errors below, which were reported durin

  • Help in finding out why itunes app can't connect to the server.

    Can anyone decipher the text below from All Programs, Administrative Tools, Event Viewer, Custom Views, Administrative Events as it may be relevent in finding out what's going on when itunes or anything isn't working right. The application-specific p

  • Itunes /icloud/ and getting library to function?

    itunes on windows does not reconize the fact that the files are already in the itunes folder and wants me to download eveything how do I get Itunes to stop duplicating files and stop tellimg me I need to download what I already have?

  • Locking on Method objects?

    my understanding is that: public synchronized void counter() { usageCounter++;  }is equivalent to: public void counter() {   synchronized(this) {     usageCounter++; }locking the whole object has some overhead. could this overhead be eliminated using

  • EX11 error while installing InDesign CC (2014).

    I am getting an EX11 error while installing InDesign CC (2014). Any ideas what to do?