*sigh* I should have written this post a long time ago, but I didn’t. My bad…
And just yesterday, Sune was rightfully complaining about the situation. Now it’s my turn to blog and to let you in on all the secrets I’ve been withholding 🙂
Quick xorg-server 1.5 Input How To:
If you’ve built
xorg-server with the
USE=hal, you might have weird issues with your synaptics touchpad or weird keyboard layouts.
There are currently 2 ways of configuring input in Xorg :
- Disabling HAL in Xorg: it basically tells Xorg not to look at HAL for input devices and it’ll only read your xorg.conf for configured devices. If you don’t want to muck around with HAL yet, it’s probably a good option. Just stick this piece in your xorg.conf and you’ll be fine.
Section "ServerFlags" Option "AutoAddDevices" "false" EndSection
- Migrate to HAL: this is not exactly trivial and might require a lot of tweaking. But once you wrap your head around it, it’s not that complicated.
The idea is to completely remove all the
InputDevicesections from your xorg.conf (or even to completely remove your xorg.conf) and let Xorg request input devices from HAL. But we can modify HAL to return configuration values to Xorg.
For some examples of this method, I suggest reading this sample file which contains almost all the needed documentation.
Don’t forget to read
/var/log/Xorg.0.logtowards the end, that’s where input handling prints warnings and errors.
Intel graphics driver with xorg-server 1.5
For some reason, the server crashes if your xorg.conf file tries to load the
i810 driver instead of the
intel driver. This is indeed really weird as the former has been a symlink to the latter ever since 2.0.0 came out. I’m guessing the migration to libpciaccess broke some assumptions about driver names.
A lot of people have been bit by this, including me, but I of course do intend to properly fix this. First I need to do the pkgmove, and then I’ll just remove all references to “i810” from installed files (mostly the symlink to the driver and the duplicate man page). Finally, I’ll make the driver print out elog messages if you still have the old driver name in your xorg.conf
Although I first believed otherwise, a lot of users were actually using TTM with xorg 1.4. Since TTM has been dropped from Mesa and the supporting bits have been removed from the Intel driver, a lot of people are anxiously waiting for GEM support to arrive.
First the good news, I’m actually working on that. I’m tracking branches and building code.
The bad news… it doesn’t work, at least not yet. Intel developers are busy adding support for G4x chipsets and older ones such as my 855GM are not the immediate priority. I’ve asked for help on the various mailing lists but I’m still waiting. To be honest, I’m not even sure I’ve built the various components with the right configure options…
My plan is to wait a little bit for the kernel bits to settle (right now, devs are hacking up 5~10 patches per day for the 2.6.28-rc1 merge window!) before asking again.
Watch this space in the coming weeks if you are interested in Intel graphics on a Gentoo system near you 🙂