Re: [gentoo-user] PS/2 mouse not working

2005-07-27 Thread smoke3
_MY_ mouse is not going to be thrown in the trash...
I did find that  on Knoppyx 3.2 the mouse work properly and I can

cat /dev/proc/psaux

with some jibberish on mouse moving.

So, what's the solution

S.G.


-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-25 Thread Bob Sanders
On Mon, 25 Jul 2005 00:05:36 +0200
smoke3 [EMAIL PROTECTED] wrote:

 On 7/24/05, smoke3 [EMAIL PROTECTED] wrote:
  
  I'm downloading a knoppix 3.9... i'll upload any result!
  For now none!
 
 Ok, some news:
 
 1. Knoppix recognize the mouse as an ImExPS/2 Generic Explorer Mouse
 and I cannot get it working even with this livecd!!!
 
 2. I think the problem is with the 2.6.*  kernels: it seems mouse is
 always recognized, but the optical lens shuts down as soon  as i begin
 moving it...
 

Actually no.  A very few mice don't work as expected - the signal levels are 
way messed
up.  They work in WinXX because the Manufacturer put workarounds in Microsoft's
mouse driver so they wouldn't have to spend an extra penny per mouse to make the
hardware work properly.  I ran across this with some generic BenQ OEM mice a
few years ago.  After a few hours of trying various machines and OS releases, I
told the Engineer to throw them in the trash.  And, yes they work fine on WinXX.

Try getting a decent mouse - borrow one, before declaring the kernel junk.

FWIW -I run Logitec, Razer. and Elcom (the GE of Japan) USB mice on a variety
of Gentoo systems - all different with different chipsets, with 
no problems.
And have done so from 2.4.24 to the current 2.6.12.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Richard Fish

smoke3 wrote:


Hi guys,
I just bought a new PS/2 Trust optical mouse (3 buttons), but I can't
get it works under my gentoo:
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
cat /dev/input/mice or cat /dev/psaux i get some X on 1,2 and 3
button pressed.
 



Ok, so you get some characters when you read /dev/input/mice and 
/dev/psaux.  What doesn't work?


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, Richard Fish [EMAIL PROTECTED] wrote:
 Ok, so you get some characters when you read /dev/input/mice and
 /dev/psaux.  What doesn't work?

I don't get any trash chars when i move my mouse and red light is off!
If i unplug and re-plug the mouse, i get red light turned on for just
a second and if i try to move the mouse, it gets off again.
What does work?
;)

S.G.
-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Richard Fish

smoke3 wrote:


On 7/24/05, Richard Fish [EMAIL PROTECTED] wrote:
 


Ok, so you get some characters when you read /dev/input/mice and
/dev/psaux.  What doesn't work?
   



I don't get any trash chars when i move my mouse and red light is off!
If i unplug and re-plug the mouse, i get red light turned on for just
a second and if i try to move the mouse, it gets off again.
What does work?
;)

 



Ok, your original message wasn't clear to me.  Many mice have a 
two-stage LED that goes dim after a few seconds (not completely off 
though).  And I thought that X was a translation for the non-printing 
characters.


Did you set CONFIG_MOUSE_PS2=y or =m?  If =y, try rebuilding as a 
module.  This would let you remove and reload the driver (rmmod psmouse; 
modprobe psmouse) to see what happens.


Also, is this a real PS/2 mouse (not using a USB to PS/2 adapter), or do 
you use a KVM switch?


-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, Richard Fish [EMAIL PROTECTED] wrote:
 
 
 Did you set CONFIG_MOUSE_PS2=y or =m?  If =y, try rebuilding as a
 module.  This would let you remove and reload the driver (rmmod psmouse;
 modprobe psmouse) to see what happens.

I tried it also as module: I even passed every type of proto to the
module during modprobe, but while i'm fetching the driver, the light
turns off and I can only cat buttons working

 Also, is this a real PS/2 mouse (not using a USB to PS/2 adapter), 

Yes it's a _real_ PS/2 mouse ;)


 or do
 you use a KVM switch?

What is a KVM switch? It's the first time i hear this!


-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Michal Pronay
smoke3 wrote:
 On 7/24/05, Richard Fish [EMAIL PROTECTED] wrote:
 

Did you set CONFIG_MOUSE_PS2=y or =m?  If =y, try rebuilding as a
module.  This would let you remove and reload the driver (rmmod psmouse;
modprobe psmouse) to see what happens.
 
 
 I tried it also as module: I even passed every type of proto to the
 module during modprobe, but while i'm fetching the driver, the light
 turns off and I can only cat buttons working
 
 
Also, is this a real PS/2 mouse (not using a USB to PS/2 adapter), 
 
 
 Yes it's a _real_ PS/2 mouse ;)
 
 
 
or do
you use a KVM switch?
 
 
 What is a KVM switch? It's the first time i hear this!
 
 

Looks like your mouse is broken, try booting some livecd like knoppix
for example.

KVM means keyboard,video, mouse and stands for a switch between more pcs
and one console equipted with a monitor, keyboard and mouse. Such a
console can be mounted in a rack and you can control more servers with
it for example.

M.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, Michal Pronay [EMAIL PROTECTED] wrote:
 
 Looks like your mouse is broken, try booting some livecd like knoppix
 for example.

Easy way, but not the right one: my mouse is new and does function on
other computers running M$...

 
 KVM means keyboard,video, mouse and stands for a switch between more pcs
 and one console equipted with a monitor, keyboard and mouse. Such a
 console can be mounted in a rack and you can control more servers with
 it for example.

Ok, i remember i just heard something about it, but that wasn't the
name... However i thought it was a kind of enterprise stuff, not
really useful at home, with only one PC installed. ;)

Any ideas else?

S.G
-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Hans-Werner Hilse
Hi,

On Sun, 24 Jul 2005 12:52:11 +0200
smoke3 [EMAIL PROTECTED] wrote:

 On 7/24/05, Michal Pronay [EMAIL PROTECTED] wrote:
  
  Looks like your mouse is broken, try booting some livecd like knoppix
  for example.
 
 Easy way, but not the right one: my mouse is new and does function on
 other computers running M$...

Hm, OK, other computers... What about the computer you want to use it
with? What does it do if you try another OS? When the mouse is
considered OK, then there's the computer left...

I'd also check
* BIOS settings regarding the mouse
* the right PS/2 plug (not that keyboard one...)
* dmesg output regarding the psaux driver
* another PS/2 mouse (this isn't clear from your postings if there was
  one before you bought the new one)

-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
 Hm, OK, other computers... What about the computer you want to use it
 with? What does it do if you try another OS? When the mouse is
 considered OK, then there's the computer left...

It's OK: I had winzoz installed from the seller i bought it from and
the mouse did function as well!

 
 I'd also check
 * BIOS settings regarding the mouse
Everything ok!

 * the right PS/2 plug (not that keyboard one...)
nice joke, but... no!

 * dmesg output regarding the psaux driver

dmesg | grep psaux -- nothing
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

 * another PS/2 mouse (this isn't clear from your postings if there was
   one before you bought the new one)

Ok: I tried an older mouse (not optical) and it does function... cat
/dev/psaux sends me lots of trash when i move it. -- the PC is ok!
***
NEED
HELP
***



-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Hans-Werner Hilse
Hi,

On Sun, 24 Jul 2005 13:23:14 +0200
smoke3 [EMAIL PROTECTED] wrote:

 It's OK: I had winzoz installed from the seller i bought it from and
 the mouse did function as well!

Hm, OK, it definately _is_ a driver issue then...

  * the right PS/2 plug (not that keyboard one...)
 nice joke, but... no!

Well, seen it before, and I thought to mention it doesn't harm... :-)
 
 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

Hm, OK. So it _is_ recognized then... Maybe the kernel choses a level
that's too high. From kernel docs (kernel-parameters.txt):

snip
psmouse.proto=  [HW,MOUSE] Highest PS2 mouse protocol extension to
probe for (bare|imps|exps).
psmouse.rate=   [HW,MOUSE] Set desired mouse report rate, in reports
per second.
psmouse.resetafter=
[HW,MOUSE] Try to reset the device after so many bad 
packets
(0 = never).
snip

So I'd try to begin with the proto setting. Note that this only applies
if the driver actually is compiled into the kernel instead of being a
module. In the latter case, you'd need to edit the module parameters.

On the grub kernel line (or LILO's parameter line, respectively),
append something like:

psmouse.proto=imps

And see what happens. Try with the other values (exps, bare), too. Of
course, this will need a reboot after modifiing the kernel command line.

As a side note, my dmesg reads:
Jul  2 12:59:52 sub00421 input: ImPS/2 Generic Wheel Mouse on isa0060/serio1


Last question: Does this mouse work for any (other) linux box? What
does the dmesg read there?


-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
 
 Hm, OK, it definately _is_ a driver issue then...
 
   * the right PS/2 plug (not that keyboard one...)
  nice joke, but... no!
 
 Well, seen it before, and I thought to mention it doesn't harm... :-)

Ok ok! I'm a bit nervous on this mouse marrow...! ;)
 
  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
 
 Hm, OK. So it _is_ recognized then... Maybe the kernel choses a level
 that's too high. From kernel docs (kernel-parameters.txt):
 
 snip
 psmouse.proto=  [HW,MOUSE] Highest PS2 mouse protocol extension to
 probe for (bare|imps|exps).
 psmouse.rate=   [HW,MOUSE] Set desired mouse report rate, in reports
 per second.
 psmouse.resetafter=
 [HW,MOUSE] Try to reset the device after so many bad 
 packets
 (0 = never).
 snip
 
I tried all the protocols... I even modified psmouse-base.c in order
to get all the abbreviation for protos, but none of them did
function...

I dont' know how to use the latter params!!! Any explaination is appreciated!

 As a side note, my dmesg reads:
 Jul  2 12:59:52 sub00421 input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
 Last question: Does this mouse work for any (other) linux box? What
 does the dmesg read there?

I'm downloading a knoppix 3.9... i'll upload any result!
For now none!


-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread Matt Randolph

smoke3 wrote:


On 7/24/05, Hans-Werner Hilse [EMAIL PROTECTED] wrote:
 


* the right PS/2 plug (not that keyboard one...)
   


nice joke, but... no!
 



Did you get the mouse working under M$ on this computer or a different 
one?  If you have never gotten it to work on this computer, you might 
try switching the mouse and keyboard anyway... regardless of what the 
little labels say.


I had a motherboard once where the bios was programmed wrong.  I 
couldn't get my keyboard to work at all.  It would come on at boot, and 
then it would stop working.  Or something like that.  I remember it was 
very mysterious.  It turned out they had gotten the keyboard and mouse 
ports mixed up in the bios.  I switched the mouse and keyboard so that 
they were each in the _wrong_ jack and then they both worked fine.  I 
think they fixed the problem in a bios update by making it not matter 
which jack you used for what.


--
Pluralitas non est ponenda sine necessitate - W. of O.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
Ok, some news:

1. Knoppix recognize the mouse as an ImExPS/2 Generic Explorer Mouse
and I cannot get it working even with this livecd!!!

2. I think the problem is with the 2.6.*  kernels: it seems mouse is
always recognized, but the optical lens shuts down as soon  as i begin
moving it...



On 7/24/05, Matt Randolph [EMAIL PROTECTED] wrote:
 Did you get the mouse working under M$ on this computer or a different
 one?  If you have never gotten it to work on this computer, you might
 try switching the mouse and keyboard anyway... regardless of what the
 little labels say.
 

No, on this computer all was good with M$... apart form my
consciousness and my pride!!! ;)

Any ideas?

-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] PS/2 mouse not working

2005-07-24 Thread smoke3
On 7/24/05, smoke3 [EMAIL PROTECTED] wrote:
 
 I'm downloading a knoppix 3.9... i'll upload any result!
 For now none!

Ok, some news:

1. Knoppix recognize the mouse as an ImExPS/2 Generic Explorer Mouse
and I cannot get it working even with this livecd!!!

2. I think the problem is with the 2.6.*  kernels: it seems mouse is
always recognized, but the optical lens shuts down as soon  as i begin
moving it...

S.G:

-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list