Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2009 14:39:48 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Joe Kelsey <joe@zircon.seattle.wa.us>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>, Sebastien Chassot <seba.bsd@sinux.net>, Daniel Bye <freebsd-questions@slightlystrange.org>
Subject:   Re: xorg 7.4 keyboard localisation   (xorg.conf vs hal)
Message-ID:  <1233603589.1492.27.camel@ferret.2hip.net>
In-Reply-To: <4987470D.2090406@zircon.seattle.wa.us>
References:  <1233506559.1023.16.camel@dhcppc0> <20090201171920.GB69316@torus.slightlystrange.org> <1233510597.1023.20.camel@dhcppc0> <49861DEA.6050000@zircon.seattle.wa.us> <1233539822.1534.68.camel@ferret.2hip.net> <4987470D.2090406@zircon.seattle.wa.us>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-vCppUHqMggD4hWNB03Ez
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2009-02-02 at 11:18 -0800, Joe Kelsey wrote:
> Robert Noland wrote:
> > On Sun, 2009-02-01 at 14:10 -0800, Joe Kelsey wrote:
> >  =20
> >> Sebastien Chassot wrote:
> >>    =20
> >>> On Sun, 2009-02-01 at 17:19 +0000, Daniel Bye wrote:
> >>>  =20
> >>>      =20
> >>>> On Sun, Feb 01, 2009 at 05:42:39PM +0100, Sebastien Chassot wrote:
> >>>>    =20
> >>>>        =20
> >>>>> 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.
> >>>>>      =20
> >>>>>          =20
> >>>> This should get you started:
> >>>>
> >>>> <?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
> >>>> <deviceinfo version=3D"0.2">
> >>>>   <device>
> >>>>     <match key=3D"info.capabilities" contains=3D"input.keyboard">
> >>>>       <merge key=3D"input.xkb.layout" type=3D"string">gb</merge>
> >>>>     </match>
> >>>>   </device>
> >>>> </deviceinfo>
> >>>>
> >>>> Change the `gb' in the example to your local keymap name, save the f=
ile
> >>>> as /usr/local/etc/hal/fdi/policy/x11-input.fdi and restart hald.
> >>>>    =20
> >>>>        =20
> >> This seems to have a way to enable HAL to detect a keyboard and export=
=20
> >> it to X, but what about mice?  My Xorg log tells me that it is ignorin=
g=20
> >> my USB mouse in addition to ignoring my keyboard, so what sort of HAL=20
> >> file do I add to enable it to find my mouse?
> >>    =20
> >
> > The above is only to set keyboard layout, everything to detect the
> > keyboard is already present.
> >
> >  =20
> >> Where in HAL documentation is this information found?  R. Noland seeme=
d=20
> >> to think it was a trivial process to make HAL do keyboards and mice?  =
In=20
> >> fact it is not trivial but a pain in the ass!  If you intend to inflic=
t=20
> >> broken software on unsuspecting users you had better think through all=
=20
> >> of the problems and come up with explicit solutions to all of those=20
> >> problems so that everyone has a chance to make their systems work.
> >>    =20
> >
> > We (marcus and I) have gone to great pains to try and ensure that hal
> > behaves correctly in pretty much all mice configurations with or withou=
t
> > sysmouse.  If you don't want to use hal, set AutoAddDevices off and
> > configure away.
> >
> >  =20
> I did my best to follow ALL of the posted directions to absolutely NO AVA=
IL.
>=20
> When I start Xorg, it explicitly tells me it is disabling all automatic=20
> devices and refuses to use HAL or any other detectable methosd to find=20
> the mouse and/or keyboard.
>=20
> There is no documentation ANYWHERE about how HAL is supposed to help in=20
> any of this.  There is no documentation ANYWHERE about what exaqctly the=20
> new Xorg is supposed to do about it.  There is no documentation ANYWHERE=20
> about the new, secret, hidden options that you can put in your xorg.conf=20
> file to disable this whole HAL mess.

man xorg.conf search for Input...

> The only documentation available ANYWHERE is the skimpy little paragraph=20
> that says, it works or it doesn't.  No explanation about why it works or=20
> doesn't or how to determine exactly what might be wrong in your=20
> configuration to make it work or not work.
>=20
> I would not compalin if you actually documented what you are inflicting=20
> on us rather than just say, here it is, good luck!  I understand how=20
> difficult some of these port upgrades are, but you have to realize that=20
> you have not provided ANY resources that anyone else can use to help=20
> themselves figure out their issues.
>=20
> I don't want to pay you with money I do not have from a job I do not=20
> have.  You have to realize how many people may or may not have problems=20
> due to your blithe posting of this complicated mess.  Either explain how=20
> to use HAL properly to configure X resources or disable the capability.

Set Options "AutoAddDevices" "off" and you have to configure everything
like you used to.

robert.

> Thank you for all of your effort so far.  I really do appreciate it.
>=20
> /Joe
>=20
> >> There had better not be any more surprises waiting in the X 1.6 wings =
to=20
> >> surprise and confound everyone again!
> >>    =20
> >
> > Are you going to stop paying me?  You have no idea how many combination=
s
> > of hardware and configurations for X  exist, or the amount of wok that
> > goes into making all of those combinations work.
> >
> > robert.
> >
> >  =20
> >>> I'll start with that
> >>>
> >>> Thank you
> >>>
> >>>
> >>> Sebastien
> >>>
> >>> _______________________________________________
> >>> freebsd-stable@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.=
org"
> >>>
> >>>
> >>>  =20
> >>>      =20
> >> _______________________________________________
> >> freebsd-stable@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.o=
rg"
> >>    =20
>=20
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-vCppUHqMggD4hWNB03Ez
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmHTAQACgkQM4TrQ4qfROMZgACffbaFIIXCuHVRHwURq74TRRbS
b6cAnRCv24QyXki4yRGCqHfNrAeHbTXh
=QRxJ
-----END PGP SIGNATURE-----

--=-vCppUHqMggD4hWNB03Ez--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1233603589.1492.27.camel>