public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
@ 2009-07-10 16:13 Dale
  2009-07-10 17:23 ` Marc Joliet
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Dale @ 2009-07-10 16:13 UTC (permalink / raw
  To: gentoo-user

Hi folks.

Word of warning.  I been upset before, I have even been mad before,
right now, I'm pissed.  This is not normal for me but it is what it is.

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.

Info alert:

> root@smoker / # emerge --info
> Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.1.2,
> glibc-2.9_p20081201-r2, 2.6.25-gentoo-r9 i686)
> =================================================================
> System uname:
> Linux-2.6.25-gentoo-r9-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
> Timestamp of tree: Wed, 08 Jul 2009 23:45:02 +0000
> app-shells/bash:     3.2_p39
> dev-java/java-config: 2.1.8-r1
> dev-lang/python:     2.5.4-r3
> dev-util/cmake:      2.6.4
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.6-r2
> sys-devel/autoconf:  2.13, 2.63
> sys-devel/automake:  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.1
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.30
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
> 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/revdep-rebuild
> /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--with-bdeps y"
> FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs
> protect-owned sandbox sfperms strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://gentoo.osuosl.org/
> http://www.gtlib.gatech.edu/pub/gentoo
> http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
> http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/
> http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net
> http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/
> http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo
> http://mirrors.cs.wmich.edu/gentoo
> http://mirror.usu.edu/mirrors/gentoo/
> http://mirror.mcs.anl.gov/pub/gentoo/
> http://gentoo.mirrors.easynews.com/linux/gentoo/
> http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/
> http://gentoo.mirrors.hoobly.com/
> http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/
> http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ "
> LANG="en_US"
> LC_ALL="en_US.utf8"
> LDFLAGS="-Wl,-O1"
> LINGUAS="en_US en"
> MAKEOPTS="-j2"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
> 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"
> SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
> USE="3dnow X acl acpi alsa amd arts artswrappersuid automount berkdb
> bzip2 cairo cddb cdr chroot cli cracklib crypt cups curl dbus dri dvd
> dvdr dvdread eds emboss encode esd evo exif fam fdftk fortran gdbm gif
> gimp gkrellm gphoto2 gpm gstreamer gtk hal hbci htmlhandbook iconv
> ipv6 isdnlog java javascript jbig jpeg jpeg2k justify kde ldap
> libnotify libwww logrotate loop-aes mad midi mikmod mmx mng mp3 mpeg
> mplayer mudflap ncurses nptl nptlonly nsplugin offensive ofx ogg
> opengl openmp pam parport pcre pdf perl png ppds pppd qt3 qt3support
> qt4 quicktime readline realmedia reflection sdl seamonkey session
> spell spl sqlite sse ssl startup-notification svg sysfs syslog tcl
> tcpd tiff tk truetype unicode usb vorbis webkit win32codecs wma wmf
> wmp x86 xml xorg xv yahoo zeroconf zlib" ALSA_CARDS="emu10k1"
> 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" CAMERAS="canon
> ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
> KERNEL="linux" LINGUAS="en_US en" SANE_BACKENDS="hp" USERLAND="GNU"
> VIDEO_CARDS="nvidia nv"
> Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
>
> root@smoker / #

> root@smoker / # equery list keyboard
> [ Searching for package 'keyboard' in all categories among: ]
>  * installed packages
> [I--] [  ] x11-drivers/xf86-input-keyboard-1.3.2 (0)
> [I--] [  ] x11-misc/xkeyboard-config-1.5 (0)
> root@smoker / # equery list mouse
> [ Searching for package 'mouse' in all categories among: ]
>  * installed packages
> [I--] [  ] x11-drivers/xf86-input-mouse-1.4.0 (0)
> root@smoker / # equery list evdev
> [ Searching for package 'evdev' in all categories among: ]
>  * installed packages
> [I--] [  ] x11-drivers/xf86-input-evdev-2.1.3 (0)
> root@smoker / # equery list nvidia-drivers
> [ Searching for package 'nvidia-drivers' in all categories among: ]
>  * installed packages
> [I--] [  ] x11-drivers/nvidia-drivers-173.14.18 (0)
> root@smoker / # equery list xorg-server
> [ Searching for package 'xorg-server' in all categories among: ]
>  * installed packages
> [I--] [  ] x11-base/xorg-server-1.5.3-r6 (0)
> root@smoker / #   


All those have been re-emerged since disabling the hal with package.use.

What have I missed?  Clues?  Ideas?

I'm going to go paint my roof and vent some frustration.

Thanks.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
@ 2009-07-10 17:23 ` Marc Joliet
  2009-07-10 18:12   ` Dale
  2009-07-10 17:43 ` [gentoo-user] " James Ausmus
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 24+ messages in thread
From: Marc Joliet @ 2009-07-10 17:23 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 1668 bytes --]

Am Fri, 10 Jul 2009 11:13:24 -0500
schrieb Dale <rdalek1967@gmail.com>:

> Hi folks.
> 
> Word of warning.  I been upset before, I have even been mad before,
> right now, I'm pissed.  This is not normal for me but it is what it is.
> 
> 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.
> 
> Info alert:
> 
[SNIP]
> 
> All those have been re-emerged since disabling the hal with package.use.
> 
> What have I missed?  Clues?  Ideas?

Did you manually set it in your xorg.conf? Like so:

  Section "Device"

      Identifier  "Nvidia"
      Driver      "nvidia"

      Option      "NoLogo"        "true"

  EndSection

If you don't it defaults to whatever other driver you have that works with
the hardware (nv or VESA). I noticed that it does that after I tried to remove
my xorg.conf (it works just fine, I only have to leave the above in it for X to
work).

> I'm going to go paint my roof and vent some frustration.

Man, I'm sorry you keep having these upgrade problems. I can imagine the
frustration this would cause.

> Thanks.
> 
> Dale
> 
> :-)  :-)

HTH
-- 
Marc Joliet

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
  2009-07-10 17:23 ` Marc Joliet
@ 2009-07-10 17:43 ` James Ausmus
  2009-07-10 18:31   ` Dale
  2009-07-10 18:41 ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev Paul Hartman
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 24+ messages in thread
From: James Ausmus @ 2009-07-10 17:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 6466 bytes --]

On Fri, Jul 10, 2009 at 9:13 AM, Dale <rdalek1967@gmail.com> wrote:

> Hi folks.
>
> Word of warning.  I been upset before, I have even been mad before,
> right now, I'm pissed.  This is not normal for me but it is what it is.
>
> 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.
>


Hi Dale - can you post your /var/log/Xorg.0.log and /etc/X11/xorg.conf
files?

Thanks!

-James



>
> Info alert:
>
> > root@smoker / # emerge --info
> > Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.1.2,
> > glibc-2.9_p20081201-r2, 2.6.25-gentoo-r9 i686)
> > =================================================================
> > System uname:
> > Linux-2.6.25-gentoo-r9-i686-AMD_Athlon-tm-_XP_2500+-with-glibc2.0
> > Timestamp of tree: Wed, 08 Jul 2009 23:45:02 +0000
> > app-shells/bash:     3.2_p39
> > dev-java/java-config: 2.1.8-r1
> > dev-lang/python:     2.5.4-r3
> > dev-util/cmake:      2.6.4
> > sys-apps/baselayout: 1.12.11.1
> > sys-apps/sandbox:    1.6-r2
> > sys-devel/autoconf:  2.13, 2.63
> > sys-devel/automake:  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.1
> > sys-devel/libtool:   1.5.26
> > virtual/os-headers:  2.6.30
> > ACCEPT_KEYWORDS="x86"
> > CBUILD="i686-pc-linux-gnu"
> > CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
> > 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/revdep-rebuild
> > /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> > CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
> > DISTDIR="/usr/portage/distfiles"
> > EMERGE_DEFAULT_OPTS="--with-bdeps y"
> > FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs
> > protect-owned sandbox sfperms strict unmerge-orphans userfetch"
> > GENTOO_MIRRORS="http://gentoo.osuosl.org/
> > http://www.gtlib.gatech.edu/pub/gentoo
> > http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
> > http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/
> > http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net
> > http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/
> > http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo
> > http://mirrors.cs.wmich.edu/gentoo
> > http://mirror.usu.edu/mirrors/gentoo/
> > http://mirror.mcs.anl.gov/pub/gentoo/
> > http://gentoo.mirrors.easynews.com/linux/gentoo/
> > http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/
> > http://gentoo.mirrors.hoobly.com/
> > http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/
> > http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/"
> > LANG="en_US"
> > LC_ALL="en_US.utf8"
> > LDFLAGS="-Wl,-O1"
> > LINGUAS="en_US en"
> > MAKEOPTS="-j2"
> > PKGDIR="/usr/portage/packages"
> > PORTAGE_CONFIGROOT="/"
> > PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
> > 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"
> > SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
> > USE="3dnow X acl acpi alsa amd arts artswrappersuid automount berkdb
> > bzip2 cairo cddb cdr chroot cli cracklib crypt cups curl dbus dri dvd
> > dvdr dvdread eds emboss encode esd evo exif fam fdftk fortran gdbm gif
> > gimp gkrellm gphoto2 gpm gstreamer gtk hal hbci htmlhandbook iconv
> > ipv6 isdnlog java javascript jbig jpeg jpeg2k justify kde ldap
> > libnotify libwww logrotate loop-aes mad midi mikmod mmx mng mp3 mpeg
> > mplayer mudflap ncurses nptl nptlonly nsplugin offensive ofx ogg
> > opengl openmp pam parport pcre pdf perl png ppds pppd qt3 qt3support
> > qt4 quicktime readline realmedia reflection sdl seamonkey session
> > spell spl sqlite sse ssl startup-notification svg sysfs syslog tcl
> > tcpd tiff tk truetype unicode usb vorbis webkit win32codecs wma wmf
> > wmp x86 xml xorg xv yahoo zeroconf zlib" ALSA_CARDS="emu10k1"
> > 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" CAMERAS="canon
> > ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
> > KERNEL="linux" LINGUAS="en_US en" SANE_BACKENDS="hp" USERLAND="GNU"
> > VIDEO_CARDS="nvidia nv"
> > Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
> > PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY
> >
> > root@smoker / #
>
> > root@smoker / # equery list keyboard
> > [ Searching for package 'keyboard' in all categories among: ]
> >  * installed packages
> > [I--] [  ] x11-drivers/xf86-input-keyboard-1.3.2 (0)
> > [I--] [  ] x11-misc/xkeyboard-config-1.5 (0)
> > root@smoker / # equery list mouse
> > [ Searching for package 'mouse' in all categories among: ]
> >  * installed packages
> > [I--] [  ] x11-drivers/xf86-input-mouse-1.4.0 (0)
> > root@smoker / # equery list evdev
> > [ Searching for package 'evdev' in all categories among: ]
> >  * installed packages
> > [I--] [  ] x11-drivers/xf86-input-evdev-2.1.3 (0)
> > root@smoker / # equery list nvidia-drivers
> > [ Searching for package 'nvidia-drivers' in all categories among: ]
> >  * installed packages
> > [I--] [  ] x11-drivers/nvidia-drivers-173.14.18 (0)
> > root@smoker / # equery list xorg-server
> > [ Searching for package 'xorg-server' in all categories among: ]
> >  * installed packages
> > [I--] [  ] x11-base/xorg-server-1.5.3-r6 (0)
> > root@smoker / #
>
>
> All those have been re-emerged since disabling the hal with package.use.
>
> What have I missed?  Clues?  Ideas?
>
> I'm going to go paint my roof and vent some frustration.
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 9569 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 17:23 ` Marc Joliet
@ 2009-07-10 18:12   ` Dale
  2009-07-10 22:11     ` [gentoo-user] " walt
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 18:12 UTC (permalink / raw
  To: gentoo-user

Marc Joliet wrote:
> Am Fri, 10 Jul 2009 11:13:24 -0500
> schrieb Dale <rdalek1967@gmail.com>:
>
>   
>> Hi folks.
>>
>> Word of warning.  I been upset before, I have even been mad before,
>> right now, I'm pissed.  This is not normal for me but it is what it is.
>>
>> 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.
>>
>> Info alert:
>>
>>     
> [SNIP]
>   
>> All those have been re-emerged since disabling the hal with package.use.
>>
>> What have I missed?  Clues?  Ideas?
>>     
>
> Did you manually set it in your xorg.conf? Like so:
>
>   Section "Device"
>
>       Identifier  "Nvidia"
>       Driver      "nvidia"
>
>       Option      "NoLogo"        "true"
>
>   EndSection
>
> If you don't it defaults to whatever other driver you have that works with
> the hardware (nv or VESA). I noticed that it does that after I tried to remove
> my xorg.conf (it works just fine, I only have to leave the above in it for X to
> work).
>
>   
>> I'm going to go paint my roof and vent some frustration.
>>     
>
> Man, I'm sorry you keep having these upgrade problems. I can imagine the
> frustration this would cause.
>
>   
>> Thanks.
>>
>> Dale
>>
>> :-)  :-)
>>     
>
> HTH
>   

OK.  I got my roof painted.  It's silver now and other than being hot,
temperature wise, I'm better now.

I did have the nvidia driver set but here is xorg.conf just to make sure.

root@smoker / # cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Jan 11
15:05:59 PST 2008

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************
#Section "dri"
#       Group "graphics"
#       Mode 0660
#EndSection

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load           "glx"
    Load           "extmod"
    Load           "xtrap"
    Load           "record"
    Load           "dbe"
    Load           "freetype"
    Load           "type1"
EndSection

Section "ServerFlags"

#       Option  "OffTime"       "10"
    Option         "BlankTime" "5"
    Option         "StandbyTime" "10"
#       Option  "SuspendTime"   "10"
    Option         "AutoAddDevices"    "false"
#    Option      "AutoEnableDevices"     "false"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mouse0"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
    Option         "dpms"
EndSection

# * Users of reduced blanking now need:
# *    Option "ReducedBlanking"
# * In the relevant Monitor section(s).
# * Make sure your reduced blanking modelines are safe!


Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "NV34 [GeForce FX 5200]"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    Option         "DPMS" "TRUE"
    SubSection     "Display"
        Viewport    0 0
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

root@smoker / #   

Basically, I made a backup before I started and then restored from
that.  I tried hal with a xorg.conf and without a xorg.conf and even
tried to alter a few settings.  It sucked either way. 

This is the Xorg.0.log file:


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.25-gentoo-r9 i686
Current Operating System: Linux smoker 2.6.25-gentoo-r9 #6 PREEMPT Wed
May 27 10:57:29 CDT 2009 i686
Build Date: 10 July 2009  09:06:47AM
 
    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: Fri Jul 10 10:50:19 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "BlankTime" "5"
(**) Option "StandbyTime" "10"
(**) Option "AutoAddDevices" "false"
(**) Not automatically adding devices
(==) Not automatically enabling devices
(WW) The directory "/usr/share/fonts/OTF" does not exist.
    Entry deleted from font path.
(**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) Loader magic: 0xba0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 4.1
    X.Org XInput driver : 2.1
    X.Org Server Extension : 1.1
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0@2:0:0) nVidia Corporation NV34 [GeForce FX 5200] rev 161,
Mem @ 0xdc000000/0, 0xd0000000/0, BIOS @ 0x????????/131072
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[B]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also
specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also
specified in the config file.
(II) "record" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dri" will be loaded by default.
(II) LoadModule: "glx"

(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  173.14.18  Mon Mar  2 12:43:12 PST 2009
(II) Loading extension GLX
(II) LoadModule: "extmod"

(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "xtrap"

(II) Loading /usr/lib/xorg/modules/extensions//libxtrap.so
(II) Module xtrap: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DEC-XTRAP
(II) LoadModule: "record"

(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension RECORD
(II) LoadModule: "dbe"

(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "freetype"

(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "type1"

(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "dri"

(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"

(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
(II) LoadModule: "mouse"

(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.4.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.1
(II) LoadModule: "kbd"

(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 2.1
(II) NVIDIA dlloader X Driver  173.14.18  Mon Mar  2 12:22:46 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 02@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"

(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"

(II) Loading /usr/lib/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
    compiled for 1.5.3, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[B]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[B]
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(II) NVIDIA(0): Support for GLX with the Damage and Composite X
extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5200 (NV34) at PCI:2:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 131072 kBytes
(--) NVIDIA(0): VideoBIOS: 04.34.20.23.00
(II) NVIDIA(0): Detected AGP rate: 8X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce FX 5200 at PCI:2:0:0:
(--) NVIDIA(0):     Gateway EV910 (CRT-0)
(--) NVIDIA(0): Gateway EV910 (CRT-0): 350.0 MHz maximum pixel clock
(WW) NVIDIA(0): The EDID for Gateway EV910 (CRT-0) contradicts itself: mode
(WW) NVIDIA(0):     "720x405" is specified in the EDID; however, the EDID's
(WW) NVIDIA(0):     valid HorizSync range (30.000-95.000 kHz) would exclude
(WW) NVIDIA(0):     this mode's HorizSync (29.5 kHz); ignoring HorizSync
check
(WW) NVIDIA(0):     for mode "720x405".
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (90, 96); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(==) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[B]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[B]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[B]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[B]
    [4] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[B]
    [5] -1    0    0x00000000 - 0x00000000 (0x1) IX[B]
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon
may not
(II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration
option
(II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is
(II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive
ACPI
(II) NVIDIA(0):     events.  For details, please see the
"ConnectToAcpid" and
(II) NVIDIA(0):     "AcpidSocketPath" X configuration options in
Appendix B: X
(II) NVIDIA(0):     Config Options in the README.
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms" "TRUE"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "Protocol" "auto"
(**) Option "Device" "/dev/input/mouse0"
(II) Mouse0: Setting mouse protocol to "PS/2"
(**) Mouse0: Device: "/dev/input/mouse0"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mouse0"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) Mouse0: Setting mouse protocol to "PS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) NVIDIA(0): Initialized AGP GART.
(II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon
may not
(II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration
option
(II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is
(II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive
ACPI
(II) NVIDIA(0):     events.  For details, please see the
"ConnectToAcpid" and
(II) NVIDIA(0):     "AcpidSocketPath" X configuration options in
Appendix B: X
(II) NVIDIA(0):     Config Options in the README.
(II) NVIDIA(0): Setting mode "1280x1024"
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(**) NVIDIA(0): DPMS enabled
(==) RandR enabled
(II) Initializing extension GLX
(II) Mouse0: Setting mouse protocol to "PS/2"
(**) Mouse0: Device: "/dev/input/mouse0"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/input/mouse0"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Mouse0: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) evaluating device (Mouse0)
(II) evaluating device (Keyboard0)
(II) Mouse0: Setting mouse protocol to "PS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button


It sees the mouse and says the option for the wheel is there.  It just
don't work.  No, I didn't beat up the mouse while working with hal and
evdev.  Felt like it tho.  LOL

Ideas?  Clues?  Need more info?

Thanks much.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 17:43 ` [gentoo-user] " James Ausmus
@ 2009-07-10 18:31   ` Dale
  2009-07-10 18:42     ` James Ausmus
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 18:31 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
>
>
> Hi Dale - can you post your /var/log/Xorg.0.log and /etc/X11/xorg.conf
> files?
>
> Thanks!
>
> -James

Posted in another reply.  Should be in the same thread.  Sorry, I should
have posted those before.

Thanks.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
  2009-07-10 17:23 ` Marc Joliet
  2009-07-10 17:43 ` [gentoo-user] " James Ausmus
@ 2009-07-10 18:41 ` Paul Hartman
  2009-07-10 19:09 ` [gentoo-user] " walt
  2009-07-11 11:43 ` [gentoo-user] " pk
  4 siblings, 0 replies; 24+ messages in thread
From: Paul Hartman @ 2009-07-10 18:41 UTC (permalink / raw
  To: gentoo-user

On Fri, Jul 10, 2009 at 11:13 AM, Dale<rdalek1967@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



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 18:31   ` Dale
@ 2009-07-10 18:42     ` James Ausmus
  2009-07-10 20:43       ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: James Ausmus @ 2009-07-10 18:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3902 bytes --]

On Fri, Jul 10, 2009 at 11:31 AM, Dale <rdalek1967@gmail.com> wrote:

> James Ausmus wrote:
> >
> >
> >
> >
> > Hi Dale - can you post your /var/log/Xorg.0.log and /etc/X11/xorg.conf
> > files?
> >
> > Thanks!
> >
> > -James
>
> Posted in another reply.  Should be in the same thread.  Sorry, I should
> have posted those before.


:) It's hard to remember all the details when your roof is on fire... <grin>

From that Xorg log, it does look like the NVidia binary driver is being
loaded/used - what indicators are you seeing that tell you that the nv
driver is being used? If it's just a missing NVidia splash screen, maybe the
updated NVidia driver has it off by default?

For the mouse - things do look fairly normal from the log - however, try the
following (if you don't ahve the xinput command, it is provided by
x11-apps/xinput):

xinput list

This should show you a list of your X input devices - you should see your
mouse there. Mine reads:

"Virtual core pointer"  id=0    [XPointer]
        Num_buttons is 32
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
                Min_value is -1
                Max_value is -1
                Resolution is 0
        Axis 1 :
                Min_value is -1
                Max_value is -1
                Resolution is 0
"Virtual core keyboard" id=1    [XKeyboard]
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
"No brand 4 Port KVMSwicther"   id=2    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255
"Logitech USB Optical Mouse"    id=3    [XExtensionPointer]
        Type is MOUSE
        Num_buttons is 32
        Num_axes is 2
        Mode is Relative
        Motion_buffer is 256
        Axis 0 :
                Min_value is -1
                Max_value is -1
                Resolution is 1
        Axis 1 :
                Min_value is -1
                Max_value is -1
                Resolution is 1
"CHICONY HP Basic USB Keyboard" id=4    [XExtensionKeyboard]
        Type is KEYBOARD
        Num_keys is 248
        Min_keycode is 8
        Max_keycode is 255


Then, take the name of the mouse from the list - in my case "Logitech USB
Optical Mouse", and run:

xinput test <mouse-name>

for myself it was xinput test "Logitech USB Optical Mouse" - with the
quotes.

The move the mouse a little, and run the scroll wheel a little - you should
see something along the lines of:

motion a[0]=2
a[1]=-4

motion a[0]=7
a[1]=-5

motion a[0]=2
a[1]=-11

motion a[0]=-4
a[1]=-11

motion a[0]=-9
a[1]=-10

motion a[0]=-7
a[1]=-13

motion a[0]=-6
a[1]=-13

motion a[0]=-6
a[1]=-11

motion a[0]=-5
a[1]=-8

motion a[0]=-4
a[1]=-9

motion
a[1]=-6

motion a[0]=-1
a[1]=-2

motion a[0]=-1
a[1]=-1

motion a[0]=-1
a[1]=-1

motion
a[0]=-1

motion a[0]=-2
a[1]=-1

motion
a[0]=-4

motion
a[0]=-5

motion a[0]=-7
a[1]=-1

motion
a[0]=-9

motion
a[0]=-9

motion
a[0]=-14

motion
a[0]=-14

motion
a[0]=-13

motion a[0]=-11
a[1]=-2

motion
a[0]=-11

motion
a[0]=-4

motion
a[0]=-2

motion
a[0]=-1

motion
a[0]=-1

motion
a[0]=-1

button press   5
button release 5
button press   4
button release 4
button press   5
button release 5
button press   5
button release 5


IMPORTANT: Make a note of which scroll direction you do first, then second.
In my case, I scrolled down first (button 5 press/release), then up (button
4 press/release) - if you get different button numbers for down/up
scrolling, then we just need to adjust your ZAxisMapping setting in
xorg.conf appropriately - use whatever button number you see when you scroll
up as the first number in the setting, and then the down scroll button
number as the second number.

If things are still not working, post the output of all the above commands,
and we'll take it from there.

Hope that helps!

-James


>
> Thanks.
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 9475 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* [gentoo-user]  Re: :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
                   ` (2 preceding siblings ...)
  2009-07-10 18:41 ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev Paul Hartman
@ 2009-07-10 19:09 ` walt
  2009-07-11 11:43 ` [gentoo-user] " pk
  4 siblings, 0 replies; 24+ messages in thread
From: walt @ 2009-07-10 19:09 UTC (permalink / raw
  To: gentoo-user

On 07/10/2009 09:13 AM, Dale wrote:
> Hi folks.
>
> Word of warning.  I been upset before, I have even been mad before,
> right now, I'm pissed.  This is not normal for me but it is what it is.
>
> 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.

Ouch.  I've developed an ulcer just reading Kevin's thread from the last
several days.  Marc just posted what I was going to say about nVidia, so
I'll just mention that I just posted a comment in Kevin's thread about
my mouse configuration, which I hope someone will find useful.

Sorry if I'm repeating stuff from the other thread -- I've solved a few
very confusing problems with the use of lshal and by turning on verbose
logging for the X server (X -logverbose).




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 18:42     ` James Ausmus
@ 2009-07-10 20:43       ` Dale
  2009-07-10 20:55         ` Paul Hartman
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 20:43 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
> On Fri, Jul 10, 2009 at 11:31 AM, Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
>
>     James Ausmus wrote:
>     >
>     >
>     >
>     >
>     > Hi Dale - can you post your /var/log/Xorg.0.log and
>     /etc/X11/xorg.conf
>     > files?
>     >
>     > Thanks!
>     >
>     > -James
>
>     Posted in another reply.  Should be in the same thread.  Sorry, I
>     should
>     have posted those before.
>
>
> :) It's hard to remember all the details when your roof is on fire...
> <grin>
>
> From that Xorg log, it does look like the NVidia binary driver is
> being loaded/used - what indicators are you seeing that tell you that
> the nv driver is being used? If it's just a missing NVidia splash
> screen, maybe the updated NVidia driver has it off by default?
>
> For the mouse - things do look fairly normal from the log - however,
> try the following (if you don't ahve the xinput command, it is
> provided by x11-apps/xinput):
>
> xinput list
>
> This should show you a list of your X input devices - you should see
> your mouse there. Mine reads:
>
> "Virtual core pointer"  id=0    [XPointer]
>         Num_buttons is 32
>         Num_axes is 2
>         Mode is Relative
>         Motion_buffer is 256
>         Axis 0 :
>                 Min_value is -1
>                 Max_value is -1
>                 Resolution is 0
>         Axis 1 :
>                 Min_value is -1
>                 Max_value is -1
>                 Resolution is 0
> "Virtual core keyboard" id=1    [XKeyboard]
>         Num_keys is 248
>         Min_keycode is 8
>         Max_keycode is 255
> "No brand 4 Port KVMSwicther"   id=2    [XExtensionKeyboard]
>         Type is KEYBOARD
>         Num_keys is 248
>         Min_keycode is 8
>         Max_keycode is 255
> "Logitech USB Optical Mouse"    id=3    [XExtensionPointer]
>         Type is MOUSE
>         Num_buttons is 32
>         Num_axes is 2
>         Mode is Relative
>         Motion_buffer is 256
>         Axis 0 :
>                 Min_value is -1
>                 Max_value is -1
>                 Resolution is 1
>         Axis 1 :
>                 Min_value is -1
>                 Max_value is -1
>                 Resolution is 1
> "CHICONY HP Basic USB Keyboard" id=4    [XExtensionKeyboard]
>         Type is KEYBOARD
>         Num_keys is 248
>         Min_keycode is 8
>         Max_keycode is 255
>  
>
> Then, take the name of the mouse from the list - in my case "Logitech
> USB Optical Mouse", and run:
>
> xinput test <mouse-name>
>
> for myself it was xinput test "Logitech USB Optical Mouse" - with the
> quotes.
>
> The move the mouse a little, and run the scroll wheel a little - you
> should see something along the lines of:
>
> motion a[0]=2
> a[1]=-4                                                                                                                                                 
>
> motion a[0]=7
> a[1]=-5                                                                                                                                                 
>
> motion a[0]=2
> a[1]=-11                                                                                                                                                
>
> motion a[0]=-4
> a[1]=-11                                                                                                                                               
>
> motion a[0]=-9
> a[1]=-10                                                                                                                                               
>
> motion a[0]=-7
> a[1]=-13                                                                                                                                               
>
> motion a[0]=-6
> a[1]=-13                                                                                                                                               
>
> motion a[0]=-6
> a[1]=-11                                                                                                                                               
>
> motion a[0]=-5
> a[1]=-8                                                                                                                                                
>
> motion a[0]=-4
> a[1]=-9                                                                                                                                                
>
> motion
> a[1]=-6                                                                                                                                                        
>
> motion a[0]=-1
> a[1]=-2                                                                                                                                                
>
> motion a[0]=-1
> a[1]=-1                                                                                                                                                
>
> motion a[0]=-1
> a[1]=-1                                                                                                                                                
>
> motion
> a[0]=-1                                                                                                                                                        
>
> motion a[0]=-2
> a[1]=-1                                                                                                                                                
>
> motion
> a[0]=-4                                                                                                                                                        
>
> motion
> a[0]=-5                                                                                                                                                        
>
> motion a[0]=-7
> a[1]=-1                                                                                                                                                
>
> motion
> a[0]=-9                                                                                                                                                        
>
> motion
> a[0]=-9                                                                                                                                                        
>
> motion
> a[0]=-14                                                                                                                                                       
>
> motion
> a[0]=-14                                                                                                                                                       
>
> motion
> a[0]=-13                                                                                                                                                       
>
> motion a[0]=-11
> a[1]=-2                                                                                                                                               
>
> motion
> a[0]=-11                                                                                                                                                       
>
> motion
> a[0]=-4                                                                                                                                                        
>
> motion
> a[0]=-2                                                                                                                                                        
>
> motion
> a[0]=-1                                                                                                                                                        
>
> motion
> a[0]=-1                                                                                                                                                        
>
> motion
> a[0]=-1                                                                                                                                                        
>
> button press   5
> button release 5
> button press   4
> button release 4
> button press   5
> button release 5
> button press   5
> button release 5
>
>
> IMPORTANT: Make a note of which scroll direction you do first, then
> second. In my case, I scrolled down first (button 5 press/release),
> then up (button 4 press/release) - if you get different button numbers
> for down/up scrolling, then we just need to adjust your ZAxisMapping
> setting in xorg.conf appropriately - use whatever button number you
> see when you scroll up as the first number in the setting, and then
> the down scroll button number as the second number.
>
> If things are still not working, post the output of all the above
> commands, and we'll take it from there.
>
> Hope that helps!
>
> -James
>
>
>
>     Thanks.
>
>     Dale
>
>     :-)  :-)
>
>

It does appear to be loading nvidia but I don't see the splash screen. 
I also notice that it takes longer to log out for some reason.  It logs
in like always, about 10 seconds or so, but when I log out, it takes 45
seconds or so.  Maybe the splash screen is off by default. I dunno.

I'm assuming you are using evdev and hal.  I'm back to the old way. 
It's just easier for me to keep working, if I can get my wheel to work
again.  I have another install that I may play with some but it's not
going to be on my main OS again.  I'm waiting on something else. 
Someone mentioned devicekit is a 'up n comer'.  Sounds good to me.

Saves this for the other install.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 20:43       ` Dale
@ 2009-07-10 20:55         ` Paul Hartman
  2009-07-10 21:04           ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: Paul Hartman @ 2009-07-10 20:55 UTC (permalink / raw
  To: gentoo-user

On Fri, Jul 10, 2009 at 3:43 PM, Dale<rdalek1967@gmail.com> wrote:
> It does appear to be loading nvidia but I don't see the splash screen.
> I also notice that it takes longer to log out for some reason.  It logs
> in like always, about 10 seconds or so, but when I log out, it takes 45
> seconds or so.  Maybe the splash screen is off by default. I dunno.

According to the README from the latest version of nvidia-drivers, the
splash screen is only shown if you are using 24-bit color depth. I
believe it also shows only once, the first time after the module is
loaded, and does not reappear unless you unload and re-load the
module.



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 20:55         ` Paul Hartman
@ 2009-07-10 21:04           ` Dale
  2009-07-10 21:10             ` James Ausmus
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 21:04 UTC (permalink / raw
  To: gentoo-user

Paul Hartman wrote:
> On Fri, Jul 10, 2009 at 3:43 PM, Dale<rdalek1967@gmail.com> wrote:
>   
>> It does appear to be loading nvidia but I don't see the splash screen.
>> I also notice that it takes longer to log out for some reason.  It logs
>> in like always, about 10 seconds or so, but when I log out, it takes 45
>> seconds or so.  Maybe the splash screen is off by default. I dunno.
>>     
>
> According to the README from the latest version of nvidia-drivers, the
> splash screen is only shown if you are using 24-bit color depth. I
> believe it also shows only once, the first time after the module is
> loaded, and does not reappear unless you unload and re-load the
> module.
>
>
>   

Cool.  Now to get my mouse wheel working again.  < Dale scratches his head >

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 21:04           ` Dale
@ 2009-07-10 21:10             ` James Ausmus
  2009-07-10 21:25               ` Dale
  2009-07-10 22:04               ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED] Dale
  0 siblings, 2 replies; 24+ messages in thread
From: James Ausmus @ 2009-07-10 21:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]

On Fri, Jul 10, 2009 at 2:04 PM, Dale <rdalek1967@gmail.com> wrote:

> Paul Hartman wrote:
> > On Fri, Jul 10, 2009 at 3:43 PM, Dale<rdalek1967@gmail.com> wrote:
> >
> >> It does appear to be loading nvidia but I don't see the splash screen.
> >> I also notice that it takes longer to log out for some reason.  It logs
> >> in like always, about 10 seconds or so, but when I log out, it takes 45
> >> seconds or so.  Maybe the splash screen is off by default. I dunno.
> >>
> >
> > According to the README from the latest version of nvidia-drivers, the
> > splash screen is only shown if you are using 24-bit color depth. I
> > believe it also shows only once, the first time after the module is
> > loaded, and does not reappear unless you unload and re-load the
> > module.
> >
> >
> >
>
> Cool.  Now to get my mouse wheel working again.  < Dale scratches his head
> >



Did you try the xinput commands from my previous e-mail? I believe that they
will work for all input devices, not just evdev devices.

-James


>
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 1740 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev.
  2009-07-10 21:10             ` James Ausmus
@ 2009-07-10 21:25               ` Dale
  2009-07-10 22:04               ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED] Dale
  1 sibling, 0 replies; 24+ messages in thread
From: Dale @ 2009-07-10 21:25 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
> On Fri, Jul 10, 2009 at 2:04 PM, Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
>
>     Paul Hartman wrote:
>     > On Fri, Jul 10, 2009 at 3:43 PM, Dale<rdalek1967@gmail.com
>     <mailto:rdalek1967@gmail.com>> wrote:
>     >
>     >> It does appear to be loading nvidia but I don't see the splash
>     screen.
>     >> I also notice that it takes longer to log out for some reason.
>      It logs
>     >> in like always, about 10 seconds or so, but when I log out, it
>     takes 45
>     >> seconds or so.  Maybe the splash screen is off by default. I dunno.
>     >>
>     >
>     > According to the README from the latest version of
>     nvidia-drivers, the
>     > splash screen is only shown if you are using 24-bit color depth. I
>     > believe it also shows only once, the first time after the module is
>     > loaded, and does not reappear unless you unload and re-load the
>     > module.
>     >
>     >
>     >
>
>     Cool.  Now to get my mouse wheel working again.  < Dale scratches
>     his head >
>
>
>
> Did you try the xinput commands from my previous e-mail? I believe
> that they will work for all input devices, not just evdev devices.
>
> -James
>  
>
>
>
>     Dale
>
>     :-)  :-)
>
>
I don't have it installed at the moment.  I'll have to download that
later. 

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED]
  2009-07-10 21:10             ` James Ausmus
  2009-07-10 21:25               ` Dale
@ 2009-07-10 22:04               ` Dale
  2009-07-10 22:28                 ` James Ausmus
  1 sibling, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 22:04 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
>
>
> Did you try the xinput commands from my previous e-mail? I believe
> that they will work for all input devices, not just evdev devices.
>
> -James

I don't know what was wrong but I got it working again.  I ran xorgcfg
and let it generate a new xorg.conf file and it works fine.  I guess
something was borked somewhere.

Thanks all.  I'm rolling with the wheel again.  :-) 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* [gentoo-user]  Re: :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 18:12   ` Dale
@ 2009-07-10 22:11     ` walt
  2009-07-10 22:18       ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: walt @ 2009-07-10 22:11 UTC (permalink / raw
  To: gentoo-user

On 07/10/2009 11:12 AM, Dale wrote:

> ...
> It sees the mouse and says the option for the wheel is there.  It just
> don't work...

I can't remember if anyone has mentioned xev yet.  On my machine with
the bog-standard M$ Optical Mouse (2-buttons+wheel) when I put the mouse
cursor in the xev window and rotate the wheel, I see button4 events for
scroll up and button5 for scroll down.

If you don't have xev just 'emerge xev' (of course ;).




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user]  Re: :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 22:11     ` [gentoo-user] " walt
@ 2009-07-10 22:18       ` Dale
  0 siblings, 0 replies; 24+ messages in thread
From: Dale @ 2009-07-10 22:18 UTC (permalink / raw
  To: gentoo-user

walt wrote:
> On 07/10/2009 11:12 AM, Dale wrote:
>
>> ...
>> It sees the mouse and says the option for the wheel is there.  It just
>> don't work...
>
> I can't remember if anyone has mentioned xev yet.  On my machine with
> the bog-standard M$ Optical Mouse (2-buttons+wheel) when I put the mouse
> cursor in the xev window and rotate the wheel, I see button4 events for
> scroll up and button5 for scroll down.
>
> If you don't have xev just 'emerge xev' (of course ;).
>
>
>

I got it working.  I ran xorgcfg and let it redo the xorg.conf file.  It
works now.  Well, I have to reset my screen reslolution and such but the
wheel works.  I'm on a roll now.  LOL

Thanks for the help tho.  No more evdev for me, unless I get it mastered
on my second install or something. 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED]
  2009-07-10 22:04               ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED] Dale
@ 2009-07-10 22:28                 ` James Ausmus
  2009-07-10 22:52                   ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: James Ausmus @ 2009-07-10 22:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

Good to hear! Out of curiosity, what's the mouse-related differences between
the two xorg.conf's?

On Fri, Jul 10, 2009 at 3:04 PM, Dale <rdalek1967@gmail.com> wrote:

> James Ausmus wrote:
> >
> >
> >
> >
> > Did you try the xinput commands from my previous e-mail? I believe
> > that they will work for all input devices, not just evdev devices.
> >
> > -James
>
> I don't know what was wrong but I got it working again.  I ran xorgcfg
> and let it generate a new xorg.conf file and it works fine.  I guess
> something was borked somewhere.
>
> Thanks all.  I'm rolling with the wheel again.  :-)
>
> Dale
>
> :-)  :-)
>
>

[-- Attachment #2: Type: text/html, Size: 1017 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED]
  2009-07-10 22:28                 ` James Ausmus
@ 2009-07-10 22:52                   ` Dale
  2009-07-10 23:06                     ` James Ausmus
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-10 22:52 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
> Good to hear! Out of curiosity, what's the mouse-related differences
> between the two xorg.conf's?
>

Well, I can't see any difference.  Here is the old file:

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

and the new file:

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

I didn't emerge anything either.  I logged out of KDE, went to a
console, ran xorgcfg then restarted X.  When I logged into KDE, the
wheel worked. 

Go figure. 

Dale

:-)  :-) 




^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED]
  2009-07-10 22:52                   ` Dale
@ 2009-07-10 23:06                     ` James Ausmus
  2009-07-11  0:06                       ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: James Ausmus @ 2009-07-10 23:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

On Fri, Jul 10, 2009 at 3:52 PM, Dale <rdalek1967@gmail.com> wrote:

> James Ausmus wrote:
> > Good to hear! Out of curiosity, what's the mouse-related differences
> > between the two xorg.conf's?
> >
>
> Well, I can't see any difference.  Here is the old file:
>
> Section "InputDevice"
>    Identifier  "Mouse0"
>    Driver      "mouse"
>    Option        "Protocol" "auto"
>    Option        "Device" "/dev/input/mice"
>    Option        "ZAxisMapping" "4 5 6 7"
> EndSection
>
> and the new file:
>
> Section "InputDevice"
>    Identifier  "Mouse0"
>    Driver      "mouse"
>    Option        "Protocol" "auto"
>    Option        "Device" "/dev/input/mice"
>    Option        "ZAxisMapping" "4 5 6 7"
> EndSection
>
> I didn't emerge anything either.  I logged out of KDE, went to a
> console, ran xorgcfg then restarted X.  When I logged into KDE, the
> wheel worked.



Hmm, interesting... Does the new xorg.conf still have the

Option         "AutoAddDevices"    "false"

line in the ServerFlags section?


>
>
> Go figure.
>
> Dale
>
> :-)  :-)
>
>
>

[-- Attachment #2: Type: text/html, Size: 1896 bytes --]

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED]
  2009-07-10 23:06                     ` James Ausmus
@ 2009-07-11  0:06                       ` Dale
  0 siblings, 0 replies; 24+ messages in thread
From: Dale @ 2009-07-11  0:06 UTC (permalink / raw
  To: gentoo-user

James Ausmus wrote:
>
>
> On Fri, Jul 10, 2009 at 3:52 PM, Dale <rdalek1967@gmail.com
> <mailto:rdalek1967@gmail.com>> wrote:
>
>     James Ausmus wrote:
>     > Good to hear! Out of curiosity, what's the mouse-related differences
>     > between the two xorg.conf's?
>     >
>
>     Well, I can't see any difference.  Here is the old file:
>
>     Section "InputDevice"
>        Identifier  "Mouse0"
>        Driver      "mouse"
>        Option        "Protocol" "auto"
>        Option        "Device" "/dev/input/mice"
>        Option        "ZAxisMapping" "4 5 6 7"
>     EndSection
>
>     and the new file:
>
>     Section "InputDevice"
>        Identifier  "Mouse0"
>        Driver      "mouse"
>        Option        "Protocol" "auto"
>        Option        "Device" "/dev/input/mice"
>        Option        "ZAxisMapping" "4 5 6 7"
>     EndSection
>
>     I didn't emerge anything either.  I logged out of KDE, went to a
>     console, ran xorgcfg then restarted X.  When I logged into KDE, the
>     wheel worked.
>
>
>
> Hmm, interesting... Does the new xorg.conf still have the
>
> Option         "AutoAddDevices"    "false"
>
> line in the ServerFlags section?
>  
>
>
>
>     Go figure.
>
>     Dale
>
>     :-)  :-)
>
>
>

No mention of that at all.  Since xorg-server is compiled with the -hal
USE flag, it shouldn't matter right?  I dunno myself.  I thought that
disabled hal if it is compiled with it or something to that effect.  Of
course, I couldn't see any difference when I was testing with it.  It
didn't seem to "disable" hal either way for me.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
                   ` (3 preceding siblings ...)
  2009-07-10 19:09 ` [gentoo-user] " walt
@ 2009-07-11 11:43 ` pk
  2009-07-11 19:31   ` Dale
  4 siblings, 1 reply; 24+ messages in thread
From: pk @ 2009-07-11 11:43 UTC (permalink / raw
  To: gentoo-user

Dale wrote:
> Hi folks.
> 
> Word of warning.  I been upset before, I have even been mad before,
> right now, I'm pissed.  This is not normal for me but it is what it is.
> 
> 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.

You might be glad to know that HAL is going away then.

http://lists.freedesktop.org/archives/devkit-devel/2009-April/000140.html

... I know I am... :-)

Best regards

Peter K



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-11 11:43 ` [gentoo-user] " pk
@ 2009-07-11 19:31   ` Dale
  2009-07-12  7:16     ` Alan McKinnon
  0 siblings, 1 reply; 24+ messages in thread
From: Dale @ 2009-07-11 19:31 UTC (permalink / raw
  To: gentoo-user

pk wrote:
> Dale wrote:
>   
>> Hi folks.
>>
>> Word of warning.  I been upset before, I have even been mad before,
>> right now, I'm pissed.  This is not normal for me but it is what it is.
>>
>> 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.
>>     
>
> You might be glad to know that HAL is going away then.
>
> http://lists.freedesktop.org/archives/devkit-devel/2009-April/000140.html
>
> ... I know I am... :-)
>
> Best regards
>
> Peter K
>
>
>   

That sounds great to me.  I hope it will be easier for everybody than
this hal, evdev thing. 

I notice there is something devkit in portage already.  I wonder if they
are already working on it?  I hope so.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-11 19:31   ` Dale
@ 2009-07-12  7:16     ` Alan McKinnon
  2009-07-12  7:44       ` Dale
  0 siblings, 1 reply; 24+ messages in thread
From: Alan McKinnon @ 2009-07-12  7:16 UTC (permalink / raw
  To: gentoo-user

On Saturday 11 July 2009 21:31:55 Dale wrote:
> That sounds great to me.  I hope it will be easier for everybody than
> this hal, evdev thing.
>
> I notice there is something devkit in portage already.  I wonder if they
> are already working on it?  I hope so.

devkit is being actively developed, but it's still early days. It can deal 
with a few hardware bits and bobs, IIRC automounting swappable media is one of 
them. Some distros are shipping with devkit to do that function (Fedora? 
Ubuntu?) and using hal for the remainder.

I reckon it will be a while before we see the last of hal. Personally, I can't 
wait for that day to dawn.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: [gentoo-user] :-@  Reversing xorg-server, hal and evdev.
  2009-07-12  7:16     ` Alan McKinnon
@ 2009-07-12  7:44       ` Dale
  0 siblings, 0 replies; 24+ messages in thread
From: Dale @ 2009-07-12  7:44 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Saturday 11 July 2009 21:31:55 Dale wrote:
>   
>> That sounds great to me.  I hope it will be easier for everybody than
>> this hal, evdev thing.
>>
>> I notice there is something devkit in portage already.  I wonder if they
>> are already working on it?  I hope so.
>>     
>
> devkit is being actively developed, but it's still early days. It can deal 
> with a few hardware bits and bobs, IIRC automounting swappable media is one of 
> them. Some distros are shipping with devkit to do that function (Fedora? 
> Ubuntu?) and using hal for the remainder.
>
> I reckon it will be a while before we see the last of hal. Personally, I can't 
> wait for that day to dawn.
>
>   

I did a little checking on what I saw.  It appears to be something
different from what you are talking about.  That said, I'm hoping devkit
will have a better layout.  What would be neat is to have a file that
lists all the hardware supported.  When something is connected, it just
looks at that file to find out what it is and how to communicate with
the device and what it is capable of doing.  Being able to ass something
to that file would be nice but I bet having it already listed can be
done.  I'm sure most things are documented somewhere. 

I'm not holding my breath but thinking something good is on the way sure
does help.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2009-07-12  7:44 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-10 16:13 [gentoo-user] :-@ Reversing xorg-server, hal and evdev Dale
2009-07-10 17:23 ` Marc Joliet
2009-07-10 18:12   ` Dale
2009-07-10 22:11     ` [gentoo-user] " walt
2009-07-10 22:18       ` Dale
2009-07-10 17:43 ` [gentoo-user] " James Ausmus
2009-07-10 18:31   ` Dale
2009-07-10 18:42     ` James Ausmus
2009-07-10 20:43       ` Dale
2009-07-10 20:55         ` Paul Hartman
2009-07-10 21:04           ` Dale
2009-07-10 21:10             ` James Ausmus
2009-07-10 21:25               ` Dale
2009-07-10 22:04               ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev. [SOLVED] Dale
2009-07-10 22:28                 ` James Ausmus
2009-07-10 22:52                   ` Dale
2009-07-10 23:06                     ` James Ausmus
2009-07-11  0:06                       ` Dale
2009-07-10 18:41 ` [gentoo-user] :-@ Reversing xorg-server, hal and evdev Paul Hartman
2009-07-10 19:09 ` [gentoo-user] " walt
2009-07-11 11:43 ` [gentoo-user] " pk
2009-07-11 19:31   ` Dale
2009-07-12  7:16     ` Alan McKinnon
2009-07-12  7:44       ` Dale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox