author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 28 Jan 2014 17:14:35 +0200 | |
changeset 1554 | 7eadf0928d57 |
parent 1346 | a2fbf50a43f4 |
child 1551 | 934b45916514 |
permissions | -rw-r--r-- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1140
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1140
diff
changeset
|
2 |
.. include:: HEADER.rst |
1137 | 3 |
|
4 |
======= |
|
5 |
udev. |
|
6 |
======= |
|
1346
a2fbf50a43f4
Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
7 |
.. contents:: |
1137 | 8 |
|
9 |
About. |
|
10 |
====== |
|
11 |
||
12 |
* http://reactivated.net/writing_udev_rules.html |
|
13 |
* http://wiki.debian.org/udev |
|
14 |
* https://wiki.archlinux.org/index.php/Udev |
|
15 |
||
1139
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
16 |
View device capability with udev compatible format. |
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
17 |
=================================================== |
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
18 |
|
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
19 |
For Debian use:: |
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
20 |
|
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
21 |
$ /sbin/udevadm info --name=/dev/sdc --attribute-walk |
1140 | 22 |
$ udevadm info --attribute-walk --path $(udevadm info --query=path --name=/dev/ttyUSB0) |
1139
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
23 |
|
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
24 |
For other Linux use:: |
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
25 |
|
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
26 |
$ udevinfo -a -p $(udevinfo -q path -n /dev/sdc) |
376ff5f1c602
View device capability with udev compatible format.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1137
diff
changeset
|
27 |