Does the hplip code have any kind of list which vendor/product ID it supports? If so, we should write a script to turn this into a list of hal FDIs to attach the 'scanner' property (and some other bits which are necessary to make them integrated well). If not, can we get such a list online somewhere?
This would then look similar to /usr/share/hal/fdi/preprobe/10osvendor/20-libsane.fdi.
Right, thanks, I see the hal entries. E. g. for your LaserJet (uninteresting properties removed):
udi = '/org/freedeskt op/Hal/ devices/ usb_device_ 3f0_3517_ 00CNMJP81545' usb/005/ 003' (string) hotplug_ type = 2 (0x2) (int) product = 'HP LaserJet 3390' (string) product_ id = 13591 (0x3517) (int) vendor_ id = 1008 (0x3f0) (int)
info.product = 'HP LaserJet 3390' (string)
info.subsystem = 'usb_device' (string)
info.vendor = 'Hewlett-Packard' (string)
linux.device_file = '/dev/bus/
linux.
usb_device.
usb_device.
usb_device.serial = '00CNMJP81545' (string)
usb_device.vendor = 'Hewlett-Packard' (string)
usb_device.
Does the hplip code have any kind of list which vendor/product ID it supports? If so, we should write a script to turn this into a list of hal FDIs to attach the 'scanner' property (and some other bits which are necessary to make them integrated well). If not, can we get such a list online somewhere?
This would then look similar to /usr/share/ hal/fdi/ preprobe/ 10osvendor/ 20-libsane. fdi.