Summary: | alsa-firmware needs proper udev-rules to call fxload for >=sys-fs/udev-104 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Risto A. Paju <teknohog+gentoobugz> |
Component: | [OLD] Core system | Assignee: | Gentoo ALSA team <alsa-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | beandog, udev-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 159931 | ||
Bug Blocks: | |||
Attachments: |
"udevmonitor --env" output when attaching the sound card
udev rules for Tascam US-122 udev-rules from suse, using fxload |
Description
Risto A. Paju
2007-01-23 10:50:42 UTC
Can you please attach the log of "udevmonitor --env" while attaching your device. And then the output of dmesg. Which version of alsa do you use? Kernel-integrated or ebuild alsa-driver? Found some nice udev-rules on http://doc.gwos.org/index.php/Tascam_US-122_in_Dapper Slightly changed: BUS=="usb", ACTION=="add", ATTR{idProduct}=="8006", ATTR{idVendor}=="1604", \ RUN+="/bin/sh -c '/sbin/fxload -D %N -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx'" BUS=="usb", ACTION=="add", ATTR{idProduct}=="8007", ATTR{idVendor}=="1604", RUN+="/bin/sh -c '/usr/bin/usx2yloader'" But I'm not sure about the IDs and Filenames. Thanks Matthias.. the Dapper instructions didn't work as such, but they pointed to another page with a working ruleset: http://www.astro.caltech.edu/~mcs/tascam_us122/index.html I'll put the rules as an attachment (line breaks tend to be messed up in the comments ;) For completeness, I'll also add the udevmonitor log. The drivers I'm using are in-kernel. Created attachment 107995 [details]
"udevmonitor --env" output when attaching the sound card
Created attachment 107997 [details]
udev rules for Tascam US-122
Should be closed as soon as udev-rules are added to some alsa-package (alsa-firmware?) Created attachment 108011 [details]
udev-rules from suse, using fxload
These udev-rules are extracted from suse alsa-firmware.rpm.
They should work the same for Tascam US-122 device, but also for other devices.
@Risto:
Can you please check if they also work for you.
@sound/alsa-team:
Please include into alsa-firmware.
The Suse rules work fine with US-122. Okay, I've decided to make this a little more complicated on ebuild side, but should be easier to manage user-side. First of all, I've added to 1.0.14_rc2 a bunch of useflags for ALSA_CARDS so that you get proposed some of the supported ALSA drivers. By doing this, there will be a value for usb-usx2y, for which I can add fxload dependency, and install the udev-rules file. This way, users who wants the support for that particular driver won't need to do anything more than adding it to ALSA_CARDS in make.conf, just as for alsa-driver. At the same time I'll be adding alsa-tools as dependency for hdsp/hdspm, so the dependencies will be more accurate in general. |