Logitech ClearChat headset 046d:0a12 can't play/rec

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Logitech ClearChat headset 046d:0a12 can't play/rec

Postby NigeO » Thu Jun 21, 2012 1:58 pm

I'm trying to use a Logitech Clearchat headset (It's a wireless headset with a USB dongle reporting as 046d:0a12) under OSS, on a machine with an existing working oss_hdaudio setup.

ossinfo shows:
Code: Select all
Version info: OSS 4.2 (b 2006/201203222045) (0x00040100) TRIAL
Platform: Linux/i686 3.2.0-25-generic-pae #40-Ubuntu SMP Wed May 23 22:11:24 UTC 2012 (test)

Number of audio devices:        10
Number of audio engines:        14
Number of MIDI devices:         0
Number of mixer devices:        2


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=7996778 (7996778)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086293e
    Subvendor ID 0x8086293e
     Codec  0: ALC888 (0x10ec0888/0x10ec0000)
2: oss_usb0 USB audio core services
3: usb046d0a12-0 USB sound device
4: usb046d0a12-1 USB sound device
5: usb046d0a12-2 USB sound device

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio ALC888 (Mixer 0 of device object 1)
1: USB sound device (Mixer 0 of device object 3)

Audio devices
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 2)
HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 4)
HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 5)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 6)
HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 7)
USB sound device play             /dev/oss/usb046d0a12-1/pcm0  (device index 8)
USB sound device rec              /dev/oss/usb046d0a12-2/pcmin0  (device index 9)

Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0


and ossmix -d1 gives:
Code: Select all
Selected mixer 1/USB sound device
Known controls are:
output.mute ON|OFF (currently OFF)
output.vol <monovol> (currently 43690)
rec.mute ON|OFF (currently OFF)
rec.vol <monovol> (currently 46774)


but ossplay -d/dev/oss/usb046d0a12-1/pcm0 test_48k.wav fails with
Code: Select all
audio write: Input/output error
on the command line and the following lines in dmesg
Code: Select all
[15295.112121] oss_usb: Endpoint control write error -32
[15295.112128] Failed to set 48000 Hz sampling rate


Recording results in similar errors (and the same with 44100Hz sample rate)- what should I do to get this working?
NigeO
New Member
 
Posts: 3
Joined: Thu Jun 21, 2012 1:19 pm

Re: Logitech ClearChat headset 046d:0a12 can't play/rec

Postby igorzwx » Fri Jun 22, 2012 8:32 am

NigeO wrote:I'm trying to use a Logitech Clearchat headset (It's a wireless headset with a USB dongle reporting as 046d:0a12) under OSS
...what should I do to get this working?


The OSS4 oss_usb driver is said to be a kind of "experimental driver". This seems to mean that it might be fixed by the ancient scientific method of "trial and error".
There is a magic ritual which is supposed to be effective:

KNOWN BUGS
Under Linux it is necessary to run the ossdetect -d and ossdevlinks commands after an USB device has been hot-plugged. Alternatively you can execute soundoff and soundon to reload OSS.
http://manuals.opensound.com/usersguide/oss_usb.html


If it does not help, you may try to fix the driver, for example:
https://wiki.archlinux.org/index.php/OS ... SB1090_USB
viewtopic.php?f=3&t=3423

You may also try to find other hacks on the forum, or ask the developers for help
https://lists.sourceforge.net/lists/lis ... ound-devel

OSS Developer (you have to be registered and logged in to view this forum)
viewforum.php?f=31

If you need to recompile OSS4, you may try something like this:

[OSS Wiki] Building OSSv4 from source
http://www.opensound.com/wiki/index.php ... rom_source
http://www.opensound.com/wiki/index.php ... Wiki_pages

[Arch Linux] Recompilation of OSS4
viewtopic.php?f=3&t=3543&start=30#p15703
viewtopic.php?f=3&t=3543&start=30#p15711

Ubuntu OSS4 manual (Installing Prerequisite Packages & Building_from_Source)
https://help.ubuntu.com/community/OpenS ... e_Packages
https://help.ubuntu.com/community/OpenS ... rom_Source
(Do not forget to remove the old /usr/lib/oss before reinstalling OSS4).
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Logitech ClearChat headset 046d:0a12 can't play/rec

Postby NigeO » Fri Jun 22, 2012 2:31 pm

igorzwx wrote:The OSS4 oss_usb driver is said to be a kind of "experimental driver". This seems to mean that it might be fixed by the ancient scientific method of "trial and error".


I've been trialling and erroring for a while, that's when I thought I'd come here and ask for help :wink:

KNOWN BUGS
Under Linux it is necessary to run the ossdetect -d and ossdevlinks commands after an USB device has been hot-plugged. Alternatively you can execute soundoff and soundon to reload OSS.
http://manuals.opensound.com/usersguide/oss_usb.html


I had worked that out already, when the device is connected it appears in ossinfo but the links don't appear until running ossdevlinks or soundoff/soundon. Now I can see it, but the I/O error appears instead.

igorzwx wrote:If it does not help, you may try to fix the driver, for example:
https://wiki.archlinux.org/index.php/OS ... SB1090_USB
viewtopic.php?f=3&t=3423

You may also try to find other hacks on the forum, or ask the developers for help
https://lists.sourceforge.net/lists/lis ... ound-devel


I had seen those as well while self-helping, but I'm currently needing a product to work without too much hacking, and had hoped someone else had been there before me with the same unit and could share their experience on this occasion. If I'd built from source on this occasion I would try what looked like a simple suggestion of "returning OK", but the target machine was installed from a deb so I don't have ready access to the source, and currently running to a tight deadline.

