Comment 11 for bug 208405

Revision history for this message
Abel Deuring (adeuring) wrote :

>> Asking users if the would be willing to run some tests hardware-related
>> software packages is exactly one of the applications of our hardware
>> database we have in mind :)
>
> Cool. How do we do query to see which users have this scanner then?

At present, we don't have the "perfect" solution, but if you are curious, you could start this way, using Launchpad's webservice API. No mechanism to send emails, but you get a list of owners, provided that they have a LP account:

- get the USB vendor and product ID of a scanner (best done right now by looking at the "lsusb" output.)
- get the h_w_device record for this device, by calling

    device = lp.hwdb.devices(bus='USB', vendor_id=0x124, product_id=0x5678)[0]

- get the set of HWDB submissions containing this device:

   submissions = device.getSubmissions()

- Users must specify an email address when they submit their HWDB report; if this address matches a LP user account, the field "owner" of a submission is set to this account.

>> Kiko, regarding the problems packaing the proprietary drivers: I know
>> Olaf Meeuwissen, the maintainer of the iscan software, from the Sane
>> developer mailing list as being very responsive to any questions --
>> simply contact him!
>
> Well, if you know him, could you point him to this bug and see if he can
> give us some advice?

Done