LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-02-2006, 03:05 AM   #1
aihaike
Member
 
Registered: Feb 2006
Location: Shanghai, China
Distribution: Slackware
Posts: 199

Rep: Reputation: 15
Unhappy usb headset configuration; skype


Hi everyone,

I'm using a Slackware 10.2 with a 2.4.31 kernel (I've tried to compile a 2,6 one but without success in booting) and I wish to use my usb headset with skype. It seems that my alsa configuration it correct since I'm able to switch on/off the mic. I can actually the usb soundcard as well. But I can't record myself and even more I can't hear anything. Sound always goes to the speakers.
Does someone has already configure this device successfully?
Regards,

Haike.
 
Old 03-02-2006, 05:21 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
It would work if it was plugged into the headphone jack. The problem is that it's usb. It might just be permissions. Firstly you can run dmesg in a console and see if it shows up at the end. If it does, then take it from there.
 
Old 03-02-2006, 06:40 AM   #3
aihaike
Member
 
Registered: Feb 2006
Location: Shanghai, China
Distribution: Slackware
Posts: 199

Original Poster
Rep: Reputation: 15
Post

thanks,

after plugged the usb headset dmesg output this:

audio.c: v1.0.0:USB Audio Class driverusb.c: registered new driver snd-usb-audio
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver

Well, I forgot to say that I've a dell inspiron 5100.
Perhaps, the problem comes from configurations files like .asoundrc?

pcm.intel8x0 {
type hw
card 0
}

ctl.intel8x0 {
type hw
card 0
}



pcm.headset {
type asym
playback {
pcm {
type dmix
ipc_key 12345
slave {
pcm {
type hw # Kernel PCM
card 1 # Card name (string) or number (integer)
device 0 # Device number (default 0)
subdevice -1 # Subdevice number (default -1: first available)
mmap_emulation 0 # Enable mmap emulation for ro/wo devices
sync_ptr_ioctl 0 # Use SYNC_PTR ioctl rather than the direct mmap access for control structures
}
period_time 0
period_size 1024
buffer_size 8192
}
bindings {
0 0
1 1
}
}
}

capture {
pcm {
type dsnoop # Direct snoop
ipc_key 12347 # unique IPC key
ipc_key_add_uid false # add current uid to unique IPC key
slave {
pcm {
type hw # Kernel PCM
card 1 # Card name (string) or number (integer)
device 0 # Device number (default 0)
subdevice -1 # Subdevice number (default -1: first available)
mmap_emulation 0 # Enable mmap emulation for ro/wo devices
sync_ptr_ioctl 0 # Use SYNC_PTR ioctl rather than the direct mmap access for control structures
}
}
bindings { # note: this is client independent!!!
0 0
1 1
}
}
}
}

ctl.headset {
type hw
card 1
}

