udav: vendor 0x0fe6, product: 0x9700

From: Luiz Gustavo S. Costa <lgcosta_at_pfsense.org>
Date: Fri, 10 Jun 2011 09:17:15 -0300
Hi list,

I'm trying to add a new product id [1] to the driver udav and am
having a little trouble.

At first, this is similar to id 0x8180 and there should be no
problems, but I still can not get a PHY for it.

Can someone help me?

System:
freekazoide# uname -a
FreeBSD freekazoide.luizgustavo.pro.br 9.0-CURRENT FreeBSD 9.0-CURRENT
#5 r222586M: Thu Jun  2 12:11:33 BRT 2011
root_at_freekazoide.luizgustavo.pro.br:/usr/obj/usr/src/sys/GENERIC  i386

Dmesg:
ugen0.2: <vendor 0x0fe6> at usbus0
udav0: <vendor 0x0fe6 USB 2.0 10100M Ethernet Adaptor, class 0/0, rev
1.10/1.01, addr 2> on usbus0
udav0: attaching PHYs failed

About adapter:
[1] http://www.luizgustavo.pro.br/~lgcosta/jp1080/

Patch:

diff -r 4dc08fdbcf2f sys/dev/usb/net/if_udav.c
--- a/sys/dev/usb/net/if_udav.c Thu Jun 09 18:32:21 2011 -0300
+++ b/sys/dev/usb/net/if_udav.c Thu Jun 09 18:30:38 2011 -0300
_at__at_ -210,6 +210,7 _at__at_
       {USB_VPI(USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ADM8515, 0)},
       /* Kontron AG USB Ethernet */
       {USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_DM9601, 0)},
+       {USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_JP1082, 0)},
 };

 static void
diff -r 4dc08fdbcf2f sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs       Thu Jun 09 18:32:21 2011 -0300
+++ b/sys/dev/usb/usbdevs       Thu Jun 09 18:30:38 2011 -0300
_at__at_ -2014,6 +2014,7 _at__at_

 /* Kontron AG products */
 product KONTRON DM9601         0x8101  USB Ethernet
+product KONTRON JP1082         0x9700  USB Ethernet

 /* Konica Corp. Products */
 product KONICA CAMERA          0x0720  Digital Color Camera

--
  /\             Luiz Gustavo S. Costa
 /  \            Programmer at BSD Perimeter
/    \ /\/\/\    Visit the pfSense Project
/      \    \ \   http://www.pfsense.org
---------------------------------------------------------------------
BSD da serra carioca, Teresopolis (visite: http://miud.in/Inv)
Contatos: luizgustavo_at_luizgustavo.pro.br / lgcosta_at_pfsense.org
Blog: http://www.luizgustavo.pro.br
Received on Fri Jun 10 2011 - 10:17:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC