Re: switch xorg.conf from evdev to kbd?

2009-10-25 Thread Peter Hutterer
On Sat, Oct 24, 2009 at 04:22:26PM +0100, Colin Guthrie wrote:
  I've had progressively more and more problems with my Dell Studio 15 
  keyboard; both the repeating-characters bug (which is known as 
  outstanding) but also now I get extremely frequent dropped keystrokes.
 
 Repeated keystroke bug? Can you post a link to the FDO bug number for 
 reference?
 
 I'd imagine repeated keystrokes are related to a manually configured 
 system + HAL autoconfiguration.

triple keypresses have so far always been misconfigurations. there's a few
autorepeat bugs with evdev though that I've never been able to track down -
lack of time mostly.

  Some googling has led me to think there may be issues with the new evdev 
  xorg device, so I'd like to try the old 'kbd' configuration and see if 
  that makes any difference.
 
 /me quickly checks man xorg.conf
 
   Option AllowEmptyInput boolean
  If  enabled,  don't add the standard keyboard and mouse drivers,
  if there are no input devices in the config  file.   Enabled  by
  default if AutoAddDevices and AutoEnableDevices is enabled, oth‐
  erwise disabled.  If AllowEmptyInput is on,  devices  using  the
  kbd, mouse or vmmouse driver are ignored.
 
   Option AutoAddDevices boolean
  If  this  option is disabled, then no devices will be added from
  HAL events.  Enabled by default.
 
   Option AutoEnableDevices boolean
  If this option is disabled, then the devices will be added  (and
  the  DevicePresenceNotify  event  sent),  but  not enabled, thus
  leaving policy up to the client.  Enabled by default.
 
 
 So right at the top of your xorg.conf, just put:
 
 
   Option AutoAddDevices false
 
 in the flags section and you should be set to define the devices 
 manually. I'm sure someone will pipe up if I've not got the whole story.

yeah, you're right. also, an xorg.conf containing simply

Section ServerFlags
Option AutoAddDevices off
EndSection

suffices since then the server creates the default keyboard device anyway
(with the keyboard driver). Alternatively, either copy that section into
your existing config or add the line to the ServerLayout section, that'd
work to.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

switch xorg.conf from evdev to kbd?

2009-10-24 Thread Denis Haskin
Can someone advise how to xorg.conf keyboard device from evdev to the 
old 'kbd' (e.g. what's the whole xorg.conf stanza I have to put in)?  I 
confess I'm not *completely* sure which version of X I'm on--Xorg 
-version below says 1.6.0, but that doesn't seem right (this is on 
Ubuntu, and yes I've also asked this on the Ubuntu mailing list/forum).


I've had progressively more and more problems with my Dell Studio 15 
keyboard; both the repeating-characters bug (which is known as 
outstanding) but also now I get extremely frequent dropped keystrokes.


I know it's not the hardware, because I dual-boot to Vista and it 
doesn't happen *at all*.


Some googling has led me to think there may be issues with the new evdev 
xorg device, so I'd like to try the old 'kbd' configuration and see if 
that makes any difference.


Thanks,

dwh

$ Xorg -version
X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-23-server i686 Ubuntu
Current Operating System: Linux dwh-laptop 2.6.28-16-generic #55-Ubuntu 
SMP Tue Oct 20 19:48:24 UTC 2009 i686

Build Date: 09 April 2009  02:10:02AM
xorg-server 2:1.6.0-0ubuntu14 (bui...@rothera.buildd)




-- ubuntu-users mailing list ubuntu-us...@lists.ubuntu.com Modify 
settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: switch xorg.conf from evdev to kbd?

2009-10-24 Thread Colin Guthrie
'Twas brillig, and Denis Haskin at 24/10/09 15:18 did gyre and gimble:
 Can someone advise how to xorg.conf keyboard device from evdev to the 
 old 'kbd' (e.g. what's the whole xorg.conf stanza I have to put in)?  I 
 confess I'm not *completely* sure which version of X I'm on--Xorg 
 -version below says 1.6.0, but that doesn't seem right (this is on 
 Ubuntu, and yes I've also asked this on the Ubuntu mailing list/forum).

You've asked on an Ubuntu list and no-one there says, Yeah 1.6.0 sounds 
about right.? That is indeed the version the *xserver* you are running 
and I'm surprised no one else was able to confirm that.

The term X on it's own may mean the whole collection of X stuff (e.g. 
libx11, xterm etc etc.) not just the xserver. This is bundled together 
and given it's own collective version number, which is where your 
confusion has probably come in.

 I've had progressively more and more problems with my Dell Studio 15 
 keyboard; both the repeating-characters bug (which is known as 
 outstanding) but also now I get extremely frequent dropped keystrokes.

Repeated keystroke bug? Can you post a link to the FDO bug number for 
reference?

I'd imagine repeated keystrokes are related to a manually configured 
system + HAL autoconfiguration.

 Some googling has led me to think there may be issues with the new evdev 
 xorg device, so I'd like to try the old 'kbd' configuration and see if 
 that makes any difference.

/me quickly checks man xorg.conf

  Option AllowEmptyInput boolean
 If  enabled,  don't add the standard keyboard and mouse drivers,
 if there are no input devices in the config  file.   Enabled  by
 default if AutoAddDevices and AutoEnableDevices is enabled, oth‐
 erwise disabled.  If AllowEmptyInput is on,  devices  using  the
 kbd, mouse or vmmouse driver are ignored.

  Option AutoAddDevices boolean
 If  this  option is disabled, then no devices will be added from
 HAL events.  Enabled by default.

  Option AutoEnableDevices boolean
 If this option is disabled, then the devices will be added  (and
 the  DevicePresenceNotify  event  sent),  but  not enabled, thus
 leaving policy up to the client.  Enabled by default.


So right at the top of your xorg.conf, just put:


  Option AutoAddDevices false

in the flags section and you should be set to define the devices 
manually. I'm sure someone will pipe up if I've not got the whole story.

Col.

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg