LinuxMCE Forums

General => Users => Topic started by: how on June 10, 2010, 10:16:52 PM

Title: support for usb soundcards
Post by: how on June 10, 2010, 10:16:52 PM
Hello All,

I'm running linuxmce 810 on an eee900a (10 watt under load).
The only problem i'm having is that the 900a has no spdif out so no dolby or DTS for me.
Does anyone have any experience with external soundcards like the creative X-FI usb ?
I would only use the optical spdif interface to connect the eee900a to my digital receiver.

Greetings Rob
Title: Re: support for usb soundcards
Post by: MANDINGO on June 10, 2010, 10:51:22 PM
The only external sound card i was able to get working was the Sabrent USB-SND8 8-Channel USB 2.0 External 7.1 Sound Box

the sound blaster etc... didnt work at the time and this was a limitation of alsa and not lmce

Thanks

Mandingo
Title: Re: support for usb soundcards
Post by: totallymaxed on June 10, 2010, 11:58:41 PM
Quote from: how on June 10, 2010, 10:16:52 PM
Hello All,

I'm running linuxmce 810 on an eee900a (10 watt under load).
The only problem i'm having is that the 900a has no spdif out so no dolby or DTS for me.
Does anyone have any experience with external soundcards like the creative X-FI usb ?
I would only use the optical spdif interface to connect the eee900a to my digital receiver.

Greetings Rob

See this wiki article about using Squeezeslave & usb sound 'cards' http://wiki.linuxmce.org/index.php/Squeezeslave_on_the_core (http://wiki.linuxmce.org/index.php/Squeezeslave_on_the_core). We have tried several cards now and they have all just worked...and our Cascade/Dianemo systems are built on top of 0710 too...so your mileage under 0810 should be even better I would expect.

All the best


Andrew
Title: Re: support for usb soundcards
Post by: Marie.O on June 11, 2010, 07:56:35 AM
Quote from: totallymaxed on June 10, 2010, 11:58:41 PM
[..]We have tried several cards now and they have all just worked...and our Cascade/Dianemo systems are built on top of 0710 too...so your mileage under 0810 should be even better I would expect.[..]

I think the experience should be identical these days, as both, Cascade/Dianemo and LinuxMCE use a backported Alsa. LinuxMCE is currently at 1.0.23 for the drivers.
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 21, 2010, 02:52:39 PM
Anyone try this?

http://bestofferbuy.com/Premium-USB-2.0-External-Sound-Card-Box-with-7.1-Speaker-SPDIF-Optical-Output-p-28197.html?currency=GBP&utm_source=gbase&utm_medium=cse&utm_campaign=gbase

Seems to come up a lot on ebay and is the cheapest USB SPDIF capable device I have found.

Chris
Title: Re: support for usb soundcards
Post by: totallymaxed on July 21, 2010, 08:19:56 PM
Quote from: chrisbirkinshaw on July 21, 2010, 02:52:39 PM
Anyone try this?

http://bestofferbuy.com/Premium-USB-2.0-External-Sound-Card-Box-with-7.1-Speaker-SPDIF-Optical-Output-p-28197.html?currency=GBP&utm_source=gbase&utm_medium=cse&utm_campaign=gbase

Seems to come up a lot on ebay and is the cheapest USB SPDIF capable device I have found.

Chris


Its not one we've tried...but I would suggest giving it a go.

Andrew
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 22, 2010, 03:14:34 PM
Do you have any links for the £10 SPDIF devices you mentioned before?
Title: Re: support for usb soundcards
Post by: totallymaxed on July 22, 2010, 03:28:23 PM
Quote from: chrisbirkinshaw on July 22, 2010, 03:14:34 PM
Do you have any links for the £10 SPDIF devices you mentioned before?


Google is your friend... ;-)

http://astore.amazon.co.uk/Best.Buy.Cheap.Discount.Electronics.Store.Online.For.Sale.Uk-21/detail/B002DW91F8
Title: Re: support for usb soundcards
Post by: rperre on July 22, 2010, 04:31:56 PM
Totallymaxed is it possible to provide us with the make and models of the USB cards you all have used.

And to anybody that uses USB audio devices, please post it here.

I'm having a hard time getting one that works with squeezeslave, although it might be a bug in pulseaudio and/or squeezeslave at the moment.

I will make a wiki page with USB cards table for future reference.

