AX88772 to DUB-E100
Contents
- 1 Requirements
- 2 Procedure
- 2.1 Update repos and install ethtool
- 2.2 Check connected USB devices
- 2.3 Check if visible as network adapter
- 2.4 Check if EEPROM can be accessed in device "eth1"
- 2.5 Read EEPROM from "eth1" device
- 2.6 Confirm that offsets 0x0040 and 0x0080 contain "95 0b 2b 77"
- 2.7 Overwrite VID and PID with ones from D-Link DUB-E100 (0x2001, 0x3c05)
- 2.8 Confirm EEPROM changes at offsets 0x0040 and 0x0080
- 2.9 Reconnect device and check if it identifies as D-Link DUB-E100
Requirements
- Linux (for example Raspberry Pi)
- ASIX AX88772 USB to Ethernet dongle (buy here: [1])
Procedure
Update repos and install ethtool
sudo apt-get update
sudo apt-get install ethtool
Check connected USB devices
Look for ID 0b95:772b ASIX Electronics Corp. AX88772B device
lsusb
Check if visible as network adapter
And what's the device name. In this case it's "eth1" which I'm going to use in next steps whenever there's need to point to a device.
ifconfig
Check if EEPROM can be accessed in device "eth1"
sudo ethtool -i eth1
Read EEPROM from "eth1" device
sudo ethtool -e eth1
Confirm that offsets 0x0040 and 0x0080 contain "95 0b 2b 77"
Notice the similarity between "95 0b 2b 77" and "ID 0b95:772b" from step 3. This is VID and PID of this device which we are going to change in next step
Overwrite VID and PID with ones from D-Link DUB-E100 (0x2001, 0x3c05)
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x0088 value 0x01
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x0089 value 0x20
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x008A value 0x05
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x008B value 0x3c
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x0048 value 0x01
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x0049 value 0x20
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x004A value 0x05
sudo ethtool -E eth1 magic 0xdeadbeef offset 0x004B value 0x3c
Confirm EEPROM changes at offsets 0x0040 and 0x0080
sudo ethtool -e eth1
Reconnect device and check if it identifies as D-Link DUB-E100
lsusb