USB devices not recognized

Hi, I just installed p910nd for printing over the USB port, but there are no usb devices:

root@OpenWrt:~# ls -l /dev/usb/
ls: /dev/usb/: No such file or directory
root@OpenWrt:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux 5.10.41 xhci-hcd xHCI Host Controller
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.41 xhci-hcd xHCI Host Controller
root@OpenWrt:~# dmesg | grep usb
[    0.043874] usbcore: registered new interface driver usbfs
[    0.043911] usbcore: registered new interface driver hub
[    0.043945] usbcore: registered new device driver usb
[    0.085432] mtk-tphy 1a0c4000.usb-phy: failed to get ref_clk(id-1)
[    1.616864] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    1.622108] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 1
[    1.631187] xhci-mtk 1a0c0000.usb: hcc params 0x01403198 hci version 0x96 quirks 0x0000000000210010
[    1.640286] xhci-mtk 1a0c0000.usb: irq 36, io mem 0x1a0c0000
[    1.654517] xhci-mtk 1a0c0000.usb: xHCI Host Controller
[    1.659772] xhci-mtk 1a0c0000.usb: new USB bus registered, assigned bus number 2
[    1.667180] xhci-mtk 1a0c0000.usb: Host supports USB 3.0 SuperSpeed
[    1.673503] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    8.800212] usbcore: registered new interface driver btusb
[ 5352.444837] usbcore: registered new interface driver usblp
root@OpenWrt:~# opkg list-installed | grep usb
kmod-usb-core - 5.10.41-1
kmod-usb-printer - 5.10.41-1
kmod-usb-xhci-hcd - 5.10.41-1
kmod-usb3 - 5.10.41-1
libusb-1.0-0 - 1.0.24-4
usbutils - 014-1

What do I need to check?

Do you need to mount this first?

No, it just worked fine before. But I realized that kmod-usb-printer somehow disappeared, and I installed it again. It is not detecting the attached printer on the USB port.

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

No, it is still not working, although I installed all necessary modules and apps. I suspect the problem is around the USB handling in the OpenWRT, something like /dev/usb which directory does not exist.

I'm not sure if it's necessary for a printer, but you might try also installing kmod-usb-storage and block-mount.

It was a human error: the USB cable was not correctly plugged in. Thanks for all advices.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.