summaryrefslogtreecommitdiff
path: root/rules/misc/30-kernel-compat.rules
blob: cddf371d3b3c6cacd9faba2c334c8e7c6e647ca0 (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 src/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"