diff -ru murasaki-0.6.7.orig/config/auto_setup murasaki-0.6.7/config/auto_setup
--- murasaki-0.6.7.orig/config/auto_setup	2003-04-14 05:30:53.000000000 +0900
+++ murasaki-0.6.7/config/auto_setup	2003-06-04 23:06:01.000000000 +0900
@@ -22,19 +22,24 @@
 OHCI_FLAG=0
 EHCI_FLAG=0
 
-if [ -f /usr/bin/X11/xterm ];then
+if [ -f /usr/X11R6/bin/xterm ];then
 	MODULE=$MOUSEDEV
 fi
 
 [ -f /proc/cpuinfo ] || mount -n -t proc proc /proc
-if [ -x /sbin/lspci ];then
-	METHOD="/sbin/lspci"
-else
-	METHOD="cat /proc/pci"
-fi
+#METHOD="/sbin/lspci"
+METHOD="cat /proc/pci"
 HOST=`$METHOD | while read line
 do
 	case $line in
+	*USB*EHCI*|*USB\ 2.0*|*USB*1033:00e0*)
+		if [ $EHCI_FLAG -eq 0 ];then
+			EHCI_FLAG=1
+			if $MODPROBE -l | grep /${EHCI}.o > /dev/null;then
+				echo ${EHCI}
+			fi
+		fi
+		;;	
 	*USB*Intel*|*USB*VIA*)
 		if [ $UHCI_FLAG -eq 0 ];then
 			UHCI_FLAG=1
@@ -47,14 +52,6 @@
 			done
 		fi
 		;;
-	*USB\ 2.0*|*USB*1033:00e0*)
-		if [ $EHCI_FLAG -eq 0 ];then
-			EHCI_FLAG=1
-			if $MODPROBE -l | grep /${EHCI}.o > /dev/null;then
-				echo ${EHCI}
-			fi
-		fi
-		;;	
 	*USB*)
 		if [ $OHCI_FLAG -eq 0 ];then
 			OHCI_FLAG=1
@@ -68,7 +65,7 @@
 
 for f in $MODULE
 do
-	if $MODPROBE -l | egrep /$f.(o|ko) > /dev/null;then
+	if $MODPROBE -l | egrep "/$f.(o|ko)" > /dev/null;then
 		echo $f
 	fi
 done
diff -ru murasaki-0.6.7.orig/config/murasaki.sticky murasaki-0.6.7/config/murasaki.sticky
--- murasaki-0.6.7.orig/config/murasaki.sticky	2003-04-21 05:13:44.000000000 +0900
+++ murasaki-0.6.7/config/murasaki.sticky	2003-06-04 23:06:01.000000000 +0900
@@ -1 +1,2 @@
+mousedev
 hid
diff -ru murasaki-0.6.7.orig/lib/loader.c murasaki-0.6.7/lib/loader.c
--- murasaki-0.6.7.orig/lib/loader.c	2003-04-21 06:48:03.000000000 +0900
+++ murasaki-0.6.7/lib/loader.c	2003-06-04 23:06:01.000000000 +0900
@@ -191,6 +191,8 @@
 	char *loader;
 
 	sum = count_of_list(module_list);
+	if (sum == 0)
+		return GOOD;
 #ifdef	ENABLE_NONE_MODULE
 	/*
 	 * if module is "none", do nothing.
diff -ru murasaki-0.6.7.orig/net/net murasaki-0.6.7/net/net
--- murasaki-0.6.7.orig/net/net	2003-03-28 16:07:05.000000000 +0900
+++ murasaki-0.6.7/net/net	2003-06-04 23:07:06.000000000 +0900
@@ -7,22 +7,21 @@
 #  to up/down network.
 #
 
-NETUP_CMD=ifup
-NETDOWN_CMD=ifdown
-
-# check network device
-# waiting for 6 sec until the device is found.
-for sec in 1 2 3
-do
-	grep $INTERFACE /proc/net/dev > /dev/null
-	if [ $? -eq 0 ];then
-		break;
-	fi
-	sleep $sec
-done
+NETUP_CMD=/etc/murasaki/bin/ifup
+NETDOWN_CMD=/etc/murasaki/bin/ifdown
 
 case "$1" in
 start)
+	# check network device
+	# waiting for 6 sec until the device is found.
+	for sec in 1 2 3
+	do
+		grep $INTERFACE /proc/net/dev > /dev/null
+		if [ $? -eq 0 ];then
+			break;
+		fi
+		sleep $sec
+	done
 	$NETUP_CMD $INTERFACE
 	;;
 stop)
diff -ru murasaki-0.6.7.orig/scripts/Makefile murasaki-0.6.7/scripts/Makefile
--- murasaki-0.6.7.orig/scripts/Makefile	2003-03-31 16:16:25.000000000 +0900
+++ murasaki-0.6.7/scripts/Makefile	2003-06-04 23:06:01.000000000 +0900
@@ -6,22 +6,16 @@
 
 install:
 	@sed -e "s@##HOTPLUG##@$(HOTPLUG)@" -e "s@##PRELOAD_FILE##@$(PRELOAD_FILE)@" $(RC_FILE) > $(RC_FILE).real
-	@if [ -f $(RC_INIT_DIR)/$(LM) ];then \
-		mv $(RC_INIT_DIR)/$(LM) $(RC_INIT_DIR)/$(LM).old;\
-		echo "move $(RC_INIT_DIR)/$(LM) $(RC_INIT_DIR)/$(LM).old"; \
+	@if [ ! -d $(RC_DIR) ];then \
+		install -d $(RC_DIR); \
+		echo "make directory $(RC_DIR)"; \
 	fi
-	@install -m $(BIN_MODE) $(RC_FILE).real $(RC_INIT_DIR)/$(LM)
-	@echo "install $(RC_INIT_DIR)/$(LM)"
-	@for level in ${RC_LEVEL_START}; \
-	do \
-		ln -sf ../init.d/$(LM) $(RC_DIR)/rc$${level}.d/$(RC_LEVEL_STARTFILE); \
-		echo "link $(RC_INIT_DIR)/$(LM) -> $(RC_DIR)/rc$${level}.d/$(RC_LEVEL_STARTFILE)" ;\
-	done
-	@for level in ${RC_LEVEL_KILL}; \
-	do \
-		ln -sf ../init.d/$(LM) $(RC_DIR)/rc$${level}.d/$(RC_LEVEL_KILLFILE); \
-		echo "link $(RC_INIT_DIR)/$(LM) -> $(RC_DIR)/rc$${level}.d/$(RC_LEVEL_KILLFILE)" ;\
-	done
+	@if [ -f $(RC_DIR)/$(RC_FILE) ];then \
+		mv $(RC_DIR)/$(RC_FILE) $(RC_DIR)/$(RC_FILE).old;\
+		echo "move $(RC_DIR)/$(RC_FILE) $(RC_DIR)/$(RC_FILE).old"; \
+	fi
+	@install -m $(BIN_MODE) $(RC_FILE).real $(RC_DIR)/$(RC_FILE)
+	@echo "install $(RC_DIR)/$(RC_FILE)"
 	@echo install $(CONF_DIR)/$(MNTTAB_FILE)
 	@install -m $(READ_MODE) $(MNTTAB_FILE) $(CONF_DIR)/$(MNTTAB_FILE)
 	@echo install $(SCRIPT_DIR)/$(MNT_SCRIPT)
diff -ru murasaki-0.6.7.orig/scripts/rc.murasaki murasaki-0.6.7/scripts/rc.murasaki
--- murasaki-0.6.7.orig/scripts/rc.murasaki	2003-04-20 04:00:51.000000000 +0900
+++ murasaki-0.6.7/scripts/rc.murasaki	2003-06-04 23:09:45.000000000 +0900
@@ -46,15 +46,22 @@
 		${AUTOSETUP} > ${MURASAKI_PRELOAD}
 	fi
 	if [ -s ${MURASAKI_PRELOAD} ];then
+		echo "Initializing USB controller..."
 		${MODPROBE} ${MODPROBE_OPT} `cat ${MURASAKI_PRELOAD}`
 	fi
+	if grep -q usbdevfs /proc/filesystems && ! grep -q usbdevfs /etc/mtab; then
+		mount -t usbdevfs usbdevfs /proc/bus/usb
+	fi
+	echo "Starting HotPlug service..."
 	touch ${LOCK_FILE}
 	echo ${MURASAKI_HOTPLUG} > ${PROC_PATH}
 	if [ $INIT = 'on' ];then
+		echo "Probing and setting up devices..."
 		initialize
 	fi
 	;;
 stop)
+	echo "Shutting down HotPlug services..."
 	rm -f ${LOCK_FILE}
 	echo ${DEFAULT_HOTPLUG} > ${PROC_PATH}
 	;;