Thanks for all the generic info, I was already aware of it but hoped someone might have got a little further than me with the USB driver with this product.

I'll fall back to ALSA for now if there's no-one else using this or similar headset on OSS.

Thanks,

Nigel
NigeO
New Member
 
Posts: 3
Joined: Thu Jun 21, 2012 1:19 pm

Re: Logitech ClearChat headset 046d:0a12 can't play/rec

Postby igorzwx » Fri Jun 22, 2012 3:44 pm

NigeO wrote:If I'd built from source on this occasion I would try what looked like a simple suggestion of "returning OK", but the target machine was installed from a deb so I don't have ready access to the source, and currently running to a tight deadline.


Do you mean the source code of OSS4, or something else?

[OSS Wiki] Building OSSv4 from source
http://www.opensound.com/wiki/index.php ... rom_source

NigeO wrote:I'm currently needing a product to work without too much hacking...
I'll fall back to ALSA for now


It is not very probable that there is a ready patch for your Logitech Clearchat headset.
Does it really produce a kind of "clear chat" with ALSA?
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm

Re: Logitech ClearChat headset 046d:0a12 can't play/rec

Postby NigeO » Mon Jun 25, 2012 2:24 pm

igorzwx wrote:
NigeO wrote:If I'd built from source on this occasion I would try what looked like a simple suggestion of "returning OK", but the target machine was installed from a deb so I don't have ready access to the source, and currently running to a tight deadline.


Do you mean the source code of OSS4, or something else?


I was trying to avoid source hacking just this once, but removed the package install and built from source with the 'return 1' change to the USB driver, which makes the speaker work OK, but the mic is 'broken up'. It sounds like the sample rate is wrong, I'll hopefully find a bodge around that!!

igorzwx wrote:It is not very probable that there is a ready patch for your Logitech Clearchat headset.
Does it really produce a kind of "clear chat" with ALSA?


I selected it as time was tight and there were a lot of successful reports of it 'just working' on Ubuntu as a headset with good audio quality, so I would expect that should be easier. If I get more time to play on it later with oss, I'll come back here with progress.

Thanks,

Nigel
NigeO
New Member
 
Posts: 3
Joined: Thu Jun 21, 2012 1:19 pm

Re: Logitech ClearChat headset 046d:0a12 can't play/rec

Postby igorzwx » Mon Jun 25, 2012 4:38 pm

NigeO wrote:I was trying to avoid source hacking just this once, but removed the package install and built from source with the 'return 1' change to the USB driver, which makes the speaker work OK, but the mic is 'broken up'. It sounds like the sample rate is wrong, I'll hopefully find a bodge around that!!


You may ask cesium whether he has a patch for your USB thing.
See "Applying patches" in https://wiki.archlinux.org/index.php/Patching_in_ABS
You can always open a "patch" with a text editor, read the content and make changes manually.

NigeO wrote:a headset with good audio quality


If you need a good sound quality, you may try a headset for "voice recognition". Perhaps, the cheapest one is Sennheiser PC 131 Headset (about 41 Euro in amazon.de).

Sennheiser PC 131 (analogue) Headset
http://en-de.sennheiser.com/pc-131

1. high quality unidirectional microphone (it does not record background noise).
2. 2 x 3.5mm stereo jacks for both voice and microphone PC sockets (Desktop/Laptop)
3. Cable length 3 meters
4. easy-to-use volume control and mute switch built into the cable
5. high quality stereo headphones (30 - 18000 Hz).

WARNING: The headphones are very loud, you must set them to minimum! Otherwise, loud sound may cause hearing impairment http://en-de.sennheiser.com/service-sup ... -capacity/

The microphone is also loud with OSS4 (you may need to reduce the recording level in OSS Mixer). If using Skype, uncheck "Allow Skype to automatically adjust my mixer levels" (in "sound devices" settings of Skype). Otherwise, Skype may produce noise.

WARNING: Sennheiser PC 131 (analogue) Headset is not robust (otherwise, it might be much more expensive). It was reported that it can be easily broken, if you carry it around in a "backpack" (rucksack). If you need something more robust, you may try other Sennheiser (analogue) headsets. There is one with "neckband", Sennheiser PC 141 http://en-de.sennheiser.com/pc-141 It might be more convenient (31 Euro in amazon.de).

Sennheiser PC 310 Gaming Headset [50 Euro in amazon.de]
The headset is extremely lightweight, while featuring a durable build that ensures the headset never loses its shape.
Features:
* Quality sound – so you can upgrade your gaming experience with Sennheiser
* Noise canceling microphone – reduces ambient noise for clear conversations
* Durable build – ensures you’ll enjoy the headset for many years
* Comfortable design – thanks to the use of lightweight materials and cushioned ear pads
* Open-acoustic ear cups – keep your head cool for hours of playing or listening

Technical Data and Specification of PC 310
Wearing style Headband
Cable length 3 m (9.8 ft)
Connector 2 x 3,5mm for desktop or laptop
Weight 195 g
Ear coupling On-the-ear, open-acoustic design
Frequency response (headphones) 17–22000 Hz
Frequency response (microphone) 80–15000 Hz
Pick-up pattern noise canceling
http://en-de.sennheiser.com/pc-310
igorzwx
Supporter
 
Posts: 994
Joined: Sun Jun 28, 2009 9:31 pm


Return to Linux

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron