[Pkg-alsa-devel] Bug#361558: Bug#361558: alsa-firmware-loaders: firmware loading for tascam us-122 not working w/ udev
Elimar Riesebieter
riesebie at lxtec.de
Fri Sep 14 11:10:23 UTC 2007
On Sat, 08 Apr 2006 the mental interface of
Federico Grau told:
> Package: alsa-firmware-loaders
> Version: 1.0.10-1
> Severity: normal
>
>
> On my stable/sarge system, the hotplug scripts correctly load the firmware
> for the tascam us-122 usb sound card (asla module snd_usb_usx2y).
>
> Unfortunately on my unstable/sid system the sound card does not automatically
> get detected. I was able to get it working by adding the following lines to
> /etc/udev/udev.rules
>
> # TASCAM US-122 usb sound card.
> SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8006", RUN+="/etc/hotplug/usb/tascam_fw"
> SYSFS{idVendor}=="1604", SYSFS{idProduct}=="8007", RUN+="/etc/hotplug/usb/tascam_fpga"
[...]
On Thu, 26 Oct 2006 the mental interface of
Jon-o Addleman told:
> Package: alsa-firmware-loaders
> Version: 1.0.13-1
> Severity: important
>
> I'm using a Tascam US-122 usb device. I added in a udev rule to run the
> scripts in /etc/hotplug/usb, as described in bug #361558. It's not
> working however, because the /etc/hotplug/usb/tascam_fw script expects
> two variables, $PRODUCT and $DEVICE to be set, presumably by udev. This
> isn't being done though, so the firmware isn't being loaded.
[...]
On Sat, 07 Apr 2007 the mental interface of
Eldon Koyle told:
> 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"
With all your help I've packaged a new alsa-tools version:
deb http://www.lxtec.de/debarchiv unstable main
deb-src http://www.lxtec.de/debarchiv unstable main non-free
Could you please test the new alsa-firmware-loaders package where
I've put the tascam scripts to /lib/udev and the rules file to
/etc/udev/alsa-firmware.rules. I can't do it myself. I don't have
appropiate hardware handy :(
Any feedback is welcome.
Thank you guys.
Elimar
--
It's a good thing we don't get all
the government we pay for.
More information about the Pkg-alsa-devel
mailing list