Could you post /var/log/Xorg.0.logsl70 wrote:Tried it. Didn't really change anything.

Code: Select all
udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0' (string)
info.product = 'HID 046a:0023' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event5' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0' (string)
input.product = 'HID 046a:0023' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
linux.device_file = '/dev/input/event5' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/class/input/input5/event5' (string)
"deleted dri USE flag"... You just deleted it in /etc/make.conf?rickj wrote:The devs have done a great job. This upgrade is really smooth (or at least, it can be).
I upgraded today, after 1.5.3 xorg went stable. Recompiled the kernel for evdev support, deleted dri USE flag, started hald (and put it into rc-update), re-merged the drivers found with "qlist -I -C x11-drivers/", moved aside my xorg.conf into xorg.conf.old, and it all just worked. Even the mouse wheel works.
Thanks to all who have put in the effort to make this happen.
Yes. The update guide says it's not needed now. I have not yet done ancgmd wrote: "deleted dri USE flag"... You just deleted it in /etc/make.conf?
Code: Select all
emerge -u worldCode: Select all
hal-find-by-capability --capability input.keys | xargs hal-device
Code: Select all
Due to the above change, the dri USE flag was dropped. Xorg will now always have OpenGL support unless USE=minimal is set.
Code: Select all
#emerge -avq media-libs/mesa
[ebuild R ] media-libs/mesa-7.3-r1 USE="doc motif nptl -debug -pic -xcb" VIDEO_CARDS="radeon -intel -mach64 -mga -none -r128 -s3virge -savage -sis (-sunffb) -tdfx -trident -via"Make sure you don't have a .xmodmap file. I had one and had to remove it. Once it was gone all my mouse buttons and the wheel just work. No xorg.conf and no fiddling with fdi files.rasmus wrote:How do I get my mouse wheel working? It used to look like this
<snip>
Was anything in the upgrade guide supposed to help me with this? Or am I the only one who gives a damn about the wheel?
Code: Select all
emerge -uDN world -aCode: Select all
emerge -u xorg-serever
Code: Select all
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/tablet-volito2-4x5"
Option "Type" "stylus"
Option "USB" "on"
Option "TVResolution" "1280x960"
Option "ScreenNo" "0"
Option "PressCurve" "0,0,100,100" #linéaire
EndSection
Code: Select all
fame@scooter ~ $ hal-find-by-capability --capability input.keys | xargs hal-device
udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if1_logicaldev_input'
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if1' (string)
info.category = 'input' (string)
input.x11_driver = 'evdev' (string)
linux.sysfs_path = '/sys/class/input/input6/event6' (string)
info.capabilities = { 'input', 'input.keys', 'button' } (string list)
info.subsystem = 'input' (string)
input.xkb.rules = 'base' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if1' (string)
info.product = 'HID 046a:0023' (string)
input.xkb.model = 'evdev' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if1_logicaldev_input' (string)
input.xkb.layout = 'us' (string)
linux.hotplug_type = 2 (0x2) (int)
input.xkb.variant = '' (string)
input.device = '/dev/input/event6' (string)
linux.subsystem = 'input' (string)
input.product = 'HID 046a:0023' (string)
linux.device_file = '/dev/input/event6' (string)
info.addons.singleton = { 'hald-addon-input' } (string list)
Code: Select all
fame@scooter ~ $ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
fame@scooter ~ $ setxkbmap
fame@scooter ~ $ setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc104)" };
};
Code: Select all
udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0' (string)
info.product = 'HID 046a:0023' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event5' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_46a_23_noserial_if0' (string)
input.product = 'HID 046a:0023' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
linux.device_file = '/dev/input/event5' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/class/input/input5/event5' (string)
udi = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0_logicaldev_input'
info.addons.singleton = {'hald-addon-input'} (string list)
info.capabilities = {'input', 'input.keyboard', 'input.keypad', 'input.keys', 'button'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0' (string)
info.product = 'HID 0a5c:4502' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event3' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_a5c_4502_noserial_if0' (string)
input.product = 'HID 0a5c:4502' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'us' (string)
input.xkb.model = 'evdev' (string)
input.xkb.rules = 'base' (string)
input.xkb.variant = '' (string)
linux.device_file = '/dev/input/event3' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/class/input/input3/event3' (string)
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- Keyboard configuration -->
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbModel" type="string">pc105</merge>
<merge key="input.x11_options.XkbLayout" type="string">gb,el</merge>
<merge key="input.x11_options.XkbOptions" type="strlist">grp:alt_shift_toggle,grp_led:scroll,compose:menu</merge>
</match>
</device>
<!-- touchpad -->
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="SynPS/2">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.TapButton1" type="string">true</merge>
<merge key="input.x11_options.ClickButton1" type="string">true</merge>
</match>
</match>
</device>
</deviceinfo>Code: Select all
<merge key="input.x11_options.TapButton1" type="string">1</merge>
<merge key="input.x11_options.ClickButton1" type="string">1</merge>Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse1" "AlwaysCore"
Option "VTSysReq" "true"
Option "SuspendTime" "10"
EndSection
...
Section "InputDevice"
Identifier "Mouse0"
Driver "synaptics"
Option "Protocol" "SynPS/2"
Option "InputFashion" "Mouse"
Option "Device" "/dev/input/mice"
Option "Name" "SynPS/2 Synaptics TouchPad"
Option "SHMConfig" "on"
Option "Vendor" "0002"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "True"
Option "Buttons" "3"
EndSection
Section "Input Device"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "InputFashion" "Mouse"
Option "Device" "/dev/input/mice"
Option "Name" "GenPS/2 Genius Mouse"
Option "Vendor" "0002"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "False"
Option "Buttons" "9"
EndSectionCode: Select all
# startx
xauth: creating new authority file /root/.serverauth.6700
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686
Current Operating System: Linux chuxtux 2.6.27-gentoo-r8 #2 SMP Tue Feb 3 15:14:38 CST 2009 i686
Build Date: 07 April 2009 07:31:16PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 7 20:24:06 2009
(EE) Unable to locate/open config file
New driver is "intel"
(==) Using default built-in configuration (30 lines)
Fatal server error:
Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
giving up. 
Code: Select all
# equery list xorg
# emerge -auDNv world
Code: Select all
# cat xorg.conf
Section "Module"
Load "dbe" # Double buffer extension
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "glx"
Load "int10"
Load "record"
Load "vbe"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/cronyx/100dpi/:unscaled"
FontPath "/usr/share/fonts/cronyx/misc/:unscaled"
FontPath "/usr/share/fonts/cronyx/75dpi/:unscaled"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto" # Auto detect
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 48.5
VertRefresh 43-72
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "** Intel i810 (generic) [i810]"
Driver "i810"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "AccelMethod" "EXA"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** Intel i810 (generic) [i810]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
Option "BlankTime" "10"
Option "StandbyTime" "10"
Option "SuspendTime" "10"
Option "OffTime" "10"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Code: Select all
# equery list xorg
[ Searching for package 'xorg' in all categories among: ]
* installed packages
[I--] [ ] app-doc/xorg-docs-1.4-r1 (0)
[I--] [ ] x11-base/xorg-server-1.5.3-r5 (0)
[I--] [ ] x11-base/xorg-x11-7.2 (0)
Code: Select all
# emerge -auDNv world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
Nothing to merge; would you like to auto-clean packages? [Yes/No]Code: Select all
# startx
xauth: creating new authority file /root/.serverauth.7135
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686
Current Operating System: Linux chuxtux 2.6.27-gentoo-r8 #2 SMP Tue Feb 3 15:14:38 CST 2009 i686
Build Date: 07 April 2009 07:31:16PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 7 21:51:45 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "i810" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.

Code: Select all
Section "Module"
Load "dbe" # Double buffer extension
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "glx"
Load "int10"
Load "record"
Load "vbe"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/cronyx/100dpi/:unscaled"
FontPath "/usr/share/fonts/cronyx/misc/:unscaled"
FontPath "/usr/share/fonts/cronyx/75dpi/:unscaled"
EndSection
Section "ServerFlags"
EndSection
Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 48.5
VertRefresh 43-72
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "** Intel i810 (generic) [i810]"
Driver "i810"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "AccelMethod" "EXA"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** Intel i810 (generic) [i810]"
Monitor "My Monitor"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
Option "BlankTime" "10"
Option "StandbyTime" "10"
Option "SuspendTime" "10"
Option "OffTime" "10"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection

Code: Select all
INPUT_DEVICES="keyboard mouse evdev"
Code: Select all
# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-glibc2.0
Timestamp of tree: Tue, 07 Apr 2009 06:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r7
dev-util/cmake: 2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/home/portage-files/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/home/portage-files/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acc acl acpi alsa apache2 avi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dmi dri dts dvd dvdr dvdread eds emboss encode esd evo fam firefox foomaticdb fortran gdbm gif gpm gstreamer gtk hal iconv imlib ipv6 isdnlog jpeg ldap libnotify mad madwifi midi mikmod mp3 mpeg mudflap ncurses nls no-htdocs nptl nptlonly ogg oggvorbis opengl openmp osspng pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba scanner sdl session snmp spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb utf8 vorbis win32codecs wma wmf x86 xml xorg xscreensaver xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="vesa fbdev intel"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Code: Select all
# startx
xauth: creating new authority file /root/.serverauth.6657
X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r8 i686
Current Operating System: Linux chuxtux 2.6.27-gentoo-r8 #2 SMP Tue Feb 3 15:14:38 CST 2009 i686
Build Date: 07 April 2009 07:31:16PM
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 7 22:08:32 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "i810" (module does not exist, 0)
(EE) No drivers available.
Fatal server error:
no screens found
giving up.
xinit: Connection refused (errno 111): unable to connect to X server
xinit: No such process (errno 3): Server error.