LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2007, 06:16 AM   #1
dad
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Ubuntu
Posts: 139

Rep: Reputation: 16
Need sound on USB not speaker


I have been trying to figure this out for a long time and have posted it a couple times. I have re-installed and something has changed so I will try again.
I have an Everex nc 1502 laptop with Debian Etch installed. I have install alsa drivers and they seem to work. I want to use my USB headphones because I live in a tent. Now Mplayer and Amarok will play through the headphones just fine.
However I can not get Totem or Flash9 to play through the headphones. They play through the speaker which I have to put my ear on the speaker to hear it.
I also had to add "esd" to startup at boot to get the USB sound to work, if that matters. Another note don't know if it means anything, but to get the headphones to be recognized by the system I had to configure Ekiga Softphone.



lspci -v shows.............

04:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
Subsystem: Unknown device 1e40:1509
Flags: bus master, fast devsel, latency 0, IRQ 58
Memory at c9100000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0


cat /proc/asound/cards shows............

0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
HDA VIA VT82xx at 0xc9100000 irq 58
1 [Headset ]: USB-Audio - Logitech USB Headset
Logitech Logitech USB Headset at usb-0000:00:10.0-2, full speed

Also lsmod | grep snd..........

snd_usb_audio 69024 0
snd_usb_lib 14976 1 snd_usb_audio
snd_hda_intel 17332 3
snd_hda_codec 137856 1 snd_hda_intel
snd_pcm_oss 38368 0
snd_mixer_oss 15200 1 snd_pcm_oss
snd_pcm 68676 5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_page_alloc 9640 2 snd_hda_intel,snd_pcm
snd_seq_dummy 3844 0
snd_seq_oss 28768 0
snd_seq_midi 8192 0
snd_seq_midi_event 7008 2 snd_seq_oss,snd_seq_midi
snd_seq 45680 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 20996 3 snd_pcm,snd_seq
snd_rawmidi 22560 2 snd_usb_lib,snd_seq_midi
snd_seq_device 7820 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_hwdep 8836 1 snd_usb_audio
snd 47012 16 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_ timer,snd_rawmidi,snd_seq_device,snd_hwdep
soundcore 9248 1 snd
usbcore 112644 6 snd_usb_audio,snd_usb_lib,usbhid,ehci_hcd,uhci_hcd



Hope this helps.....thanks

Last edited by dad; 10-13-2007 at 11:47 AM. Reason: more stuff to add
 
Old 10-13-2007, 12:52 PM   #2
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I have a notebook with a broken-down sound plug, therefore I use a USB-sound-device. It is loaded with the kernel module "snd-usb-audio".

To make it the default sound device I created a configuration file ".asoundrc" in my $HOME:

Code:
# <card #> is the wished default sound device

pcm.!default {
   type hw
   card 1
}

ctl.!default {
   type hw
   card 1
}

# <usb-sound> is my USB-sound-device 
pcm.usb-sound {
  type hw
  card 1
}

ctl.usb-sound {
        type hw
        card 1
}

# <intern> is my broken internal sound chip
pcm.intern {
        type hw
        card 0
}

ctl.intern {
        type hw
        card 0
}
I think this could work in your case too ...

Fluxx.
 
Old 10-13-2007, 02:09 PM   #3
dad
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Ubuntu
Posts: 139

Original Poster
Rep: Reputation: 16
Thanks Fluxx,

I don't know what I'm suppose to use. I don't know whats working and whats not. My Mplayer and Amarok work fine its just Totem and flash9.0 that use the speaker. Its like Totem and Flash decided to do something stupid and neither one is configurable.

Alan
 
Old 10-13-2007, 02:15 PM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
You might try this solution too ...

http://www.linuxquestions.org/questi...peaker-581463/

Fluxx.

Last edited by Fluxx; 10-13-2007 at 02:18 PM.
 
Old 10-13-2007, 11:53 PM   #5
dad
Member
 
Registered: Sep 2003
Location: Florida
Distribution: Ubuntu
Posts: 139

Original Poster
Rep: Reputation: 16
I don't have either one of those files or folders under /etc. Maybe its named something else?
The idea makes sence though. I'll have too dig around. thanx

Ok I think I found it under /etc/modprobe.d/sound. I added a line options snd-usb-audio=0 rebooted and had all sound to speaker. So I thought great I'll swap them around and rebooted. It went back to the way it was, half speaker half usb. So close!

Last edited by dad; 10-14-2007 at 12:31 AM. Reason: more info
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How could I make USB speaker as default/master speaker ? czy11421 Linux - Hardware 1 09-02-2007 10:59 AM
Ubuntu - Sound from only one speaker tauhshi Linux - Hardware 1 04-30-2007 01:40 PM
No sound from Left speaker tauhshi Linux - Hardware 1 12-12-2006 08:39 PM
CD PLAYER SOUND CARD LINE-IN, then output sound to speaker out of compuer scrollups Linux - Hardware 2 06-07-2006 10:29 PM
how can I remove the pc speaker sound ? Menestrel Slackware 4 07-19-2004 04:28 PM


All times are GMT -5. The time now is 06:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration