* [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter
@ 2005-03-03 9:34 Fruhwirth Clemens
2005-03-03 10:35 ` Jaroslav Kysela
2005-03-03 11:35 ` Clemens Ladisch
0 siblings, 2 replies; 9+ messages in thread
From: Fruhwirth Clemens @ 2005-03-03 9:34 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
My USB audio class device doesn't show all mixer controls in ALSA.
For reference, for other users searching this archive, it's a "Creative
USB Sound Blaster Live! 24-bit External".
(http://creative.com/products/product.asp?category=1&subcategory=206&product=10702&nav=2)
I have added some inspection code to usb-mixer.c, which basically dumps
all class specific USB interface descriptors.
My card got 2 x OUTPUT_TERMINAL, 2 x INPUT_TERMINAL, 2 x FEATURE_UNIT
for the AudioControl class. But this doesn't make me any wiser.
I wonder why the snd_usb_create_mixer code does only loop over the
OUTPUT_TERMINAL class, even there is support code for all other types in
the parse_audio_unit code, which is called subsequently by
snd_usb_create_mixer.
My aim is to have controls available for the Line-in mixer, both for
recording and for direct re-mixing into the Main Out Plug.
Is there a developer owning such a box, or anyone who can guess what I'm
supposed to do with the additional AudioControl class controls?
Are there any tools that helps inspecting the USB device, or further
dumping of class-specific content and/or inspection of the USB
flow between a vmware hosted windows system and the linux host system?
Thanks,
What's the reason why Bug#995 is not available to the public? I'm
getting access denied. Otherwise I would have put this message into the
bugtracker.
--
http://clemens.endorphin.org, for robots sp4mtrap@endorphin.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter
2005-03-03 9:34 [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Fruhwirth Clemens
@ 2005-03-03 10:35 ` Jaroslav Kysela
2005-03-03 11:35 ` Clemens Ladisch
1 sibling, 0 replies; 9+ messages in thread
From: Jaroslav Kysela @ 2005-03-03 10:35 UTC (permalink / raw)
To: Fruhwirth Clemens; +Cc: alsa-devel
On Thu, 3 Mar 2005, Fruhwirth Clemens wrote:
> What's the reason why Bug#955 is not available to the public? I'm
> getting access denied. Otherwise I would have put this message into the
> bugtracker.
Because some bug-reporters don't understand the public/private difference.
It's public now.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter
2005-03-03 9:34 [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Fruhwirth Clemens
2005-03-03 10:35 ` Jaroslav Kysela
@ 2005-03-03 11:35 ` Clemens Ladisch
2005-03-03 15:24 ` Fruhwirth Clemens
1 sibling, 1 reply; 9+ messages in thread
From: Clemens Ladisch @ 2005-03-03 11:35 UTC (permalink / raw)
To: Fruhwirth Clemens; +Cc: alsa-devel
Fruhwirth Clemens wrote:
> My USB audio class device doesn't show all mixer controls in ALSA.
> For reference, for other users searching this archive, it's a "Creative
> USB Sound Blaster Live! 24-bit External".
> ...
> I wonder why the snd_usb_create_mixer code does only loop over the
> OUTPUT_TERMINAL class,
Because all other units are (indirectly) connected to an output
terminal. We get them when we recursively inspect the respective
source units.
> My aim is to have controls available for the Line-in mixer, both for
> recording and for direct re-mixing into the Main Out Plug.
Your device probably doesn't have such controls. What is the output
of "lsusb -v" for it?
Clemens
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter
2005-03-03 11:35 ` Clemens Ladisch
@ 2005-03-03 15:24 ` Fruhwirth Clemens
2005-03-04 8:31 ` SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter) Clemens Ladisch
2005-03-04 18:32 ` [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Lee Revell
0 siblings, 2 replies; 9+ messages in thread
From: Fruhwirth Clemens @ 2005-03-03 15:24 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 2111 bytes --]
On Thu, 2005-03-03 at 12:35 +0100, Clemens Ladisch wrote:
> Fruhwirth Clemens wrote:
> > My USB audio class device doesn't show all mixer controls in ALSA.
> > For reference, for other users searching this archive, it's a "Creative
> > USB Sound Blaster Live! 24-bit External".
> > ...
> > I wonder why the snd_usb_create_mixer code does only loop over the
> > OUTPUT_TERMINAL class,
>
> Because all other units are (indirectly) connected to an output
> terminal. We get them when we recursively inspect the respective
> source units.
>
> > My aim is to have controls available for the Line-in mixer, both for
> > recording and for direct re-mixing into the Main Out Plug.
>
> Your device probably doesn't have such controls. What is the output
> of "lsusb -v" for it?
lsusb fails :/
Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x041e Creative Technology, Ltd
idProduct 0x3040
bcdDevice 1.00
iManufacturer 1 Creative Technology
iProduct 2 SB Live! 24-bit External
iSerial 0
bNumConfigurations 1
cannot get config descriptor 0, Connection timed out (110)
Language IDs: (length=4)
0409 English(US)
I wonder what's the cause. Has Creative delivered a non-standard
compliant device one more time? The original EMU10K1 was also FUBAR wrt
to the PCI standard.
The kernel log is full of
Mar 3 16:17:01 ghanima kernel: usb 3-1: usbfs: USBDEVFS_CONTROL failed cmd lsusb rqt 128 rq 6 len 979 ret -110
Mar 3 16:17:01 ghanima kernel: usb 3-1: lsusb timed out on ep0in
The device is connected to an UHCI hosted bus.. Linus' bitkeeper doesn't
show any relevant bug fixes in this area in the last few month.. Hmm any
ideas?
--
http://clemens.endorphin.org, for robots sp4mtrap@endorphin.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter)
2005-03-03 15:24 ` Fruhwirth Clemens
@ 2005-03-04 8:31 ` Clemens Ladisch
2005-03-04 9:57 ` Fruhwirth Clemens
2005-03-04 18:32 ` [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Lee Revell
1 sibling, 1 reply; 9+ messages in thread
From: Clemens Ladisch @ 2005-03-04 8:31 UTC (permalink / raw)
To: Fruhwirth Clemens; +Cc: alsa-devel
Fruhwirth Clemens wrote:
> On Thu, 2005-03-03 at 12:35 +0100, Clemens Ladisch wrote:
> > Your device probably doesn't have such controls. What is the output
> > of "lsusb -v" for it?
>
> lsusb fails :/
>
> Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd
> Device Descriptor:
> ...
> bNumConfigurations 1
> cannot get config descriptor 0, Connection timed out (110)
The kernel managed to read the descriptors, otherwise snd-usb-audio
wouldn't have loaded. You might try to install a newer version of
usbutils.
Well. What is the output of "xxd -g1 /proc/bus/usb/003/002" (where
003 and 002 are the bus and device numbers)?
Clemens
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter)
2005-03-04 8:31 ` SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter) Clemens Ladisch
@ 2005-03-04 9:57 ` Fruhwirth Clemens
2005-03-04 11:09 ` Clemens Ladisch
0 siblings, 1 reply; 9+ messages in thread
From: Fruhwirth Clemens @ 2005-03-04 9:57 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 6101 bytes --]
On Fri, 2005-03-04 at 09:31 +0100, Clemens Ladisch wrote:
> Fruhwirth Clemens wrote:
> > On Thu, 2005-03-03 at 12:35 +0100, Clemens Ladisch wrote:
> > > Your device probably doesn't have such controls. What is the output
> > > of "lsusb -v" for it?
> >
> > lsusb fails :/
> >
> > Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd
> > Device Descriptor:
> > ...
> > bNumConfigurations 1
> > cannot get config descriptor 0, Connection timed out (110)
>
> The kernel managed to read the descriptors, otherwise snd-usb-audio
> wouldn't have loaded. You might try to install a newer version of
> usbutils.
I already did that (at least I thought) but obviously Gentoo hasn't
bumped the version from 0.11 to 0.70 yet.
Here is the lsusb (0.70) output. I removed the streaming interface
information, because this creative thing has a ton of them, full output
at http://clemens.endorphin.org/usblive-interfaces .
Bus 003 Device 002: ID 041e:3040 Creative Technology, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x041e Creative Technology, Ltd
idProduct 0x3040
bcdDevice 1.00
iManufacturer 1 Creative Technology
iProduct 2 SB Live! 24-bit External
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 979
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 308mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 76
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 6
wChannelConfig 0x003f
Left Front (L)
Right Front (R)
Center Front (C)
Low Freqency Enhancement (LFE)
Left Surround (LS)
Right Surround (RS)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 2
bSourceID 1
bControlSize 1
bmaControls( 0) 0x03
Mute
Volume
bmaControls( 1) 0x00
bmaControls( 2) 0x00
bmaControls( 3) 0x00
bmaControls( 4) 0x00
bmaControls( 5) 0x00
bmaControls( 6) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 2
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 4
wTerminalType 0x0603 Line Connector
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 10
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 5
bSourceID 4
bControlSize 1
bmaControls( 0) 0x02
Volume
bmaControls( 1) 0x00
bmaControls( 2) 0x00
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 6
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 5
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Obviously, the feature units are used for volume control solely. I
wonder, how the audio signal flow looks like..
> Well. What is the output of "xxd -g1 /proc/bus/usb/003/002" (where
> 003 and 002 are the bus and device numbers)?
I presume lsusb has all the information, if not
http://clemens.endorphin.org/usb-desc-xxded
Thanks,
--
http://clemens.endorphin.org, for robots sp4mtrap@endorphin.org
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter)
2005-03-04 9:57 ` Fruhwirth Clemens
@ 2005-03-04 11:09 ` Clemens Ladisch
2005-03-04 11:55 ` Fruhwirth Clemens
0 siblings, 1 reply; 9+ messages in thread
From: Clemens Ladisch @ 2005-03-04 11:09 UTC (permalink / raw)
To: Fruhwirth Clemens; +Cc: alsa-devel
Fruhwirth Clemens wrote:
> bDescriptorSubtype 6 (FEATURE_UNIT)
> bmaControls( 0) 0x03
> Mute
> Volume
> bmaControls( 1) 0x00
> bmaControls( 2) 0x00
> bmaControls( 3) 0x00
> bmaControls( 4) 0x00
> bmaControls( 5) 0x00
> bmaControls( 6) 0x00
> ...
> bDescriptorSubtype 6 (FEATURE_UNIT)
> bmaControls( 0) 0x02
> Volume
> bmaControls( 1) 0x00
> bmaControls( 2) 0x00
>
> Obviously, the feature units are used for volume control solely.
Yes, and there's only one volume control for all channels.
> I wonder, how the audio signal flow looks like..
The bTerminalID/bUnitID field identifies each unit. Start at the
output terminals and go back through the bSourceID's.
Regards,
Clemens
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter
2005-03-03 15:24 ` Fruhwirth Clemens
2005-03-04 8:31 ` SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter) Clemens Ladisch
@ 2005-03-04 18:32 ` Lee Revell
1 sibling, 0 replies; 9+ messages in thread
From: Lee Revell @ 2005-03-04 18:32 UTC (permalink / raw)
To: Fruhwirth Clemens; +Cc: Clemens Ladisch, alsa-devel
On Thu, 2005-03-03 at 16:24 +0100, Fruhwirth Clemens wrote:
> I wonder what's the cause. Has Creative delivered a non-standard
> compliant device one more time? The original EMU10K1 was also FUBAR wrt
> to the PCI standard.
I guess you are referring to only being able to DMA into a 29 bit
address space?
Lee
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-03-04 18:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-03 9:34 [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Fruhwirth Clemens
2005-03-03 10:35 ` Jaroslav Kysela
2005-03-03 11:35 ` Clemens Ladisch
2005-03-03 15:24 ` Fruhwirth Clemens
2005-03-04 8:31 ` SB Live 24 Ext (was: [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter) Clemens Ladisch
2005-03-04 9:57 ` Fruhwirth Clemens
2005-03-04 11:09 ` Clemens Ladisch
2005-03-04 11:55 ` Fruhwirth Clemens
2005-03-04 18:32 ` [ALSA - driver 0000955]: CN-126 - USB 5.1 Audio adapter Lee Revell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.