summaryrefslogtreecommitdiff
path: root/rules/misc/30-kernel-compat.rules
blob: 7240f9b234739811c1364a4c084db1b52a291940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# do not edit this file, it will be overwritten on update

# Rules to support older kernels, which migth miss functionality needed
# for the recent udev rules.
#
# This file is used and maintained by Gentoo.

ACTION!="add", GOTO="kernel_compat_end"

# see extras/qemu/42-qemu-usb.rules, version for 2.6.32 + older.
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}=="42", TEST=="power/level", ATTR{power/level}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}=="42", TEST=="power/level", ATTR{power/level}="auto"
ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}=="42", TEST=="power/level", ATTR{power/level}="auto"

LABEL="kernel_compat_end"