Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-15 Thread Jeremy Nickurak
On Wed, 2006-02-15 at 08:18 +1100, Benjamin Herrenschmidt wrote:
> On Tue, 2006-02-14 at 20:16 +0200, Martin-Éric Racine wrote:
> > ti, 2006-02-14 kello 23:14 +0700, Eugene Konev kirjoitti:
> > > 1. The correct way to use gpm with X server with /dev/input/mice in
> > >linux 2.6 is _not_ use gpm repeater, as kernel driver is perfectly
> > >capable to multiplex events itself.
> > 
> > Wrong.  Using GPM with X precisely implies using the repeater.

Not as far as I know. Ever since I switched to USB mice years ago, I've
just let both gpm and X look at the /dev/input/mice (or whatever other
udev node i've manually generated), and both work just fine.




Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-15 Thread Benjamin Herrenschmidt
On Tue, 2006-02-14 at 20:16 +0200, Martin-Éric Racine wrote:

> 
> Ben: would you know why this only seems to affect PowerMac users?

No, no idea, might indeed be an endian bug

Ben.





Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-14 Thread Benjamin Herrenschmidt
On Tue, 2006-02-14 at 20:16 +0200, Martin-Éric Racine wrote:
> ti, 2006-02-14 kello 23:14 +0700, Eugene Konev kirjoitti:
> > 1. The correct way to use gpm with X server with /dev/input/mice in
> >linux 2.6 is _not_ use gpm repeater, as kernel driver is perfectly
> >capable to multiplex events itself.
> 
> Wrong.  Using GPM with X precisely implies using the repeater.
> 
> > 2. This bug seems to be specific to ppc (endianness?) architecture, as I
> >cannot reproduce it on x86 with any of the configs provided in the
> >bug log. 
> 
> That could be.
> 
> >I can suggest rebuilding xorg with *DEBUG* options #define'd in 
> >xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c and providing
> >resulting debug logs (and logs from gpm with verbosity increased) to
> >the bug log.
> 
> Unfortunately, I do not have the disk space or CPU resources to do that.
> Perhaps the submitter does?
> 
> Ben: would you know why this only seems to affect PowerMac users?

I'll have to dig into the bug report to get more info, no time right now
though but I'll let you know.

Ben.





Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-14 Thread Martin-Éric Racine
ti, 2006-02-14 kello 23:14 +0700, Eugene Konev kirjoitti:
> 1. The correct way to use gpm with X server with /dev/input/mice in
>linux 2.6 is _not_ use gpm repeater, as kernel driver is perfectly
>capable to multiplex events itself.

Wrong.  Using GPM with X precisely implies using the repeater.

> 2. This bug seems to be specific to ppc (endianness?) architecture, as I
>cannot reproduce it on x86 with any of the configs provided in the
>bug log. 

That could be.

>I can suggest rebuilding xorg with *DEBUG* options #define'd in 
>xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c and providing
>resulting debug logs (and logs from gpm with verbosity increased) to
>the bug log.

Unfortunately, I do not have the disk space or CPU resources to do that.
Perhaps the submitter does?

Ben: would you know why this only seems to affect PowerMac users?

-- 
Martin-Éric Racine
http://q-funk.iki.fi



Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-14 Thread Eugene Konev
1. The correct way to use gpm with X server with /dev/input/mice in
   linux 2.6 is _not_ use gpm repeater, as kernel driver is perfectly
   capable to multiplex events itself.

2. This bug seems to be specific to ppc (endianness?) architecture, as I
   cannot reproduce it on x86 with any of the configs provided in the
   bug log. 

   I can suggest rebuilding xorg with *DEBUG* options #define'd in 
   xc/programs/Xserver/hw/xfree86/input/mouse/mouse.c and providing
   resulting debug logs (and logs from gpm with verbosity increased) to
   the bug log.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#347786: xserver-xorg: GPM repeater broken since 6.9

2006-02-04 Thread Martin-Éric Racine
Package: xserver-xorg
Version: 6.9.0.dfsg.1-4
Followup-For: Bug #347786

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

GPM repeating is broken in 6.9.0.dfsg.1-4 as previously described by the 
original submitter for ths bug (pointer goes to corner of the screen and 
cannot be moved from there).

- -- my gpm.conf content:
device=/dev/input/mice
responsiveness=15
repeat_type=ms3
type=autops2
append='-B 321'
sample_rate=

The above GPM configuration works as-is using 6.8.2.dfsg.1-11 but fails 
as soon as I upgrade xserver-xorg to 6.9.0.dfsg.1-4.

- -- Package-specific info:
Contents of /var/lib/xfree86/X.roster:
xserver-xorg

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 17 2005-09-14 14:21 /etc/X11/X -> /usr/bin/X11/Xorg
- -rwxr-xr-x 1 root root 2168080 2005-11-29 21:54 /usr/bin/X11/Xorg

Contents of /var/lib/xfree86/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
:00:12.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP 
(rev 5c)

/etc/X11/xorg.conf unchanged from checksum in /var/lib/xfree86/xorg.conf.md5sum.

Xorg X server configuration file status:
- -rw-r--r-- 1 root root 2976 2006-02-05 02:06 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"evdev"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"type1"
Load"v4l"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "fi"
Option  "XkbOptions""lv3:lwin_switch"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/gpmdata"
Option  "Protocol"  "IntelliMouse"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "ATI Technologies Inc 3D Rage Pro 215GP"
Driver  "ati"
BusID   "PCI:0:18:0"
Option  "UseFBDev"  "true"
EndSection

Section "Monitor"
Identifier  "iMac"
Option  "DPMS"
HorizSync   60-60
VertRefresh 75-117
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "ATI Technologies Inc 3D Rage Pro 215GP"
Monitor "iMac"
DefaultDepth16
SubSection "Display"
Depth   1
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768" "800x600" "640x480"
EndSubSection
SubSection