Re: output from udevadm
On Sun, 11 Jul 2010 14:23:37 -0700, peasthope wrote:
> The following short transcript is from adapting the udevadm invocation
> in http://wiki.debian.org/udev to investigate 1394 support in my Squeeze
> system. Two questions.
>
> * What exactly is meant by "device specified by the devpath" in
> the output? According to the udevadm man page, devpath is the value
> assigned to --path; but that parameter is not present in the command
> below. No devpath is specified.
I think it refers to a possible value/option you can define using
modifiers.
As per "man udevinfo":
***
--path=devpath
The devpath of the device to query.
***
Being udev a hierarchical database, I guess this option allows the user
to define a "starting point" to make the query.
> * What exactly is '/class/ieee1394_protocol/raw1394'?
> /class is not a directory in the filesystem and /dev/raw1394 is the
> only 1394 device I've found.
Dunno what it is, but it seems to be located under "/sys/class/*"
stt008:~# ls -l /sys/class
total 0
drwxr-xr-x 2 root root 0 jul 12 07:43 backlight
drwxr-xr-x 31 root root 0 jul 12 07:43 bdi
drwxr-xr-x 5 root root 0 jul 12 07:43 bsg
drwxr-xr-x 2 root root 0 jul 12 07:43 dma
drwxr-xr-x 3 root root 0 jul 12 07:43 dmi
drwxr-xr-x 4 root root 0 jul 12 07:43 graphics
drwxr-xr-x 2 root root 0 jul 12 07:43 hwmon
drwxr-xr-x 9 root root 0 jul 12 07:44 i2c-adapter
drwxr-xr-x 3 root root 0 jul 12 07:43 ide_port
drwxr-xr-x 2 root root 0 jul 12 07:43 ieee1394
drwxr-xr-x 4 root root 0 jul 12 07:43 ieee1394_host
drwxr-xr-x 4 root root 0 jul 12 07:43 ieee1394_node
drwxr-xr-x 2 root root 0 jul 12 07:43 ieee1394_protocol
drwxr-xr-x 9 root root 0 jul 12 07:43 input
drwxr-xr-x 11 root root 0 jul 12 07:43 mem
drwxr-xr-x 9 root root 0 jul 12 07:43 misc
drwxr-xr-x 5 root root 0 jul 12 07:43 net
drwxr-xr-x 10 root root 0 jul 12 07:43 pci_bus
drwxr-xr-x 2 root root 0 jul 12 07:43 power_supply
drwxr-xr-x 3 root root 0 jul 12 07:43 ppdev
drwxr-xr-x 3 root root 0 jul 12 07:43 printer
drwxr-xr-x 3 root root 0 jul 12 07:43 rtc
drwxr-xr-x 5 root root 0 jul 12 07:43 scsi_device
drwxr-xr-x 4 root root 0 jul 12 07:43 scsi_disk
drwxr-xr-x 5 root root 0 jul 12 07:43 scsi_generic
drwxr-xr-x 8 root root 0 jul 12 07:43 scsi_host
drwxr-xr-x 8 root root 0 jul 12 07:43 sound
drwxr-xr-x 2 root root 0 jul 12 07:43 spi_master
drwxr-xr-x 6 root root 0 jul 12 07:43 thermal
drwxr-xr-x 73 root root 0 jul 12 07:43 tty
drwxr-xr-x 10 root root 0 jul 12 07:43 usb_device
drwxr-xr-x 18 root root 0 jul 12 07:43 usb_endpoint
drwxr-xr-x 10 root root 0 jul 12 07:43 usb_host
drwxr-xr-x 11 root root 0 jul 12 07:43 usbmon
drwxr-xr-x 18 root root 0 jul 12 07:44 vc
drwxr-xr-x 4 root root 0 jul 12 07:43 vtconsole
Greetings,
--
Camaleón
Reply to: