Made some progress. In ChromeOS, there is a usb-modeswitching program called MIST (“Modem Interface Switching Tool”).
In the udev rules of mist, there are the following lines relating to Realtek 815x:
# The following devices are Ethernet adapters in USB Storage mode.
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="a100", ATTR{bInterfaceClass}=="08", GOTO="mist_switch_device"
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8151", ATTR{bInterfaceClass}=="08", GOTO="mist_switch_device"
ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8152", ATTR{bInterfaceClass}=="08", GOTO="mist_switch_device"
ATTRS{idVendor}=="13b1", ATTRS{idProduct}=="0040", ATTR{bInterfaceClass}=="08", GOTO="mist_switch_device"
In MIST’s default.conf
, more infomation could be found:
###############################################################################
# The following devices are Ethernet adapters, not cellular modems.
###############################################################################
# Samsung USB Ethernet Adapter AA-AE2N12B
usb_modem_info {
initial_usb_id { vendor_id: 0x04e8 product_id: 0xa100 }
final_usb_id { vendor_id: 0x04e8 product_id: 0xa101 }
initial_reset: true
}
# Realtek RTL8152-based Ethernet Adapters
usb_modem_info {
initial_usb_id { vendor_id: 0x0bda product_id: 0x8151 }
final_usb_id { vendor_id: 0x0bda product_id: 0x8152 }
usb_message: "555342430860d9a9c0000000800006e0000000000000000000000000000000"
}
# Realtek RTL8153-based Ethernet Adapters
usb_modem_info {
initial_usb_id { vendor_id: 0x0bda product_id: 0x8152 }
final_usb_id { vendor_id: 0x0bda product_id: 0x8153 }
usb_message: "555342430860d9a9c0000000800006e0000000000000000000000000000000"
}
It seems that the product ID switches to 0152 after modeswitch. I will try to figure out a working usb-modeswitch
command and report here.
Anyway, any help will be greatly appreciated.