LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-16-2004, 07:40 AM   #1
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Rep: Reputation: 15
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
 
Old 05-17-2004, 04:33 AM   #2
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
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
 
Old 05-17-2004, 05:10 AM   #3
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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
 
Old 05-17-2004, 05:31 AM   #4
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
/etc/X11/Xmodmap
-or-
$HOME/.xmodmap
 
Old 05-17-2004, 05:46 AM   #5
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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
 
Old 05-17-2004, 06:05 AM   #6
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
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.
 
Old 05-17-2004, 11:04 AM   #7
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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?
 
Old 05-17-2004, 11:50 AM   #8
sohmc
Member
 
Registered: Aug 2002
Location: Alexandria
Distribution: ubuntu 12.04.2
Posts: 217

Rep: Reputation: 30
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.
 
Old 05-17-2004, 12:04 PM   #9
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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]
 
Old 05-17-2004, 12:55 PM   #10
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
Code:
# modprobe usbhid
should fix your problem.
 
Old 05-17-2004, 01:07 PM   #11
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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)
 
Old 05-17-2004, 03:53 PM   #12
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
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.
 
Old 05-18-2004, 04:26 AM   #13
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
10x i'll try that right away
I hope X won't be messed again this time
 
Old 05-20-2004, 05:21 PM   #14
Muzzy
Member
 
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
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.
 
Old 05-20-2004, 05:29 PM   #15
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2.4.29 kernel USB problems cfdmanW Linux - Hardware 2 03-22-2005 10:26 AM
Problems with USB and recompiled kernel krajzega Slackware 4 03-30-2004 04:46 AM
usb problems, kernel ??? pleasehelpme Linux - Newbie 1 12-06-2003 03:06 PM
USB problems with 2.4.21 kernel BackSeat Linux - General 4 10-10-2003 04:26 AM
USB problems on 2.4.2 kernel Independence Linux - General 3 11-30-2002 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration