Re: xorg 7.4 keyboard localisation (xorg.conf vs hal)

2009-02-02 Thread Sebastien Chassot

On Sun, 2009-02-01 at 14:10 -0800, Joe Kelsey wrote:
> This seems to have a way to enable HAL to detect a keyboard and export 
> it to X, but what about mice?  My Xorg log tells me that it is ignoring 
> my USB mouse in addition to ignoring my keyboard, so what sort of HAL 
> file do I add to enable it to find my mouse?

You can choose between using HAL config or xorg.conf by doing
what /usr/port/UPDATING suggest:

===
  20090123:
  AFFECTS: users of x11-servers/xorg-server
  AUTHOR: rnol...@freebsd.org

  If you are using an older xorg.conf several config lines are
  no longer needed and will generate warnings when X is started.
  RgbPath will cause X to fail to start, remove it from your config.

  Server 1.5.3 also really wants to configure its input devices
  via hald.  This is causing some issues with moused and
  /dev/sysmouse.  There are a couple of options for how to deal
  with it.

  1. Add Option "AllowEmptyInput" "off" to your ServerLayout section.
 This will cause X to use the configured kbd, mouse, and vmmouse
 sections from your xorg.conf

  2. Don't use moused.  If you want it to work with addon usb mice
 set this in rc.conf:

 moused_enable="NO"
 moused_nondefault_enable="NO"

  I'm working on fixing hald or the mouse driver or both.
===


But it don't help on HAL support...

> Where in HAL documentation is this information found?  R. Noland seemed 
> to think it was a trivial process to make HAL do keyboards and mice?  In 
> fact it is not trivial but a pain in the ass!  If you intend to inflict 
> broken software on unsuspecting users you had better think through all 
> of the problems and come up with explicit solutions to all of those 
> problems so that everyone has a chance to make their systems work.

You're right. The handbook don't talk about HAL at all and it's quiet
difficult to find doc on web. HAL seems to have huge capability...too
much to begin with...  ;)

 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: xorg 7.4 keyboard localisation (xorg.conf vs hal)

2009-02-01 Thread Daniel Bye
On Sun, Feb 01, 2009 at 05:42:39PM +0100, Sebastien Chassot wrote:
> 
> Hi,
> 
> I've upgrade to xorg7.4 and apparently keyboard and mouse are now
> working with hald.
> 
> In xorg.conf changing "old" keybord config as no effect and I can't find
> how change it with hal. I've got  /usr/local/etc/hal/fdi/* but no
> *keymap* and I don't know how build such a file.

This should get you started:



  

  gb

  


Change the `gb' in the example to your local keymap name, save the file
as /usr/local/etc/hal/fdi/policy/x11-input.fdi and restart hald.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpYsxps4y2qv.pgp
Description: PGP signature