linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ACM USB modem on Kernel 2.6.0-test
@ 2003-10-11 18:53 David Brownell
  2003-10-12 12:07 ` Jamie Lokier
  2003-10-17 20:04 ` David Brownell
  0 siblings, 2 replies; 13+ messages in thread
From: David Brownell @ 2003-10-11 18:53 UTC (permalink / raw)
  To: Peter Matthias, linux-kernel; +Cc: linux-usb-devel

> usb 3-3: configuration #1 chosen from 2 choices
> drivers/usb/class/cdc-acm.c: need inactive config #2
> drivers/usb/class/cdc-acm.c: need inactive config #2

Until we get more intelligence somewhere, do this:

    # cd /sys/bus/usb/devices/3-3
    # echo '2' > bConfigurationValue
    #

That makes the device use vendor-neutral protocols
to talk to the host, not MSFT-proprietary ones.  (It's
important to use the numbers from those messages; they
will change if you use different USB ports.)

Hmm ... maybe usbcore would be better off with a less
naive algorithm for choosing defaults.  Like, preferring
configurations without proprietary device protocols.
That'd solve every cdc-acm case, and likely others.

- Dave



^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <FJVJ.4PN.5@gated-at.bofh.it>]
[parent not found: <FwYB.Z9.25@gated-at.bofh.it>]
* ACM USB modem on Kernel 2.6.0-test
@ 2003-10-11 12:38 Peter Matthias
  0 siblings, 0 replies; 13+ messages in thread
From: Peter Matthias @ 2003-10-11 12:38 UTC (permalink / raw)
  To: linux-kernel

Hello,

I have a problem running my Elsa Microlink USB modem with latest 2.6.0-test7
kernel. On startup I get:

usb 3-3: configuration #1 chosen from 2 choices
drivers/usb/class/cdc-acm.c: need inactive config #2
drivers/usb/class/cdc-acm.c: need inactive config #2

and the driver is not being loaded. I have no problems with 2.4 kernels.

Thank you,
        Peter


lsusb says:

Bus 003 Device 002: ID 05cc:2267 ELSA AG
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x05cc ELSA AG
  idProduct          0x2267
  bcdDevice            1.00
  iManufacturer           1 Lucent Technologies, Inc.
  iProduct                2 ELSA Modem Board
  iSerial                 0
  bNumConfigurations      2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          3
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              400mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              4 Lucent Win95 Modem USB
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Control Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         16
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize         63
        bInterval               2
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          2
    bConfigurationValue     2
    iConfiguration          6
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              400mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands
      iInterface              4 Lucent Win95 Modem USB
  unknown descriptor type: 05 24 00 00 01
  unknown descriptor type: 05 24 01 03 01
  unknown descriptor type: 04 24 02 07
  unknown descriptor type: 05 24 06 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize         32
        bInterval             128
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              5 Control Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=6)
     0009 English(English)
     0409 English(US)


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-10-20 16:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-11 18:53 ACM USB modem on Kernel 2.6.0-test David Brownell
2003-10-12 12:07 ` Jamie Lokier
2003-10-12 18:59   ` David Brownell
2003-10-17 20:04 ` David Brownell
2003-10-19 15:13   ` David Brownell
     [not found] <FJVJ.4PN.5@gated-at.bofh.it>
     [not found] ` <I1Yg.6oy.13@gated-at.bofh.it>
     [not found]   ` <I1Yg.6oy.11@gated-at.bofh.it>
2003-10-19  9:34     ` Peter Matthias
     [not found] <FwYB.Z9.25@gated-at.bofh.it>
2003-10-12  8:40 ` Peter Matthias
2003-10-12 12:06   ` Jamie Lokier
2003-10-12 17:52 ` Peter Matthias
2003-10-13 16:28 ` Peter Matthias
     [not found] ` <HJ5m.2Eb.23@gated-at.bofh.it>
2003-10-18 16:21   ` Peter Matthias
     [not found]   ` <Inm6.60T.19@gated-at.bofh.it>
2003-10-20 16:54     ` Peter Matthias
  -- strict thread matches above, loose matches on Subject: below --
2003-10-11 12:38 Peter Matthias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).