No USB option for standard printer port

Questions on Installation
sposh
Posts: 4
Joined: Mon Jun 21, 2021 1:38 pm

No USB option for standard printer port

Post by sposh »

Trying to configure an Epson SC P600, connected via USB cable, not network, to an Ubuntu 20.4. Try to add as a new standard printer an the only port options I get are CUPS-BRF, Parallel1, Parallel2 and CUPS-URI, no USB option. Printer is turned on, connects to a Mac fine. Any ideas?
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

Hello,

of course you should see the printer. Please execute

Code: Select all

lsusb
in a terminal window to check if the printer is recognized by your computer.
If that works, please execute

Code: Select all

sudo /usr/lib/cups/backend/usb
sudo /usr/lib/cups/backend/tpu 
to check if the printer is also recognized by "usb", the standard USB printer backend and by "tpy", the TurboPrint USB printer backend.
sposh
Posts: 4
Joined: Mon Jun 21, 2021 1:38 pm

Re: No USB option for standard printer port

Post by sposh »

Yes, sorry - forgot to mention printer appears in Ubuntu's Settings > Printers (but no proper driver obviously) and when I do lsusb.

Output from sudo /usr/lib/cups/backend/usb is:

DEBUG: Loading USB quirks from "/usr/share/cups/usb".
DEBUG: Loaded 95 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=9
DEBUG: Failed to detach "usblp" module from 04b8:006b

And udo /usr/lib/cups/backend/tpu outputs nothing.

Cheers
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

The "driverless" system is probably running on your Linux. This blocks the printer and should give (limited) access via a local IPP connection - the printer should be visible in TurboPrint Control -> "Add printer" dialog as "Epson SC-P600 series (driverless)".

It usually helps to disable the "driverless" system with the following procedure:

1. open a terminal window

2. enter the following command:

sudo touch /etc/udev/rules.d/55-ippusbxd.rules

(your login password is requested).

3. After unplugging and replugging the USB cable (or switching off and on), the printer should be detected with USB connection in TurboPrint Control and can be changed to that connection type:
Click on "Edit"in TurboPrint Control Center, then select "Printer is standard printer" and choose the entry with printer name and "(TP-USB)" suffix in the "choose port" pulldown list.

Note: If needed, you can reactivate the "driverless" printing system again with the following terminal command (will block TurboPrint again):

sudo rm /etc/udev/rules.d/55-ippusbxd.rules
sposh
Posts: 4
Joined: Mon Jun 21, 2021 1:38 pm

Re: No USB option for standard printer port

Post by sposh »

Yay! that worked. Thanks
roberteldersoftware
Posts: 13
Joined: Fri Aug 06, 2021 7:49 pm

Re: No USB option for standard printer port

Post by roberteldersoftware »

Hi, just an FYI: I have an Epson P900 and after installing the trial version for turboprint 2.51-1 I was affected by the same issue of not being able to see the printer, but only when connecting via USB.

The solution of doing:

sudo touch /etc/udev/rules.d/55-ippusbxd.rules

also worked to solve my problem.

Not sure if this can be made to work automatically in the install process, but it might help some other people if it can be.
roberteldersoftware
Posts: 13
Joined: Fri Aug 06, 2021 7:49 pm

Re: No USB option for standard printer port

Post by roberteldersoftware »

Here's another interesting FYI:

Here is what I see in kern.log when I plug in the USB for the printer on my main computer when the udev override is NOT active:

Aug 7 17:36:03 robert-ThinkPad-P15v-Gen-1 kernel: [39235.527519] usb 1-1: new high-speed USB device number 19 using xhci_hcd
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.699613] usb 1-1: New USB device found, idVendor=04b8, idProduct=00bb, bcdDevice= 1.00
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.699628] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.699634] usb 1-1: Product: SC-P900 Series
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.699639] usb 1-1: Manufacturer: EPSON
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.699643] usb 1-1: SerialNumber: snip
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.716165] usblp 1-1:1.0: usblp1: USB Bidirectional printer dev 19 if 0 alt 0 proto 2 vid 0x04B8 pid 0x00BB
Aug 7 17:36:04 robert-ThinkPad-P15v-Gen-1 kernel: [39235.757073] usblp1: removed

And here is what I see when it is installed:

Aug 7 17:37:18 robert-ThinkPad-P15v-Gen-1 kernel: [39310.511596] usb 1-1: new high-speed USB device number 20 using xhci_hcd
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.683616] usb 1-1: New USB device found, idVendor=04b8, idProduct=00bb, bcdDevice= 1.00
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.683630] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.683637] usb 1-1: Product: SC-P900 Series
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.683642] usb 1-1: Manufacturer: EPSON
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.683648] usb 1-1: SerialNumber: snip
Aug 7 17:37:19 robert-ThinkPad-P15v-Gen-1 kernel: [39310.699198] usblp 1-1:1.0: usblp1: USB Bidirectional printer dev 20 if 0 alt 0 proto 2 vid 0x04B8 pid 0x00BB

Notice the extra 'usblp1: removed' when the udev override is not there. That happens just after plugging in IN.

Then, I was on another computer that I just formatted with a freshly installed Ubuntu 20.04.2 (same version as my main one) and when I plugged in the USB for this printer, and it was detected right away!

I checked the kernel logs and found that on this computer when, ippusbxd starts up which segfaults right away for some reason. I think the fact that ippusbxd segfaults might be preventing usblp1 from being removed, which is then allowing it to show up through USB.

Anyway, I resolved my issue, but might as well post this for anyone else trying to figure this out...
laoe
Posts: 6
Joined: Wed Jun 02, 2021 8:47 am

Re: No USB option for standard printer port

Post by laoe »

Hello
Trying to install on a Epson xp-8600, have downloaded the trial version and installed it, but have trouble printing.
It seems the driver has problems finding the printer. I get a message on screen that the test print is printing, but the printer don't print.
Have followed all the steps above in this thread:

lsusb gives:
Bus 005 Device 005: ID 04b8:115a Seiko Epson Corp. XP-8600 Series
sudo /usr/lib/cups/backend/usb, and sudo /usr/lib/cups/backend/tpu gives same result as in zedonet's reply.

Starting Turboprint from terminal gives this output in the terminal (repeating lines omitted):
(turboprint:17331): Gtk-WARNING **: 17:07:24.745: Unable to locate theme engine in module_path: "clearlooks",
Could not open freepipes pipe /var/spool/turboprint/root/fd
(turboprint:17331): Gtk-WARNING **: 17:09:19.828: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
lp -t 'TurboPrint Testpage' -d XP8600series-TurboPrint /tmp/tp17331_3.tmp
request id is XP8600series-TurboPrint-103 (1 file(s))
After completing the third step in zedonet's reply
Click on "Edit"in TurboPrint Control Center, then select "Printer is standard printer" and choose the entry with printer name and "(TP-USB)" suffix in the "choose port" pulldown list.
the printer with the TP.USB suffix do not exist in the pulldown list
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

Hello laoe,

probably your usb printer is blocked via the "driverless" system? Did you try to deactivate it as shown in previous posts?
What Linux system have you installed?
What do you mean with "sudo /usr/lib/cups/backend/usb, and sudo /usr/lib/cups/backend/tpu gives same result as in zedonet's reply."? What is the output of the commands in your case? Is your printer listed?
laoe
Posts: 6
Joined: Wed Jun 02, 2021 8:47 am

Re: No USB option for standard printer port

Post by laoe »

probably your usb printer is blocked via the "driverless" system? Did you try to deactivate it as shown in previous posts?
Yes
What Linux system have you installed?
MX-Linux, would be a custom Debian stable.
What do you mean with "sudo /usr/lib/cups/backend/usb, and sudo /usr/lib/cups/backend/tpu gives same result as in zedonet's reply."? What is the output of the commands in your case?
Output from sudo /usr/lib/cups/backend/usb

DEBUG: Loading USB quirks from "/usr/share/cups/usb".
DEBUG: Loaded 184 quirks.
DEBUG: list_devices
DEBUG: libusb_get_device_list=13
DEBUG: Failed to detach "usblp" module from 04b8:115a


And sudo /usr/lib/cups/backend/tpu outputs nothing.
Is your printer listed?
lsusb
Bus 005 Device 004: ID 04b8:115a Seiko Epson Corp. XP-8600 Series

Or, if you mean after doing what you said in your post, the printer with the TP.USB suffix do not exist in the pulldown list

Pulldown list gives me:
CUPS-BRF
CUPS-PDF
EPSON XP-8600 Series (driverless)
ParalellPort 1
ParalellPort 2
Other (CUPD URI)

Following the last wizard gives me a printer named:

XP8600Series-TurboPrint Epson_XP8600series_(TurboPrint) Local Printer ipp://EPSON%20XP%20Series%20(USB)._ipp._tcp.local/ Epson_XP8600series

Trying to print to it, my system says page is sent to printer, but no reaction from printer
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

The problem is that the "driverless" system driver has grabbed your printer ("EPSON XP-8600 Series (driverless)") - printing should normally work, however it does not seem to be very reliable. The USB driver tries to access the printer but it is not released by driverless ("DEBUG: Failed to detach "usblp" module from 04b8:006b").
I would suggest to disable the "driverless" printing system from using USB printers with the

sudo touch /etc/udev/rules.d/55-ippusbxd.rules

command in a terminal window - as explained above.
laoe
Posts: 6
Joined: Wed Jun 02, 2021 8:47 am

Re: No USB option for standard printer port

Post by laoe »

I followed the explanations above, incuded the
sudo touch /etc/udev/rules.d/55-ippusbxd.rules

After following all the steps, and the printer wizard, I get a printer named
XP8600Series-TurboPrint Epson_XP8600series_(TurboPrint) Local Printer ipp://EPSON%20XP%20Series%20(USB)._ipp._tcp.local/ Epson_XP8600series
not
"EPSON XP-8600 Series (driverless)"
Still no printing, as I said
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

Depending on the Linux distribution, the filename "55-ippusbxd.rules" for the rule may be different.
Please open a terminal window and enter the command

ls /usr/lib/udev/rules.d/*ipp*

This should return the name of the rule file, e.g. "/usr/lib/udev/rules.d/71-ipp-usb.rules"
Uuse this filename in the "touch" command

sudo touch /etc/udev/rules.d/71-ipp-usb.rules
laoe
Posts: 6
Joined: Wed Jun 02, 2021 8:47 am

Re: No USB option for standard printer port

Post by laoe »

ls /usr/lib/udev/rules.d/*ipp*
gives me
/usr/lib/udev/rules.d/71-ipp-usb.rules
as you suggest

Using
sudo touch /etc/udev/rules.d/71-ipp-usb.rules
Restarting printer, and installing from Turboprint Setup & Configure, I get a printer named
XP8600series-TurboPrint-Epson_XP8600series_(TurboPrint)

TurboPrint Printer monitor gives warning triangle, and says "Cannot connect to remote daemon"
No output from printer
zedonet
Site Admin
Posts: 2156
Joined: Fri Oct 06, 2006 8:02 am

Re: No USB option for standard printer port

Post by zedonet »

This sounds as if the printer is still configured as a IPP and not as a USB printer.

Please check if the printer URI starts with "tpu://" (TurboPrint Control, column "URI").

If not, please try to remove and add the printer again in TurboPrint Control. The drop-down "Choose port" should list the entry "Epson XP8600 series TP-USB ..." for your printer - please select this entry.
Post Reply