Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- udevadm info --attribute-walk --name=/dev/sde
- Udevadm info starts with the device specified by the devpath and then
- walks up the chain of parent devices. It prints for every device
- found, all possible attributes in the udev rules key format.
- A rule to match, can be composed by the attributes of the device
- and the attributes from one single parent device.
- looking at device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.2/host7/target7:0:0/7:0:0:1/block/sde':
- KERNEL=="sde"
- SUBSYSTEM=="block"
- DRIVER==""
- ATTR{range}=="16"
- ATTR{ext_range}=="256"
- ATTR{removable}=="1"
- ATTR{ro}=="0"
- ATTR{size}=="15947776"
- ATTR{alignment_offset}=="0"
- ATTR{discard_alignment}=="0"
- ATTR{capability}=="51"
- ATTR{stat}==" 546 8719 30492 6596 5 1 6 4 0 6420 6600"
- ATTR{inflight}==" 0 0"
- ATTR{events}=="media_change"
- ATTR{events_async}==""
- ATTR{events_poll_msecs}=="-1"
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.2/host7/target7:0:0/7:0:0:1':
- KERNELS=="7:0:0:1"
- SUBSYSTEMS=="scsi"
- DRIVERS=="sd"
- ATTRS{device_blocked}=="0"
- ATTRS{type}=="0"
- ATTRS{scsi_level}=="3"
- ATTRS{vendor}=="Android "
- ATTRS{model}=="UMS Composite "
- ATTRS{rev}=="0001"
- ATTRS{state}=="running"
- ATTRS{timeout}=="30"
- ATTRS{iocounterbits}=="32"
- ATTRS{iorequest_cnt}=="0x6fa"
- ATTRS{iodone_cnt}=="0x6fa"
- ATTRS{ioerr_cnt}=="0x1b"
- ATTRS{modalias}=="scsi:t-0x00"
- ATTRS{evt_media_change}=="0"
- ATTRS{queue_depth}=="1"
- ATTRS{queue_type}=="none"
- ATTRS{max_sectors}=="240"
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.2/host7/target7:0:0':
- KERNELS=="target7:0:0"
- SUBSYSTEMS=="scsi"
- DRIVERS==""
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.2/host7':
- KERNELS=="host7"
- SUBSYSTEMS=="scsi"
- DRIVERS==""
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.2':
- KERNELS=="1-4:1.2"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb-storage"
- ATTRS{bInterfaceNumber}=="02"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bNumEndpoints}=="02"
- ATTRS{bInterfaceClass}=="08"
- ATTRS{bInterfaceSubClass}=="06"
- ATTRS{bInterfaceProtocol}=="50"
- ATTRS{modalias}=="usb:v04E8p681Cd0400dc02dsc00dp00ic08isc06ip50"
- ATTRS{supports_autosuspend}=="1"
- ATTRS{interface}=="Mass Storage"
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1/1-4':
- KERNELS=="1-4"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 4"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="c0"
- ATTRS{bMaxPower}==" 96mA"
- ATTRS{urbnum}=="7550"
- ATTRS{idVendor}=="04e8"
- ATTRS{idProduct}=="681c"
- ATTRS{bcdDevice}=="0400"
- ATTRS{bDeviceClass}=="02"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="4"
- ATTRS{devpath}=="4"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="SAMSUNG"
- ATTRS{product}=="SAMSUNG_Android"
- ATTRS{serial}=="30359170068600EC"
- looking at parent device '/devices/pci0000:00/0000:00:1a.7/usb1':
- KERNELS=="usb1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{urbnum}=="64"
- ATTRS{idVendor}=="1d6b"
- ATTRS{idProduct}=="0002"
- ATTRS{bcdDevice}=="0206"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="1"
- ATTRS{devpath}=="0"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="6"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Linux 2.6.38-gentoo ehci_hcd"
- ATTRS{product}=="EHCI Host Controller"
- ATTRS{serial}=="0000:00:1a.7"
- ATTRS{authorized_default}=="1"
- looking at parent device '/devices/pci0000:00/0000:00:1a.7':
- KERNELS=="0000:00:1a.7"
- SUBSYSTEMS=="pci"
- DRIVERS=="ehci_hcd"
- ATTRS{vendor}=="0x8086"
- ATTRS{device}=="0x293c"
- ATTRS{subsystem_vendor}=="0x1458"
- ATTRS{subsystem_device}=="0x5006"
- ATTRS{class}=="0x0c0320"
- ATTRS{irq}=="18"
- ATTRS{local_cpus}=="ff"
- ATTRS{local_cpulist}=="0-7"
- ATTRS{modalias}=="pci:v00008086d0000293Csv00001458sd00005006bc0Csc03i20"
- ATTRS{dma_mask_bits}=="32"
- ATTRS{consistent_dma_mask_bits}=="32"
- ATTRS{enable}=="1"
- ATTRS{broken_parity_status}=="0"
- ATTRS{msi_bus}==""
- ATTRS{companion}==""
- looking at parent device '/devices/pci0000:00':
- KERNELS=="pci0000:00"
- SUBSYSTEMS==""
- DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement