LinuxQuestions.org
Help answer threads with 0 replies.
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 07-24-2005, 05:03 PM   #1
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Rep: Reputation: 0
Optical PS/2 Mouse red light is off!!!


Hi guys,
I just bought a new PS/2 Trust optical mouse (3 buttons) MI-2100, but I can't get it works under my gentoo (and any other linux distro, I think):
I'm using gentoo-sources 2.6.12-r6 for amd64 and I think I configured my kernel as well as possible for PS/2 mice support.
When system boots, it turns the red laser light off and when i try

Code:
#cat /dev/input/mice
or

Code:
#cat /dev/psaux
i get some "X" on 1,2 and 3 button pressed.
I think there is probably a problem on hw detection on system booting, but I really don't know where to put my hands on!!!
I also tried compiling psmouse as a mosule, and passing it a lower protocol, but with no result!
Mouse and PC are ok, because I did have winzoz installed by the seller i bought my PC from and i did use the mouse!!
Can anybody help me please????
THANKS!!!

S.G.

PS:
Code:
#dmesg | grep PS/2
PNP: PS/2 Controller... irq 1,12
mice: PS/2 mouse device common for all mice
input ImExPS/2 Generic Explorer Mouse on isa0060/serio1
 
Old 07-24-2005, 07:56 PM   #2
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
The dmesg output has some answers in it.

what does your mouse section in xorg.conf file have to say?

also please post the output for
Code:
# cat /proc/bus/input/devices
 
Old 07-27-2005, 05:18 AM   #3
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Here it is:

Code:
I: Bus=0011 Vendor=0002 Product=0006 Version=0000
N: Name="ImExPS/2 Generic Explorer Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0
B: EV=7
B: Key=1f0000 0 0 0 0
B: REL=103
A hint: On Knoppyx 3.2 the mouse work properly and I can
Code:
cat /dev/proc/psaux
with some jibberish on mouse moving.

Can you find a solution?????
 
Old 07-27-2005, 01:44 PM   #4
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
Can you also post your xorg file - mouse entry.

Cheers
 
Old 07-27-2005, 02:52 PM   #5
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
I don't still have X installed!!!!
I just want to get my mouse recognised...
Since the red light turns off, it is impossible to get the mouse moving!!!!!
So doesn't matter how my xorg.conf file will be!!!!!!

The problem is : how to control PS/2 port and get the red light on so that the cursor could move!!!

PS: I'm not a newbye.
 
Old 07-27-2005, 03:13 PM   #6
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
Quote:
I: Bus=0011 Vendor=0002 Product=0006 Version=0000
N: Name="ImExPS/2 Generic Explorer Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0
B: EV=7
B: Key=1f0000 0 0 0 0
B: REL=103
Your setup see's these attributes.

/dev/input/mouse0 -> input

ImPS/2 not PS/2

I understand you are not a newbie, but I need to ask. When you compiled your kernel, did you make sure you have the module for mouse PS/2 built-in? It sounds like as your kernel boots, it has no PS/2 module to load. If you have a red light at boot, that indicates the mouse is recognized and connected correctly, then kernel boots up, and it is switched off.

Cheers
 
Old 07-27-2005, 05:51 PM   #7
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aikidoist72
Your setup see's these attributes.

/dev/input/mouse0 -> input

ImPS/2 not PS/2

I understand you are not a newbie, but I need to ask. When you compiled your kernel, did you make sure you have the module for mouse PS/2 built-in? It sounds like as your kernel boots, it has no PS/2 module to load. If you have a red light at boot, that indicates the mouse is recognized and connected correctly, then kernel boots up, and it is switched off.

Cheers
Code:
CONFIG_INPUT=Y
CONFIG_INPUT_MOUSEDEV=Y
CONFIG_INPUT_MOUSEDEV_PSAUX=Y
CONFIG_INPUT_MOUSE=Y
CONFIG_MOUSE_PS/2=Y
I think it's well configured!!!!

