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 ?

here's the full dmesg output:
usb usb1: usb resume
usb usb1: finish resume
hub 1-0:1.0: hub_resume
ehci_hcd 0000:00:02.1: resume root hub
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0000
ehci_hcd 0000:00:02.1: GetStatus port 1 status 001403 POWER sig=k CSC CONNECT
hub 1-0:1.0: port 1, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:02.1: port 1 low speed --> companion
usb usb2: usb resume
usb usb2: finish resume
hub 2-0:1.0: hub_resume
ohci_hcd 0000:00:02.0: wakeup root hub
ehci_hcd 0000:00:02.1: GetStatus port 1 status 003402 POWER OWNER sig=k CSC
hub 1-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0000
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00010301 CSC LSDA 
PPS CCS
hub 2-0:1.0: port 1, status 0301, change 0001, 1.5 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x301
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA 
PPS PES CCS
usb 2-1: new low speed USB device using ohci_hcd and address 10
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [0] = 0x00100303 PRSC LSDA 
PPS PES CCS
usb 2-1: default language 0x0409
usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-1: Product: ASC495 Speakers
usb 2-1: Manufacturer: ALTEC LANSING Multimedia
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usb 2-1:1.0: uevent
usbserial_generic 2-1:1.0: usb_probe_interface
usbserial_generic 2-1:1.0: usb_probe_interface - got id
snd-usb-audio 2-1:1.0: usb_probe_interface
snd-usb-audio 2-1:1.0: usb_probe_interface - got id
unknown device speed 1
snd-usb-audio: probe of 2-1:1.0 failed with error -5
drivers/usb/core/inode.c: creating file '010'
hub 2-0:1.0: state 7 ports 10 chg 0000 evt 0002
hub 1-0:1.0: hub_suspend
ehci_hcd 0000:00:02.1: suspend root hub
usb usb1: usb auto-suspend
usb 2-1: usb auto-suspend

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
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
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