LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-01-2004, 12:08 AM   #1
RyanTaylor
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
UPS+Fedora Core 3


Hi,
I am having troubles connecting a Belkin UPS to Fedora Core 3.
I was able to get it to connect using /dev/usb in CORE 2,
but under 3 it is recognised as hiddev96
when i goto /dev/ there is no hiddev96 in there,
what is the path to USB under CORE3?

Thanks
Ryan
 
Old 12-02-2004, 01:58 AM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
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.
 
Old 12-02-2004, 06:46 PM   #3
RyanTaylor
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks i will give that a go,
I was getting that info from
tailf /var/log/messages
when I remove and replug the cable back in it finds HID dev and says its given it the device name of hiddev96
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UPS for Fedora Core 4 jackienev Linux - Software 6 02-04-2006 10:23 AM
APC UPS BX1000: USB connection in Fedora RottenMutt Linux - Hardware 8 05-06-2005 12:44 PM
Fedora 2.0 installation...lock ups...? cbjhawks Linux - General 0 08-16-2004 01:08 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration