View previous topic :: View next topic |
Author |
Message |
eNTi Veteran


Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Tue Mar 23, 2004 9:05 pm Post subject: epson stylus c82: usb+udev |
|
|
hi. i had my printer working quite well for some time. when i switched to 2.6 and finally to udev i lost overview and control over my system. sound devices i make on my own will be overwritten, usb printer won't be detected at all (no /dev/lp0 or /dev/usblp0) after turning it off and on again and while i got a device i could talk to (/dev/lp0) my printer wouldn't spit out a site because of an error (something with status 22).
[rant]
printing will be broken every release of cups/ghostscript/gimp-print/whatever, old howtos no longer work and it takes often days to weeks to get someone to use enough spare time for another howto to fix a problem, that will occur just the other week again. i know linux is moving and evolving, but some problems are just to mind bogingly stupid, that i wonder how everyone can overlook them all of the time. printing (next to gaming) is one of the reasons i always wonder, if i will make me go back to windooze again, but then i remind myself, that windows will hold exactly that kind of problems for me, for about every aspect i can think of...
[/rant] _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
 |
AlterEgo Veteran


Joined: 25 Apr 2002 Posts: 1619
|
Posted: Tue Mar 23, 2004 9:11 pm Post subject: |
|
|
I have the same combo working very nicely
I made: :/etc/udev/udev.rules:
# Epson C82
BUS="usb", SYSFS_serial="0HS510304210308460", NAME="lp_epson"
(change the serial into yours !!!!!!!! )
and told CUPS (/etc/cups/printers.conf) :
[snip]
<Printer epson>
Info
Location
DeviceURI usb:/dev/lp_epson
[snip]
And all is well.
I believe the trick is to stay away from the obvious device names like (usb)lpx. |
|
Back to top |
|
 |
eNTi Veteran


Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Tue Mar 23, 2004 11:49 pm Post subject: |
|
|
uhm... what's my serial and what can i do, if the printer is not detected, if i turn it on? _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
 |
psofa Guru


Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Mar 24, 2004 1:58 pm Post subject: |
|
|
urgent: i need help about this too! how do i see my printers serial and how can i restart cups and udev while linux is running? plz its very urgent i need to print an airplane ticket page and restarting my comp will result in loosing it
plz plz plz _________________ psofa |
|
Back to top |
|
 |
psofa Guru


Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Mar 24, 2004 3:44 pm Post subject: |
|
|
ok it seems that the rules.conf thing isnt needed.udev creates the usb printer device node in /dev/lp0 even if its a usb one. so what i did was changing to
DeviceURI usb:/dev/lp0 _________________ psofa |
|
Back to top |
|
 |
AlterEgo Veteran


Joined: 25 Apr 2002 Posts: 1619
|
Posted: Wed Mar 24, 2004 8:09 pm Post subject: |
|
|
eNTi wrote: | uhm... what's my serial and what can i do, if the printer is not detected, if i turn it on? |
use udevinfo: see Decibels excellent guide
psofa wrote: | ok it seems that the rules.conf thing isnt needed.udev creates the usb printer device node in /dev/lp0 even if its a usb one. so what i did was changing to
DeviceURI usb:/dev/lp0 |
I believe this is incorrect: first, lp0 is not automatically created (yet) by udev (AFAIK). Second, as in my case, I have one printer on lp0, en my USB Epson therefore cannot be auto-created. Thus, I have to use a rule. |
|
Back to top |
|
 |
eNTi Veteran


Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Wed Mar 24, 2004 10:09 pm Post subject: |
|
|
psofa wrote: | ok it seems that the rules.conf thing isnt needed.udev creates the usb printer device node in /dev/lp0 even if its a usb one. so what i did was changing to
DeviceURI usb:/dev/lp0 |
i've tried that:
Code: |
...
E [24/Mar/2004:20:25:36 +0100] PID 9038 crashed on signal 9
...
|
no good. _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
 |
psofa Guru


Joined: 28 Feb 2004 Posts: 485
|
Posted: Wed Mar 24, 2004 11:34 pm Post subject: |
|
|
AlterEgo wrote: |
I believe this is incorrect: first, lp0 is not automatically created (yet) by udev (AFAIK). Second, as in my case, I have one printer on lp0, en my USB Epson therefore cannot be auto-created. Thus, I have to use a rule. |
i believe that in my case it does auto create itself.maybe the gentoo udev scripts?
before powering on the printer theres nothing, after i do lp0 is there  _________________ psofa |
|
Back to top |
|
 |
Frodg l33t


Joined: 11 Feb 2004 Posts: 761
|
Posted: Thu Mar 25, 2004 12:48 am Post subject: |
|
|
I had the same issue with /dev/lp0
Once I had written the rules in udev.rules (see the guide mentioned above) it worked well, creating the device /dev/usb/lp0 and the symlink to dev/Epson _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
 |
Nate_S Guru


Joined: 18 Mar 2004 Posts: 414
|
|
Back to top |
|
 |
eNTi Veteran


Joined: 20 Oct 2002 Posts: 1011 Location: Salzburg, Austria
|
Posted: Sun May 02, 2004 1:49 am Post subject: |
|
|
well... my printer worked with the 5.0.0_alpha1 drivers of gimp-print. they are masked now, and reverting back to 4.2.6 kicked my printer out of order again. i'll install the alpha drivers again, i think. _________________ If you fall off a cliff, you might as well try to fly. After all, you got nothing to lose.
-- John Sheridan - Babylon 5, Season 4 |
|
Back to top |
|
 |
|