blob: 1784e47cbca21efa2047e70e056ae25c7a7a9e49 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# The following list of product IDs was obtained from
# https://github.com/mkorenkov/ipad_charge
# Apple iPad/iPod/iPhone devices
notify 100 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x05ac";
match "product" "0x129[0-9ab]";
action "%%PREFIX%%/etc/rc.d/ipad_charge start $cdev";
};
# Apple iPad/iPod/iPhone devices
notify 100 {
match "system" "USB";
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x05ac";
match "product" "0x12a[0-9ab]";
action "%%PREFIX%%/etc/rc.d/ipad_charge start $cdev";
};
|