1
Hardware and Performance / How to load ure module for USB NIC if device id isn't in the driver?
« on: September 22, 2024, 12:03:59 am »
Hi, I need to add 2 extra ethernet ports to my firewall (a little Intel N100 fanless box with 4 ethernet ports) for low bandwidth-ish devices (PiKVM and a printer). I have 2 MS Surface USB3 gigabit adapters with realtek 8153b chips in them and got them to work with cdc generic driver by settings them to mode 1. The problem is that this driver is pretty bad in terms of maximum bandwidth (250Mbit/s) and latency. realtek 8153b is supposed to be decently supported with the "ure" driver which I am hoping will improve the latency at high load. I suspect that ure driver doesn't get loaded because the device id is just not in the driver code. Is there any way to make the driver load for my device passing device id at runtime (which is possible on linux).
I had these nics running under linux before and they were rock solid with months uptime.
I had these nics running under linux before and they were rock solid with months uptime.
Code: [Select]
ugen0.3: <RTL8153B GigE [Surface Ethernet Adapter] Microsoft Corp.> at usbus0, cfg=1 md=HOST spd=SUPER (5.0Gbps) pwr=ON (72mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0300
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0009
idVendor = 0x045e
idProduct = 0x0927
bcdDevice = 0x3100
iManufacturer = 0x0001 <Microsoft>
iProduct = 0x0002 <Ethernet Adapter>
iSerialNumber = 0x0006 <001008A1A>
bNumConfigurations = 0x0002


