Bug 9863 - WUSB54Gv2 device id for p54usb driver
Summary: WUSB54Gv2 device id for p54usb driver
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: John W. Linville
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-01 01:48 UTC by Cavan Carroll
Modified: 2008-02-26 06:22 UTC (History)
0 users

See Also:
Kernel Version: 2.6.23
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
wusb54gv2.patch (654 bytes, patch)
2008-02-01 07:38 UTC, John W. Linville
Details | Diff

Description Cavan Carroll 2008-02-01 01:48:44 UTC
It looks like all the other versions of these prism54 based cards are already supported (looked at the inf files for the windows drivers) but version 2 isn't. Here's the lsusb -v output for my card that needs support.


Bus 001 Device 004: ID 13b1:000a Linksys
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x13b1 Linksys
  idProduct          0x000a
  bcdDevice           10.20
  iManufacturer           1 Cisco-Linksys
  iProduct                2 Wireless-G USB Network Adapter
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           53
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           5
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Comment 1 John W. Linville 2008-02-01 07:38:30 UTC
Created attachment 14676 [details]
wusb54gv2.patch

Have you tried applying a simple patch like this?
Comment 2 Cavan Carroll 2008-02-04 19:20:54 UTC
I haven't tried compiling the whole kernel but compat-wireless-2.6 won't build. Here's the error make gives.

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.23.9-85.fc8/build M=/root/compat-wireless-2.6 modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.9-85.fc8-x86_64'
  CC [M]  /root/compat-wireless-2.6/drivers/misc/eeprom_93cx6.o
In file included from <command line>:1:
/root/compat-wireless-2.6/include/net/compat.h:20: error: redefinition of ‘struct ssb_device_id’
make[3]: *** [/root/compat-wireless-2.6/drivers/misc/eeprom_93cx6.o] Error 1
make[2]: *** [/root/compat-wireless-2.6/drivers/misc] Error 2
make[1]: *** [_module_/root/compat-wireless-2.6] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.9-85.fc8-x86_64'
make: *** [modules] Error 2
Comment 3 John W. Linville 2008-02-05 05:51:49 UTC
I don't maintain compat-wireless so I'm not in a good position to help you with that.  Sometimes it lags a few days after new upstream changes.

FWIW, that fc8 kernel should be sufficiently up-to-date to test just the patch from comment 1.  Are you able to build Fedora kernels from the src rpm?  adding an additional patch and rebuilding is not too difficult.
Comment 4 Cavan Carroll 2008-02-15 14:48:20 UTC
It took me a while but I got it done and it works. FC8 doesn't seem to have the  isl3887usb_bare firmware so I had to get that too.
Comment 5 John W. Linville 2008-02-26 06:22:53 UTC
This patch is available in 2.6.25-rc3.

Note You need to log in before you can comment on or make changes to this bug.