I think all needed modules are loaded:
lsmod
Module Size Used by Tainted: P
audio 41784 0 (unused)
snd-usb-audio 46112 0 (unused)
snd-usb-lib 9248 0 [snd-usb-audio]
snd-rawmidi 12480 0 [snd-usb-lib]
snd-seq-device 3812 0 [snd-rawmidi]
snd-hwdep 4352 0 [snd-usb-audio]
radeon 104576 1
usbkbd 2936 0 (unused)
keybdev 1892 0 (unused)
mousedev 4020 1
hid 20868 0 (unused)
usbmouse 1880 0 (unused)
input 3200 0 [usbkbd keybdev mousedev hid usbmouse]
cisco_ipsec 512160 0
snd-pcm-oss 36736 0
snd-mixer-oss 12376 0 [snd-pcm-oss]
uhci 24284 0 (unused)
ehci-hcd 17516 0 (unused)
usbcore 59148 1 [audio snd-usb-audio snd-usb-lib usbkbd hid usbmouse uhci ehci-hcd]
snd-intel8x0 18304 0
snd-ac97-codec 58556 0 [snd-intel8x0]
snd-pcm 54344 0 [snd-usb-audio snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer 13764 0 [snd-pcm]
snd 32772 0 [snd-usb-audio snd-usb-lib snd-rawmidi snd-seq-device snd-hwdep snd-pcm-oss snd-mixer-os
s snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore 3396 7 [audio snd]
snd-page-alloc 4712 0 [snd-usb-audio snd-rawmidi snd-seq-device snd-hwdep snd-mixer-oss snd-intel8x0 snd-pcm s
nd-timer snd]
b44 13644 1
ohci1394 23888 0 (unused)
ieee1394 41636 0 [ohci1394]
ds 6548 1
yenta_socket 10436 1
pcmcia_core 39172 0 [ds yenta_socket]
ide-scsi 9392 0
agpgart 45508 3

More over arecord -l command gives:
**** List of CAPTURE Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 1: Intel ICH - MIC ADC [Intel 82801DB-ICH4 - MIC ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 2: Intel ICH - MIC2 ADC [Intel 82801DB-ICH4 - MIC2 ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 3: Intel ICH - ADC2 [Intel 82801DB-ICH4 - ADC2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: default [C-Media USB Headphone Set ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

I think I did not make the usb device "pointed on" /dev/dsp1, or something like this ....
What's your opening?

Eric.
 
Old 03-02-2006, 07:01 AM   #4
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
It looks like it's there. Sound devices sometimes don't work if you've got another device using sound. It needs exclusive use. So that might be it. You say the mic is working. And your speakers. You could try looking at alsamixer to check the settings.
 
Old 03-02-2006, 07:25 AM   #5
aihaike
Member
 
Registered: Feb 2006
Location: Shanghai, China
Distribution: Slackware
Posts: 199

Original Poster
Rep: Reputation: 15
Well I've just seen that I cn't use arecord ...
It shows:
arecord -D hw:1,0 test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: set_params:882: Sample format non available

Do you know what does it mean?
With xmms, I can play music to the usb headset and also set volume .....

Aihaike.
 
Old 03-02-2006, 08:59 AM   #6
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Try doing 'arecord test.wav' without the -D option. Then 'aplay test.wav'.
 
Old 03-03-2006, 04:33 AM   #7
aihaike
Member
 
Registered: Feb 2006
Location: Shanghai, China
Distribution: Slackware
Posts: 199

Original Poster
Rep: Reputation: 15
Talking

Houra!!!
It's working !!!
I've juste modifid the modprob.conf file according to something I've found on the web.
It looks like this
alias char-major-116* snd
alias snd-card-1 snd-usb-audio
options snd-usb-audio index=1

alias char-major-14* soundcore
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss

alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-card-0
options snd-via82xx index=0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


Thanks,
Cheers,

Eric.
 
Old 07-23-2006, 04:41 AM   #8
PuG_
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Hi, similar problem with my Speed Link Medusa 5.1 USB Headset - finding though I get sound the drivers seem to be getting confused with the headset speakers/mic and hand control devise.

For instance if I adjust the Speaker Volume control on the headset hand device it adjusts the Mic input, but the mic isn't working to begin with.

Im guessing this is simply down to driver problems, are their anyother drivers available that may work, or tutorials/information on how to write/adjust your own drivers conf file if its relatively easy to do?

Regards!

(Ubuntu 6.06 Dapper)

Last edited by PuG_; 07-23-2006 at 04:43 AM.
 
Old 09-15-2006, 04:03 PM   #9
oliverb
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
I have a slightly different problem with an A4 Tech IP-Talky keyboard phone. The audio part identifies as a C-Media USB Headset and appears as a sound device, but it won't produce or record sound.

I've read two other accounts of config tweaks to make this device work but I don't understand Linux enough to follow them.
 
Old 05-26-2007, 05:54 AM   #10
munichtexan
Member
 
Registered: Oct 2005
Posts: 74

Rep: Reputation: 15
Hello Eric
I am running Suse 10.2 x86_64 operating system on an Athlon 64 bit processor 4500+. I have sound on my laptop speaker (HP Pavilion zv600) but can not get the device to recognize my usb headset. The same usb port will recognize a usb memory stick.


I attempted to try your suggestion by placing the change in /etc/modprobe.conf.local but it does not correct my problem.

If I run dmesg I obtain the following:

input: USB HID v1.00 Device [C-Media USB Headphone Set ] on usb-0000:00:13.0-2

and in the /etc/modprobe.conf file I find the following under usb

########################################################################
# USB
########################################################################

install char-major-166 /bin/true

No alias or other information.
Any suggestions?

Best regards,
Munichtexan
 
  


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
bluetooth headset and Skype powadha Linux - Software 15 07-02-2006 12:46 PM
Skype headset configuration issues Crushing Belial Debian 5 01-13-2006 09:08 PM
How to use Plantronics headset with Skype on Mepis sleddog71 Linux - Hardware 0 12-03-2005 08:53 PM
USB Headset Sound owdeuk Linux - Hardware 0 04-20-2005 05:24 PM
Logitech USB Headset 30 (or another USB headset) dezza Linux - Hardware 0 11-29-2004 12:21 PM


All times are GMT -5. The time now is 04:34 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