Re: Patch: usblp quirk for zebra printers

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pete Zaitcev
Date: Wednesday, May 21, 2008 - 3:37 pm

On Wed, 21 May 2008 20:57:49 +0300, "P. Christeas" <p_christ@hol.gr> wrote:


.....

I see...


Personally, I don't like this. In kernel, we typically try not to
fake things in lower levels in order to fool upper levels. There are
always knock-off effects. Sometimes we have to do it, but in my
experience CUPS folks always were for doing the right thing.

Let's ask them if extracting the S/N from sysfs is too onerous.
I'm cc-ing this to Tim Waugh.

BTW, Please try to tinker with the following udev ruleset:
BUS="usb", KERNEL="lp[0-9]*", SYSFS{serial}=="XXXXXXX", SYMLINK+="mylp0"
BUS="usb", KERNEL="lp[0-9]*", SYSFS{serial}=="YYYYYYY", SYMLINK+="mylp1"
Encoding your serial numbers into udev rules is not pleasant, but
the above should provide a stop-gap solution without patching kernels.

-- Pete
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Patch: usblp quirk for zebra printers, P. Christeas, (Wed May 21, 10:57 am)
Re: Patch: usblp quirk for zebra printers, Pete Zaitcev, (Wed May 21, 3:37 pm)
Re: Patch: usblp quirk for zebra printers, P. Christeas, (Sun May 25, 2:03 am)