A critical look at sysfs attribute values
A critical look at sysfs attribute values
Posted Mar 23, 2010 13:43 UTC (Tue) by mezcalero (subscriber, #45103)Parent article: A critical look at sysfs attribute values
It's also awful that the USB subsystem encodes hexadecimal values without the 0x prefix, but the PCI subsystem includes it:
$ cat /sys/devices/pci0000\:00/0000\:00\:1a.7/vendor
0x8086
$ cat /sys/devices/pci0000\:00/0000\:00\:1a.7/usb1/idVendor
1d6b