Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Mouse and Keyboard How-To
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
castra
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 86

PostPosted: Mon Dec 01, 2003 9:00 pm    Post subject: Reply with quote

I'm runing gentoo on my laptop Fujitsu-Siemens Amilo and keyboard
not working after I boot woth my kernel which is 2.4.23 stable.
Works OK with LIVECD but not ( as I said ) with build kernel.
Added suport as you wrote but same results. Any ideas guys ?
Back to top
View user's profile Send private message
dkaplowitz
Guru
Guru


Joined: 22 Nov 2003
Posts: 596
Location: Philadelphia, PA

PostPosted: Tue Dec 16, 2003 6:38 pm    Post subject: Reply with quote

Great thread! Thank you so much for posting it, Vlad. You've really helped me.
_________________
http://dkap.info
Back to top
View user's profile Send private message
juliancoccia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 91
Location: Opensource World

PostPosted: Tue Jan 13, 2004 3:09 pm    Post subject: Reply with quote

dredd, have you done steps 2 to 5 exactly as explained ? Then, have you done make modules modules_install as explained on step 6 ?
_________________
http://julian.coccia.com
http://www.linuxespanol.com
Back to top
View user's profile Send private message
juliancoccia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 91
Location: Opensource World

PostPosted: Tue Jan 13, 2004 3:15 pm    Post subject: Reply with quote

Quick comment/questions:

/etc/modules.autoload does not exist. Instead there is a /etc/autoload.d directory containing subdirs for different kernel families.

I added the modules to the kernel-2.4 as it is the one I am using.

The questions are.

Do I have to run modules-update afterwards ? Or this only take effect on bootup ?
Do I also have to add the modules to /etc/modules.conf ?

Thanks
Julian
_________________
http://julian.coccia.com
http://www.linuxespanol.com
Back to top
View user's profile Send private message
dredd
n00b
n00b


Joined: 27 Nov 2003
Posts: 63
Location: Switzerland

PostPosted: Tue Jan 13, 2004 4:00 pm    Post subject: Reply with quote

well, as fas as i can remember yes.. but in the meantime I have upgraded to a test kernel 2.6 and there it works fine.... waiting for official 2.6 gentoo sources... :)

phil
Back to top
View user's profile Send private message
juliancoccia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 91
Location: Opensource World

PostPosted: Tue Jan 13, 2004 4:20 pm    Post subject: Reply with quote

Well, I am having a different problem. I can't laod usb-uhci. This is what i get:

Code:
# modprobe usb-uhci
/lib/modules/2.4.22-gentoo-r2/kernel/drivers/usb/usb-uhci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-gentoo-r2/kernel/drivers/usb/usb-uhci.o: insmod /lib/modules/2.4.22-gentoo-r2/kernel/drivers/usb/usb-uhci.o failed
/lib/modules/2.4.22-gentoo-r2/kernel/drivers/usb/usb-uhci.o: insmod usb-uhci failed


I tried disabling input, using usbcore as a module and got the same error. I previously had debian running on this machine with usbcore, usb-uhci hid and mousedev (no input) and did not have any problems.

There is another user having a similar problem here:
https://forums.gentoo.org/viewtopic.php?t=53537

How do I configure the IO an IRQ parameters ?
_________________
http://julian.coccia.com
http://www.linuxespanol.com
Back to top
View user's profile Send private message
juliancoccia
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 91
Location: Opensource World

PostPosted: Sat Feb 14, 2004 9:30 pm    Post subject: Reply with quote

Finally decided to give it another shot and this time it worked ! Here is my recipe:

This time I went with the UHCI Alternate Driver (JE) (which generates uhci.o instead of usb-uhci.o).
Do not add "uhci" to /etc/modules.autoload.d/kernel-2.4 and reboot, otherwise I get e segfault on boot up.

Mouse connects to /dev/input/mice automatically.

I am running on an IBM Thinkpad i Series 1300 model 1171 370. Here is my lsmod result:

Code:
# lsmod
Module                  Size  Used by    Not tainted
usb-storage            24184   0  (unused)
prism2_usb             68360   2
p80211                 18904   0  [prism2_usb]
usbmouse                2076   0  (unused)
soundcore               4580   0  (unused)
ac97_codec             13420   0  (unused)
i810_audio             27240   1
hid                    14920   0  (unused)
mousedev                4344   1
input                   3904   0  [usbmouse hid mousedev]

