Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



RedHat Startup : getting rid of that error message

Didou
02-25-2004, 12:21 PM
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 ?

Phantasm66
02-25-2004, 03:08 PM
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.

Ad
02-25-2004, 03:08 PM
  

Nodsu
02-25-2004, 04:29 PM
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" ]

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.