LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   usb headset configuration; skype (https://www.linuxquestions.org/questions/slackware-14/usb-headset-configuration%3B-skype-420856/)

aihaike 03-02-2006 03:05 AM

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.

simcox1 03-02-2006 05:21 AM

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.

aihaike 03-02-2006 06:40 AM

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 ....:Pengy:
What's your opening?

Eric.

simcox1 03-02-2006 07:01 AM

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.

aihaike 03-02-2006 07:25 AM

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?:confused:
With xmms, I can play music to the usb headset and also set volume .....

Aihaike.

simcox1 03-02-2006 08:59 AM

Try doing 'arecord test.wav' without the -D option. Then 'aplay test.wav'.

aihaike 03-03-2006 04:33 AM

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.

PuG_ 07-23-2006 04:41 AM

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)

oliverb 09-15-2006 04:03 PM

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.

munichtexan 05-26-2007 05:54 AM

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


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