Please package driver for Planex USB wireless adapter

Bug #48214 reported by Alan Tam
8
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
Medium
Alan Tam
Nominated for Feisty by Alan Tam

Bug Description

I downloaded the driver from [1] and it works. The driver is named zd1211b.ko. It is claimed to be licensed under GPL 2.0.

lsusb shows:
Bus 005 Device 007: ID 0053:5301
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 255 Vendor Specific Class
  bDeviceSubClass 255 Vendor Specific Subclass
  bDeviceProtocol 255 Vendor Specific Protocol
  bMaxPacketSize0 64
  idVendor 0x0053
  idProduct 0x5301
  bcdDevice 48.10
  iManufacturer 16 PCI
  iProduct 32 GW-US54GZL(IS)
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 46
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
      (Bus Powered)
    MaxPower 500mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 4
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 0
      iInterface 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 0x83 EP 3 IN
        bmAttributes 3
          Transfer Type Interrupt
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0040 1x 64 bytes
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x04 EP 4 OUT
        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 255 Vendor Specific Class
  bDeviceSubClass 255 Vendor Specific Subclass
  bDeviceProtocol 255 Vendor Specific Protocol
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0000
  (Bus Powered)

[1] http://www.planex.net/download/wireless/gw-us54gzl.htm

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 48214] Please driver for Planex USB wireless

 status Rejected

The zd1211 driver is available already.

Changed in linux-source-2.6.15:
status: Unconfirmed → Rejected
Revision history for this message
Alan Tam (at) wrote : Re: Please driver for Planex USB wireless

The zd1211 driver does NOT work. I need zd1211b.ko .

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 48214] Re: Please driver for Planex USB wireless

> The zd1211 driver does NOT work. I need zd1211b.ko .

 status Unconfirmed

Odd, there is only firmware for zd122b, not the kernel module.

Changed in linux-source-2.6.15:
status: Rejected → Unconfirmed
Revision history for this message
Alan Tam (at) wrote : Re: Please driver for Planex USB wireless

Sorry I don't know what you mean.

I download the source form the URL I cited, compiled it with linux-headers-2.6.15-23-686 . Then it gives me a file zd1211b.ko . I insmod it, and an interface appears. After I ifconfig up the interface, iwconfig will see it as a wireless adapter.

If I insmod /lib/modules/2.6.15-23-686/kernel/drivers/usb/net/zd1211/zd1211.ko , then no interface will appear in ifconfig -a.

Revision history for this message
Alan Tam (at) wrote :

Now I know what you mean. The zd1211b driver can be built from the same source by running:
        make ZD1211REV_B=1

As in the Makefile:
all:
        make both
both:
        make clean
        make ZD1211REV_B=0
        make ZD1211REV_B=0 install
        make clean
        make ZD1211REV_B=1
        make ZD1211REV_B=1 install

Revision history for this message
Alan Tam (at) wrote :

FYI, both the ZD1211 and ZD1211B drivers have been included in the latest 2.6.18 rc.

Changed in linux-source-2.6.15:
status: Unconfirmed → Fix Committed
Revision history for this message
Alan Tam (at) wrote :

 linux-source-2.6.17 (2.6.17-6.17) edgy; urgency=low
...
   * zd1211: Remove external driver and copy 2.6.18 version of driver.

What is this?

Revision history for this message
Ben Collins (ben-collins) wrote :

zd1211 was included in 2.6.18, so instead of us tracking the external driver, it's easier to track the one in the main kernel.

Changed in linux-source-2.6.17:
status: Fix Committed → Fix Released
Revision history for this message
Alan Tam (at) wrote :

I've installed today's Edgy, and found that my card doesn't work. I see hub_port_status failed (err = -32) in dmesg.

Revision history for this message
Alan Tam (at) wrote :

Hi,

zd1211* is an open chipset that comes with official GPL'd driver and open spec from the manufacturer. It would be a shame if Ubuntu doesn't support it out of box.

Revision history for this message
Alan Tam (at) wrote :

That sounds strange. I just tried both Edgy and latest Feisty and can only find zd1211.ko and zd1211rw.ko but not zd1211b.ko.
I tried both modules, but they do not work.
I tried downloading again from the attached URL and compile with "make ZD1211REV_B=1; sudo insmod zd1211b.ko", then eth1 appears.
Re-opening.

Changed in linux-source-2.6.17:
status: Fix Released → Confirmed
Revision history for this message
Alan Tam (at) wrote :

Perhaps add 152d:2338 to ZD1211B in drivers/net/wireless/zd1211rw/zd_usb.c ? I don't know if it will work though.

Revision history for this message
Alan Tam (at) wrote :

I can confirm that adding 0053:5301 to the detection list fixes this bug. Here is the patch.

Revision history for this message
Alan Tam (at) wrote :

I hope the patch can go into feisty.

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-team
status: Confirmed → Triaged
Revision history for this message
Alan Tam (at) wrote :

Confirmed fixed in linux-image 2.6.22.

Changed in linux-source-2.6.20:
assignee: ubuntu-kernel-team → at
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.