Davicom DM9601 USB Adapter - compatibility



  • 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 0="" 2="" 10="" 0x0fe6="" usb="" 2.0="" 100m="" ethernet="" adaptor,="" class="" 0,="" rev="" 1.10="" 1.01,="" addr="">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.</promisc></performnud,accept_rtadv></rxcsum,txcsum></up,loopback,running,multicast></pointopoint,simplex,multicast></performnud,accept_rtadv></vlan_mtu,wol_ucast,wol_magic,linkstate></up,broadcast,running,simplex,multicast></performnud,accept_rtadv></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic></up,broadcast,running,simplex,multicast></vendor></vendor>


Locked