Comment 23 for bug 195782

Revision history for this message
Martin Pitt (pitti) wrote :

Right, thanks, I see the hal entries. E. g. for your LaserJet (uninteresting properties removed):

udi = '/org/freedesktop/Hal/devices/usb_device_3f0_3517_00CNMJP81545'
  info.product = 'HP LaserJet 3390' (string)
  info.subsystem = 'usb_device' (string)
  info.vendor = 'Hewlett-Packard' (string)
  linux.device_file = '/dev/bus/usb/005/003' (string)
  linux.hotplug_type = 2 (0x2) (int)
  usb_device.product = 'HP LaserJet 3390' (string)
  usb_device.product_id = 13591 (0x3517) (int)
  usb_device.serial = '00CNMJP81545' (string)
  usb_device.vendor = 'Hewlett-Packard' (string)
  usb_device.vendor_id = 1008 (0x3f0) (int)

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.