Review and advice for Palm handheld rules

Kevin Page hal-list at krp.org.uk
Thu Feb 14 05:14:35 PST 2008


Hello,

Recently there's been an effort to get Fedora using the libusb code in
pilot-link, and permissions for Palm handhelds set using PolicyKit. Any
review and comments would be appreciated - unfortunately one release has
already been pushed out with errors... I think we're all finding our way
about HAL and PolicyKit as we go.

The current question revolves around whether to:

1) Flag matching USB devices as "pda"s, then have a single policy rule
matching on pda with "palm" as its pda.platform to set access_control
  - I found the discussion on this list about the pda namespace from a 
  couple of years back, but this doesn't seem to have been merged into
  the HAL spec, although it's used in 10-usb-pda.fdi?
  - the matching of USB IDs as pdas should be pushed upstream to HAL and
  merged into the current 10-usb-pda.fdi?
  - the VID/PIDs that HAL matches are those which pilot-link will 
  recognise when using libusb

2) Match USB VID/PID directly in the access_control rules - don't set a
generic pda capability


I'm attaching the file for the first solution; the second solution and
more discussion can be found at:
https://bugzilla.redhat.com/show_bug.cgi?id=280251
(going from the end back to about comment 92)


Comments welcome; I'll try to answer any questions and push results back
to bugzilla.

Best regards,

kev.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10-usb-pda-krp.fdi
Type: application/xml
Size: 12939 bytes
Desc: 
	/usr/share/hal/fdi/information/20thirdparty/10-usb-pda-krp.fdi
Url : http://lists.freedesktop.org/archives/hal/attachments/20080214/f74f868f/attachment.rdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 19-pam-acl-management-krp.fdi
Type: application/xml
Size: 476 bytes
Desc: 
	/usr/share/hal/fdi/policy/10osvendor/19-pam-acl-management-krp.fdi
Url : http://lists.freedesktop.org/archives/hal/attachments/20080214/f74f868f/attachment.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pilot-device-file.policy
Type: application/xml
Size: 546 bytes
Desc: /usr/share/PolicyKit/policy/pilot-device-file.policy
Url : http://lists.freedesktop.org/archives/hal/attachments/20080214/f74f868f/attachment-0001.xml 


More information about the hal mailing list