Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: Jorge Almeida <jjalmeida@×××××.com>
Subject: Re: [gentoo-user] serial in /sys
Date: Fri, 30 Nov 2012 18:04:12
Message-Id: 1494103.IDmIk6UlpB@localhost
In Reply to: [gentoo-user] serial in /sys by Jorge Almeida
1 Am Donnerstag, 29. November 2012, 17:57:46 schrieb Jorge Almeida:
2 > Anyone knows how to dig into /sys to find the serial number of a device
3 > (say, a USB pen)? I few days ago I found by trial and error something like
4 > $ cat
5 > /sys/devices/pci0000:00/0000:00:06.1/usb2/2-4/2-4:1.0/host13/target13:0:0/1
6 > 3:0:0:0/block/sdc/../../../../../serial which gave me E68911000519
7 > Now I can't find nothing of the sort. (Yes, I know the path changes
8 > each time the
9 > device is plugged in, but even so)
10 > Any information that would put some order into this mess would be great.
11
12 why not just use lsusb -v for usb devices?
13
14 --
15 #163933