Resources

What I did

#####################################################################
# Make
#####################################################################
#installed kernel-2.2.16-3 with sources
#user flav
#applied patch usb-2.4.0-test2-pre2-for-2.2.16-v3.diff.gz 
#modified sources because there is a compilation error
make oldconfig
make xconfig
make dep
make bzImage
cp .... /boot (system.map and bzImage)
make modules
make modules_install
cd pcmcia....
make config
make all
make install
cp -f /var/tmp/...modules...pcmcia /lib/modules....
# recompiled alsa-driver
# installed new version of alsa-driver
# updated lilo
# reboot

###################################################################
# USB General Tests
###################################################################
# user root
modprobe usbcore
modprobe usb-uhci
mount -t usbdevfs none /proc/bus/usb
# added entry in /etc/fstab
none                    /proc/bus/usb    usbdevfs defaults             0 0
####

##################################################################
# Mouse and Keyboard Setup
##################################################################
modprobe mousedev #load automaticaly input
modprobe hid
modprobe keybdev
# keyboard works

mkdir /dev/input
mknod /dev/input/mice c 13 63
#????
#nothing received when doing a cat /dev/input/mice
#????

# created some other devs entries :
root# ls -l /dev/input
total 0
crw-r--r--    1 root     root      13,  64 Aug 21 01:44 event0
crw-r--r--    1 root     root      13,  64 Aug 21 01:44 event1
crw-r--r--    1 root     root      13,   0 Aug 21 01:44 js0
crw-r--r--    1 root     root      13,   1 Aug 21 01:44 js1
crw-r--r--    1 root     root      13,  63 Aug 21 00:33 mice
crw-r--r--    1 root     root      13,  32 Aug 21 01:43 mouse0
crw-r--r--    1 root     root      13,  33 Aug 21 01:44 mouse1

#################################################################
# floppy tests
#################################################################
# i have scsi support configured in the kernel
# no need to load 
modprobe usb-storage

#the following was not useful for me
#echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi

#entry in /etc/fstab
/dev/sda    /mnt/usbfd       auto            noauto,user 0   0
####

mkdir /mnt/usbfd
mount /mnt/usbfd      # ok

#################################################################
# USB Utils for debugging mouse
#################################################################
compile usb-utils
mkdir /usr/local/share
cp usb.ids /usr/local/share

#################################################################
# 27/08/2000
#################################################################

# booted with the "new" kernel

root# modprobe usb-uhci
root# mount -a -t usbdevfs -> not worked (already mounted, /etc/fstab)
root# modprobe keybdev
# the keyboard not worked
root# modprobe hid
# the keyboard worked

#################################################################
# building the usbutils package
#################################################################
root# cd /usr/src/redhat
root# chown flav BUILD SRPMS SOURCES SPECS
root# chown -R flav RPMS
flav$ cp usbutils-0.6.tar.gz /usr/redhat/SOURCES
flav$ tar xzvf usbutils-0.6.tar.gz
flav$ cd usbutils-0.6
flav$ rpm -ba usbutils.spec
# installed the usbutils package
root# cd /usr/src/redhat/RPMS/i386
root# rpm -i usbutils-0.6-1.i386.rpm

################################################################
# the mouse works:
################################################################
root# modprobe mousedev
root# cat /dev/input/mice ->>>> ok
root# cat /dev/input/mouse0 ->>>> ok
# in fact why did this not worked the first time ?????

###############################################################
# Setting X11 mouse
###############################################################
# setup the USB mouse in addition to the touchpad
flav$ X -showconfig
# version is 3.3.6
flav$ man XF86Config
root# cd /etc/X11
root# mkdir RCS
root# ci -l XF86Config
root# vi XF86Config
# restarted X11 (I logged out from gnome, gdm restarted)
# ok it was working
root# ci -u XF86Config
root# rcsdiff -r1.1 -r1.2 -c XF86Config 
===================================================================
RCS file: RCS/XF86Config,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** XF86Config  2000/08/27 10:45:53     1.1
--- XF86Config  2000/08/27 11:04:04     1.2
***************
*** 149,154 ****
--- 149,168 ----
  
  EndSection
  
+ # Add Flav 27/08/2000
+ # for the USB mouse
+ # **********************************************************************
+ # Extended Input Device 
+ # **********************************************************************
+ Section "XInput"
+    SubSection "Mouse"
+        DeviceName    "USB Mice"
+        Protocol      "IMPS/2"
+        Port          "/dev/input/mice"
+        AlwaysCore
+    EndSubSection
+ EndSection
+ # End Flav 27/08/200
  
  # **********************************************************************
  # Monitor section

After you have done this you need to load the mousedev module
before trying to start X11.

Next Steps

Do everything automatic.
There are some user level daemons in order to load and unload modules.