[Pkg-alsa-devel] Bug#395371: working udev file

Eldon Koyle esk at cc.usu.edu
Sat Apr 7 23:51:35 UTC 2007


The following configuration Worked for Me (TM).  I also have a US-122, but
hopefully this will work for any of the three supported devices ;).  I pulled
the product IDs from /etc/hotplug/usb/tascam_fw.usermap .  Does udev support
any kind of usermap?

It seems that udev sets PORDUCT and DEVICE, so I didn't bother with them.

# /etc/udev/tascam.rules
# Tascam foo

# US-122
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8006", \
        RUN+="/etc/hotplug/usb/tascam_fw"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8007", \
        RUN+="/etc/hotplug/usb/tascam_fpga"

# US-224
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8004", \
        RUN+="/etc/hotplug/usb/tascam_fw"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8005", \
        RUN+="/etc/hotplug/usb/tascam_fpga"

# US-428
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8000", \
        RUN+="/etc/hotplug/usb/tascam_fw"
BUS=="usb", ACTION=="add", SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8001", \
        RUN+="/etc/hotplug/usb/tascam_fpga"

#EOF

-- 
Eldon Koyle
-- 
The world's great men have not commonly been great scholars, nor its great
scholars great men.
		-- Oliver Wendell Holmes




More information about the Pkg-alsa-devel mailing list