https://bugzilla.novell.com/show_bug.cgi?id=438867
User lnussel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=438867#c41
Ludwig Nussel changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|dkukawka@novell.com |jsmeix@novell.com
--- Comment #41 from Ludwig Nussel 2008-12-03 09:02:11 MST ---
Fix:
sed -i s/usb_device/usb/
/usr/share/hal/fdi/information/20thirdparty/70-scanner.fdi
Explanation:
The problem is caused by the device hierarchy. A USB device may have
multiple interfaces. On current Linux kernels (it was different in
the past) this is represented by a USB parent device (type
usb_device) and several children (type usb) which represent the
interfaces. Only the parent actually has a Linux device file
(/dev/bus/usb/*/*). The current scanner fdi file adds the "scanner"
property to that parent node. The ACL fdi file however expects the
property in an interface node and also merges the access control
properties into the interface node. That's slightly confusing as the
interface doesn't actually have a device file. Since it's not
possible to merge properties into the parent and to make installing
an ACL possible nevertheless the ACL fdi file copies the device file
property from the parent node into the interface node.
--
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.