You are not logged in.
I have a laptop which has a blown sound card. Because of this I have some cheap $15 usb speakers that I've been using. Previously the laptop had windows xp and ran like a snail on valium. The speakers worked fine on XP.
I've gotten the system to use the speakers as default (I think) with a .asoundrc file in my ~/ dir.
pcm.!default {
type hw
card 2
device 0
}
ctl.!default {
type hw
card 2
device 0
}Card 2 device 0 is how VLC is able to play flv files through the USB speakers. For the life of me I cannot get any browser to play any video I find through the USB speakers. It simply goes into its own dedication to the silent film era.
Any help would be appreciated.
Last edited by KerrMD (2012-05-09 00:46:31)
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Possibly, turn off the default/blown soundcard in BIOS and then your system will only have one soundcard option to choose with usb setup.
If only I could. The BIOS on this machine is just too limited to allow such a thing. The machine itself is quite old.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Post output of
lsmod|grep sndLast edited by xaos52 (2012-05-05 13:05:52)
bootinfoscript - emacs primer - I ♥ #!
Offline
Post output of
lsmod|grep snd
snd_usb_audio 50634 0
snd_usb_lib 11156 1 snd_usb_audio
snd_intel8x0m 8100 0
snd_intel8x0 19595 0
snd_ac97_codec 79200 2 snd_intel8x0m,snd_intel8x0
snd_seq_midi 3576 0
snd_seq_midi_event 3684 1 snd_seq_midi
snd_rawmidi 12513 2 snd_usb_lib,snd_seq_midi
ac97_bus 710 1 snd_ac97_codec
snd_hwdep 4054 1 snd_usb_audio
snd_pcm 47226 4 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codec
snd_seq 35327 2 snd_seq_midi,snd_seq_midi_event
snd_timer 12270 2 snd_pcm,snd_seq
snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 34387 10 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_rawmidi,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 4977 3 snd_intel8x0m,snd_intel8x0,snd_pcm
soundcore 3450 1 snd
usbcore 99125 6 snd_usb_audio,snd_usb_lib,usbhid,ohci_hcd,ehci_hcdLaptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
snd_pcm 47226 4 snd_usb_audio,snd_intel8x0m,snd_intel8x0,snd_ac97_codecTry replacing
card 2by
card 0Then
sudo invoke-rc.d alsa-utils restartand let us know if sound is working.
Do post output of
cat /proc/asound/cardsModule snd_intel8x0m can be blacklisted, unless you use its modem functionality
bootinfoscript - emacs primer - I ♥ #!
Offline
2 [Speaker ]: USB-Audio - USB Speaker
USB Speaker at usb-0000:00:03.0-2, full speedI have noticed that upon sytem restart I need to reset the sound device settings inside VLC. The USB speakers seem to change device number. It would be nice if I could blacklist the existing card, although I am unsure as to what you mean when you say 'modem' in relation to the card. I'd like to not have to change those settings in VLC or any other program upon system boot. It is a laptop after all.
Thank you for all help thusfar.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
(1) edit file /etc/modprobe.d/alsa-base-blacklist.conf as root
Add the following two lines, if they are not already there:
blacklist snd-intel8x0
blacklist snd-intel8x0m(2) edit /etc/modprobe.d/alsa-base.conf
Add the following line
options snd-usb-audio index=0Then rebuild initramfs
sudo update-initramfs -u(3) change your ~/.asoundrc to
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}(5) restart alsa
sudo invoke-rc.d alsa-utils restartCheck cat /proc/asound/cards
that your usb device is now card 0
(6) use alsamixer to unmute eventual muted channels
(7) Your sound should now work
Last edited by xaos52 (2012-05-06 18:31:00)
bootinfoscript - emacs primer - I ♥ #!
Offline
curious - never saw the post of
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Speaker [USB Speaker], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Well, the usb now registers as card 0. Volumeicon shows in the taskbar now and unmuted there and in alsamixer. However, still no sound from vids from within browsers.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Try replacing card X with the card name from aplay -l, eg
pcm.!default {
type hw
card Speaker
}
ctl.!default {
type hw
card Speaker
}The card enumeration can change during startup so using the name is preferred.
Offline
Still no dice. It does not seem to be an enumeration issue either. Is there a way to tell iceweasel to use vlc straight up instead?
I tried a test site for HTML5 and got no sound there either.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
I guess your basic sound config is OK now.
The problem must be in iceweasel.
Please post output of
uname -a
apt-cache policy iceweasel Have you tried other browsers?
Last edited by xaos52 (2012-05-07 07:51:11)
bootinfoscript - emacs primer - I ♥ #!
Offline
uname -a
Linux SDF1 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 GNU/Linuxapt-cache policy iceweasel
iceweasel:
Installed: 11.0-1~bpo60+1
Candidate: 11.0-1~bpo60+1
Version table:
*** 11.0-1~bpo60+1 0
100 http://packages.crunchbang.org/statler-mozilla/ squeeze-backports/iceweasel-release i386 Packages
100 /var/lib/dpkg/status
3.5.16-14 0
500 http://security.debian.org/ squeeze/updates/main i386 Packages
3.5.16-11 0
500 http://ftp.debian.org/debian/ squeeze/main i386 PackagesLaptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Have a look at this page - especially plugins: http://support.mozilla.org/en-US/kb/Vid … not%20play
bootinfoscript - emacs primer - I ♥ #!
Offline
Have a look at this page - especially plugins: http://support.mozilla.org/en-US/kb/Vid … not%20play
You've lost me on that link. I have flash as well as vlc's plugin installed and up to date.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
Perhaps having both flash and the vlc plugin is the cause of your problems. Try disabling one of the two.
bootinfoscript - emacs primer - I ♥ #!
Offline
Perhaps having both flash and the vlc plugin is the cause of your problems. Try disabling one of the two.
Sadly, that does not appear to be the issue either.
Disabled flash and left vlc plugin running and get an error when I attempt to play a video. Using youtube as a test feed. "Your browser does not currently recognize any of video formats available. Click here to visit our frequently asked questions about HTML5."
When flash is left enabled and vlc is disabled I get no sound as usual.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
You do have sound playing a CD/DVD in vlc, dont you?
and when you run
speaker-test -c 2you should have some random noise from left/right speakers. Can you confirm?
Last edited by xaos52 (2012-05-08 08:25:21)
bootinfoscript - emacs primer - I ♥ #!
Offline
you should have some random noise from left/right speakers. Can you confirm?
I installed the test version of #! 11 and the sound works. Complete fresh install. 
Going to mark this [solved-ish]
Thank you for the patience and tons of help to all of you.
Laptop: Acer Aspire 5002WLMi - 1.6GHz Turion ML30 CPU, 100GB HDD, ~2GB Ram
Desktop: Dell - Core i7, 2.5TB, 8GB Ram
A+, MCP, Hubbell Wiring Premise
Offline
I've got the same issue recently. Here's the solution: https://wiki.archlinux.org/index.php/Ad … sound_card And no alsa restart needed 
Last edited by rgnr (2012-07-14 09:10:44)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.