Ignoring a USB sound card
I'm trying to find a way to ignore a specific USB audio device that is inbuilt into my laptop. The device is an HP Wireless Audio adapter that causes the snd-usb-audio driver to hang when modprobe'd. I tried some udev rules but have been unable to figure out the proper way to do this. If I blacklist the snd-usb-audio driver, other devices using the same driver such as my USB MIDI controller stop working. I'm running Linux Mint Debian Edition on an HP Envy 15.
|
This is quite difficult unless maybe if you will furnish us more data. Certainly the most practical way is
> to DISABLE the hardware device from the BIOS/EFI level --this should eliminate the problem completely. If this is not possible there (I am not familiar of HP Envy 15) then > the ultimate work should be played in the userspace by writing the udev rules correctly --the latter there are those capable of doing that. Meantime please post to us the output of initial queries lspci and lsusb -v. Also inform us if you were able (or not able) to disable the device from the BIOS. What you have with this output? Code:
--# lsmod | grep snd Code:
--# udevadm info -a -p $(udevadm info -q path -n /dev/audio) |
lsusb:
Code:
Bus 004 Device 003: ID 0424:b832 Standard Microsystems Corp. Code:
snd_hda_codec_hdmi 30998 1 Code:
looking at device '/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.5/4-1.5:1.0/sound/card0/audio': The exact issue: when alsamixer, pulseaudio, jack, or any other sound program attempts to use the wireless audio card, it hangs and must be kill -9'ed. I get a flood of messages like Code:
[10132.292432] 3:1:1: cannot set freq 44100 to ep 0x1 |
Have you made any progress on this issue, hunternet93?
I'm running into the issue as well; disabling snd-usb-audio via blacklist allows the system to function, but I can't use an external sound device. I posted to the alsa-sound mailing list about the bug, but haven't heard any response, so I don't have high hopes that it will get fixed soon. |
Quote:
|
I started a thread on alsa-devel, at the recommendation of someone on the Fedora bug tracker. I've heard back from a developer, who plans to try to help come up with a temporary solution to disable the problem hardware. That solution hasn't been forthcoming yet, but you can follow that thread on the alsa-devel mailing list archive, here:
http://mailman.alsa-project.org/pipe...er/057729.html |
Eldad Zack on the alsa-devel mailing list found the solution: [url]http://mailman.alsa-project.org/pipermail/alsa-devel/2012-December/057828.html[url]. It involves patching the kernel, which isn't as hard as it sounds if you haven't done it before. I can provide instructions if necessary.
The patch tells the snd-usb-audio driver to ignore the HP Wireless Audio device, which prevents the hang. I just tested and am able to play sound through a USB audio card without problems. Good luck! |
All times are GMT -5. The time now is 01:16 PM. |