I started to use Gnome recently under my Debian Squeeze and I noticed that I have no sound in flash (youtube) as well as in vlc. Well, it seems like I need to configure my .asoundrc with the proper card id. Here is a nice command which allows you to enum your devices:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: default [Microsoft LifeChat LX-3000 ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
In my case I am going to use 3 as I am going to use Microsoft USB headphones to listen music. It might be different in your case. So, create file ~/.asoundrc with the following content:
pcm.!default {
type hw
card 3
}
ctl.!default {
type hw
card 3
}
Save the file and try to check if you have sound.
Update: If by some reason your card id gets changing after reboots, follow this article to fix the issue: http://www.shcherbyna.com/?p=2004
Thanks!! I had the same problem and this fixed it.
Great!
Works for my Logitech USB headset on eeePC Seashell (Intel amd64 compatible) on Debian Squeeze.
I mention your webpage at http://www.jchr.be/linux/multimedia.htm#usb (french page)
jchrbe
Salut jchrbe,
Nickel!
Thank You!
This was the key for me ‘create file ~/.asoundrc ”
On-board sound has two cards one for HDMI and one for Analog, card I wanted was card 1 but system defaulted to card 0.
This file sorted it out and made me a happy camper!
several sites that I visited had no clue!
System info:
Operating system Debian Linux 6.0
Kernel and CPU Linux 2.6.32-5-amd64 on x86_64
Processor information AMD A8-3850 APU with Radeon(tm) HD Graphics, 4 cores