udev.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 29 Jan 2014 22:52:32 +0200
changeset 1551 934b45916514
parent 1346 a2fbf50a43f4
child 1552 a2ef410db055
permissions -rw-r--r--
Record udev events.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=======
 udev.
=======
.. contents::

About.
======

 * http://reactivated.net/writing_udev_rules.html
 * http://wiki.debian.org/udev
 * https://wiki.archlinux.org/index.php/Udev

Record udev events.
===================

This dump udev events to console::

  $ sudo udevadm monitor

View device capability with udev compatible format.
===================================================

For Debian use::

  $ /sbin/udevadm info --name=/dev/sdc --attribute-walk
  $ udevadm info --attribute-walk --path $(udevadm info --query=path --name=/dev/ttyUSB0)

For other Linux use::

  $ udevinfo -a -p $(udevinfo -q path -n /dev/sdc)