Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2011 09:17:15 -0300
From:      "Luiz Gustavo S. Costa" <lgcosta@pfsense.org>
To:        freebsd-current@freebsd.org
Subject:   udav: vendor 0x0fe6, product: 0x9700
Message-ID:  <BANLkTi=1iHxBj-5zkbCj7Ab50m1__aAUTg@mail.gmail.com>
In-Reply-To: <BANLkTi=siZJmpxveD201PrFt3XPb%2BCNMFQ@mail.gmail.com>
References:  <BANLkTi=siZJmpxveD201PrFt3XPb%2BCNMFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =A02 12:11:33 BRT 2011
root@freekazoide.luizgustavo.pro.br:/usr/obj/usr/src/sys/GENERIC =A0i386

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
@@ -210,6 +210,7 @@
=A0 =A0 =A0 =A0{USB_VPI(USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ADM8515, 0)=
},
=A0 =A0 =A0 =A0/* Kontron AG USB Ethernet */
=A0 =A0 =A0 =A0{USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_DM9601, 0)}=
,
+ =A0 =A0 =A0 {USB_VPI(USB_VENDOR_KONTRON, USB_PRODUCT_KONTRON_JP1082, 0)},
=A0};

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

=A0/* Kontron AG products */
=A0product KONTRON DM9601 =A0 =A0 =A0 =A0 0x8101 =A0USB Ethernet
+product KONTRON JP1082 =A0 =A0 =A0 =A0 0x9700 =A0USB Ethernet

=A0/* Konica Corp. Products */
=A0product KONICA CAMERA =A0 =A0 =A0 =A0 =A00x0720 =A0Digital Color Camera

--
=A0 /\ =A0 =A0 =A0 =A0 =A0 =A0 Luiz Gustavo S. Costa
=A0/ =A0\ =A0 =A0 =A0 =A0 =A0 =A0Programmer at BSD Perimeter
/ =A0 =A0\ /\/\/\ =A0 =A0Visit the pfSense Project
/ =A0 =A0 =A0\ =A0 =A0\ \ =A0 http://www.pfsense.org
---------------------------------------------------------------------
BSD da serra carioca, Teresopolis (visite: http://miud.in/Inv)
Contatos: luizgustavo@luizgustavo.pro.br / lgcosta@pfsense.org
Blog: http://www.luizgustavo.pro.br



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=1iHxBj-5zkbCj7Ab50m1__aAUTg>