Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
and this
Code:
--# udevadm info -a -p $(udevadm info -q path -n /dev/audio)
I think if you cannot disable that wireless device you can map it into your default to avoid contention of resources.
Last edited by malekmustaq; 11-05-2012 at 09:36 AM.
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
in dmesg. I'm guessing the card expects special configuration from snd-usb-audio, resulting in the hang. I'd like to find a way to disable or ignore the card with extreme prejudice. I'd scrape the chip off the motherboard if it would help.
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.
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.
Sadly, no. I'll take another look at the problem, I believe udev is the answer but I haven't figured out the right rule to use.
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:
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.