Code:
cat /dev/psaux 

or

cat /dev/input/mice
they give nothing to output apart from X on clicking on three buttons!!!
It's likely a kernel-code problem!!!!!!
 
Old 07-27-2005, 06:13 PM   #8
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
What kind of mouse have you got? I have had various optical mice, and now I am using a Logitech mx1000 laser mouse - cordless into the PS/2 port.

I wonder if this is an IRQ setting error?
Code:
root:# dmesg | grep PS/2
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
 
Old 07-28-2005, 04:32 AM   #9
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aikidoist72
What kind of mouse have you got? I have had various optical mice, and now I am using a Logitech mx1000 laser mouse - cordless into the PS/2 port.

I wonder if this is an IRQ setting error?
Code:
root:# dmesg | grep PS/2
mice: PS/2 mouse device common for all mice
input: ImExPS/2 Logitech Explorer Mouse on isa0060/serio1
I get the same output!!!!
I don't think it's an IRQ error: PS/2 is on 12 so it's ok!!!
Furthermore, I can get the mouse working with 2.4.* kernels!!!
So, what's the matter????!!!!
 
Old 07-28-2005, 09:50 PM   #10
aikidoist72
Member
 
Registered: Jan 2005
Location: Australia
Distribution: Slackware Archlinux FreeBSD
Posts: 218

Rep: Reputation: 30
I have got to say I am a little stumped now. I could help you further if X was installed. I found your question you put into a mailing list elsewhere, and the output of dmesg seems to indicate everything is recognized.

If you were to install X later on, let me know.

Cheers
 
Old 07-28-2005, 11:42 PM   #11
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I ran into similar problems on some systems that the mouse has an extra feature to save power by turning off or dimming slightly. Adding noapic to the boot loader does fix it most of the time. The setting for the mouse going to suspend mode or sleep mode is probably in the BIOS. I think I set my to be always on.
 
Old 07-29-2005, 06:21 AM   #12
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by aikidoist72
have got to say I am a little stumped now.
My problem has something to do with power management, not with recognizing the exact protocol!!!


Quote:
Adding noapic to the boot loader does fix it most of the time. The setting for the mouse going to suspend mode or sleep mode is probably in the BIOS. I think I set my to be always on.
nothing!!! It doesn't work!!! I tried to set the BIOS, but I didn't find anything concerning PS/2 port!
 
Old 08-19-2005, 02:34 PM   #13
amantia
LQ Newbie
 
Registered: Nov 2003
Posts: 9

Rep: Reputation: 0
Try this

In case you still have a problem, try to add "psmouse.proto=imps" to the kernel parameters.
I got a Chick (same as Trust as I found out) optical mouse and it worked in Windows, but not with SUSE (and it did work with some live CD's).
I figured out that the other distros use this flag, while SUSE doesn't. Adding it solved the problem.

Andras
 
Old 08-20-2005, 06:01 AM   #14
smoke3
LQ Newbie
 
Registered: Jul 2005
Location: Italy
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Thanx for your reply but that mouse did not function at all with 2.6.x kernels, while it does function with 2.4.x: I tried to load psmouse module with all the possible protos, but no way!!!!

So i had two choices:
1 -> going back to 2.4 kernel
2 -> change mouse (10 €)

I preferred the expensive solution!!!

Bye!!
 
  


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
usb mouse doesnt work, light comes on youneedaclue Linux - Laptop and Netbook 17 09-16-2004 09:07 PM
optical mouse chil326 Linux - Hardware 1 08-18-2004 10:32 AM
Wisetech optical mouse and mouse wheel support bigredgiant1 Linux - Hardware 2 12-31-2003 04:57 AM
Optical Mouse Bensoft Kill MS Linux - Hardware 2 09-30-2003 06:14 AM
RED LIGHT on casing goes on Kashif Ahmed Linux - General 1 12-17-2002 08:21 PM

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

All times are GMT -5. The time now is 08:37 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