The T-Mobile G1 Android phone can be debugged over USB, but by default after plugging in the USB device, it is owned by root with and doesn't have world write access. There are various (now obsolete?) ways of setting up write access based on udev rules to create symlinks combined with pam rules etc, but these solutions aren't ideal because, for example, some people want to debug apps on more than one phone at a time. It would be great if ConsoleKit could include support for this device. The match part of the udev rule for the device are: SUBSYSTEM=="usb",ATTR{idVendor}=="0bb4",ATTR{idProduct}=="0c02" ConsoleKit would just have to match these device ids and then give rw access to the console user. Thanks!
Hmm, it appears this is not the right place for this bug, based on the fact that hal installs files in /usr/share/hal/fdi/policy/10osvendor, and everything else is supposed to put rules in .../20thirdparty on an as-needed basis. For reference, the working rule is: <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="info.subsystem" contains="usb_device"> <match key="usb_device.vendor_id" int="0x0bb4"> <match key="usb_device.product_id" int="0x0c02"> <append key="info.capabilities" type="strlist">access_control</append> <merge key="access_control.type" type="string">pda</merge> <merge key="access_control.file" type="copy_property">linux.device_file</merge> </match> </match> </match> </device> </deviceinfo> Closing the bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.