Bugzilla – Bug 155973
hp-officeJet modaliases
Last modified: 2006-03-08 10:42:34 UTC
Johannes, kannst Du bitte überprüfen, welche modalias - Einträge genau für HP OfficeJet - Drucker entstehen (d.h. der Inhalt von /sys/bus/usb/devices/$WASAUCHIMMER/modalias für das USB-Gerät, an dem der Drucker hängt)? Steffen hatte in hwinfo folgende Einträge, ich bin mir nicht ganz sicher, wie sich die auf modaliases abbilden lassen: vendor.id usb 0x03f0 &device.id usb 0x2811 +requires hp-officeJet vendor.id usb 0x03f0 &device.id usb 0x2911 +requires hp-officeJet vendor.id usb 0x03f0 &device.id usb 0x2a11 +requires hp-officeJet vendor.id usb 0x03f0 &device.id usb 0x2d11 +requires hp-officeJet Kannst Du dann bitte in hp-officeJet.spec Tags in etwa nach diesem Schema hinzufügen, damit das Paket automatisch angewäht werden kann, wenn diese Hardware gefunden wird (eine Zeile pro Device, oder mit Glob Expressions): Supplements: modalias(usb:v03F0p2[89AD]11d*dc*dsc*dp*ic*isc*ip*) Es kann auch sein dass es so heissen muss: Supplements: modalias(usb:v03F0p*d2[89AD]11dc*dsc*dp*ic*isc*ip*) Die Identifier müssen vierstellige Hexzahlen mit Großbuchstaben (A-F) sein.
The language here is English. I need background information for what all this stuff is needed. I have no idea what a "modalias" is. Why is the component "Printing" but hp-officeJet has nothing to do with printing? Why is it a "Normal" bug? What does not work? I have no idea why suddenly this outdated package should be installed automatically. Who had this idea? What is the reason behind it? Which functionality or feature is expected to get with this?
> The language here is English. Sorry, it was already quite late. > I have no idea why suddenly this outdated package should be > installed automatically. As I wrote, the hwinfo database has rules that select this package for installation when one of the usb IDs I've listed are found. We are changing this mechanism so that the packages themselves provide this information, rather than hwinfo. This is more flexible. For that, we need to convert the hwinfo rules to rpm tags of the form shown. So what I'm asking you is to check the modalias file in sysfs for this device. Please tell me the contents of /sys/bus/usb/devices/<hp-officejet-device>/modalias, so that we can add the correct package headers. I don't know why this package is outdated, whether we still want to use it, and whether we still want to have it installed automatically when such a device is detected. Those are questions you should be able to answer.
If the package is outdated, why not drop it? After all you are its maintainer.
Thanks for explanation! hp-officeJet is only for scanner support of HP all-in-one devices. Simply installing it does not result a working scanner because the PTAL stuff is also needed, see http://en.opensuse.org/SDB:Set_up_a_HP_OfficeJet_%28%22all-in-one%22_device%29 Since Suse Linux 9.3 there is also the new HPLIP software which has some conflict with hp-officeJet, see http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.3 Since Suse Linux 9.3 the YaST scanner config module is completely new: It does no longer depend hwinfo data. It installs any needed package for scanning. It cares about the hp-officeJet versus hplip conflict. It sets up any additional required service (either ptal or hplip). I.e. the request in the initial comment has become obsolete. Therefore I close this particular bug report as INVALID (but the underlying problem is FIXED by YaST).
Regarding comment #3: See http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.3 Some HP all-in-one devices may be only supported by hp-officeJet and as long as it works, I don't like to drop it.
Ok, took the opportunity and removed references to hp-officeJet in hwinfo.