PDA

View Full Version : notebook with kernel 2.6.1 usb mouse didn't work.


f1e0n
2004-02-07, 09:48 PM CST
system:fedora core 1.
my notebook's old kernel is 2.4,and all things all right.
I update to kernel 2.6.1 with kernel-2.6.1-1.65.i686.rpm:
#rpm -Uvh kernel-2.6.1-1.65.i686.rpm
#remove /etc/sysconfig/hwconf
#mkdir /sys

edit /etc/fstab,add:
[code:1]none /sys sysfs defaults 0 0[/code:1]

and here is my /etc/modprobe.conf:
[code:1]include /etc/modprobe.conf.dist
alias usb-controller uhci_hcd
alias ieee1394-controller ohci1394

# ALSA portion
alias char-major-116* snd
alias snd-card-0 snd-intel8x0
# module options should go here
# OSS/Free portion
alias char-major-14* soundcore
alias sound-slot-0 snd-card-0
# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
install snd-card-0 /sbin/modprobe --ignore-install snd-card-0 && { /usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove
install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >>/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove
[/code:1]

and /etc/X11/XF86Config:
[code:1]Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"[/code:1]

reboot.
my USB mouse wasn't recognized.
When I check out USB devices in KDE Contol Center...nothing. appears.
but my trackpoint can work.
how can i use my usb mouse??

feenixx
2004-02-08, 11:05 AM CST
change line (not sure about this..)

alias usb-controller uhci_hcd
to
alias usb-controller uhci-hcd

from rc.sysinit change
"keybdev" to "usbkbd"
"mousedev" to "usbmouse"


check /etc/modprobe.conf.dist that you have lines

install usbmouse /sbin/modprobe --ignore-install usbmouse && { /sbin/modprobe hid; /bin/true; }

remove usbmouse { /sbin/modprobe -r hid; }; /sbin/modprobe -r --ignore-remove usbmouse


you can try adding lines:
alias usb-controller1 usb-ohci
alias usb-controler2 echi-hcd
in modprobe.conf aswell


some links to help migrating to 2.6
http://kerneltrap.org/node/view/799
http://fedoranews.org/jorge/howto/howto01.shtml
http://thomer.com/linux/migrate-to-2.6.html
http://www.geocities.com/asimshankar/etc/linux/migrate26.html
http://www.fearthecow.net/index.pl?section=guest&page=kernel
http://fedoranews.org/contributors/andre_costa/alsa/