external sound card (USB) is not detected most of the time

Bug #93922 reported by Ayan
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Medium
Ubuntu Audio Team

Bug Description

I have a I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4] onboard sound card and a external sound card through the Bose audio device. The Bose care (external USB) was the default card for drapper, and it worked fine. When I upgraded to ubuntu edgy, often times the sound card(external) is not detected; I can't see it on aplay -l, sometimes (2 out of 10) it is detected and then it plays fine.

Thanks for any help!

Ayan

Tags: cft-2.6.27
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the full output of 'dmesg' as an attachment after using your system for a while? Thanks in advance.

Revision history for this message
Ayan (ayanm) wrote :

[17179592.136000] cannot create card instance 0
[17179592.136000] snd-usb-audio: probe of 2-1:1.0 failed with error -5
[17179592.140000] usbcore: registered new driver snd-usb-audio

I think these are the offending lines; they show up whenever the sound card doesn't load.

Thank you for your help and service to Ubuntu.

Ayan

Revision history for this message
Ayan (ayanm) wrote :

I installed arts, kdebase, kde-core and then the external sound card got installed. This could be coincidence, if it fails again I will write back.

Ayan

Revision history for this message
Ayan (ayanm) wrote :

I normally use wmaker as my window manager, as I reported earlier sound is fine there. If I switch to KDE then there is no sound; if I run xmms it says

can't open audio

please check that your sound card is configured properly, etc. arts certainly is doing something.

Revision history for this message
Ayan (ayanm) wrote :

My fix didn't last. On the third boot, the sound card failed to load.

dmesg attached.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the output requested at https://help.ubuntu.com/community/DebuggingSoundProblems ? Thanks in advance.

Revision history for this message
Ayan (ayanm) wrote :

 tail -2 /proc/asound/oss/sndstat
Mixers:
0: SigmaTel STAC9750,51

Revision history for this message
Ayan (ayanm) wrote :

lspci -nv

Revision history for this message
Ayan (ayanm) wrote :

asoundconf list
Names of available sound cards:
I82801DBICH4

cat /etc/asound.conf ~/.asoundrc*
cat: /etc/asound.conf: No such file or directory
cat: /home/raja/.asoundrc*: No such file or directory

Revision history for this message
Ayan (ayanm) wrote :

cat /proc/interrupts

Changed in linux-source-2.6.17:
assignee: brian-murray → ubuntu-audio
status: Needs Info → Confirmed
Revision history for this message
Ayan (ayanm) wrote :

I upgraded to feisty yesterday and the bug affects feisty.

Linux rumani 2.6.20-12-386 #2 Wed Mar 21 20:53:13 UTC 2007 i686 GNU/Linux

Revision history for this message
Brian Murray (brian-murray) wrote :

Since you reported your bug a newer version of the kernel is available. Could you please retest with the latest version and let us know if this is still an issue? Thanks in advance.

Changed in linux-source-2.6.17:
assignee: ubuntu-audio → brian-murray
status: Confirmed → Needs Info
Revision history for this message
Ayan (ayanm) wrote :

Please see my comment on this bug on 2001-03-25. I am using the latest kernel 2.6.20 and the sound card is still a problem.

Thanks for your help
Ayan

Changed in linux-source-2.6.20:
assignee: brian-murray → ubuntu-audio
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
Ayan (ayanm) wrote :

The latest kernel has made it worse. Now the driver for the USB sound card doesn't load most of the time. The kernel is 2.6.20-16-386 #2 Sun Sep 23 19:47:10 UTC 2007 i686 GNU/Linux

Revision history for this message
Ayan (ayanm) wrote :

Upgraded to gutsy and now the kernel is

 2.6.22-13-386 #1 Thu Oct 4 16:50:05 GMT 2007 i686 GNU/Linux

The bug still exists.

Revision history for this message
mjkelly93 (mjkelly93) wrote :

I have the same problem with Gutsy.

2.6.22-14-generic

lsusb finds my usb sound card but aplay -l, only shows it some of the time. I'd say 1/4 of the times i start it detects my usb sound card, all the other times its just listed under lsusb.

I typically just keep restarting the computer until it finds the card, usually 5-6 times until it does. It was like this in Feisty too, but i think its worse in Gutsy.

Revision history for this message
mjkelly93 (mjkelly93) wrote :

I think its a problem with alsa and the snd-usb-audio module.

laptop:~$ sudo modprobe snd_usb_audio
FATAL: Error inserting snd_usb_audio (/lib/modules/2.6.22-14-generic/kernel/sound/usb/snd-usb-audio.ko): Unknown symbol in module, or unknown parameter (see dmesg)

