View previous topic :: View next topic |
Author |
Message |
r.abbott Tux's lil' helper


Joined: 16 Aug 2004 Posts: 113 Location: Herat, Afghanistan
|
Posted: Wed Sep 21, 2005 1:48 am Post subject: After booting have to re-plug, restart cups printer (SOLVED) |
|
|
This is only a minor nuisance, but after I boot my computer I have to physically unplug the printer USB cable, plug it back in, and then visit localhost:631 to start the printer in CUPS. Is there any way for it to set the device permissions correctly on boot and start the printer automatically?
Thanks!
Last edited by r.abbott on Wed Sep 21, 2005 11:34 am; edited 1 time in total |
|
Back to top |
|
 |
thesnowman Guru

Joined: 08 May 2003 Posts: 365 Location: Sydney, Australia
|
Posted: Wed Sep 21, 2005 5:12 am Post subject: |
|
|
Do you have the coldplug package installed? Code: | # emerge -av coldplug
# rc-update add coldplug default |
|
|
Back to top |
|
 |
r.abbott Tux's lil' helper


Joined: 16 Aug 2004 Posts: 113 Location: Herat, Afghanistan
|
Posted: Wed Sep 21, 2005 10:46 am Post subject: |
|
|
Oops, in re-emerging cups, I see that it tells you to install coldplug.
Good, that fixed having to replug the cable. I still had to start the printer in cups though.
I think the problem could be in my device URI. I have it set to "Device URI: device=/dev/usb/lp0" I did this by selecting (in the cups configuration utility) Device: LPD/LPR Host or Printer, then entering /dev/usb/lp0 as the device URI. Is that correct? |
|
Back to top |
|
 |
r.abbott Tux's lil' helper


Joined: 16 Aug 2004 Posts: 113 Location: Herat, Afghanistan
|
Posted: Wed Sep 21, 2005 11:35 am Post subject: |
|
|
Okay, yeah, changing the device URI to USB Printer #1 fixed it.
Thanks for your help! |
|
Back to top |
|
 |
seppelrockt Guru

Joined: 14 May 2004 Posts: 423
|
Posted: Sun Oct 09, 2005 10:37 am Post subject: |
|
|
Is there another way beside coldplug to have a USB printer that is always plugged in working without replugging? My system runs very good without coldplug (e.g. fast boot time) and I would like to stay away from it. It's just a little overkill for the little printer problem, I think.
@r.abbott: Would you be so kind to delete the "solved" in your post title so that I have the chance to get an answer for my question? I hope it's OK for you that I "stole" you thread but I think my question is related. Thanks in advance. |
|
Back to top |
|
 |
thesnowman Guru

Joined: 08 May 2003 Posts: 365 Location: Sydney, Australia
|
Posted: Sun Oct 09, 2005 12:02 pm Post subject: |
|
|
AFAIK coldplug just loads modules for you at boot time. If you don't want to use coldplug you can just add the modules you want loaded at boot to /etc/modules.autoload.d/kernel-2.6 (assuming you are running a 2.6 kernel). In the case of a USB printer the module is called usblp. |
|
Back to top |
|
 |
seppelrockt Guru

Joined: 14 May 2004 Posts: 423
|
Posted: Sun Oct 09, 2005 10:52 pm Post subject: |
|
|
thesnowman wrote: | AFAIK coldplug just loads modules for you at boot time. If you don't want to use coldplug you can just add the modules you want loaded at boot to /etc/modules.autoload.d/kernel-2.6 (assuming you are running a 2.6 kernel). In the case of a USB printer the module is called usblp. |
Thanks, that's exactly what I did and now you proved my thoughts to be true =) |
|
Back to top |
|
 |
|