Hi, I am attempting to connect printer HP P1102 through p910nd.
- HP Smart Install has been disabled using SIUtility in HP driver package
- The following packages have been installed: kmod-usb-printer p910nd luci-app-p910nd
root@GL-MT300N-V2:/dev# ubus call system board
{
“kernel”: “4.14.221”,
“hostname”: “GL-MT300N-V2”,
“system”: “MediaTek MT7628AN ver:1 eco:2”,
“model”: “GL-MT300N-V2”,
“board_name”: “gl-mt300n-v2”,
“release”: {
“distribution”: “OpenWrt”,
“version”: “19.07.7”,
“revision”: “r11306-c4a6851c72”,
“target”: “ramips/mt76x8”,
“description”: “OpenWrt 19.07.7 r11306-c4a6851c72”
}
}
Problem is I cannot see /dev/usb/lp0
root@GL-MT300N-V2:/# ls /dev/usb/
root@GL-MT300N-V2:/#
Attempts to connect and reboot etc. have generally failed.
root@GL-MT300N-V2:/# dmesg | grep usb
[ 4.923139] usbcore: registered new interface driver usbfs
[ 4.928882] usbcore: registered new interface driver hub
[ 4.934407] usbcore: registered new device driver usb
[ 5.027431] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[ 5.034266] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[ 5.234801] usbcore: registered new interface driver usb-storage
[ 5.244136] usbcore: registered new interface driver uas
[ 20.618718] usbcore: registered new interface driver cdc_acm
[ 20.685398] usbcore: registered new interface driver cdc_wdm
[ 20.805670] usbcore: registered new interface driver ipheth
[ 21.617430] usbcore: registered new interface driver usblp
[ 21.697974] usbcore: registered new interface driver usbserial
[ 21.704069] usbcore: registered new interface driver usbserial_generic
[ 21.710771] usbserial: USB Serial support registered for generic
[ 22.046864] usbcore: registered new interface driver cdc_ether
[ 22.068778] usbcore: registered new interface driver cdc_ncm
[ 22.084900] usbcore: registered new interface driver cp210x
[ 22.090636] usbserial: USB Serial support registered for cp210x
[ 22.115193] usbcore: registered new interface driver huawei_cdc_ncm
[ 22.206047] usbcore: registered new interface driver qmi_wwan
[ 22.216748] usbcore: registered new interface driver rndis_host
[ 22.227263] usbcore: registered new interface driver sierra
[ 22.232999] usbserial: USB Serial support registered for Sierra USB modem
[ 22.244106] usbcore: registered new interface driver sierra_net
[ 22.260164] usbcore: registered new interface driver option
[ 22.266000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 96.042264] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 96.269156] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x002A
[ 97.860667] usblp0: removed
Even after removing the USB cable and reconnecting it, usblp0 gets removed almost immediately.
[25728.647106] usb 1-1: new high-speed USB device number 3 using ehci-platform
[25728.853539] usblp 1-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x03F0 pid 0x002A
[25729.302197] usblp0: removed
The device appears in lsusb:
root@GL-MT300N-V2:/# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 03f0:002a HP, Inc LaserJet P1102
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@GL-MT300N-V2:/#
Not sure if this comparison makes sense, but I have been able to see lp0 on a Raspberry Pi and a Debian-based laptop. Just not this Mango router.
What else can I do / look for to troubleshoot this?