NOTE:
The following E-mail message was not delivered due to the problem mentioned in 
the recent message by Michael Vasiliev, the Linux-IL moderator.
After he informed us of what happened, I am resending this message.

Original message -=-=-=-=-=-=->

The problem was solved - turns out that I needed not only to set
permissions on /dev/usb/lp0 but also to set the right URI for the
printer.

The previous udev rule for the printer was (after fixing syntax errors
immediately after upgrade from Debian Sarge to Debian Etch):

KERNEL=="lp[0-9]*", SYSFS{serial}=="xxxxxxxxxxxxxxxxxx",
SYSFS{manufacturer}=="EPSON", NAME="usb/%k",
SYMLINK="usb/lp_epson_cx3200", MODE="666"

The above rule did not work.  The rule which works is as follows:

BUS=="usb",KERNEL=="lp[0-9]*", SYSFS{serial}=="xxxxxxxxxxxxxxxxxx",
SYSFS{manufacturer}=="EPSON",SYMLINK+="usb/lp_epson_cx3200",MODE="666"

The significant changes are:
1. no NAME clause (probably affects the URI).
2. SYMLINK+= instead of SYMLINK== (can anyone familiar with udev explain
what is the difference and why does it matter now?)

While searching for a solution to the problem, I found that it affects
several people who upgraded from Debian Sarge to Debian Etch, so I found
it advisable to report my solution for greater public benefit.

                                             --- Omer



On Thu, 2007-05-31 at 22:00 +0300, Omer Zak wrote:
> I have an Epson CX3200 printer/scanner, which used to work under Debian
> Sarge distribution of Linux.
> After upgrade to Debian Etch, it is impossible to print.  I use the
> CUPSYS printing system.
> 
> The problem happened also to other upgraders, see bug reports:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408843
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=371740
> etc.
> 
> Bug report 408843 suggested that this could be due to permission problem
> on the relevant /dev/usb/lp* special file.
> I changed permissions, but this did not solve the problem for me (unlike
> the case of the bug reporter).
> 
> What could cause this incompatibility?
>                                          Thanks,
>                                               --- Omer
-- 
Delay is the deadliest form of denial.    C. Northcote Parkinson
My own blog is at http://tddpirate.livejournal.com/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to