Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound in Logitech USB-headset
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Tue Apr 17, 2007 7:51 pm    Post subject: No sound in Logitech USB-headset Reply with quote

Hi!

I need help with my Logitech USB-headset (the laptop sound works).

I first had snd-usb-audio loaded as a module.
I then restarted alsa (/etc/init.d/alsasound restart)

But I can't get the sound in the headset...

Some info you might need:
lspci | grep -i audio
Code:
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)


lsusb | grep -i logitech
Code:
Bus 002 Device 003: ID 046d:0a02 Logitech, Inc.



dmesg | grep -i usb
Code:
usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
input: Logitech Logitech USB Headset as /class/input/input9
input: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1d.0-1


dmesg | grep -i audio
Code:
usbcore: registered new interface driver snd-usb-audio


cat /usr/src/linux/.config
http://www.rejeep.se/config

Thanks!
_________________
Dig where you stand!
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Tue Apr 17, 2007 8:30 pm    Post subject: Reply with quote

Quote:
I first had snd-usb-audio loaded as a module.
I then restarted alsa (/etc/init.d/alsasound restart)


That's all? Post cat /proc/asound/cards, /etc/modules.d/alsa

But read and use configs below if you're not sure what you're doing

http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=USB&card=Generic&chip=Generic&module=usb-audio

http://www.gentoo.org/doc/en/alsa-guide.xml (use doc above instead of auto alsa config)
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Tue Apr 17, 2007 8:43 pm    Post subject: Reply with quote

Pseudonimo wrote:
That's all?

Well, yes! I have already read the doc you posted below but that just helped me with setting up the laptop sound.

Pseudonimo wrote:
Post cat /proc/asound/cards, /etc/modules.d/alsa

cat /proc/asound/cards
Code:
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb0000000 irq 21
 1 [Headset        ]: USB-Audio - Logitech USB Headset
                      Logitech Logitech USB Headset at usb-0000:00:1d.0-1, full speed


cat /etc/modules.d/alsa
Code:
# Alsa kernel modules' configuration file.

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `modules-update' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14rc1 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---

_________________
Dig where you stand!
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Tue Apr 17, 2007 8:57 pm    Post subject: Reply with quote

Since probably we both don't know how alsa thinks, it's best to put an entry for the headset in that file, like specified by them. Are you sure it's not muted? Try speaker-test on it and/or aplay (specify that device).
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Tue Apr 17, 2007 9:14 pm    Post subject: Reply with quote

Pseudonimo wrote:
Since probably we both don't know how alsa thinks, it's best to put an entry for the headset in that file, like specified by them.

I tried to put this in before: alias snd-card-1 snd-usb-audio
But it didn't help...

Pseudonimo wrote:
Are you sure it's not muted?

Yepp!

Pseudonimo wrote:
Try speaker-test on it and/or aplay (specify that device).

man speaker-test
Code:
-D | --device NAME
              PCM device name NAME

How can I find the PCM name?
_________________
Dig where you stand!
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Tue Apr 17, 2007 9:23 pm    Post subject: Reply with quote

Mine is something like hw:0,0, where first zero device, second subdevice (but i think usb devices only have one usb subdevice)

this varies from hw=0,0, hw0,0, do "aplay -l" ... google ;)

don't use .asoundrc/dmix at the same time
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Tue Apr 17, 2007 9:44 pm    Post subject: Reply with quote

I was now able to use alsamixer -c 1 and configure my Logitech device.

Speaker is on max. And if I turn the volume up on the Mic I can here it in the headset. But I still can't hear music from for example amarok!
_________________
Dig where you stand!
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Tue Apr 17, 2007 9:48 pm    Post subject: Reply with quote

:cough:
Pseudonimo wrote:
Are you sure it's not muted?


That just sounds like a configuration thing, like amarok is sending to your main card. You have to learn how to write asound files for that, I recommend reading the alsa wiki (not the gentoo one, the official alsa one).
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Tue Apr 17, 2007 10:02 pm    Post subject: Reply with quote

Pseudonimo wrote:
That just sounds like a configuration thing, like amarok is sending to your main card. You have to learn how to write asound files for that, I recommend reading the alsa wiki (not the gentoo one, the official alsa one).

Ok, I'll read about it and see if I can figure something out!

Thanks!
_________________
Dig where you stand!
Back to top
View user's profile Send private message
Pseudonimo
Guru
Guru


Joined: 10 Mar 2007
Posts: 393

PostPosted: Tue Apr 17, 2007 10:30 pm    Post subject: Reply with quote

Good luck, and please add [solved]. Cheers
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Wed Apr 18, 2007 10:14 am    Post subject: Reply with quote

Pseudonimo wrote:
Good luck

Thanks!

Pseudonimo wrote:
and please add [solved]

As soon as I have solved it I will present the solution and mark it solved... :D
_________________
Dig where you stand!
Back to top
View user's profile Send private message
vvi
n00b
n00b


Joined: 17 Nov 2007
Posts: 8

PostPosted: Sun Dec 09, 2007 9:51 pm    Post subject: Reply with quote

Re-JeeP, have you solved this problem? If yes, could you post the solution please, because it seems that I have the same problem. Thanks.
Back to top
View user's profile Send private message
Re-JeeP
Apprentice
Apprentice


Joined: 10 Oct 2006
Posts: 294
Location: Sweden

PostPosted: Sun Dec 16, 2007 8:21 pm    Post subject: Reply with quote

vvi wrote:
Re-JeeP, have you solved this problem? If yes, could you post the solution please, because it seems that I have the same problem. Thanks.

Nope! I haven't. I tried a little bit but didn't got it working. And then I found another pair of headphones (not usb) which worked so I never tried after that.

If you find an answer to it please post it here. My usb headset is a little bit more neat so I wouldn't mind to switch if there's not to much work! :)
_________________
Dig where you stand!
Back to top
View user's profile Send private message
Japes
n00b
n00b


Joined: 27 Jan 2008
Posts: 3

PostPosted: Thu Jan 22, 2009 9:51 am    Post subject: Reply with quote

I just came across the same problem with a Logitech Wireless headset...
It seems that your headset is working fine, but you're not using it as the default soundcard.
You can switch from your soundcard (card 0) to your headset (card 1) by creating ~/.asoundrc or /etc/asound.conf (for a system wide setting)
This example will use only the headset:

pcm.!default {
type hw;
card 1;
}

ctl.!default {
type hw;
card 1;
}


another solution would be to force the output for one application:
mplayer does that quite well; mplayer -ao alsa:device=hw=1.0 my_file.avi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum