Topic: [solved - but no plug'n'play] how to get sound with usb speakers statl

Hi guys

In 9.04 I had some problems getting my usb speakers to work, until somebody showed me an easy way to change the default soundcard form the terminal (something like "asoundconf set-usb" - can't remember),

But in statler there is no asoundconf option (nothing i could find in the defualt repos either) - and besides - I'd like a more "plug'n'play" solution.

The card is picked up fine:
lsusb

Bus 002 Device 003: ID 046d:0a04 Logitech, Inc. V20 portable speakers (USB powered)

lsmod | grep snd

snd_usb_audio          50658  0 
snd_usb_lib            11156  1 snd_usb_audio
snd_hda_codec_realtek   163214  1 
snd_hda_intel          16703  1 
snd_hda_codec          46002  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4054  2 snd_usb_audio,snd_hda_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47214  4 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35463  2 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34363  14 snd_usb_audio,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               3450  1 snd
snd_page_alloc          5045  2 snd_hda_intel,snd_pcm
usbcore                98402  9 snd_usb_audio,snd_usb_lib,uvcvideo,hso,usblp,usbhid,uhci_hcd,ehci_hcd

lsmod | grep usb

snd_usb_audio          50658  0 
snd_usb_lib            11156  1 snd_usb_audio
snd_hwdep               4054  2 snd_usb_audio,snd_hda_codec
snd_pcm                47214  4 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_rawmidi            12505  2 snd_usb_lib,snd_seq_midi
snd                    34363  14 snd_usb_audio,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usblp                   7899  0 
usbhid                 27980  0 
hid                    50629  1 usbhid
usbcore                98402  9 snd_usb_audio,snd_usb_lib,uvcvideo,hso,usblp,usbhid,uhci_hcd,ehci_hcd
nls_base                4541  1 usbcore

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x56340000 irq 16
 1 [Speaker        ]: USB-Audio - Logitech USB Speaker
                      Logitech Logitech USB Speaker at usb-0000:00:1d.0-1, full speed

as per the debian wiki http://wiki.debian.org/ALSA i tried
sudo alsactl init

Unknown hardware: "HDA-Intel" "Realtek ALC272" "HDA:10ec0272,1025019c,00100001" "0x1025" "0x019c"
Hardware is initialized using a guess method

Which didn't work.

The wiki also mentions "hotplug" but that is apparently superseeded by udev.

Anyways -I'll kepp digging - but If you know how to help - please dont hold back :-)

p.s. (yes I am sure the speakers are not muted, the volume, master and PCM etc. is all up :-)

Last edited by achristoffersen (2010-07-30 11:57:04)

Re: [solved - but no plug'n'play] how to get sound with usb speakers statl

I am just gonna bump this - if any one has any clues ...

Re: [solved - but no plug'n'play] how to get sound with usb speakers statl

Okay - A temporary fix is to manually change lines 61-62 to

defaults.ctl.card 1
defaults.pcm.card 1

(default configuration has values of 0 instead of 1)

thanks to this: http://forum.eeeuser.com/viewtopic.php? … 61#p207561

The best solution it seems would be to write a udev rule - but I frankly feel thats a bit over my head. Lets see what happens :-)

Re: [solved - but no plug'n'play] how to get sound with usb speakers statl

thank you so much for this.