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

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:



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

aico

Hi,

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



but with LinuxmCE 810 it not being detected... ???

aico

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

rperre

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

aico

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

rperre

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

aico

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

rperre

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

chrisbirkinshaw

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...

aico

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


bongowongo

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


aico

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

rperre

Bongowonge what version of alsa are you running now?

Richard
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]

bongowongo

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