http://bugzilla.novell.com/show_bug.cgi?id=526657 User vuntz@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=526657#c3 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|vuntz@novell.com | --- Comment #3 from Vincent Untz <vuntz@novell.com> 2009-08-04 06:09:36 MDT --- (In reply to comment #1)
Perhaps a good idea to have the yast2-printer author in CC ;-)
(I thought you'd get notified, wrong assumption ;-) apologies)
Vincent, what are the reasonable configure options for the new printer autoconfig tool?
There's no option as far as I can tell.
Is cups-autoconfig already dropped for 11.2?
No, but I'd like to drop it: it's really not maintained at all, with nobody at all even looking at it.
If not, I will keep the current cups-autoconfig stuff in yast2-printer. If yes, what about an update 11.1 -> 11.2? Will cups-autoconfig be obsoleted by the new printer autoconfig tool?
In theory, it will get obsoleted, yes (there's an Obsoletes tag in the package).
How can printer autoconfiguration be switched off and on?
Add/remove the udev-configure-printer package. An alternative is to edit/add/remove the %{_sysconfdir}/udev/rules.d/70-printers.rules file which contains the following: # Low-level USB device add trigger ACTION=="add", SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="07", ATTR{bInterfaceSubClass}=="01", RUN+="udev-configure-printer add %p" # usblp device add trigger (needed when usblp is already loaded) ACTION=="add", KERNEL=="lp*", RUN+="udev-configure-printer add %p" # Low-level USB device remove trigger ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:0701*:*", RUN+="udev-configure-printer remove %p" If it helps, I can put a copy of the file somewhere else in the package, so that you can blindly remove it and easily get the latest version of the package when adding it back.
Is there a sub-package in system-config-printer which contains only the printer autoconfig stuff so that removing this sub-package would switch off printer autoconfiguration?
Yes, this subpackage is named udev-configure-printer. I can rename the package to something else if you think it makes sense.
If not, ist there a config file option to switch autoconfiguration off and on? If not, could one move the "some udev helpers" (which exxct files?) away to switch off autoconfiguration?
See above :-)
In short: How does the "some udev helpers" work? Is there documentation? If yes, where?
It's really all in the 70-printers.rules file. If you need more details, just ask. (fwiw, it's coming a bit late, but we skipped the hal-cups-utils step and went directly to this udev approach, which is really new) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.