Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hard drive / mouse serial number retrieval?



Scott,

   > Is there any program which can retrieve the hardware serial number
   > of a hard drive, and possibly of a mouse?  From what I could see,
   > dmidecode, lspci, and dmesg all did not provide this info.

I'm guessing you mean model number, rather than each device's own serial
number; there would be no reason to put the serial number of a mouse in
firmware.

My model numbers are both shown in dmesg, but also available from sysfs:

havoc:cjb~ % cat /sys/class/scsi_device/0:0:0:0/device/{model,rev}
HDT722525DLA380
V44O

havoc:cjb~ % cat /sys/class/usb_device/usbdev2.3/device/product
TouchStream ST/LP

- Chris.
-- 
Chris Ball   <cjb at mrao.cam.ac.uk>    <http://blog.printf.net/>





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org