Re: How to run the X xserver in a chroot environment
On Thu, Jun 11, 2009 at 1:54 PM, Tino Keiteltino.keitel+x...@tikei.de wrote: Hi, as the Intel driver is very fragile recently, I want to test it in a chroot environment, and keep the stable 2.4 driver in the normal system. This implies that I also keep an old version of the X server in the normal system. So I installed a chroot system. But HAL can not be used in a chroot, and without HAL, I get not input devices in the X server. You can easily just install a temporary X to another location and use it without chrooting. I think this is the way most of the developers test X. You can even leverage most of the client side that's already installed and just focus on server/drivers. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
On Sat, Jun 13, 2009 at 01:35:19PM +0200, Maarten Maathuis wrote: They can never be replaced by evdev, because evdev is linux-only. But yes, evdev is often used on linux platforms, but it does need a working hal. HAL and evdev are independent. HAL is a replacement for xorg.conf and most distributions ship a HAL configuration that selects the evdev driver for input devices. You can use the mouse/kbd driver with HAL and you can use evdev with xorg.conf. Cheers, Peter ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
On Fri, Jun 12, 2009 at 07:17:56 +0800, Li, Yan wrote: [...] Have you tried X -configure to generate a usable xorg.conf (inside chroot). And if necessary, adding your own Keyboard and Mouse section like this: Section InputDevice Identifier Generic Keyboard Driver kbd Option XkbRules xorg Option XkbModel pc104 Option XkbLayout us EndSection Section InputDevice Identifier Configured Mouse Driver mouse EndSection My impression was that both drivers are replaced by evdev in Xserver 1.6. Regards, Tino ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
They can never be replaced by evdev, because evdev is linux-only. But yes, evdev is often used on linux platforms, but it does need a working hal. Maarten. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
Hi, for the records: stopping HAL outside the chroot and starting it inside the chroot works, and now I can use X inside a chroot. Regards, Tino ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
On Thu, Jun 11, 2009 at 10:54:52PM +0200, Tino Keitel wrote: (II) Cannot locate a core pointer device. (II) Cannot locate a core keyboard device. (II) The server relies on HAL to provide the list of input devices. If no devices become available, reconfigure HAL or disable AllowEmptyInput. Have you tried X -configure to generate a usable xorg.conf (inside chroot). And if necessary, adding your own Keyboard and Mouse section like this: Section InputDevice Identifier Generic Keyboard Driver kbd Option XkbRules xorg Option XkbModel pc104 Option XkbLayout us EndSection Section InputDevice Identifier Configured Mouse Driver mouse EndSection -- Li, Yan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
How to run the X xserver in a chroot environment
Hi, as the Intel driver is very fragile recently, I want to test it in a chroot environment, and keep the stable 2.4 driver in the normal system. This implies that I also keep an old version of the X server in the normal system. So I installed a chroot system. But HAL can not be used in a chroot, and without HAL, I get not input devices in the X server. Is there a way to solve this? Like using the HAL from the normal system inside the chroot, by bind-mounting or hard linking the proper dirs/files? I already tried this, but found nothing HAL related. I bind-mounted /var/run/dbus inside the chroot, and lshal works. But X still shows this error: (II) Cannot locate a core pointer device. (II) Cannot locate a core keyboard device. (II) The server relies on HAL to provide the list of input devices. If no devices become available, reconfigure HAL or disable AllowEmptyInput. Regards, Tino ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: How to run the X xserver in a chroot environment
On Thu, 11 Jun 2009 22:54:52 +0200 Tino Keitel tino.keitel+x...@tikei.de wrote: Hi, as the Intel driver is very fragile recently, I want to test it in a chroot environment, and keep the stable 2.4 driver in the normal system. This implies that I also keep an old version of the X server in the normal system. So I installed a chroot system. But HAL can not be used in a chroot, and without HAL, I get not input devices in the X server. Is there a way to solve this? Like using the HAL from the normal system inside the chroot, by bind-mounting or hard linking the proper dirs/files? I already tried this, but found nothing HAL related. I bind-mounted /var/run/dbus inside the chroot, and lshal works. But X still shows this error: I've seen some people try this (all without success), but I've never tried it myself, as it's not worth the effort (IMHO). Put the chroot on a separate partition and just boot into it directly. -RW signature.asc Description: PGP signature ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg