EPSON USB laser printer not printing

Hi,
I have connected my EPSON AccuLaser M2000 printer to the USB port of my OpenWRTed router, installed the needed packages as instructed in the manual, but it does not seem to print.

The same printer locally attached to computer's USB port will print perfectly fine.

Any tips are welcome.


some more screenshots - the printer on OpenWRT


Check if you have the Device.
See what is in the log - disconnect the printer, run logread -f, plug USB back, wait a bit then post the output. No pictures please.

ok, but in the meantime I've found this - maybe it's the problem?

root@OpenWrt:~# cat /dev/usb/lp0
cat: can't open '/dev/usb/lp0': No such file or directory
root@OpenWrt:~# ls -lah /dev/usb
ls: /dev/usb: No such file or directory

Just did what you say, but there is no output, it stays blank:

root@OpenWrt:~# logread -f

Then it is too early to print )
Check if the router sees the device with cat /sys/kernel/debug/usb/devices

I think it does not see it:

root@OpenWrt:~# logread -f
^Croot@OpenWrt:~# cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 5.15
S:  Manufacturer=Linux 5.15.150 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=1e1c0000.xhci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 5.15
S:  Manufacturer=Linux 5.15.150 xhci-hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=1e1c0000.xhci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

Then the issue is probably unrelated to OpenWrt yet.
Check cables, printer settings, etc.
Try using any other USB device and check if the router can see it.

Unfortunately no, it does not.
With the original firmware it was fine - recognizing both the printer or any usb stick with memory.

What is your router model then?

[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Linksys EA7300 v2

It looks like people having issues with USB on these routers.
For example: USB not working on Linksys EA7300
You can probably find more.

1 Like

I've installed a lot of packages in my attempts to solve the issue - maybe I need to remove some of those?

|kmod-usb-core|5.15.150-1|~94.70 KiB|Kernel support for USB|Remove…|
| --- | --- | --- | --- | --- |
|kmod-usb-ehci|5.15.150-1|~25.36 KiB|EHCI controller support|Remove…|
|kmod-usb-ohci|5.15.150-1|~21.22 KiB|Kernel support for USB OHCI controllers|Remove…|
|kmod-usb-printer|5.15.150-1|~8.22 KiB|Kernel support for USB printers|Remove…|
|kmod-usb-uhci|5.15.150-1|~14.91 KiB|Kernel support for USB UHCI controllers|Remove…|
|kmod-usb-xhci-hcd|5.15.150-1|~69.45 KiB|The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0…|Remove…|
|kmod-usb-xhci-mtk|5.15.150-1|~8.53 KiB|Kernel support for the xHCI host controller found in MediaTek SoCs.|Remove…|
|kmod-usb2|5.15.150-1|~9.17 KiB|Kernel support for USB2 (EHCI) controllers|Remove…|
|kmod-usb3|5.15.150-1|~6.71 KiB|Kernel support for USB3 (XHCI) controllers|Remove…|
|kmod-usbip|5.15.150-1|~5.33 KiB|USB-over-IP kernel support|Remove…|
|kmod-usbip-server|5.15.150-1|~11.90 KiB|USB-over-IP host driver|

Thanks for the reference.
Looks like the OpenWRT/kernel support for this device is suboptimal.
I guess I'll just not use the USB port, I don't want to make hacking workarounds, doesn't feel right.

Hopefully, in the future it may be fixed, who knows...

Thanks for your help anyways, I appreciate it. :+1:

Try snapshot if you have time, seems driver side is ok just usb port is not powered.

I've played a bit with some usb power utils from opkg - and even if you send power on to the USB it does not work.
I don't think it's power related, but power management related.

Which snapshot to try? From this URL correct? -> https://downloads.openwrt.org/snapshots/targets/mediatek/

Index of (root) / snapshots / targets / mediatek /


|File Name|File Size|Date|
| --- | --- | --- |
|[filogic](https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/)/|-|Fri Apr 26 12:28:23 2024|
|[mt7622](https://downloads.openwrt.org/snapshots/targets/mediatek/mt7622/)/|-|Fri Apr 26 03:55:26 2024|
|[mt7623](https://downloads.openwrt.org/snapshots/targets/mediatek/mt7623/)/|-|Fri Apr 26 06:59:44 2024|
|[mt7629](https://downloads.openwrt.org/snapshots/targets/mediatek/mt7629/)/|-|Fri Apr 26 11:13:36 2024|

because the chip is 7621 and I don't see such folder

7621 is in the rampis target.

1 Like

Ok installed it, the router rebooted, but shows the same ver and configuration, everything is like before the flashing.


Firmware Version	OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.073.29889-cd7e519