Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-02-2006, 03:05 AM
|
#1
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Rep:
|
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.
|
|
|
|
03-02-2006, 05:21 AM
|
#2
|
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
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.
|
|
|
|
03-02-2006, 06:40 AM
|
#3
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
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.
|
|
|
|
03-02-2006, 07:01 AM
|
#4
|
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
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.
|
|
|
|
03-02-2006, 07:25 AM
|
#5
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
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.
|
|
|
|
03-02-2006, 08:59 AM
|
#6
|
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
Try doing 'arecord test.wav' without the -D option. Then 'aplay test.wav'.
|
|
|
|
03-03-2006, 04:33 AM
|
#7
|
|
Member
Registered: Feb 2006
Location: Beijing, China
Distribution: Slackware
Posts: 171
Original Poster
Rep:
|
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.
|
|
|
|
07-23-2006, 04:41 AM
|
#8
|
|
LQ Newbie
Registered: Jul 2006
Posts: 1
Rep:
|
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.
|
|
|
|
09-15-2006, 04:03 PM
|
#9
|
|
LQ Newbie
Registered: Sep 2006
Posts: 1
Rep:
|
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.
|
|
|
|
05-26-2007, 05:54 AM
|
#10
|
|
Member
Registered: Oct 2005
Posts: 74
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:38 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|