From the dmesg:
[ 16.656000] snd_usb_audio: Unknown parameter `model'
[ 16.968000] snd_usb_audio: Unknown parameter `model'
Also from the dmesg:
[ 4.892000] input: USB Audio as /class/input/input2
[ 4.892000] input: USB HID v1.00 Device [USB Audio] on usb-0000:00:1d.0-1
[ 8.616000] input: USB Audio as /class/input/input5
[ 8.616000] input: USB HID v1.00 Device [USB Audio] on usb-0000:00:1d.0-1

It works some of the time. Maybe 1 out of 5 restarts on average it will work. Next time i get it to work ill come back and add whats different but so far its about 10 in a row now with nothing. Im going to keep trying to get help in #alsa and post what i dig up.

Revision history for this message
Ayan (ayanm) wrote : Re: [Bug 93922] Re: external sound card (USB) is not detected most of the time

Can you try to use some other kernel than the generic one. I thought that it was worse for the generic one but a little better for the i386.

Ayan

----- Original Message ----
From: mjkelly93 <email address hidden>
To: <email address hidden>
Sent: Friday, October 26, 2007 12:01:49 AM
Subject: [Bug 93922] Re: external sound card (USB) is not detected most of the time

I think its a problem with alsa and the snd-usb-audio module.

laptop:~$ sudo modprobe snd_usb_audio
FATAL: Error inserting snd_usb_audio
 (/lib/modules/2.6.22-14-generic/kernel/sound/usb/snd-usb-audio.ko): Unknown symbol in module, or unknown
 parameter (see dmesg)

>From the dmesg:
[ 16.656000] snd_usb_audio: Unknown parameter `model'
[ 16.968000] snd_usb_audio: Unknown parameter `model'
Also from the dmesg:
[ 4.892000] input: USB Audio as /class/input/input2
[ 4.892000] input: USB HID v1.00 Device [USB Audio] on
 usb-0000:00:1d.0-1
[ 8.616000] input: USB Audio as /class/input/input5
[ 8.616000] input: USB HID v1.00 Device [USB Audio] on
 usb-0000:00:1d.0-1

It works some of the time. Maybe 1 out of 5 restarts on average it will
work. Next time i get it to work ill come back and add whats different
but so far its about 10 in a row now with nothing. Im going to keep
trying to get help in #alsa and post what i dig up.

--
external sound card (USB) is not detected most of the time
https://bugs.launchpad.net/bugs/93922
You received this bug notification because you are a direct subscriber
of the bug.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Revision history for this message
Ayan (ayanm) wrote :

I can now confirm that it is not the usb-snd-audio. I loaded it right now manually. It did load without any error but the usb sound card is not recognized in aplay -l.

Revision history for this message
mjkelly93 (mjkelly93) wrote :

I searched a little bit more about that error i was receiving and someone
told me that it was a syntax error in /etc/modprobe.d/alsabase, so i poked
around in there and found a suspicious line, removed it, and snd-usb-audio
loaded properly.

When 'lsusb' would find my usb card, and alsa wouldnt, i went to #alsa on
freenode and someone there told me that the most likely fix for that was
upgrading to the newest alsa. So i did and it found it actually. Its just
sometimes when i restart, alsa doesnt find it even tho its connected.

On 10/27/07, Ayan <email address hidden> wrote:
>
> I can now confirm that it is not the usb-snd-audio. I loaded it right
> now manually. It did load without any error but the usb sound card is
> not recognized in aplay -l.
>
> --
> external sound card (USB) is not detected most of the time
> https://bugs.launchpad.net/bugs/93922
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
wired00 (rob-washeretoo) wrote :

Hi i think im having a similar issue with my External USB headphone DAC/AMP. Its a iBasso D2 headphone amp. (www.iBasso.com).

Hopefully i can help solve this too?

I have the same issues... running ubuntu 8.04 and gnome.

When i connect to my Toshiba A200 laptop it will sometimes work under amarok/Exaile/Audacious and sometimes not. I connect and can hear system sounds through the external DAC and can see the device via Volume Control > File > Change Device but when i play via Amarok using ALSA the sound only plays via the internal laptop sound card / speakers.

I try:
1) unplug usb sound card, close amarok, plug in USB sound card again, open amarok ... no sound
2) try changing to another sound player (auto/pulseaudio/OSS) via amarok then back to ALSA and still nothing.

if i run the following line mp3 plays perfectly through xine even though it won't play via any media players:
xine -A alsa --verbose=1 /home/blah/test.mp3

I don't understand why xine works perfectly but other media players don't? i thought especially that amarok used xine for playback??

One thing i did notice is that the device order under Volume Control > File > Change Device changes. ie when its not working, the USB device appears as "1: USB Audio DAC (ALSA Mixer)" but when it IS working ie, now, it appears as "0: USB Audio DAC (ALSA Mixer)". Is this relevant?

Do you think it relates to whether my USB device is 0 or 1? how do i change this after my laptop is booted so i don't need to reboot?
here is results running sndstat while the device is running if it helps?:

tail -2 /proc/asound/oss/sndstat
0: USB Mixer
1: Realtek ALC268

Also heres aplay -l output incase it helps:
 aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: default [USB Audio DAC ], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
  Subdevices: 1/1

i'll try rebooting in a sec and see if it does infact change so that my USB device is "1" and not work.

Revision history for this message
wired00 (rob-washeretoo) wrote :

this is wierd...

so i just rebooted and only plugged in my usb dac after the system had started... i plugged the usb dac in loaded amarok, and it worked perfectly :/

as expected it displays as device "1" from sndstat and aplay -l

strange... i don't know what causes it to sometimes not work, but it seems exactly like the OP's problem. I'll post back details from sndstat aplay -l etc if it stops working again

Revision history for this message
mjkelly93 (mjkelly93) wrote :
  • unnamed Edit (1.3 KiB, text/html; charset=ISO-8859-1)

Its been a while since i fixed that problem but im pretty sure what i did
was go into the BIOS and disable onboard sound. Then it will always find my
externale card and speakers and all.

On Mon, Apr 21, 2008 at 12:43 AM, wired00 <email address hidden> wrote:

> this is wierd...
>
> so i just rebooted and only plugged in my usb dac after the system had
> started... i plugged the usb dac in loaded amarok, and it worked
> perfectly :/
>
> as expected it displays as device "1" from sndstat and aplay -l
>
> strange... i don't know what causes it to sometimes not work, but it
> seems exactly like the OP's problem. I'll post back details from sndstat
> aplay -l etc if it stops working again
>
> --
> external sound card (USB) is not detected most of the time
> https://bugs.launchpad.net/bugs/93922
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
nine (niin-deactivatedaccount-deactivatedaccount) wrote :

It unfortunately appears that this bug is not yet resolved. Does this issue still exist in the Hardy Heron 8.04 LTS release? If so, the Intrepid Ibex 8.10 Alpha2 is also scheduled for release today. It will appear at the following when available: http://www.ubuntu.com/testing/intrepid/alpha2 . It contains the actively developed 2.6.26 Ubuntu kernel. It would be great if you could test this upcoming release via a LiveCD and verify if the issue still exists. If so, please include the appropriate debugging information as outlined at https://wiki.ubuntu.com/DebuggingSoundProblems . Thanks in advance.

Changed in linux:
status: New → Incomplete
Revision history for this message
Ayan (ayanm) wrote :

In my case the problem is solved with Hardy Heron. In this case the OS picks up the card all the time. THere was a issue, because the intel chip card was becoming the default. But I was able to set the USB card to index=0 and that that has resolved the problem.

----- Original Message ----
From: mouz <email address hidden>
To: <email address hidden>
Sent: Thursday, July 10, 2008 5:57:30 AM
Subject: [Bug 93922] Re: external sound card (USB) is not detected most of the time

It unfortunately appears that this bug is not yet resolved. Does this
issue still exist in the Hardy Heron 8.04 LTS release? If so, the
Intrepid Ibex 8.10 Alpha2 is also scheduled for release today. It will
appear at the following when available:
http://www.ubuntu.com/testing/intrepid/alpha2 . It contains the
actively developed 2.6.26 Ubuntu kernel. It would be great if you could
test this upcoming release via a LiveCD and verify if the issue still
exists. If so, please include the appropriate debugging information as
outlined at https://wiki.ubuntu.com/DebuggingSoundProblems . Thanks in
advance.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

--
external sound card (USB) is not detected most of the time
https://bugs.launchpad.net/bugs/93922
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Since Ayan is the original bug reporter and has commented that this was resolved in Hardy, I'm marking this "Fix Released". Against linux-source-2.6.20 this will be closed as Feisty Fawn 7.04 has reached it's end of life - http://www.ubuntu.com/news/ubuntu-7.04-end-of-life . Thanks.

Changed in linux:
status: Incomplete → Fix Released
Changed in linux-source-2.6.20:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.