Richard
Title: Re: support for usb soundcards
Post by: totallymaxed on July 22, 2010, 05:16:11 PM
Quote from: rperre on July 22, 2010, 04:31:56 PM
Totallymaxed is it possible to provide us with the make and models of the USB cards you all have used.

And to anybody that uses USB audio devices, please post it here.

I'm having a hard time getting one that works with squeezeslave, although it might be a bug in pulseaudio and/or squeezeslave at the moment.

I will make a wiki page with USB cards table for future reference.

Richard

We purchase much of our components OEM so they will not be available from other suppliers - or not easily identifiable as such anyway. However we have tested pretty much all of the current Startech lineup and they all work for us. Now Startech OEM these to other companies (inluding us) so you will find here hardware sold under many different brands in addition to the Startech brand itself. See the Wiki page for a reference to a mid priced Startech unit.

I would suggest starting with Startech as if they do no work for you then its certainly not a problem with sound card.

All the best

Andrew
Title: Re: support for usb soundcards
Post by: aico on July 22, 2010, 07:29:03 PM
Hi,

I orderd this devices http://astore.amazon.co.uk/Best.Buy.Cheap.Discount.Electronics.Store.Online.For.Sale.Uk-21/detail/B002DW91F8.

If I get them I will tell you how they work....

Regards
Title: Re: support for usb soundcards
Post by: totallymaxed on July 22, 2010, 10:04:29 PM
Quote from: aico on July 22, 2010, 07:29:03 PM
Hi,

I orderd this devices http://astore.amazon.co.uk/Best.Buy.Cheap.Discount.Electronics.Store.Online.For.Sale.Uk-21/detail/B002DW91F8.

If I get them I will tell you how they work....

Regards

You'll have no problem with that Startech at all - it works fine. Looking forward to hearing how you get on with it.

All the best


Andrew
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 23, 2010, 02:18:29 AM
Quote from: totallymaxed on July 22, 2010, 03:28:23 PM
Quote from: chrisbirkinshaw on July 22, 2010, 03:14:34 PM
Do you have any links for the £10 SPDIF devices you mentioned before?


Google is your friend... ;-)

http://astore.amazon.co.uk/Best.Buy.Cheap.Discount.Electronics.Store.Online.For.Sale.Uk-21/detail/B002DW91F8

Doesn't seem to say anything about SPDIF. It's also not mentioned on the Startech page for that device.

Chris
Title: Re: support for usb soundcards
Post by: totallymaxed on July 23, 2010, 11:35:17 AM
Quote from: chrisbirkinshaw on July 23, 2010, 02:18:29 AM
Quote from: totallymaxed on July 22, 2010, 03:28:23 PM
Quote from: chrisbirkinshaw on July 22, 2010, 03:14:34 PM
Do you have any links for the £10 SPDIF devices you mentioned before?


Google is your friend... ;-)

http://astore.amazon.co.uk/Best.Buy.Cheap.Discount.Electronics.Store.Online.For.Sale.Uk-21/detail/B002DW91F8

Doesn't seem to say anything about SPDIF. It's also not mentioned on the Startech page for that device.

Chris

Yes...pasted the wrong one into that reply :-)

This is one we have tested successfully with spdif; http://www.startech.com/item/ICUSBAUDIO7D-USB-7-Channel-Audio-Adapter-with-SPDIF.aspx (http://www.startech.com/item/ICUSBAUDIO7D-USB-7-Channel-Audio-Adapter-with-SPDIF.aspx)

More expensive though.

Andrew
Title: Re: support for usb soundcards
Post by: aico on July 23, 2010, 12:30:14 PM
Hi,

I got the USB device and lsusb shows this:
Bus 005 Device 003: ID 054c:01b4 Sony Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

squeezeslave -L shows this:
Output devices:
  1: (ALSA) Ensoniq AudioPCI: ES1371 DAC1 (hw:0,1) (11/46)
  4: (ALSA) asym_analog (42/46)
  5: (ALSA) dmix (42/42)
* 6: (ALSA) default (42/46)

It seems that there ist no driver for the usb-device loaded.

any ideas?

Regards
Title: Re: support for usb soundcards
Post by: rperre on July 23, 2010, 04:05:55 PM
what version of squeezeslave are you using?

squeezeslave -V (or v) will tell you

If you have anything prior to 155 it did not show the usb device for me either, after compiling the new one it did show.
ralphy who is handling squeezeslave is up to 173 now and the latest addition he has added is the ability to set latency from command line with -y.

totallymaxed, do you all use the latest version or an older version with 0710? also do you all alsa or oss?

I have that exact same USB audio card from startech, just rebranded, i have to look at it again when i'm back home.

My list with Cmedia USB device is:

(http://www.geardiary.com/wp-content/photos/GearDiary_USB_Audio_Controller_1.jpg)

lsusb:

Bus 003 Device 002: ID 0c76:160b JMTek, LLC.

squeezeslave -L

  0: SB Live! Value [CT4832]: ADC Capture/Standard PCM Playback (hw:0,0)
  2: SB Live! Value [CT4832]: Multichannel Capture/PT Playback (hw:0,2)
  3: SB Live! Value [CT4832]: Multichannel Playback (hw:0,3)
  4: USB Audio Device: USB Audio (hw:1,0)
  5: front
  6: rear
  7: center_lfe
  8: surround40
  9: surround41
10: surround50
11: surround51
12: iec958
13: spdif
14: spdif_playback
15: asym_spdif
17: asym_analog
18: dmix
*19: default


so you can see even this very cheap simple usb audio card is showing up as 4.

Richard
Title: Re: support for usb soundcards
Post by: aico on July 23, 2010, 04:47:41 PM
Hi,

I got this device:
USB Sound Adapter 7.1 - DeLock -Virtual 7.1 Sound - Xear 3D Sound

(http://ecx.images-amazon.com/images/I/21B0EtdfqoL._SL500_AA300_.jpg)

but with LinuxmCE 810 it not being detected... ???
Title: Re: support for usb soundcards
Post by: aico on July 23, 2010, 05:23:06 PM
Hi,

counld it be a problem when I already use a pci Soundcard?
02:09.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)

The USB Soundcard would be the second Soundcard to do things like this:
http://forum.linuxmce.org/index.php?topic=10445.0

I don't hope so..

Regards
Title: Re: support for usb soundcards
Post by: rperre on July 24, 2010, 01:54:42 AM
your pci should not be a problem, indeed the usb should show up as the 2nd card.

what does aplay -L tell you?

and again what version of squeezeslave are you using?

Richard
Title: Re: support for usb soundcards
Post by: aico on July 24, 2010, 08:43:57 AM
Hi,

squeezeslave -V tells me

squeezeslave 0.9-173
compile flags: linux portaudio:1526 debug signals interactive daemon
Copyright 2004-2007 Richard Titmuss, 2008-2010 Duane Paddock.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


aplay -L tells me

default:CARD=AudioPCI
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Default Audio Device
front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers
rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)


Regards
Title: Re: support for usb soundcards
Post by: rperre on July 24, 2010, 06:38:36 PM
Your USB audio card is not recognized by the system, so squeezeslave will not see it either.

my aplay -L

dcerouter_1011439:/home/rperre# aplay -L
front:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Live,DEV=0
    SB Live! Value [CT4832], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Live,DEV=0
    SB Live! Value [CT4832], Multichannel Capture/PT Playback
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    Front speakers
surround40:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
    USB Audio Device, USB Audio
    IEC958 (S/PDIF) Digital Audio Output


You can see that my USB Audio Device is showing in aplay and i also have a pci card in my core. Not sure why yours doesn't because it shows in lsusb. you have to look in dmesg or something to make sure the drivers get loaded.

You do have the latest version of squeezeslave, so that should not be the problem.

Richard
Title: Re: support for usb soundcards
Post by: aico on July 25, 2010, 05:18:27 PM
Hi,

I have seen that the USB audio card is not recognized by the system. But why is the card not recognized? Today I did a apt-get upgrade. A lot of packages where upgraded but the USB audio card is still not recognized...

Regards
Title: Re: support for usb soundcards
Post by: rperre on July 26, 2010, 04:48:07 AM
I came home today and i actually have the exact same sound card as you posted above. it get's detected in my system.

Can you see in dmesg if your driver is loaded?

sound plays through this usb adapter without problem, just can't get squeezeslave to behave with it.

Richard
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 26, 2010, 04:24:28 PM
I got a cheapo SPDIF card but ran into this issue:

http://forum.linuxmce.org/index.php?topic=10428.0

Sadly no help on the web at the moment...
Title: Re: support for usb soundcards
Post by: aico on July 26, 2010, 09:04:28 PM
Hi,

dmesg | grep snd_usb tells me:

[   15.692977] snd_usb_lib: disagrees about version of symbol snd_rawmidi_receive
[   15.692984] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[   15.693319] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_empty
[   15.693324] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[   15.693475] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit
[   15.693480] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[   15.693640] snd_usb_lib: disagrees about version of symbol snd_ctl_add
[   15.693644] snd_usb_lib: Unknown symbol snd_ctl_add
[   15.693952] snd_usb_lib: disagrees about version of symbol snd_ctl_new1
[   15.693956] snd_usb_lib: Unknown symbol snd_ctl_new1
[   15.694308] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_ack
[   15.694313] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[   15.694883] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_peek
[   15.694888] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[   15.695073] snd_usb_lib: disagrees about version of symbol snd_ctl_notify
[   15.695077] snd_usb_lib: Unknown symbol snd_ctl_notify
[   15.695502] snd_usb_lib: disagrees about version of symbol snd_rawmidi_new
[   15.695507] snd_usb_lib: Unknown symbol snd_rawmidi_new
[   15.695663] snd_usb_lib: disagrees about version of symbol snd_rawmidi_set_ops
[   15.695667] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[   15.781482] snd_usb_audio: Unknown symbol snd_usbmidi_create
[   15.782240] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect


Regards
Johannes
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 27, 2010, 01:07:33 PM
Yeah same issue
Title: Re: support for usb soundcards
Post by: bongowongo on July 27, 2010, 01:46:10 PM
Quote from: aico on July 26, 2010, 09:04:28 PM
Hi,

dmesg | grep snd_usb tells me:

[   15.692977] snd_usb_lib: disagrees about version of symbol snd_rawmidi_receive
[   15.692984] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[   15.693319] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_empty
[   15.693324] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[   15.693475] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit
[   15.693480] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[   15.693640] snd_usb_lib: disagrees about version of symbol snd_ctl_add
[   15.693644] snd_usb_lib: Unknown symbol snd_ctl_add
[   15.693952] snd_usb_lib: disagrees about version of symbol snd_ctl_new1
[   15.693956] snd_usb_lib: Unknown symbol snd_ctl_new1
[   15.694308] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_ack
[   15.694313] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[   15.694883] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_peek
[   15.694888] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[   15.695073] snd_usb_lib: disagrees about version of symbol snd_ctl_notify
[   15.695077] snd_usb_lib: Unknown symbol snd_ctl_notify
[   15.695502] snd_usb_lib: disagrees about version of symbol snd_rawmidi_new
[   15.695507] snd_usb_lib: Unknown symbol snd_rawmidi_new
[   15.695663] snd_usb_lib: disagrees about version of symbol snd_rawmidi_set_ops
[   15.695667] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[   15.781482] snd_usb_audio: Unknown symbol snd_usbmidi_create
[   15.782240] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect


Regards
Johannes

I had also version symbol argument in dmesg, I reverted to an earlier version of ALSA
using the following command, see if it is ok in dmesg

apt-get remove alsa-modules-`uname -r`
and
reboot

Title: Re: support for usb soundcards
Post by: aico on July 27, 2010, 06:31:26 PM
Hi,

I did what bongowongo said. Now aplay -L tells me:

front:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    Front speakers
surround40:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=default,DEV=0
    C-Media USB Audio Device   , USB Audio
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    Front speakers
rear:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC1
    Rear speakers
surround40:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    4.0 Surround output to Front and Rear speakers
iec958:CARD=AudioPCI,DEV=0
    Ensoniq AudioPCI, ES1371 DAC2/ADC
    IEC958 (S/PDIF) Digital Audio Output


So it looks better.

Thanks
Title: Re: support for usb soundcards
Post by: rperre on July 28, 2010, 02:02:24 AM
Bongowonge what version of alsa are you running now?

Richard
Title: Re: support for usb soundcards
Post by: bongowongo on July 28, 2010, 07:06:37 AM
1.0.17
I have made a ticket with a possible solution, just some information I found on the net.
It has something to do that on specific kernels you need to compile with different flags enabled to prevent this from happening
Title: Re: support for usb soundcards
Post by: rperre on July 29, 2010, 05:03:10 PM
ah thank you, because i do like to retain my hdmi sound, which i thought didn't work correct on 1.0.17 if my memory serves me well.

Richard
Title: Re: support for usb soundcards
Post by: chrisbirkinshaw on July 29, 2010, 08:41:27 PM
Problem with removing alsa-modules-`uname -r` is that this then means there is no support for my main soundcard! (hda nvidia)
Title: Re: support for usb soundcards
Post by: aico on July 29, 2010, 08:45:39 PM
Hi,

you are right - I have the same problem...

Regards
Johannes
Title: Re: support for usb soundcards
Post by: aico on September 12, 2010, 09:34:23 PM
Hi,

I did a fresh LinuxMCE install - before I executed the LinuxMCE installation script - I had 3 soundcards - 2 CMedia USB an 1 PCI - so it should be - then I started the LinuxMCE installation script an i only hab one soundcard - the PCI. The USB soundcards are not shown any more.

Regards

Johannes
Title: Re: support for usb soundcards
Post by: b4rney on February 15, 2011, 01:36:47 PM
Similar issues using c-media usb device. Shows in lsusb but not aplay -l or squeezeslave -L.

I have now bought 2 different products, both of which work OTB on my ubuntu 10.04 laptop by launching snd-usb-audio module but FAIL in lmce.

Can anyone shed light on this?
Cheers
Barney

Here is my dmesg on lmce after the device was attached:
[  397.308079] usb 1-3: new full speed USB device using ohci_hcd and address 4
[  397.526703] usb 1-3: configuration #1 chosen from 1 choice
[  397.549472] input: C-Media USB Headphone Set   as /devices/pci0000:00/0000:00:02.0/usb1/1-3/1-3:1.3/input/input7
[  397.581839] input,hidraw2: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-0000:00:02.0-3
[  398.123250] snd_usb_lib: disagrees about version of symbol snd_rawmidi_receive
[  398.123261] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[  398.123398] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_empty
[  398.123401] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[  398.123455] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit
[  398.123457] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[  398.123533] snd_usb_lib: disagrees about version of symbol snd_ctl_add
[  398.123535] snd_usb_lib: Unknown symbol snd_ctl_add
[  398.123660] snd_usb_lib: disagrees about version of symbol snd_ctl_new1
[  398.123662] snd_usb_lib: Unknown symbol snd_ctl_new1
[  398.123810] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_ack
[  398.123812] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[  398.129158] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_peek
[  398.129166] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[  398.129274] snd_usb_lib: disagrees about version of symbol snd_ctl_notify
[  398.129276] snd_usb_lib: Unknown symbol snd_ctl_notify
[  398.129457] snd_usb_lib: disagrees about version of symbol snd_rawmidi_new
[  398.129461] snd_usb_lib: Unknown symbol snd_rawmidi_new
[  398.129517] snd_usb_lib: disagrees about version of symbol snd_rawmidi_set_ops
[  398.129521] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[  398.152897] snd_usb_audio: Unknown symbol snd_usbmidi_create
[  398.153251] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
root@dcerouter:~#


The same device on ubuntu 10.04
dmesg
[13067.040136] usb 7-1: USB disconnect, address 2
[13088.828113] usb 7-1: new full speed USB device using uhci_hcd and address 3
[13088.986312] usb 7-1: configuration #1 chosen from 1 choice
[13089.076351] input: C-Media USB Headphone Set   as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.3/input/input15
[13089.076536] generic-usb 0003:0D8C:000C.0002: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-0000:00:1d.1-1/input3
barney@barney-laptop:~$

Title: Re: support for usb soundcards
Post by: totallymaxed on February 15, 2011, 02:51:52 PM
Quote from: b4rney on February 15, 2011, 01:36:47 PM
Similar issues using c-media usb device. Shows in lsusb but not aplay -l or squeezeslave -L.

I have now bought 2 different products, both of which work OTB on my ubuntu 10.04 laptop by launching snd-usb-audio module but FAIL in lmce.

Can anyone shed light on this?
Cheers
Barney

Here is my dmesg on lmce after the device was attached:
[  397.308079] usb 1-3: new full speed USB device using ohci_hcd and address 4
[  397.526703] usb 1-3: configuration #1 chosen from 1 choice
[  397.549472] input: C-Media USB Headphone Set   as /devices/pci0000:00/0000:00:02.0/usb1/1-3/1-3:1.3/input/input7
[  397.581839] input,hidraw2: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-0000:00:02.0-3
[  398.123250] snd_usb_lib: disagrees about version of symbol snd_rawmidi_receive
[  398.123261] snd_usb_lib: Unknown symbol snd_rawmidi_receive
[  398.123398] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_empty
[  398.123401] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_empty
[  398.123455] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit
[  398.123457] snd_usb_lib: Unknown symbol snd_rawmidi_transmit
[  398.123533] snd_usb_lib: disagrees about version of symbol snd_ctl_add
[  398.123535] snd_usb_lib: Unknown symbol snd_ctl_add
[  398.123660] snd_usb_lib: disagrees about version of symbol snd_ctl_new1
[  398.123662] snd_usb_lib: Unknown symbol snd_ctl_new1
[  398.123810] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_ack
[  398.123812] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_ack
[  398.129158] snd_usb_lib: disagrees about version of symbol snd_rawmidi_transmit_peek
[  398.129166] snd_usb_lib: Unknown symbol snd_rawmidi_transmit_peek
[  398.129274] snd_usb_lib: disagrees about version of symbol snd_ctl_notify
[  398.129276] snd_usb_lib: Unknown symbol snd_ctl_notify
[  398.129457] snd_usb_lib: disagrees about version of symbol snd_rawmidi_new
[  398.129461] snd_usb_lib: Unknown symbol snd_rawmidi_new
[  398.129517] snd_usb_lib: disagrees about version of symbol snd_rawmidi_set_ops
[  398.129521] snd_usb_lib: Unknown symbol snd_rawmidi_set_ops
[  398.152897] snd_usb_audio: Unknown symbol snd_usbmidi_create
[  398.153251] snd_usb_audio: Unknown symbol snd_usbmidi_disconnect
root@dcerouter:~#


The same device on ubuntu 10.04
dmesg
[13067.040136] usb 7-1: USB disconnect, address 2
[13088.828113] usb 7-1: new full speed USB device using uhci_hcd and address 3
[13088.986312] usb 7-1: configuration #1 chosen from 1 choice
[13089.076351] input: C-Media USB Headphone Set   as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.3/input/input15
[13089.076536] generic-usb 0003:0D8C:000C.0002: input,hidraw0: USB HID v1.00 Device [C-Media USB Headphone Set  ] on usb-0000:00:1d.1-1/input3
barney@barney-laptop:~$



Hi Barney,

Here is the output from one of our Dianemo 7.10 systems with a C-Media sound card installed and working under alsa 1.0.22. Something else must be misconfigured on your system;

root@moon70:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.22.1.25.g2e20e.198.gad298.
Compiled on Feb 19 2010 for kernel 2.6.22-14-generic (SMP).
root@moon70:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: D1 [Xonar D1], device 0: Multichannel [Multichannel]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: D1 [Xonar D1], device 1: Digital [Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: default [C-Media USB Headphone Set  ], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
root@moon70:~#
Title: Re: support for usb soundcards
Post by: b4rney on February 15, 2011, 04:47:39 PM
Hi Andrew,

I agree. I'm out of ideas. Going to try full reinstall with a recent snapshot.

Thanks for your help.
Barney
Title: Re: support for usb soundcards
Post by: b4rney on February 15, 2011, 09:30:47 PM
For what it's worth ..... just did a full clean install from recent snapshot 23736 and I am seeing the exact same dmesg errors when plugging in either of my two usb soundcards and no device added to alsa.

Barney
Title: Re: support for usb soundcards
Post by: totallymaxed on February 15, 2011, 09:35:37 PM
Quote from: b4rney on February 15, 2011, 09:30:47 PM
For what it's worth ..... just did a full clean install from recent snapshot 23736 and I am seeing the exact same dmesg errors when plugging in either of my two usb soundcards and no device added to alsa.

Barney

Hi Barney

Post your dmesg output here please.

All the best


Andrew
Title: Re: support for usb soundcards
Post by: b4rney on February 15, 2011, 10:24:11 PM
Hi Andrew,

See my post above, the messages are identical on my old and new build:
http://forum.linuxmce.org/index.php?topic=10268.msg79043#msg79043

I also found this similar sounding (alsa/v4l/dmesg/disagrees about version of symbol) ticket raised by bongowongo. Not 100% that they are related though:
http://svn.linuxmce.org/trac.cgi/ticket/756

Thanks for looking at this.
Barney
Title: Re: support for usb soundcards
Post by: b4rney on February 18, 2011, 01:30:26 AM
Quote from: bongowongo on July 27, 2010, 01:46:10 PM
I had also version symbol argument in dmesg, I reverted to an earlier version of ALSA
using the following command, see if it is ok in dmesg

apt-get remove alsa-modules-`uname -r`
and
reboot



This fixed the usb card for me too! Thanks!
Just need to get squeezeslave to play nice.
Barney