Quick device info:

Vendor:         Shuttle
Model:          PN18G (although it doesn't seem to be marked as such)
USB Device ID:  07b8:6001
Chip:           ZD1211B
RF:             AL2230S

You can see this product here:


The chip description from dmesg:

[ 1378.268000] zd1211rw 5-6:1.0: zd1211b chip 07b8:6001 v4810 high 00-12-0e 
AL2230S_RF pa0 -----

It is a USB device designed to be connected directly to a pin header or other
internal connector.  It has the large coax antenna mount, and also provides an
alternative U.FL connector that a pigtail may be attached to.

Anyway, it looks like this is a re-use of a previously existing device ID.  I
had to modify the driver to get it working (patch attached).

I hope this is enough info to get this working in mainline.

BTW, it would be nice if the driver printed an error message if a ZD1211 is
assumed but the chip is actually a ZD1211B, or vice-versa.  It currently fails
silently.  I'm not sure if there is a good way to determine at runtime what kind
of chip you are actually talking to ... ?

Thanks for your time.

Forest Bond
diff --git a/drivers/net/wireless/zd1211rw/zd_usb.c b/drivers/net/wireless/zd1211rw/zd_usb.c
index a9c339e..11113e4 100644
--- a/drivers/net/wireless/zd1211rw/zd_usb.c
+++ b/drivers/net/wireless/zd1211rw/zd_usb.c
@@ -36,7 +36,8 @@
 static struct usb_device_id usb_ids[] = {
 	/* ZD1211 */
 	{ USB_DEVICE(0x0ace, 0x1211), .driver_info = DEVICE_ZD1211 },
-	{ USB_DEVICE(0x07b8, 0x6001), .driver_info = DEVICE_ZD1211 },
+    /* Work-around for Shuttle PN18G, which re-uses this device ID: */
+	{ USB_DEVICE(0x07b8, 0x6001), .driver_info = DEVICE_ZD1211B },
 	{ USB_DEVICE(0x126f, 0xa006), .driver_info = DEVICE_ZD1211 },
 	{ USB_DEVICE(0x6891, 0xa727), .driver_info = DEVICE_ZD1211 },
 	{ USB_DEVICE(0x0df6, 0x9071), .driver_info = DEVICE_ZD1211 },

Attachment: signature.asc
Description: Digital signature

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/
Zd1211-devs mailing list - http://zd1211.wiki.sourceforge.net/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs

Reply via email to