Review and advice for Palm handheld rules

Frederic Crozat fcrozat at mandriva.com
Thu Feb 14 05:55:53 PST 2008


Le jeudi 14 février 2008 à 13:14 +0000, Kevin Page a écrit :
> 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.

For the record, independently, I wrote a FDI file for PalmOS devices which is available at http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/pilot-link/current/SOURCES/19-palm-acl-management.fdi?view=log

Could you merge the differences (if any) in your file ? (I think I added more comments about the various Clié models).

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the hal mailing list