Hello All,
I am using Raspbian image, 2022-4-09 update, 64 bit (2022-04-09-raspios-bullseye-arm64-bpi-m5-m2pro-sd-emmc.img). I have a USB device that uses LAN78xx chip. When I plug in the device to Banana Pi M5, it shows the following error in dmesg:
usb 1-1.2: Unsupported device
I assumed that may be the lan78xx drivers were not enabled in the kernel module. Therefore, I built the newer kernel using Docker image and instructions from https://github.com/BPI-SINOVOIP/BPI-M5-bsp. I built the kernel twice, once with lan78xx as a module (M) and the other time with lan78xx drivers build-in (*). I flashed the new kernel and I can verify through uname -a that the kernel has updated:
Linux pi 4.9.312-BPI-M5 #1 SMP PREEMPT Thu Oct 20 13:51:35 UTC 2022 aarch64 GNU/Linux
But the error message stays the same in dmesg:
usb 1-1.2: Unsupported device
I also tried to manually load the kernel module as well:
pi@pi:~/Desktop $ lsmod Module Size Used by lan78xx 49152 0
But when I plug the USB to BPI-M5 after loading this module, the dmesg output is follows:
[ 709.759262] usbcore: registered new interface driver lan78xx
[ 801.573489] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[ 801.724478] usb 1-1.4: New USB device found, idVendor=0424, idProduct=7801
[ 801.724484] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 801.750899] usb 1-1.4: Unsupported device
To rule out any problems with the device, on my laptop with Ubuntu and kernel version 5.15, when I plugged in the same device, it appears as an Ethernet network interface and also shows similar messages in the dmesg:
[231534.282443] usb 2-2: new high-speed USB device number 38 using xhci_hcd
[231534.431019] usb 2-2: New USB device found, idVendor=0424, idProduct=7801, bcdDevice= 3.00
[231534.431033] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[231534.431038] usb 2-2: Product: LAN7801
[231534.635136] lan78xx 2-2:1.0 enx00800fd00002: renamed from eth0
[231534.663483] IPv6: ADDRCONF(NETDEV_CHANGE): enx00800fd00002: link becomes ready
If there are any suggestions on how can I support this device on BPI-M5, please do let me know.
Thank you.