Re: Trouble with a uaudio(4) device
On 2009-10-24, Jacob Meuser jake...@sdf.lonestar.org wrote: On Fri, Oct 23, 2009 at 07:02:54PM +0200, Remco wrote: Jona Joachim wrote: Here's the dmesg output when I plug in the device: uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uaudio0: ignored input endpoint of type adaptive that means the input (recording) endpoint was not configured. I completely missed this line when I read the dmesg... han% audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured han% aucat -f /dev/audio1 -l aucat: /dev/audio1: can't open device those both fail because they try to open the device for full-duplex operation, but there is no recording capability. 'audioctl -f /dev/audioctl1' should work though. yes that works indeed. I don't really know how to debug this any further. This is on i386 -current. It seems this patch was applied 8 days ago different patch was applied, but same idea. anyway, I have one of the Ten X deally-jobbers. it was like 3 bucks on ebay. they really are worth $5. there's no real volume control and it's the lowest quality (both playback and recording) device I have. the ~10 year old PCI cards I got from the thrift store ($5 each) work and sound much better. Well I got this one for $3 with free shipping so I couldn't really be disappointed. I thought I could use it for VoIP. aucat -f /dev/audio1 -m play -l works but when I play sound I only get a solid beep tone from the device. I'll try again with above mentioned patch applied. Best regards, Jona -- Worse is better Richard P. Gabriel
Re: Trouble with a uaudio(4) device
Probably you'll have to create the /dev/audio1 device. Just go to /etc and make a 'sudo MAKEDEV audio1'. This script will create all the required devs to operate your audio card. Regards! Dani Jona Joachim escribis: Here's the dmesg output when I plug in the device: uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uaudio0: ignored input endpoint of type adaptive uaudio0: audio rev 1.00, 4 mixer controls audio1 at uaudio0 uhidev1 at uhub3 port 2 configuration 1 interface 3 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev1: iclass 3/1 uhid0 at uhidev1: input=8, output=8, feature=0 uhidev2 at uhub3 port 2 configuration 1 interface 4 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev2: iclass 3/1, 3 report ids uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0 When I try to use it I get the following errors: han% audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured han% aucat -f /dev/audio1 -l aucat: /dev/audio1: can't open device I don't really know how to debug this any further. This is on i386 -current. Here's some more info about the hardware: port 2 addr 2: full speed, power 500 mA, config 1, USB AUDIO(0xf211), Ten X Technology, Inc.(0x1130), rev 2.04 n% usbhidctl -f /dev/uhid0 No_Event=1 [0] No_Event=1 [1] No_Event=1 [2] No_Event=1 [3] No_Event=1 [4] No_Event=1 [5] No_Event=1 [6] No_Event=1 [7] Undefined.Num_Lock=0 Undefined.Caps_Lock=0 Undefined.Scroll_Lock=0 Undefined.Compose=0 Undefined.Kana=0 Undefined.Power=0 Undefined.Shift=0 Undefined.Do_Not_Disturb=0 Undefined.Mute=0 Undefined.Tone_Enable=0 Undefined.High_Cut_Filter=0 Undefined.Low_Cut_Filter=0 Undefined.Equalizer_Enable=0 Undefined.Sound_Field_On=0 Undefined.Surround_Field_On=0 Undefined.Repeat=0 Undefined.Stereo=0 Undefined.Sampling_Rate_Detect=0 Undefined.Spinning=0 Undefined.CAV=0 Undefined.CLV=0 Undefined.Recording_Format_Detect=0 Undefined.Off-Hook=0 Undefined.Ring=0 Undefined.Message_Waiting=0 Undefined.Data_Mode=0 Undefined.Battery_Operation=0 Undefined.Battery_OK=0 Undefined.Battery_Low=0 Undefined.Speaker=0 Undefined.Head_Set=0 Undefined.Hold=0 Undefined.Microphone=0 Undefined.Coverage=0 Undefined.Night_Mode=0 Undefined.Send_Calls=0 Undefined.Call_Pickup=0 Undefined.Conference=0 Undefined.Stand-by=0 Undefined.Camera_On=0 Undefined.Camera_Off=0 Undefined.On-Line=0 Undefined.Off-Line=0 Undefined.Busy=0 Undefined.Ready=0 Undefined.Paper-Out=0 Undefined.Paper-Jam=0 Undefined.Remote=0 Undefined.Forward=0 Undefined.Reverse=0 Undefined.Stop=0 Undefined.Rewind=0 Undefined.Fast_Forward=0 Undefined.Play=0 Undefined.Pause=0 Undefined.Record=0 Undefined.Error=0 Undefined.Usage_Selected_Indicator=0 Undefined.Usage_In_Use_Indicator=0 Undefined.Usage_Multi_Mode_Indicator=0 Undefined.Indicator_On=0 Undefined.Indicator_Flash=0 Undefined.Indicator_Slow_Blink=0 Undefined.Indicator_Fast_Blink=0 han% usbhidctl -f /dev/uhid1 Consumer_Control.Volume_Up=0 Consumer_Control.Volume_Down=0 Consumer_Control.Mute=0 Consumer_Control.Scan_Next_Track=0 Consumer_Control.Scan_Previous_Track=0 Consumer_Control.Pause/Play=0
Re: Trouble with a uaudio(4) device
On 2009-10-23, Daniel Gracia Garallar danie...@electronicagracia.com wrote: Probably you'll have to create the /dev/audio1 device. Just go to /etc and make a 'sudo MAKEDEV audio1'. This script will create all the required devs to operate your audio card. no, that's not the problem, /dev/audio[0-2] are created by default... -- Worse is better Richard P. Gabriel
Trouble with a uaudio(4) device
Here's the dmesg output when I plug in the device: uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uaudio0: ignored input endpoint of type adaptive uaudio0: audio rev 1.00, 4 mixer controls audio1 at uaudio0 uhidev1 at uhub3 port 2 configuration 1 interface 3 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev1: iclass 3/1 uhid0 at uhidev1: input=8, output=8, feature=0 uhidev2 at uhub3 port 2 configuration 1 interface 4 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev2: iclass 3/1, 3 report ids uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0 When I try to use it I get the following errors: han% audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured han% aucat -f /dev/audio1 -l aucat: /dev/audio1: can't open device I don't really know how to debug this any further. This is on i386 -current. Here's some more info about the hardware: port 2 addr 2: full speed, power 500 mA, config 1, USB AUDIO(0xf211), Ten X Technology, Inc.(0x1130), rev 2.04 n% usbhidctl -f /dev/uhid0 No_Event=1 [0] No_Event=1 [1] No_Event=1 [2] No_Event=1 [3] No_Event=1 [4] No_Event=1 [5] No_Event=1 [6] No_Event=1 [7] Undefined.Num_Lock=0 Undefined.Caps_Lock=0 Undefined.Scroll_Lock=0 Undefined.Compose=0 Undefined.Kana=0 Undefined.Power=0 Undefined.Shift=0 Undefined.Do_Not_Disturb=0 Undefined.Mute=0 Undefined.Tone_Enable=0 Undefined.High_Cut_Filter=0 Undefined.Low_Cut_Filter=0 Undefined.Equalizer_Enable=0 Undefined.Sound_Field_On=0 Undefined.Surround_Field_On=0 Undefined.Repeat=0 Undefined.Stereo=0 Undefined.Sampling_Rate_Detect=0 Undefined.Spinning=0 Undefined.CAV=0 Undefined.CLV=0 Undefined.Recording_Format_Detect=0 Undefined.Off-Hook=0 Undefined.Ring=0 Undefined.Message_Waiting=0 Undefined.Data_Mode=0 Undefined.Battery_Operation=0 Undefined.Battery_OK=0 Undefined.Battery_Low=0 Undefined.Speaker=0 Undefined.Head_Set=0 Undefined.Hold=0 Undefined.Microphone=0 Undefined.Coverage=0 Undefined.Night_Mode=0 Undefined.Send_Calls=0 Undefined.Call_Pickup=0 Undefined.Conference=0 Undefined.Stand-by=0 Undefined.Camera_On=0 Undefined.Camera_Off=0 Undefined.On-Line=0 Undefined.Off-Line=0 Undefined.Busy=0 Undefined.Ready=0 Undefined.Paper-Out=0 Undefined.Paper-Jam=0 Undefined.Remote=0 Undefined.Forward=0 Undefined.Reverse=0 Undefined.Stop=0 Undefined.Rewind=0 Undefined.Fast_Forward=0 Undefined.Play=0 Undefined.Pause=0 Undefined.Record=0 Undefined.Error=0 Undefined.Usage_Selected_Indicator=0 Undefined.Usage_In_Use_Indicator=0 Undefined.Usage_Multi_Mode_Indicator=0 Undefined.Indicator_On=0 Undefined.Indicator_Flash=0 Undefined.Indicator_Slow_Blink=0 Undefined.Indicator_Fast_Blink=0 han% usbhidctl -f /dev/uhid1 Consumer_Control.Volume_Up=0 Consumer_Control.Volume_Down=0 Consumer_Control.Mute=0 Consumer_Control.Scan_Next_Track=0 Consumer_Control.Scan_Previous_Track=0 Consumer_Control.Pause/Play=0 -- Worse is better Richard P. Gabriel
Re: Trouble with a uaudio(4) device
Jona Joachim wrote: Here's the dmesg output when I plug in the device: uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uaudio0: ignored input endpoint of type adaptive uaudio0: audio rev 1.00, 4 mixer controls audio1 at uaudio0 uhidev1 at uhub3 port 2 configuration 1 interface 3 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev1: iclass 3/1 uhid0 at uhidev1: input=8, output=8, feature=0 uhidev2 at uhub3 port 2 configuration 1 interface 4 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uhidev2: iclass 3/1, 3 report ids uhid1 at uhidev2 reportid 3: input=1, output=0, feature=0 When I try to use it I get the following errors: han% audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured han% aucat -f /dev/audio1 -l aucat: /dev/audio1: can't open device I don't really know how to debug this any further. This is on i386 -current. Your problem might be the adaptive endpoint as described in: http://marc.info/?l=openbsd-techm=125518948020717w=2 I applied the patch mentioned in this thread to my 4.5 system (at my own risk) and my USB headset started working as it should. Both 'audioctl' and 'aucat -l' worked. It seems this patch was applied 8 days ago, I'm guessing it exists in a recent snapshot. I don't know if your CURRENT system is current enough.
Re: Trouble with a uaudio(4) device
On Fri, Oct 23, 2009 at 07:02:54PM +0200, Remco wrote: Jona Joachim wrote: Here's the dmesg output when I plug in the device: uaudio0 at uhub3 port 2 configuration 1 interface 0 Ten X Technology, Inc. USB AUDIO rev 1.10/2.04 addr 2 uaudio0: ignored input endpoint of type adaptive that means the input (recording) endpoint was not configured. han% audioctl -f /dev/audio1 audioctl: /dev/audio1: Device not configured han% aucat -f /dev/audio1 -l aucat: /dev/audio1: can't open device those both fail because they try to open the device for full-duplex operation, but there is no recording capability. 'audioctl -f /dev/audioctl1' should work though. I don't really know how to debug this any further. This is on i386 -current. It seems this patch was applied 8 days ago different patch was applied, but same idea. anyway, I have one of the Ten X deally-jobbers. it was like 3 bucks on ebay. they really are worth $5. there's no real volume control and it's the lowest quality (both playback and recording) device I have. the ~10 year old PCI cards I got from the thrift store ($5 each) work and sound much better. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org