On Thu, 2 Aug 2007, Mike Frysinger wrote:

> i have a pair of old Altec Lansing speakers that have a USB cable which 
> allows 
> you to control the Functional Unit (volume/mute/bass/etc...).  i'm trying to 
> add it to usbquirks.h but cant seem to invoke the necessary voodoo.
> /*
>  * Altec Lansing: Feature Unit for speakers
>  */
> {
>     .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
>                    USB_DEVICE_ID_MATCH_INT_CLASS |
>                    USB_DEVICE_ID_MATCH_INT_SUBCLASS,
>     .idVendor = 0x04d2,
>     .idProduct = 0xff05,
>     .bInterfaceClass = USB_CLASS_AUDIO,
>     .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
> },
> 
> but upon loading the freshly compiled module, i'm informed:
> unknown device speed 1
> 
> the usbaudio code doesnt seem to accept USB_SPEED_LOW ?

Nope.  I rather suspect that it also doesn't accept devices with no 
audio output channel.

> and here's the `lsusb -v` output:
> Bus 002 Device 010: ID 04d2:ff05 Altec Lansing Technologies ADA-305 Speakers
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               1.00
>   bDeviceClass          255 Vendor Specific Class
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0         8
>   idVendor           0x04d2 Altec Lansing Technologies
>   idProduct          0xff05 ADA-305 Speakers
>   bcdDevice            0.00
>   iManufacturer           1 ALTEC LANSING Multimedia 
>   iProduct                2 ASC495 Speakers
>   iSerial                 0 
>   bNumConfigurations      1
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           25
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0x40
>       (Missing must-be-set bit!)
>       Self Powered
>     MaxPower                0mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           1
>       bInterfaceClass         1 Audio
>       bInterfaceSubClass      1 Control Device
>       bInterfaceProtocol      0 
>       iInterface              0 
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            3
>           Transfer Type            Interrupt
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0002  1x 2 bytes
>         bInterval              32
> Device Status:     0x0001
>   Self Powered

Notice that the only endpoint is for input.  There's no way to send 
audio data to the speakers.  Is it possible that this is supposed to be 
an HID control?

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to