File: 10-dfu-programmer.fdi

package info (click to toggle)
dfu-programmer 0.5.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 576 kB
  • ctags: 312
  • sloc: ansic: 2,428; sh: 789; makefile: 43
file content (20 lines) | stat: -rw-r--r-- 893 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>

    <!-- Grant access to program the DFU devices to uucp group. -->

    <!-- Atmel -->
    <match key="info.subsystem" contains="usb_device">
      <match key="usb_device.vendor_id" int="0x03eb">
        <match key="usb_device.product_id" int_outof="0x2fff;0x2ffd;0x2ffb;0x2ff9;0x2ffa;0x2ff8;0x2ff7;0x2ff6;0x2ff4;0x2ff3;0x2ff2;0x2ff1">
          <append key="info.capabilities" type="strlist">dfu-device</append>
          <append key="info.capabilities" type="strlist">access_control</append>
          <merge key="access_control.file" type="copy_property">linux.device_file</merge>
          <merge key="access_control.type" type="string">dfu-device</merge>
          <merge key="access_control.grant_group" type="strlist">uucp</merge>
        </match>
      </match>
    </match>
  </device>
</deviceinfo>