[Bug 347943] New: full automated USB scanner setup via udev
https://bugzilla.novell.com/show_bug.cgi?id=347943 Summary: full automated USB scanner setup via udev Product: openSUSE 11.0 Version: unspecified Platform: All OS/Version: Other Status: ASSIGNED Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: jsmeix@novell.com ReportedBy: jsmeix@novell.com QAContact: qa@suse.de CC: coolo@novell.com Found By: Development Just an idea how a full automated USB scanner setup via udev might be implemented: The original SANE *.desc description files contain for USB scanners which are known by the SANE project - USB vendor and product IDs - possible scanner driver(s) - support status ("complete", "good", ... "unsupported") and via our sane-backends RPM build I add info - if firmware upload is required In yast2-scanner there is /usr/lib/YaST2/bin/create_scanner_database which parses the *.desc files and generates a table with - RPM package - scanner driver - USB IDs - support status - if firmware upload is required Running a modified version of create_scanner_database during sane-backends RPM build could create/enhance /etc/udev/rules.d/55-libsane.rules so that it runs sed as in /usr/lib/YaST2/bin/activate_scanner_backend to activate the matching scanner driver in /etc/sane.d/dll.conf if and only if - support status is "complete" or "good" - no firmware upload is required Only drivers are listed in /etc/sane.d/dll.conf for which the matching RPM package is installed - in particular for so called external drivers (drivers which are not included in sane-backends) like hpaio (package hplip) or epkowa (various iscan* packages). Such drivers are added to /etc/sane.d/dll.conf via RPM postinstall. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=347943
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347943#c1
--- Comment #1 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347943#c2
--- Comment #2 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347943#c3
--- Comment #3 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347943#c4
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=347943
User jsmeix@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=347943#c5
--- Comment #5 from Johannes Meixner
participants (1)
-
bugzilla_noreply@novell.com