LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Kernel 2.4.26 and usb problems (https://www.linuxquestions.org/questions/linux-hardware-18/kernel-2-4-26-and-usb-problems-182018/)

antipop 05-16-2004 07:40 AM

Kernel 2.4.26 and usb problems
 
I've installed a debian distro on my comp with the kernel 2.4.26
However i still have some problems with the usb
First : Is there a way to know if the usb2.0 is working at full speed? I have an external usb2 hard disk and if i use hdparm to see the speed i get less than 1MB/sec which is really low compared to what i get in windows

Second : i have an explorer intellimouse mouse, i want to put it on the usb and have the 5 buttons working. However last time i tried it on usb i couldn't load X, the server was unable to find the mouse on the usb port (even if i configured the XF86 file ).

I'm still new to linux, so if you need more information tell me what i need to do to give it to you

sohmc 05-17-2004 04:33 AM

Don't know about the first question, but I can field the second.

X is funny...in order to get mice with more than one button to work right, you'll need to do some tricky stuff. here's a web page that has helped me:

http://www.deadman.org/X/xbuttons.shtml

antipop 05-17-2004 05:10 AM

I changed the XF86 file but i don't know where to put the xmodmap -e "pointer = 1 2 3 6 7 4 5" line

sohmc 05-17-2004 05:31 AM

/etc/X11/Xmodmap
-or-
$HOME/.xmodmap

antipop 05-17-2004 05:46 AM

so i should create a new file?
Do i only put the line and save?

ps the mouse isn't working on usb, only on ps2

sohmc 05-17-2004 06:05 AM

create and save the file. you may need to source the file in an startup file (e.g. $HOME/.xinitrc)

For USB, you may need to recompile your kernel so it includes USB HID drivers.

antipop 05-17-2004 11:04 AM

I don't have a .xinitrc file in my home (as i said i'm a newb to linux)

For the usb i installed the HID driver when i installed debian, is there a way to be sure about it and that it's working fine?

sohmc 05-17-2004 11:50 AM

Open up a text editor and save the needed info into your home directory under the file name .xinitrc

Yes. try commands 'lsmod', or look in /lib/modules/kernelversion/... for drivers usbcore, hid.

antipop 05-17-2004 12:04 PM

I have this about mouse in the lsmod

usbkbd 3640 0 (unused)
input 3648 0 [hid usbmouse keybdev usbkbd]
usb-uhci 23568 0 (unused)
usbcore 63756 0 [usb-storage hid usbmouse usbkbd usb-uhci]

Muzzy 05-17-2004 12:55 PM

Code:

# modprobe usbhid
should fix your problem.

antipop 05-17-2004 01:07 PM

modprobe: Can't locate module usbhid

This is what i get, i'm pretty sure i installed it with debian however i can't make my mouse work with X (i've a failure and i can't launch it)
If i do a more /dev/input/mice (or the various mouse there is) or more /dev/usb/mouse(0-15) i always get a reply that it can't open the file (or something along this line)

Muzzy 05-17-2004 03:53 PM

You must have forgotten to select it when you configured your kernel.
Code:

cd /usr/src/linux
make menuconfig

Then
USB support
--- USB Human Interface Devices (HID)
<M> USB Human Interface Device (full HID) support[*] HID input layer support

Then recompile and install modules, then modprobe again, and this should fix your problem. If you find you are missing other kernel modules, check your kernel configuration again. It is very easy to forget a module, especially if it is the first time you have tried to build a kernel.

antipop 05-18-2004 04:26 AM

10x i'll try that right away :)
I hope X won't be messed again this time :)

Muzzy 05-20-2004 05:21 PM

Any luck? If it works, please post back so that others that search the archives will know that you fixed your problem. If not, then maybe I can help some more.

antipop 05-20-2004 05:29 PM

Quote:

Originally posted by Muzzy
Any luck? If it works, please post back so that others that search the archives will know that you fixed your problem. If not, then maybe I can help some more.
I'm sorry i haven't had the time to try it yet
i'm now on a small vacation till the end of the week, as soon as i come back i'll try it and i promise i'll reply back with anything new


All times are GMT -5. The time now is 06:25 PM.