The pfSense Store

Author Topic: Davicom DM9601 USB Adapter - compatibility  (Read 1653 times)

0 Members and 1 Guest are viewing this topic.

Offline nexus

  • Jr. Member
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Davicom DM9601 USB Adapter - compatibility
« on: October 07, 2011, 07:39:23 am »
Hi, I bought a chinese DM9601 (vid : 0fe6, pid: 9700).

It's working fine under Linux distro.

Under pfsense 2.0 and custom kernel from RELENG_8_1, I've added the device id and product id to the if_udav.c file and rebuild the kernel.

Now it's detected but I have a strange issue :

ugen1.2: <vendor 0x0fe6> at usbus1
udav0: <vendor 0x0fe6 USB 2.0 10/100M Ethernet Adaptor, class 0/0, rev 1.10/1.01, addr 2> on usbus1
udav0: MII without any PHY <- Here is the strangeness

More funny, if I try to type ifconfig it finished by a core dump

ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
        ether 00:1b:21:b8:76:3c
        inet6 fe80::21b:21ff:feb8:763c%em0 prefixlen 64 scopeid 0x1
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        media: Ethernet autoselect
        status: no carrier
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=82808<VLAN_MTU,WOL_UCAST,WOL_MAGIC,LINKSTATE>
        ether 00:0b:cd:6d:9c:5d
        inet6 fe80::20b:cdff:fe6d:9c5d%vr0 prefixlen 64 scopeid 0x2
        inet 10.82.77.90 netmask 0xffffff00 broadcast 10.82.77.255
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        media: Ethernet autoselect (100baseTX)
        status: active
plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
pflog0: flags=100<PROMISC> metric 0 mtu 33200
pfsync0: flags=0<> metric 0 mtu 1460
        syncpeer: 224.0.0.240 maxupd: 128
Abort (core dumped)

I haven't tried with a more recent RELENG for example 8_2 or 9, but maybe someone can help me with that.