[go: up one dir, main page]

|
|
Log in / Subscribe / Register

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


to post comments

A critical look at sysfs attribute values

Posted Apr 12, 2010 21:46 UTC (Mon) by k8to (guest, #15413) [Link]

It seems a bit sad that you can't get the text representation of either of these.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds