>Number:         140923
>Category:       usb
>Synopsis:       Add support for new rev of USB Ethernet chip
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 27 06:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Brett Glass
>Release:        8.0-RELEASE
>Organization:
LARIAT
>Environment:
>Description:
The ASIX AX88772A USB 2.0 Ethernet chip has replaced the ASIC AX88772. Unlike 
the original, it doesn't tend to corrupt its buffers. I just bought about a 
dozen inexpensive USB Ethernet adapters that use this chip, and discovered to 
my dismay that though there was driver support (axe(4)) for the older version, 
the driver would not recognize the newer one. I managed to get it working by 
patching two files. Please incorporate the changes into the tree.
>How-To-Repeat:
Plug in a Sabrent (or similar) USB Ethernet adapter based on the AX88772A. 
FreeBSD 8.0-RELEASE won't recognize it.
>Fix:
Patch file attached. I also recommend including 

options USB_VERBOSE

in the GENERIC kernel configuration (it is not there currently). Otherwise, the 
vendor and device names won't be printed in the boot messages.

Patch attached with submission follows:

*** /sys/dev/usb/usbdevs.orig   Thu Nov 26 17:00:13 2009
--- /sys/dev/usb/usbdevs        Thu Nov 26 18:43:33 2009
***************
*** 894,897 ****
--- 894,899 ----
  product ASIX AX88178          0x1780  AX88178
  product ASIX AX88772          0x7720  AX88772
+ /* Added by Brett Glass to support ASIX AX88772A, an updated AX88772 */
+ product ASIX AX88772A         0x772a  AX88772A USB 2.0 10/100 Ethernet
  
  /* ASUS products */
*** /sys/dev/usb/net/if_axe.c.orig      Thu Nov 26 17:07:25 2009
--- /sys/dev/usb/net/if_axe.c   Thu Nov 26 17:13:12 2009
***************
*** 142,145 ****
--- 142,147 ----
        {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88178, AXE_FLAG_178)},
        {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772, AXE_FLAG_772)},
+ /* Added by Brett Glass to support ASIX AX88772A, an updated AX88772 */
+       {USB_VPI(USB_VENDOR_ASIX, USB_PRODUCT_ASIX_AX88772A, AXE_FLAG_772)},
        {USB_VPI(USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC210T, 0)},
        {USB_VPI(USB_VENDOR_BELKIN, USB_PRODUCT_BELKIN_F5D5055, AXE_FLAG_178)},


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to