LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-10-2006, 07:10 PM   #1
bluethumb
Member
 
Registered: Jan 2006
Distribution: RHEL 4, Scientific Linux, Centos, Ubuntu
Posts: 58

Rep: Reputation: 15
Vanishing /dev/hiddev1


I was messing with an untested device driver, and now I'm facing the consequences. I'll skip the details of what happened and get to the symptom. This box with Redhat Enterprise 4 used to boot with two HID device files in /dev: hiddev0 and hiddev1. Even when I would mess one of them up, a reboot would restore their original condition. Now I don't get hiddev1. I can create it anew with mknod, but it doesn't seem to work. It doesn't appear in /proc/bus/usb/devices.

There must be something in the boot procedure that cleans up /dev and
creates what needs to be created. So far I haven't been able to find it. Can someone set me straight?
 
Old 07-11-2006, 07:45 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
I'll skip the details of what happened and get to the symptom.
Your choice. Remember that sharing more info is always better wrt clues.


Now I don't get hiddev1.
Anything interesting in syslog wrt USB?
If you post error messages please make sure you post *exact* ones.


There must be something in the boot procedure that cleans up /dev
Most likely culprits are Kudzu/devlabel (unlikely since it's HID) and devfs/udev.
Both devlabel and udev are tweakable.
 
Old 07-12-2006, 10:44 PM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Hardware detection on most systems I've seen lately is done by hotplug. There is a step while booting called "coldplug" which is really just running hotplug to do initial hardware detection (and rededication of previously detected devices)

Doesn't answer your question, but it might help.

Also, it is fun to play in the /sys pseudo file system. This might help prove that the system sees the device at all (even if the driver is wrong). Note that /sys is not always a friendly place, but it is useful. I suggest looking in /sys/bus.

Good luck.
 
Old 07-12-2006, 11:00 PM   #4
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
There it is. I new there was a folder for this.
Quote:
"If a directory /events exists, then all hotplug events will be stored there in single files."
This can also be useful. Be prepared to rename this directory, as it can fill quickly. (note this is on SuSE 9.3, I assume this will be the same on your system)
 
Old 07-13-2006, 12:10 AM   #5
bluethumb
Member
 
Registered: Jan 2006
Distribution: RHEL 4, Scientific Linux, Centos, Ubuntu
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the advice. Unfortunately I can't make any progress for a while because of a hardware problem. The device is a Tripp-Lite UPS. It's gone into a funny mode in which it won't talk to the USB port and I can't turn it off or make it self-test. Unplugging it doesn't help because, of course, it has a whopping big battery that will keep it going for a very long time. While messing around with software, I discovered that I was able to shut it off inadvertently. Maybe I did something even worse. Stay tuned.
 
  


Reply

Tags
dev, special, ups, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dev/modem link keeps vanishing in SUSE 10.0 DeekBeek Suse/Novell 5 05-30-2006 08:50 AM
Vanishing rpm's john2cu Linux - Software 5 12-28-2004 04:06 PM
Gnome's vanishing launchers oberonix Linux - Newbie 3 08-31-2004 08:07 AM
Vanishing mouse odin123 Linux - Hardware 2 11-29-2002 12:22 AM
Vanishing Desktop shooter Linux - Newbie 2 11-08-2001 06:53 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration