-----Ursprungligt meddelande-----
Fr�n: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] F�r
[EMAIL PROTECTED]
Skickat: den 25 november 2001 21:00
Till: [EMAIL PROTECTED]
�mne: Xpert digest, Vol 1 #1322 - 2 msgs
Send Xpert mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
http://XFree86.Org/mailman/listinfo/xpert
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific than
"Re: Contents of Xpert digest..."
Today's Topics:
1. Re: CyberbladeXP on Toshiba Tecra 8200 (kiss the sun and walk on
air)
2. Wheel mouse does not work with USB mouse when using input core
driver (Olivier Cahagne)
--__--__--
Message: 1
Date: Sun, 25 Nov 2001 12:22:45 -0500
From: kiss the sun and walk on air <[EMAIL PROTECTED]>
To: xfree86 xpert list <[EMAIL PROTECTED]>
Subject: Re: [Xpert]CyberbladeXP on Toshiba Tecra 8200
protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd"
--ADZbWkCsHQ7r3kzd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Nov 25, 2001 at 04:32:28PM +0100, Marijan Vidmar wrote:
>=20
> I've tried several different configurations for the Toshiba Tecra
>8200. I could still not get the X-system working. Anybody could help?
>=20 Here are settings:
> RedHat 7.2 (Enigma)
> Xfree 4.1.0-3
>=20
> High resolution screen: 1400x1050. (I know it is not possible to run
at
> 1400x1050, but it doesn't show screen at 1024x768 too.)
I have the exact same laptop and the CVS version of XFree86 works at
1280x1024 @16bit color only. I would also like to enable 1400x1050 but I
have not had time to investigate how to add the required entry to the
struct in the source yet.
If you don't want to compile from CVS, there should be a 4.2.0 release
very soon now, according to the last published release schedule. -pete
--=20
(peter.royal|osi)@pobox.com - http://pobox.com/~osi
jabber/ [EMAIL PROTECTED] - icq/ 153025 - aim/ osifx - yahoo/ osi_fx your
brain on life - http://fotap.org - incubating
--ADZbWkCsHQ7r3kzd
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8ASjlhxNyr2g6PGURAmklAKChuty9WZvN/nVRpvmMYdCkIuDojQCgujVu
A7fBWlg36EacIABoZ44N508=
=nVxj
-----END PGP SIGNATURE-----
--ADZbWkCsHQ7r3kzd--
--__--__--
Message: 2
Date: Sun, 25 Nov 2001 18:48:24 +0100
From: Olivier Cahagne <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: Epita
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: [Xpert]Wheel mouse does not work with USB mouse when using
input core driver
Hi,
>> I'm using a Logitech MouseManPlus USB (also works when using a
USB-PS/2 >> adapter). >> Current setup: Linux kernel 2.4.15-pre5,
XFree86 from CVS (Nov. 24th). >> >> Bug: Mouse wheel does not work
with xterm/mozilla/any X app when using >> USB mouse and Input core
driver whereas it works with the PS/2 adapter. > >I have exactly the
same mouse and almost the same setup, but I have the >following lines
in XF86Config (slightly different from your version) : > >Section
"InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "ImPS/2"
> Option "Device" "/dev/input/mice"
> Option "ZAxisMapping" "4 5"
> Option "Emulate3Buttons" "no"
> Option "SampleRate" "200"
>EndSection
>
>I hope this helps.
Yes, it helped, I changed Protocol from "MouseManPlusPS/2" to "ImPS/2"
and wheel mouse now works when my Logitech MouseManPlus is plugged in
USB mode + input core driver.
So, I guess it's a very specific bug in the MouseManPlusPS/2 driver ?
A quick look at xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c shows
this driver is the most sophisticated:
With all the special cases, it might be missing the case where the input
core driver is used and mouse is plugged in via USB ?
[...]
case PROT_MMPS2: /* MouseMan+ PS/2 */
buttons = (pBuf[0] & 0x04) >> 1 | /* Middle */
(pBuf[0] & 0x02) >> 1 | /* Right */
(pBuf[0] & 0x01) << 2; /* Left */
dx = (pBuf[0] & 0x10) ? pBuf[1] - 256 : pBuf[1];
if (((pBuf[0] & 0x48) == 0x48) &&
(abs(dx) > 191) &&
((((pBuf[2] & 0x03) << 2) | 0x02) == (pBuf[1] & 0x0f)))
{
/* extended data packet */
switch ((((pBuf[0] & 0x30) >> 2) | ((pBuf[1] & 0x30) >>
4))) {
case 1: /* wheel data packet */
buttons |= ((pBuf[2] & 0x10) ? 0x08 : 0) | /* 4th
button */
((pBuf[2] & 0x20) ? 0x10 : 0); /* 5th
button */
dx = dy = 0;
dz = (pBuf[2] & 0x08) ? (pBuf[2] & 0x0f) - 16 :
(pBuf[2] & 0x0f);
break;
case 2: /* Logitech reserves this packet type
*/
/*
* IBM ScrollPoint uses this packet to encode its
* stick movement.
*/
buttons |= (pMse->lastButtons & ~0x07);
dx = dy = 0;
dz = (pBuf[2] & 0x80) ? ((pBuf[2] >> 4) & 0x0f) -
16 :
((pBuf[2] >> 4) & 0x0f);
dw = (pBuf[2] & 0x08) ? (pBuf[2] & 0x0f) - 16 :
(pBuf[2] & 0x0f);
break;
case 0: /* device type packet - shouldn't
happen */
default:
buttons |= (pMse->lastButtons & ~0x07);
dx = dy = 0;
dz = 0;
break;
}
} else {
buttons |= (pMse->lastButtons & ~0x07);
dx = (pBuf[0] & 0x10) ? pBuf[1]-256 : pBuf[1];
dy = (pBuf[0] & 0x20) ? -(pBuf[2]-256) : -pBuf[2];
}
break;
[...]
--
[EMAIL PROTECTED]
--__--__--
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert
End of Xpert Digest_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert