News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

support for usb soundcards

Started by how, June 10, 2010, 10:16:52 PM

Previous topic - Next topic

rperre

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
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]

chrisbirkinshaw

Problem with removing alsa-modules-`uname -r` is that this then means there is no support for my main soundcard! (hda nvidia)

aico

Hi,

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

Regards
Johannes

aico

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

b4rney

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:~$


totallymaxed

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:~#
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

b4rney

Hi Andrew,

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

Thanks for your help.
Barney

b4rney

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

totallymaxed

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
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

b4rney

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

b4rney

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