LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-16-2023, 11:10 AM   #1
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Rep: Reputation: 18
Installing a printer


I have bought a new printer (Brother HL-L2350DW) and tried to connect it to my computer.
Looking at dmesg I can see that it has been spotted
Code:
[    1.677999] usb 2-3.4: New USB device found, idVendor=04f9, idProduct=009e, bcdDevice= 1.00
[    1.678006] usb 2-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.678009] usb 2-3.4: Product: HL-L2350DW series
[    1.678011] usb 2-3.4: Manufacturer: Brother
[    1.678013] usb 2-3.4: SerialNumber: E78252B3N460964
I have downloaded and installed the driver and 'Print Settings' knows about it - but the Properties shows 'Processing - Waiting for printer to become available.'
The printer is turned on but is asleep. Where should I look to get it to wake up?

Poking around I looked in /etc/cups/printer.conf. There I saw that my previous printer was at
Code:
DeviceURI usb://Brother/MFC-9660?serial=BRO3C148910%0D
while the new one is at
Code:
DeviceURI usb://dev/usb/lp0
I am suspicious that the setup is not yet correct.

Last edited by Ian D; 08-16-2023 at 12:10 PM.
 
Old 08-16-2023, 05:32 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
The pragmatic option would be to power-cycle the printer, or re-plug the USB connection when required.

This may also be of interest to you
https://wiki.archlinux.org/title/CUP...SB_autosuspend

Anyway, what do the following commands show? (Run both as user)
Code:
/usr/share/cups/usb
Code:
ls -l /dev/bus/usb/*/*
An old thread discussing similar...
https://bbs.archlinux.org/viewtopic.php?id=82489
 
Old 08-16-2023, 06:04 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I learned to use network instead of USB long time ago. For at least 20 years now all my printers are networked, it is so much easier to set them up.
 
Old 08-16-2023, 08:16 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,329
Blog Entries: 28

Rep: Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143Reputation: 6143
Have you tried installing it via CUPS: http://localhost:631
 
Old 08-16-2023, 09:49 PM   #5
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 872

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Have you tried installing it via CUPS: http://localhost:631
I under the impression Borther printers are ready to go as it out of the box when it comes to linux?
 
Old 08-16-2023, 10:17 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,716

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
cups has a USB backend so /dev/usb/lp0 has not been used in at least 10+ years. In that past that was caused by the usblp module still being loaded. To fix you would need to blacklist the module.

I would expect your printer to be IPP everywhere capable (via IPP over USB) so Fedora should be able to automatically find and setup the printer if all the bits and pieces were working. You might need to install the IPP-usb package.

https://discussion.fedoraproject.org...-enabled/76556
 
Old 08-17-2023, 01:47 AM   #7
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Quote:
Originally Posted by michaelk View Post
cups has a USB backend so /dev/usb/lp0 has not been used in at least 10+ years. In that past that was caused by the usblp module still being loaded. To fix you would need to blacklist the module.
That hasn't been a requirement for years actually.
https://github.com/apple/cups/issues/4128
 
Old 08-17-2023, 01:57 AM   #8
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
FWIW, I have an old Brother DCP-7055 printer (which only has USB connectivity), and the working printer URI is identical to that of the OP's posted config. The proprietary driver uses the older USB CUPS backend based on the old /dev/usb/lp* device file for communication. Most modern printer drivers use the libusb-based USB backend these days.

Of course, I also encourage the OP to try using the driverless approach as well.

Last edited by ferrari; 08-17-2023 at 01:59 AM.
 
Old 08-18-2023, 04:25 AM   #9
Ian D
Member
 
Registered: Aug 2005
Location: Solihull, UK
Distribution: Fedora 39
Posts: 215

Original Poster
Rep: Reputation: 18
It appears that ipp-usb was causing the problem.
I created a file "myprinter.conf" in the /etc/ipp-usb/quirks/ folder with this content
Quote:
[Brother HL-L2350DW]
blacklist = true

[Brother HL-L2350DW series]
blacklist = true
I went to Administration->Print Settings and deleted my printer and then rebooted the computer.
I then went to Administration->Print Settings and added my printer - the printer was available in a list to select - and I was able to select the Brother printer driver from a list.
Finally I was able to print a test page!
 
Old 08-18-2023, 09:14 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,813

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Thanks for the update I haven't run into this issue, but it has been discussed by the CUPS people for some time....

https://github.com/OpenPrinting/ipp-usb/issues/28
https://github.com/OpenPrinting/ipp-usb/issues/50
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 06:14 AM
[SOLVED] error while installing printer driver for hp printer .. M1213nf mfp sachin.davra Linux - Newbie 3 04-07-2014 01:35 AM
Printer problem - Installing Lexmark All in One Printer on Fedora 16 glock356 Linux - Hardware 2 01-21-2012 07:31 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration