What is it that tells you that it is hiddev96?
I can only think of one idea at the moment, and I see it as a long shot. On my system, hotplug information is accessible in /sys . For someone like me who doesn't understand most of the items, browsing in there can be confusing.
cd /sys/bus/usb/devices
find . -name dev -follow | less
Notice the space before and after the period. This will give you places to look for major and minor device numbers. Someone who knows the command prompt better (pipes, redirected output and such) could make the last command much more useful by sending it's output to "cat". Many of the dev files you will see are really only links to one another. You may want to remove any other usb devices first to limit the size of the list to your ups and usb controllers. You can use "ls /dev -l | less" to search for these numbers and find a matching device name. For example, my usb thumbdrive shows up as /dev/sda. Using the find command above, I get a list of 30 files. The contents of these vary between these values:
21:1
21:0
8:1
8:0
8:16
In "ls /dev -l | less" I find that /dev/sda is:
brw-rw---- 1 root disk 8, 0 2004-04-06 06:27 sda
You can see that the 8:0 referred to my drive, seen by ls as "8, 0".
If you think you can identify which major and minor numbers to use, and you know there exists no device node in your filesyste by that name, you can create one using the mknod command. (You may pull the ups usb cord out and see which files disappear. Note: I have never used mknod. I just know it's the command to creat the name in the file tree.)
I'm sure there must be easier ways to go about this. I'm just posting this because it's what I can think of. It would also be easier for me and others to know where you got the "hiddev96" name from.
Good luck.
|