carta
check_driver(1)

check_driver1

Linux 2.6(.16+) userspace device rebinding helper.

Usage

check_driver driver devpath bustype

Overview

This is a RUN script that may be invoked from a udev rule to ensure the correct driver is bound to a particular device, in situations where a basic driver may bind to it first but a more specialised one is available.

Examples

For the wacom device, a rule like this is used:

KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}"

From xserver-xorg-input-wacom 0.7.9.3-2 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.