_________________
http://julian.coccia.com
http://www.linuxespanol.com
Back to top
View user's profile Send private message
Phant0m51
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2003
Posts: 105

PostPosted: Wed Mar 03, 2004 5:53 am    Post subject: Reply with quote

Alright, finally got my mouse set up after rebuilding the kernel close to 10 times...

Tip for nForce 2 users, use OHCI instead of UHCI to save yourself alot of trouble.

Vlad: Maybe you should edit your How-To and tell the nForce 2 users to enable EHCI and OHCI instead of UHCI. I know I'm not the first person to say that nForce 2 uses OHCI, but you didn't reflect in your How-To that we should use OHCI.
Back to top
View user's profile Send private message
sofcik
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2004
Posts: 99
Location: Poland, Warsaw, Ochota :]

PostPosted: Sat Mar 27, 2004 12:24 am    Post subject: Reply with quote

I have USB Logitech pilot mouse , i uses kernel 2.6.3 and my mouse works but the scroll not, i did ZAxisMapping "5 6" in xf86config file but it doesnt work ,testing with cat /dev/input/mice gives positive result - every buuton and scroll give me an answer at console :(
Back to top
View user's profile Send private message
mathboy
n00b
n00b


Joined: 03 May 2004
Posts: 6
Location: Dunedin, New Zealand

PostPosted: Mon May 03, 2004 9:17 am    Post subject: mouse OK but keyboard not working... Reply with quote

:) Nice guide, thank you!

My mouse is now working well on my laptop, together with the little pointing device. :) I was unable to get my PS/2 keyboard (connected via a PS/2 to USB converter) to work though. It shows up in my system logs when I plug it in (see below), and I've got the kernel configured correctly I think. Anything else I can check? It worked from the LiveCD. :?

May 4 08:58:07 greensong hub.c: new USB device 00:07.2-1, assigned
address 7
May 4 08:58:07 greensong input: USB HID v1.10 Keyboard [Composite USB
PS2 Converter USB to PS2 Adaptor v1.12] on usb1:7.0
May 4 08:58:07 greensong input: USB HID v1.10 Mouse [Composite USB PS2
Converter USB to PS2 Adaptor v1.12] on usb1:7.1
_________________
Email: (my forum username) @ slingshot.co.nz
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Sun Aug 08, 2004 9:25 pm    Post subject: Headsup Reply with quote

Just a heads-up that the "uhci" module (not usb-uhci) is experimental and less thoroughly tested. I personally had problems when using high bandwidth devices (such as a printer/scanner) and the mouse would jump around the screen and finally stop working.

If any of this sounds familiar use usb-uhci.

Cheers!
Back to top
View user's profile Send private message
loxety
n00b
n00b


Joined: 25 May 2004
Posts: 46
Location: Washington D.C.

PostPosted: Wed Aug 11, 2004 10:21 am    Post subject: Reply with quote

this should be in the docs section.. not just the forums
Back to top
View user's profile Send private message
DeftEp
n00b
n00b


Joined: 13 Jan 2005
Posts: 2

PostPosted: Thu Jan 13, 2005 9:24 am    Post subject: Reply with quote

I realize this is a really old post but i just tried it now.. i am running gentoox on my xbox and was wanting mouse/keyboard support.. i did all of this but im not sure i did it all right.. since i am not familiar with linux (took some minor courses) i think i need help.. i copyied the bzImage from the /usr/src/linux and put it into my /boot partition changed the boot loader and it all seems to load.. but the problem is things are failing to load now.. my xpad (the xbox controller) fails to load and all the things i added into the kernel fail to load aswell.. i think anyway.. i could only catch a few as the screen scrolls so fast.. any suggestions?..
Back to top
View user's profile Send private message
DeftEp
n00b
n00b


Joined: 13 Jan 2005
Posts: 2

PostPosted: Fri Jan 14, 2005 1:23 am    Post subject: Reply with quote

i get a make dep error now when i am trying to re do this.

make[3]: *** [_sfdep_atm] Error 2
> > make[3]: Leaving directory `/usr/src/linux-2.4.0-test10/drivers'
> > make[2]: *** [fastdep] Error 2
> > make[2]: Leaving directory `/usr/src/linux-2.4.0-test10/drivers'
> > make[1]: *** [_sfdep_drivers] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.0-test10'
> > make: *** [dep-files] Error 2

this isnt my print screen but the error lines are what i am getting.. what can i do to fix this?
Back to top
View user's profile Send private message
prvkd
n00b
n00b


Joined: 11 Aug 2003
Posts: 3
Location: Pennsylvania, USA

PostPosted: Wed Mar 16, 2005 9:47 pm    Post subject: Reply with quote

Just a little fyi... I was having a similar problem, which is why i read this forum. and it turned out that the 1.1 usb was working fine.. but my ports were 2.0 so... you can also do this:

In your kernel makeconfig menu under USB Support there is an option to enable EHCI-HCD (USB 2.0) Support. Enable this as a module by hitting M, then..
Code:
make dep && make modules modules_install
modprobe ehci-hcd
Back to top
View user's profile Send private message
cj5
n00b
n00b


Joined: 07 Aug 2005
Posts: 1

PostPosted: Sun Aug 07, 2005 1:59 pm    Post subject: This doesn't help Reply with quote

I have a Logitech IFeel USB mouse, and I have followed these instructions to the tee, or at least tried my best. First off, these instruction are not in compliance with other kernel releases (other than the one used in this tutorial, of which we have no idea what it is). Half the menu options in the 'make menuconfig' session don't even exist in my kernel config (2.6.12-gentoo-r6). I am at my wits end with this dammed mouse. I have everything else working except it. Any detailed or corrected information would be greatly appreciated.

CJ...
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Aug 07, 2005 2:26 pm    Post subject: Re: This doesn't help Reply with quote

cj5 wrote:
First off, these instruction are not in compliance with other kernel releases (other than the one used in this tutorial, of which we have no idea what it is). Half the menu options in the 'make menuconfig' session don't even exist in my kernel config (2.6.12-gentoo-r6).CJ...

I have this kernel also and they all exist. You probably have a another option disabled that is blocking some of the options in the how-to. Is plug and play support enabled?
Back to top
View user's profile Send private message
Kaboosh
Apprentice
Apprentice


Joined: 10 Jun 2004
Posts: 162
Location: Edmonton, AB - Canada

PostPosted: Fri Dec 16, 2005 5:02 pm    Post subject: Re: This doesn't help Reply with quote

cj5 wrote:
I have a Logitech IFeel USB mouse, and I have followed these instructions to the tee, or at least tried my best. First off, these instruction are not in compliance with other kernel releases (other than the one used in this tutorial, of which we have no idea what it is). Half the menu options in the 'make menuconfig' session don't even exist in my kernel config (2.6.12-gentoo-r6). I am at my wits end with this dammed mouse. I have everything else working except it. Any detailed or corrected information would be greatly appreciated.

CJ...


I have the exact same mouse and have no problems (other than the useless "iFeel" functions not working). If you need any info about my kernel setup, hotplug config, etc... just message me.

Cheers!
Back to top
View user's profile Send private message
Parasietje
Apprentice
Apprentice


Joined: 25 Jan 2004
Posts: 194

PostPosted: Sat Dec 17, 2005 8:47 pm    Post subject: Reply with quote

Can anybody help me with the following?

I use an USB keyboard and mouse. As such, I have USBHID compiled into my kernel. But some events from my remote control are also mapped as buttons. The multimedia buttons on my keyboard are mapped as mouse clicks.
Now, is it possible to exclude some devices from USBHID? I used the event interface for interacting with the multimedia buttons and the remote.

If not, then I'll switch to evdev support for my X-Windows. Not being able to use console is only a small pain.

No, I cannot use BIOS support, because my motherboard USB ports are broken and I use a seperate PCI card.
Back to top
View user's profile Send private message
cp_tar
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2005
Posts: 94
Location: /home

PostPosted: Sun Dec 18, 2005 10:11 am    Post subject: Reply with quote

OK, can anyone help me here:

I'm installing Gentoo on my father's laptop (Acer Aspire 3002) and he and his gf rely heavily on their USB mouse, which I cannot get to work.
It worked in the installation (gpm recognized both the mouse and the trackpad); I compiled USB support in the kernel (not as a module), everything seems to be in order; however, /dev/input/mice seems only to point to the trackpad, and I don't really know what to do.

If the mouse doesn't work, neither will the mp3 player and the camera...
Especially since usbview doesn't seem to see the mouse when I connect it, so I guess I did make a mistake somewhere...
_________________
Do not feed the elephant.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum