On Mon, Mar 22, 2004 at 06:34:48PM -0500, Faheem Mitha wrote: > On Mon, 22 Mar 2004, Pigeon wrote: > > > Ah, right... It does for me, but then I've only got the one mouse, on > > the PS/2 port, and I've told 2.6 to use /dev/psaux. So you could try > > something like this (untested, bit yucky, but should work): > > > > - configure X appropriately for 2.4, and copy /etc/X11/XF86Config to > > /etc/X11/XF86Config-2.4 > > - configure X appropriately for 2.6, and copy /etc/X11/XF86Config to > > /etc/X11/XF86Config-2.6 > > > > # cat > /etc/init.d/xf86configfudge > > #!/bin/bash > > XCONF=/etc/X11/XF86Config-2.`uname -r | cut -d '.' -f 2` > > echo Installing X config: $XCONF > > cp $XCONF /etc/X11/XF86Config > > ^D > > # chmod a+x /etc/init.d/xf86configfudge > > # ln -s /etc/init.d/xf86configfudge /etc/rc2.d/S10xf86configfudge > > > > - may need editing if you're using XF86Config-4, but the principle > > remains the same. > > Thanks for the detailed outline. Unfortunately there does not appear to be > a general mechanism for this.
In fact, I wouldn't be too surprised if there was, but buried in obscurity somewhere! ... because... > I suppose that the need for different X > config files depending on kernel version only appears rarely. ...this is true. I don't think there was any need for a change between 2.2 and 2.4; and most people don't switch back and forth between radically different kernel versions very often... I suspect you won't have to either once 2.6 has been out a bit longer. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature