Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
Re: [yast-devel] Getting Rid of 2nd Stage Installation
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Tue, 11 Mar 2008 10:53:48 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0803111034290.1688@xxxxxxxxxxxxxx>


On Mar 10 13:52 Jiri Srain wrote (shortened):
Dne Monday 10 of March 2008 13:31:35 Stefan Hundhammer napsal(a):

Setting up a printer comes to mind ...

Printer can be detected and configured automatically without user's

Since openSUSE 10.3 we have the new RPM "cups-autoconfig"
which contains a utility for auto-configuring USB printers
which is triggered by udev/HAL device events.

On the one hand this tool is limited to USB printers,
on the other hand it works independent of YaST e.g. even after
the installation: E.g. when the USB printer was disconnected
or switched off during installation, cups-autoconfig could
automatiocally configure it once it is connected or
switched on at any time later.

Note that this tool neither comes from the CUPS authors
nor is the RPM a sub-package of the cups RPM.
From CUPS's point of view it is a "third-party" tool.

Since cups-autoconfig exists, there is actually no longer any need
to let the YaST printer module do the autoconfiguration.
Since cups-autoconfig the YaST printer setup module can focus
on manual printer setup (i.e. all those cases where cups-autoconfig
cannot/doesn't work).
By the way:
Have a look at
in particular regarding "cups-autoconfig" see

By default cups-autoconfig disables/enables print queues when
udev/HAL events appear that a USB printer is disconnected/connected.
Its /etc/cups-autoconfig.conf contains by default:
It is triggered via
which runs /usr/lib/cups-autoconfig/cups-autoconfig
which does the actual stuff, see
/usr/lib/cups-autoconfig/cups-autoconfig --help
(you must run even '--help' as root, otherwise you get errors)
Debugging output is in /var/log/cups-autoconfig.log

For some background information, see

Regarding automated scanner configuration, see

If automated printer or scanner configuration doesn't work and
the user has problems to find the YaST printer or scanner module
for a manual setup, it is a usability problem of the YaST control
centre which is also already worked on as far as I know.

I appreciate "Getting Rid of 2nd Stage Installation" very much.

Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >