QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1849|回复: 8

升级2.6.6内核后,USB鼠标不能用了

[复制链接]
发表于 2004-5-16 14:24:00 | 显示全部楼层 |阅读模式
在RH9中,升级2.6.6的内核,不知道漏了哪一个模块没有弄,现在进了系统以后鼠标不能用,另外我的D-LINK的网卡也不能用

不知道我接着该怎么办,另外CHANGES里面要求的某些模块的版本我的都是系统默认的,连那个他们很强调的MODULES-INIT-TOOLS我也是要原来的


接下来我该怎么做,才能让我的鼠标和网卡能够使用?

谢谢!
发表于 2004-5-16 15:37:24 | 显示全部楼层
xf86config
回复

使用道具 举报

 楼主| 发表于 2004-5-16 18:42:57 | 显示全部楼层
在引导的时候,出现uhci不能够初始化,模块无法找到等等的问题
这个在用make menuconfig的时候看了一下,我已经选了uhci啦,就是不能用

另外在关机的时候有个是说无法保存mixer,这个我也不知道怎么弄,就知道它是混音器而已,我应该怎么配置我的新内核呢?
回复

使用道具 举报

发表于 2004-5-16 23:33:44 | 显示全部楼层
In the kernel configuration stage, you need to turn on "USB Human Interface Device (HID) support" in the USB support and "Mouse Support" in the Input core support. You don't need to worry about the screen resolution entries for a normal mouse - these are for mouse-like devices such as a graphics tablet. Do NOT turn on "USB HIDBP Mouse support" (IMPORTANT!!!). Perform the normal kernel rebuild and installation steps. If you are installing as modules, you need to load the input.o, hid.o and mousedev.o modules.

In addition, in the installation guide of module-init-tools, step 5, run "depmod" for the new kernel, eg:
  depmod 2.x.x

From my point of view, this action should be taken only after the compiling your new kernel, 'cause there's not a NEW kernel at all before you compiled it.

So, in this case, just run depmod 2.6.6. ( you'll find a "2.6.6" directory under /lib/modules after you run "make modules_install")

I noticed the same error information about the USB modules, as you found at startup.

Now, I made it!

But I cannot utilize the wheel button by far.

The above is only my personel views, only for reference.

visit: http://linux-usb.sourceforge.net  to find more solutions.
回复

使用道具 举报

 楼主| 发表于 2004-5-18 16:47:23 | 显示全部楼层
thank you very much
回复

使用道具 举报

发表于 2004-5-18 19:45:32 | 显示全部楼层
#modprop uhci-hcd

Then you can use your wheel button to navigatte up and down in window.

yesterday night I tried and successed.

The point is that I have to run the command every time I start up my computer.

Now I am focusing on how to make this module loaded automatically.

Files I am interested is:
/etc/modprobe.conf
/lib/modules/2.6.5/modules.dep
and the manpages of above files.

Hope to have some developements..........
回复

使用道具 举报

发表于 2004-5-18 23:00:30 | 显示全部楼层
Got it!

1. Noticed that my Logitech MX300 is connected to a USB port driven by UHCI,
replace the line in /etc/modprobe.conf

"alias usb-controller usb-uhci"     with
"alias usb-controller uhci-hcd"
(notes: for 2.4.x kernels, UHCI module was compiled as "usb-uhci", while in 2.6.x kernels, "uhci-hcd". That's why we got error messages at startup that uhci was not found. So if you have other devices connected to OHCI port, try OHCi similar)

2. In the file /etc/rc.sysinit, mask the lines contained "mousedev" and "keybdev" in the scope of "# Initialize USB controller and HID devices". For me, it goes like this:

# Initialize USB controller and HID devices
........

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
                                                                                
if [ -f /fastboot ] || strstr "$cmdline" fastboot ; then
        fastboot=yes
fi
........

(notes: for 2.6.x kernels, there's no keybdev or mousedev at all, no matter with what methods do you compiled usbmouse. I think, perhaps the new kernel regards them as HID. This is why we got error messages at startup that no mousedev or keybdev found. And after doing this, these red nervousing error messages will never come again! )

Now I can enjoy my cute USB wheel mice!

To the next, I will try to drive my HP DeskJet 3320 USB printer to work.
It doesn't work, although everything went smoothly right before my compiling the new 2.6.5 kernel.

Hope to have more developements.........
回复

使用道具 举报

 楼主| 发表于 2004-5-21 12:09:59 | 显示全部楼层
now i can only just have a try
回复

使用道具 举报

 楼主| 发表于 2004-5-25 08:25:24 | 显示全部楼层
不知道弄错了什么,最近弄出来的不仅仅是鼠标不能用,而且有提示说我的分区不对啊,什么语言有问题啊
郁闷,想放着一段时间先,不想弄他了,还要考试呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 22:29 , Processed in 0.212246 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表