Device serial number


 
Thread Tools Search this Thread
Operating Systems Linux Device serial number
# 1  
Old 11-19-2008
Device serial number

Hey!

I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk.

If i run cat /proc/bus/usb/devices
I get this information:

Code:
T:  Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=059b ProdID=0373 Rev= 1.00
S:  Manufacturer=Iomega
S:  Product=External HD
S:  SerialNumber=9675FFFFFFFF
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

We have 13 of this disks, and 2 disks which gives the exact same SerialNumber.

The problems here now, is that our operations with this disks, require us to be able to destinguish these disks by the serialnumber to identify which disk is connected where (We send an empry disc to one facility, they fill it up with data, send it back to us, we archive the data, send it to another facility, they archive the data, they send it back to us and we empty the disk and restart the process.) We need to follow the disks to know in what facility/what country it is connected and so on.

According to Iomega, they could not give us any support for this for some reason.

So, what I need to know, is there a way to either change the serial, or to "work around" it.
The exact usage of the serial is to create a one-to-one relationship between the serial and an logical name.
(In this case, the serial 9675FFFFFFFF should have a one-to-one relationship to the name "IOMEGA-USB-008").

I started to think that we maybe could work around the problem by "inventing" an own serial, like "serial+randomnumber=result | md5sum $result | awk -F '{print $1}'" (now this is not a working code, only a thought about how to work around the problem).
But I don't think this would work since it would not be possible to re-create the same self-invented serial number due to the random numbers.

So, as I have come to a total breakdown in finding out a sollution to this problem.. can any of you shed some light over my problem?

Many thanks in advance,
/Rickard
# 2  
Old 11-19-2008
It's sure annoying when all USB disks of the same model have the same "unique" ID, isn't it?

Maybe you can't tell apart the disks, but how about the partitions? You used e2label to do so in your other thread, might that be applicable here?
# 3  
Old 11-19-2008
I really doubt that, since aparently we need that one-to-one relation in the database. Unfortunately I do not develop the tools we are using (I'm no programmer, just a 'stupid' user). =(

Allthough, I can check with the developers, but I don't think that would work.

But what is even more annoying, is that Iomega don't support the problem. I mean, it's their product that has a problem, I think they should at least offer to change the disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Read line from serial device with BASH

I'm new to Linux (Ubuntu 16.04), and very new to BASH scripting. I have a Numato 8-channel USB GPIO device, which is a DAQ that appears in the system as a serial port. In Linux it appears as ttyACM0. I can easily manipulate a GPO with, for example: echo "gpio set 7" > /dev/ttyACM0 ...followed... (12 Replies)
Discussion started by: Chalk-X
12 Replies

2. SCO

Modifying serial printers device

I am trying to change one of my serial printers from /dev/ttyr002 to /dev/ttyr014: lpstat -s device for check3: /dev/ttyr002 device for check4: /dev/ttyr002 I changed the tty setting for check3 in: /etc/printcap /var/spool/lp/admins/lp/printers/check3 to /dev/ttyr014 Then I get:... (4 Replies)
Discussion started by: herot
4 Replies

3. Programming

Problem with read data from serial device

I have problem with C programming. I want to send & receive data through serial communication. I send data(command) to device to get data from device but when receive data, it can't get altogether of data. It get only some data. What should I do to get altogether of data? If all of... (7 Replies)
Discussion started by: noppon_s
7 Replies

4. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies

5. Solaris

Serial number

Hi Solarizer ;) I have face the difficulties of gathering information about the serial number of sun machine. i think its can do so easy while the machine is just one or two. But i have to administrate hundreds of sun machine. Any body knows how to gather this information by the command ? ... (4 Replies)
Discussion started by: tpx99
4 Replies

6. Programming

Accessing device with Prolific USB-serial controller.

I am trying to access DG-100 gps logger on Mac OS X with POSIX API. The device uses a Prolific usb-serial controller, and connect to the usb port on my mac. After I install the Prolific driver, it shows up as /dev/tty.usbserial and /dev/cu.usbserial. The vendor has published the data format. So... (1 Reply)
Discussion started by: monkeybiz
1 Replies

7. UNIX for Dummies Questions & Answers

serial port device path

hi. Im trying to install a switch. And the manual says i should type a command including a SerialPortDevicePath. which is the filepath to serial port used for connection. However.. nothing about how to find this info. Could anyone help me where to find this path? thx mr.T (6 Replies)
Discussion started by: tyskertøs
6 Replies

8. Shell Programming and Scripting

Tape Serial Number

Hello Experts, I've got a shell script that makes the backup of the files that i want. I also have this script showing the amount of files backed up and in witch folders they are. It's only missing one thing. I got all the information beeing stored in a text file and all i've got to do is to... (6 Replies)
Discussion started by: jorge.ferreira
6 Replies

9. UNIX for Advanced & Expert Users

serial number for E3500

just wanted to know the serial number of my machine E3500 with Solaris 8 installed.Does any one who what's the command that i can use when the OS is running?( not with the Banner Command!) (3 Replies)
Discussion started by: i2admin
3 Replies
Login or Register to Ask a Question