SliTaz SliTaz Forum

You are not logged in.

#1 2011-07-19 01:43:42

Guest
Guest

Please help getting Sound to work (USB speakers)

Slitaz is awesome! no sound is not. i have USB speakers, and on ''soundconf'' my card is not detected.

i tried probing.. whatever that is. found nothing. i have tried going to alsamixer and maxing evrything, no go.

#2 2011-07-19 04:59:52

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Please help getting Sound to work (USB speakers)

Speakers with a USB connection and no headphone jack for input from another sound card have a soundcard builtin.

Install usbutils.tazpkg

Bootup slitaz with speakers USB plugged in to computer and speaker external power if required.

Udev should detect the soundchip and load the driver.

A common kernel module that loads is called snd_usb_audio

Commands for diagnostic output info:

cat /proc/asound/modules

cat /proc/asound/cards

lsusb=>broken on cooking, no usb.ids information is displayed

Use this instead: cat /proc/bus/usb/devices

See if soundchip in speakers is a listed audio device.

aplay -L

If you have another soundcard in the computer remove it or disable in bios if builtin.

Otherwise you have to make asoundrc file to direct sound to USB or start audio program designating output device.

My computer has on board yamaha soundchip.

This is the output when logitech USB headset is plugged in.

tux@slitaz:~$ aplay -L | grep -i default

default:CARD=YMF740

    Default Audio Device

default:CARD=Headset

    Default Audio Device

root@slitaz:~# aplay -l | grep -i card

card 0: YMF740 [Yamaha DS-1L (YMF740)], device 0: YMFPCI [YMFPCI]

card 0: YMF740 [Yamaha DS-1L (YMF740)], device 1: YMFPCI - IEC958 [YMFPCI - IEC958]

card 0: YMF740 [Yamaha DS-1L (YMF740)], device 2: YMFPCI - Rear [YMFPCI - Rear PCM]

card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]

alsaplayer outputs to default:CARD=YMF740 my pci builtin soundcard because it's card 0

Start alsaplayer to play out the headset:

alsaplayer -d default:CARD=Headset

or

alsaplayer -d hw:1,0

alsamixer: to adjust volume and mic I use F6 Select sound card menu and choose

1 Logitech USB Headset

Offline

#3 2011-07-19 16:53:48

Guest
Guest

Re: Please help getting Sound to work (USB speakers)

thank you for taking the time to type all that for me, i really appreciated it. however... its

gibberish to me.

''A common kernel module that loads is called snd_usb_audio''

in xterm typed  snd_usb_audio

nothing.

''lsusb=>broken on cooking, no usb.ids information is displayed

Use this instead: cat /proc/bus/usb/devices''

typed in ''cat /proc/bus/usb/devices''

a long list popped up.

i see in the list S:Product=USB Audio DAC (this is what i want!!)

any way to paste terminal codes from xterm onto here?

#4 2011-07-20 01:02:53

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Please help getting Sound to work (USB speakers)

Copy from xterm:

Highlight with mouse cursor in xterm what you want to copy while holding down left mouse button.

Paste to web browser:

Click mouse wheel button while holding down Shift key with cursor positioned in Post box on web browser where you want to paste.

Post the complete output from each of these commands:

aplay -L | grep -i default

aplay -l | grep -i card

lsmod | grep -i snd

cat /proc/bus/usb/devices

Post the entire section which included S:Product=USB Audio DAC

I need to see the rest of the information:

P:Vendor= ProdID=

S:Manufacturer=

Offline

#5 2011-11-11 04:14:12

bnorling72@yahoo.com
Member
Registered: 2011-06-06
Posts: 10

Re: Please help getting Sound to work (USB speakers)

Thanks Mojo,

  I see the device in the usb devices and lsusb even works, Aplay -L doesn't see the device however, it's from a company called C-Media.  I'm not surprised that it didn't work right out of the box and I'm not adverse to getting a different device that will work.  May I ask the model number of the device that you are using?

Offline

#6 2011-11-11 04:48:56

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Please help getting Sound to work (USB speakers)

My Logitech headset has a soundchip on the cord:

card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]

This is the kernel module that should load:

tux@slitaz:~$ modprobe -l | grep snd-usb-audio

/lib/modules/2.6.37-slitaz/kernel/sound/usb/snd-usb-audio.ko.gz

Run lsmod to see if it's loaded,if not modprobe snd-usb-audio as root.

Add to /etc/rcS.conf  LOAD_MODULES= snd-usb-audio

If you need more help:

cat /proc/bus/usb/devices

Post the entire section which included S:Product=USB Audio DAC

I need to see the rest of the information:

P:Vendor= ProdID=

S:Manufacturer=

Offline

#7 2011-11-11 05:04:48

bnorling72@yahoo.com
Member
Registered: 2011-06-06
Posts: 10

Re: Please help getting Sound to work (USB speakers)

That's got it working.  Thank you very much.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]