https://bugzilla.novell.com/show_bug.cgi?id=751712
https://bugzilla.novell.com/show_bug.cgi?id=751712#c47
--- Comment #47 from Johannes Meixner 2012-03-23 11:40:41 UTC ---
FYI:
attachment #482901 is only meant as a fix for now.
The current idea for a real solution is that the
CUPS backend "hp" from the HPLIP software
which actually talks to the printer disables
media-presence polling before it starts to print via
"echo 0 >/sys/block/sdX/events_poll_msecs"
(where X must be the right drive letter)
and after printing had finished it re-enables
media-presence polling via
"echo 2000 >/sys/block/sdX/events_poll_msecs"
(where "2000" matches the current entry
"ATTR{parameters/events_dfl_poll_msecs}="2000"
in 60-persistent-storage.rules).
A precondition is that the "hp" backend which is
run as user "lp" by the cupsd must have write
permissions for /sys/block/sdX/events_poll_msecs
and (hopefully) via an appropriate udev rule
it is possible to set those permission for the
right sdX device (which means it must be possible
to determine via udev the right sdX device for
a cardreader in a HP all-in-one USB device).
What looks bad from my point of view is that a user-space
program (the "hp" backend) writes into a sysfs file
but as far as I know sysfs is not meant as stable interface
so that I assume user-space programs should not do this.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.