also @ TechSpot: Nortel's internal network "owned" by hackers for almost a decade
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

RedHat Startup : getting rid of that error message

Thread Tools Search this Thread
  #1  
Old 02-25-2004
Didou's Avatar
Bowtie extraordinair!
 
Location: Brussels, Belgium
Member since: Feb 2002, 5,895 posts
System specs
RedHat Startup : getting rid of that error message

While recompiling the kernel I took out the USB HID support ( USB Human Interface Device ) so I don't have any such devices on the machine.

RedHat still wants to start them & I end up having a bunch of error messages at bootup. I've located where it's initialised in the /etc/rc.d/rc.sysinit.

This is the whole section :

needusbstorage=
if [ $usb = "1" ]; then
needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
LC_ALL=C grep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID
interface: " modprobe hid 2> /dev/null
action $"Initializing USB keyboard: " modprobe keybdev 2> /dev/null
action $"Initializing USB mouse: " modprobe mousedev 2> /dev/null
fi

Would it be safe to comment out this part ?
  #2  
Old 02-25-2004
Phantasm66's Avatar
TechSpot Evangelist
 
Location: Glasgow, Scotland
Member since: Feb 2002, 6,504 posts
If you run ntsysv (as root, with root's environment (its not in any of the standard user paths) can you stop the USB HID being started on startup?

Of course, you could always try what you have suggested as well. But only after backing up the original file, or course.
  #3  
Old 02-25-2004
Nodsu's Avatar
TechSpot Evangelist
 
Location: Estonia
Member since: Feb 2002, 9,431 posts
System specs
Actually it shouldn't want to load this stuff if you don't have any USB HID device drivers installed but wel know all about "should" and Linux..

You can safely comment out everythig. Even neater would be to change the if clause to be always false. E.g. [ $usb = "imdefinentlynottrue" ]
Closed Thread

Similar Topics
Topic Replies Forum
Error loading message on startup 1 Windows OS
DLL error message at startup 5 Windows OS
Error message upon startup 5 Other Hardware
Error message on startup 0 Windows OS
16-bit MS-DOS Subsystem error message on startup 2 Windows OS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 10:50 AM.