LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-25-2006, 01:57 AM   #1
bennyk
LQ Newbie
 
Registered: May 2006
Distribution: Mepis (debian)
Posts: 4

Rep: Reputation: 0
Wake Brother USB Printer


Hi,
I have (successfully!) installed and shared my Brother HL-1440 laser printer via CUPS. It seems to be working great, except after a few minutes the printer goes into "sleep" mode which essentially shuts off the printer.

lpstat tells me: Unable to open USB device "usb://Brother/HL-1440%20series": No such device

This behavior is how Brother designed the printer to work, apparently. With the windows driver connecting directly to the usb, any print command will "wake" the printer back up. I tried creating a shell script that checks if the printer's disabled, and tries to re-enable it, but it can't enable the printer if it can't communicate with the device!

Is there a way for me to send a command to the USB port to wake the printer up?

AND, if this works to wake the printer up, is there a way for me to make that happen whenever a job hits the printer's queue?
 
Old 05-25-2006, 02:11 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.linuxprinting.org/piperma...q1/000921.html
 
Old 05-25-2006, 06:05 PM   #3
bennyk
LQ Newbie
 
Registered: May 2006
Distribution: Mepis (debian)
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, but this suggestion did not work. The system could not communicate with the printer at all when I tried to install it at usb://dev/usb/lp0. This was not even an option in the CUPS setup, but I could install it to that location in the KDE utility.

Last edited by bennyk; 05-25-2006 at 06:25 PM.
 
Old 05-25-2006, 09:36 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.linuxprinting.org/piperma...q4/000427.html
... in this case the sleep mode interferes with printer aquisition on boot.

This dosn't seem very common, though it pops up from time to time.
The standard workaround is to leave the printer switched off and turn it on when you want to print something. The printer informs the hotplug system that it is available and everything connects.

Presumably the printer(/fax/copier) expects to receive a wakeup signal when a job is ready - this sort of thing is typically handled by the driver. CUPS suggests three drivers for this printer - I'd fool around with the different drivers and their options to see if there is something to enable this or if one of the other drivers handles this better than the default.
 
Old 05-26-2006, 06:46 PM   #5
bennyk
LQ Newbie
 
Registered: May 2006
Distribution: Mepis (debian)
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge
The standard workaround is to leave the printer switched off and turn it on when you want to print something. The printer informs the hotplug system that it is available and everything connects.
Unfortunately this is not a very good solution for my situation (trying to use the machine to serve printers).

Strangely, since I have re-installed the printer using foomatic+hl1250 (suggested), the wake-up function seems to be working. Is there any explanation for this, or should I assume that it may break again as mysteriously as it was fixed?

Thanks for your help Simon
 
Old 05-28-2006, 12:56 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
http://www.linuxprinting.org/show_pr...rother-HL-1440
http://www.linuxprinting.org/executi...cution+details
... for more information.

It is possible that the driver just didn't load properly.
Brother make proprietary drivers for their printer/scanner combos too.

Of course, as this is to be an "always available" printer - perhaps you could disable the sleep function at the printer.

I have this feeling that it will continue to be fine; but if you remove it and then reinstall it, the wake function may vanish again. It is possible that the auto-functions in cups need to see a particular "thing" from the printer and the timing may be a little out so it gets missed.

(The likes of windows drivers will just assume a "sleep" printer is present and send a wake signal regardless - CUPS will be checking to see what driver options to set.)

Last edited by Simon Bridge; 05-28-2006 at 01:03 AM.
 
Old 05-28-2006, 02:31 AM   #7
bennyk
LQ Newbie
 
Registered: May 2006
Distribution: Mepis (debian)
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge
Brother make proprietary drivers for their printer/scanner combos too.
Yes I noticed this. The proprietary drivers probably fix it but my system does not have LPR & LPD installed, and I wasn't really sure how do do it since dpkg kept erroring saying that I should use CUPS instead.

I didn't exactly want to wade into that one because it was already kind of working.

Thanks again,
bk
 
  


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
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM
Brother printer dtsfanatic Linux - Software 5 02-11-2007 07:45 AM
Printer Brother trainee Slackware 6 10-14-2005 03:24 PM
Wake up USB printer cmaidorn Linux - Hardware 1 09-01-2005 04:48 PM
brother printer anandj Linux - Hardware 0 11-29-2004 05:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:39 PM.

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