On Fri, Jul 10, 2009 at 11:13 AM, Dale<rdalek1...@gmail.com> wrote: > I tried the new xorg with the hal flag turned on. Let's just say it was > a nightmare, AGAIN. I want my old way back to say it lightly. I put > -hal in package.use for xorg-server. I put my old xorg.conf file back > as well. I re-emerged the keyboard, mouse, video and evdev just in case > it mattered. I also re-emerged xorg-server. My problem you ask. The > nvidia drivers won't load. It defaults to the nv drivers. No splash > screen anymore. Also, my mouse wheel doesn't work anymore either. That > really set me off. I use my wheel as much as I use the left button.
Maybe it'll help if I give you my setup, which does work. First the most dramatic difference is that I'm using ~amd64 and you're using x86, so there may be some fundamental version differences going on. Hardware-wise, I use a USB US-English keyboard, a plain USB mouse with no special features other than 2 buttons and a wheel. I use nvidia-drivers for graphics (GeForce 9600 GT). x11-base/xorg-x11 I'm using is version 7.4 and xorg-server version 1.6.2 with these USE flags enabled (and all others disabled): hal input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kdrive nptl sdl video_cards_nv video_cards_nvidia video_cards_vesa xorg I have sys-apps/hal version 0.5.12_rc1-r6 with USE="X acpi crypt kernel_linux" and I have it in the DEFAULT runlevel. I also have app-misc/hal-info version 20090414 which contains FDI scripts for HAL. In /etc/make.conf I have this: INPUT_DEVICES="joystick keyboard mouse evdev" My xorg.conf contains some stuff related to fonts, video driver and screens, but everything input-related is commented out. Also worth noting is the order of loading for different copies of xorg.conf in your system may take, as explained in "man xorg.conf". If you've got a stray config file somewhere, your changes might not even be taking effect because it could be reading a different file entirely. I'm using kernel 2.6.30-gentoo-r1, gcc 4.3.3-r2 and glibc-2.10.1. I am not using hardened. The profile I'm using is default/linux/amd64/2008.0/desktop In my linux kernel config for input devices I've got these set: # # Userland interfaces # CONFIG_INPUT_MOUSEDEV=y CONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_INPUT_JOYDEV=m CONFIG_INPUT_EVDEV=y # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y CONFIG_KEYBOARD_ATKBD=y CONFIG_INPUT_MOUSE=y CONFIG_MOUSE_PS2=y CONFIG_MOUSE_PS2_ALPS=y CONFIG_MOUSE_PS2_LOGIPS2PP=y CONFIG_MOUSE_PS2_SYNAPTICS=y CONFIG_MOUSE_PS2_LIFEBOOK=y CONFIG_MOUSE_PS2_TRACKPOINT=y CONFIG_MOUSE_SERIAL=m CONFIG_INPUT_JOYSTICK=y CONFIG_JOYSTICK_ANALOG=m CONFIG_INPUT_MISC=y CONFIG_INPUT_PCSPKR=m in /etc/hal/fdi/policy I have these four files: 10-input-policy.fdi: <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input"> <match key="info.capabilities" contains="button"> <match key="info.addons.singleton" contains_not="hald-addon-input"> <append key="info.addons.singleton" type="strlist">hald-addon-input</append> </match> </match> <match key="info.capabilities" contains="input.keys"> <match key="info.addons.singleton" contains_not="hald-addon-input"> <append key="info.addons.singleton" type="strlist">hald-addon-input</append> </match> <match key="info.capabilities" contains_not="button"> <append key="info.capabilities" type="strlist">button</append> </match> </match> </match> </device> </deviceinfo> 10-keymap.fdi: <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.keymap"> <append key="info.callouts.add" type="strlist">hal-setup-keymap</append> </match> <match key="info.capabilities" contains="input.keys"> <merge key="input.xkb.rules" type="string">base</merge> <!-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). --> <merge key="input.xkb.model" type="string">keyboard</merge> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> <merge key="input.xkb.model" type="string">evdev</merge> </match> <merge key="input.xkb.layout" type="string">us</merge> <merge key="input.xkb.variant" type="string" /> </match> </device> </deviceinfo> 10-ntfs3g.fdi (this one has nothing to do with X): <?xml version="1.0" encoding="UTF-8"?> <deviceinfo version="0.2"> <device> <match key="volume.fstype" string="ntfs"> <merge key="volume.fstype" type="string">ntfs-3g</merge> </match> </device> </deviceinfo> 10-x11-input.fdi: <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <!-- FIXME: Support tablets too. --> <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_driver" type="string">mouse</merge> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> <merge key="input.x11_driver" type="string">evdev</merge> <merge key="input.x11_options.ZAxisMapping" type="string">4 5 6 7</merge> </match> </match> <match key="info.capabilities" contains="input.keys"> <!-- If we're using Linux, we use evdev by default (falling back to keyboard otherwise). --> <merge key="input.x11_driver" type="string">keyboard</merge> <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" string="Linux"> <merge key="input.x11_driver" type="string">evdev</merge> <merge key="input.x11_options.AutoRepeat" type="string">500 30</merge> </match> </match> </device> </deviceinfo> Every time I recompile/upgrade xorg-server, I do this: sudo emerge -1 `qlist -I -C x11-drivers/` Which in my case includes these packages: x11-drivers/nvidia-drivers-185.18.14 x11-drivers/xf86-input-evdev-2.2.2 x11-drivers/xf86-input-joystick-1.4.0 x11-drivers/xf86-input-keyboard-1.3.2 x11-drivers/xf86-input-mouse-1.4.0 x11-drivers/xf86-video-nv-2.1.12 x11-drivers/xf86-video-vesa-2.2.0 to rebuild the x11-drivers (without doing that, you can be stuck with the dead mouse/keyboard situation). After they rebuild, I quit X, "rmmod nvidia", then start X which will load the rebuilt nvidia-drivers module. Then I happily use my working Xorg :) HTH