Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
epson stylus c82: usb+udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Tue Mar 23, 2004 9:05 pm    Post subject: epson stylus c82: usb+udev Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Tue Mar 23, 2004 9:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Tue Mar 23, 2004 11:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Mar 24, 2004 1:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Mar 24, 2004 3:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Mar 24, 2004 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Wed Mar 24, 2004 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
psofa
Guru
Guru


Joined: 28 Feb 2004
Posts: 485

PostPosted: Wed Mar 24, 2004 11:34 pm    Post subject: Reply with quote

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 :roll:
_________________
psofa
Back to top
View user's profile Send private message
Frodg
l33t
l33t


Joined: 11 Feb 2004
Posts: 761

PostPosted: Thu Mar 25, 2004 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Sat May 01, 2004 10:33 pm    Post subject: Reply with quote

as I just posted on the same thing I will link to it instead of copying

link: https://forums.gentoo.org/viewtopic.php?p=1097890#1097890

-Nate
Back to top
View user's profile Send private message
eNTi
Veteran
Veteran


Joined: 20 Oct 2002
Posts: 1011
Location: Salzburg, Austria

PostPosted: Sun May 02, 2004 1:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum