Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Best upgrade method to Xserver1.5 with Hal and evdev

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
398 posts
  • Page 14 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 12
  • 13
  • 14
  • 15
  • 16
  • Next
Author
Message
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Mon Jun 01, 2009 8:53 pm

I think that you have this bug : http://bugs.gentoo.org/271837
Top
keenblade
Veteran
Veteran
User avatar
Posts: 1087
Joined: Sun Oct 03, 2004 6:19 pm
Contact:
Contact keenblade
Website

  • Quote

Post by keenblade » Tue Jun 02, 2009 1:57 pm

d2_racing wrote:I think that you have this bug : http://bugs.gentoo.org/271837
Thanks man. You are right. The fix was in your link. And now everything is working fine again by sys-apps/hal-0.5.12_rc1-r6.
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Tue Jun 02, 2009 3:53 pm

I got things working properly again. I added the hal USE flag for make.conf. Compiled everything again and also updated the .fdi file:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!--
Section "InputDevice"
   Driver "evdev"
   Option "XkbLayout" "fi"
EndSection
-->
<deviceinfo version="0.2">
   <!-- Mouse configuration -->
   <match key="info.capabilities" contains="input.mouse">
      <append key="info.callouts.add" type="strlist">hal-setup-keymap</append> 
      <merge key="input.x11_driver" type="string">evdev</merge>
   </match> 
   <!-- Keyboard configuration --> 
 <!-- <match key="info.capabilities" contains="input.keyboard">-->
   <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.x11_options.XkbRules" type="string">evdev</merge>
      <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
      <merge key="input.x11_driver" type="string">evdev</merge> 
      <merge key="input.x11_options.XkbLayout" type="string">fi</merge>
      <merge key="input.x11_options.XkbVariant" type="string"></merge> 
      <merge key="input.x11_options.XkbOptions" type="string">altwin:menu</merge> 
   </match>
</deviceinfo>
I think the append lines in the file above made the biggest difference.
Everything can be done. There's just a longer delivery time for impossible projects.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Tue Jun 02, 2009 5:21 pm

Actually, those callouts.add are most probably meaningless.
Did you try validating your previous fdi file ?
Top
Icer
Guru
Guru
User avatar
Posts: 395
Joined: Tue Aug 26, 2003 8:11 pm
Location: @home

  • Quote

Post by Icer » Tue Jun 02, 2009 7:03 pm

VoidMage wrote:Actually, those callouts.add are most probably meaningless.
Did you try validating your previous fdi file ?
nope. How do I do that? :?:

rantmode:
Argh. I hate this. There is information in bit's and pieces here and there. Someone ought to write concise instructions. And I mean those who release the software. It is not alright that the users have to figure it all out themselves. :evil:
/rantmode

Well after all what is important is that I get the system working alright. :) Also maybe I did not look at the right places... I now found the freedesktop.org guide which seems to clear some things: http://cgit.freedesktop.org/xorg/xserve ... -input.fdi
Everything can be done. There's just a longer delivery time for impossible projects.
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Jun 02, 2009 8:12 pm

keenblade wrote:
d2_racing wrote:I think that you have this bug : http://bugs.gentoo.org/271837
Thanks man. You are right. The fix was in your link. And now everything is working fine again by sys-apps/hal-0.5.12_rc1-r6.
No problem :P
Top
javeree
Guru
Guru
Posts: 465
Joined: Sun Jan 29, 2006 5:17 pm

Support multiple keyboards with different layouts

  • Quote

Post by javeree » Thu Jun 04, 2009 8:32 am

I have two keyboards attached to my PC: one keyboard with a belgian azerty layout (and I want this to be the default layout as almost all of my keyboards have this). The other one a querty keyboard. With hal and evedev it is possible to support both layouts simultaneously. The solution lies in having a <match key="info.capabilities" contains="input.keys"> to define the default layout, followed by a <match key="info.udi" contains="xxxxxx"> to uniquely identify each keyboard with a deviating layout. the value of xxxx can be read with lshal.

The thread http://forums.gentoo.org/viewtopic-t-76 ... ight-.html contains the details. and both a solution with one .fdi and with 2 .fdi files.

The solution with one .fdi file looks like:

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- --> 
<!-- default configuration for keyboards = belgian azerty keyboard --> 
<deviceinfo version="0.2"> 
  <device> 
    <match key="info.capabilities" contains="input.keys"> 
      <merge key="input.x11_options.XkbRules" type="string">base</merge> 

      <!-- If we're using Linux, we use evdev by default (falling back to kbd otherwise). --> 
      <merge key="input.x11_driver" type="string">kbd</merge> 
      <merge key="input.x11_options.XkbModel" type="string">pc105</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.XkbModel" type="string">evdev</merge> 
      </match> 

      <merge key="input.x11_options.XkbLayout" type="string">be</merge> 
      <merge key="input.x11_options.XkbVariant" type="string" /> 
    </match> 

<!-- only specify the keys that deviate from the default (be) keyboard --> 
     <match key="info.udi" contains="usb_device_4d9_22_noserial"> 
             <merge key="input.x11_options.XkbLayout" type="string">us</merge> 
             <merge key="input.x11_options.XkbVariant" type="string" /> 
      </match> 
  </device> 
</deviceinfo> 
Top
kjersin
n00b
n00b
Posts: 2
Joined: Thu Jun 25, 2009 7:43 am

  • Quote

Post by kjersin » Thu Jun 25, 2009 8:00 am

I followed the description of d2_racing and it works almost perfectly.
But I don't have repeat on the two keys <left> and <down>. All other keys does repeat as expected, including the numeric keypad located <left> and <down>.

Anyone having the same problem - and hopefully a solution?
/Kim
Top
gerard27
Advocate
Advocate
Posts: 2377
Joined: Sun Jan 04, 2004 3:30 pm
Location: Netherlands

  • Quote

Post by gerard27 » Thu Jun 25, 2009 12:20 pm

@ Icer,
I agree 1000% with your rant!
I have been trying to make accents work with right alt like I had before,
for more than two days now.
Why can we not have normal config files?
This hal fdi files is crazy!
Gerard.

Edit: I give up.
I will remove evdev and go back to the classic xorg.conf.
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Fri Jun 26, 2009 2:31 am

@kjersin: that sounds vaguely familiar.
How much of this thread did you read ?
Post standard info: hal settings, 'setxkbmap -print' output, etc.
Top
kjersin
n00b
n00b
Posts: 2
Joined: Thu Jun 25, 2009 7:43 am

  • Quote

Post by kjersin » Fri Jun 26, 2009 11:14 am

@VoidMage, actually most of it, but didn't find anything about repeat. But if You have, then please give me a pointer to the actual text.

I found some information on topic "Key repeat not working in Gnome [solved]".
http://forums.gentoo.org/viewtopic-t-74 ... epeat.html

The solution apparently should be to upgrade xf86-input-evdev (x11-drivers/xf86-input-evdev-2.2.0-r1). But I'm allready using 2.2.2 and still having the problem. It seams to be a configuration issue which is fixed in xorg 1.5 but reapers in 1.6 (see more at http://bugs.gentoo.org/show_bug.cgi?id=261947#c4).

Currently the fix seams to be to set the repeat of the keys manually:
xset r 113
xset r 115
xset r 116
/Kim
Top
curmudgeon
Veteran
Veteran
Posts: 1746
Joined: Fri Aug 08, 2003 1:39 pm

  • Quote

Post by curmudgeon » Tue Jul 07, 2009 2:49 am

I just tried upgrading another machine and have yet another disaster (which I shall refrain from starting a new thread about).

Basically, hal is not seeing either the (standard ps/2) keyboard or the mouse (at least that I can tell via lshal).

Fortunately, I know the short term workaround due to this thread:

http://forums.gentoo.org/viewtopic-t-766367.html

But I would still like to get it fixed.
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

  • Quote

Post by Spidey » Tue Jul 28, 2009 5:44 am

I'm having the same problem. I stopped my Gentoo installation 'cause I couldn't get Xorg to detect my keyboard and mouse. After using a friends Mac to ssh to my box, I could kill Xorg and make sure the problem was the input devices not been detected.

Anyway, I'm now back to standard xorg.conf configuration, with default kbd and mouse drivers, just so I can continue the installation. I'm also migrating to unstable (~amd64), it seems that xorg-1.7 has better detection of devices.

Anyway, I have hal in my make.conf and emerge --info correctly report my use flags, xorg-server is already compiled with hal use flag, I've enabled evdev in my kernel (and recompiled and booted into the new kernel) and, as my last hope, I've added myself to the plugdev group. I've read about root needing to be ni plugdev also, due to a bug on gdm, but I'm not at this stage yet, I'm running Xorg from my user's terminal with startx.

My last guess, as of right now, is that I'm missing some kernel configuration for keyboard and mouse auto-detection. lshal doesn't seem to report any keyboard or mouse, even though it reports lots of buses and usb ports. My mouse is connected through usb, btw, and my keyboard through ps/2.

Anyone could help me? I'm really inclined to migrating to evdev, but Xorg is getting me crazy.
Top
baaann
Guru
Guru
Posts: 558
Joined: Mon Jan 23, 2006 4:36 am
Location: uk

  • Quote

Post by baaann » Tue Jul 28, 2009 7:41 am

Is hald running?

Have you tried starting X without xorg.conf or with a minimal xorg.conf containing only the device section for the video card?
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Jul 28, 2009 3:19 pm

In fact, you should post this :

Code: Select all

# emerge --info
# rc-update show
Running without any /etc/X11/xorg.conf is the best way to start debugging.
Top
Spidey
Apprentice
Apprentice
User avatar
Posts: 269
Joined: Thu Sep 07, 2006 5:53 pm
Contact:
Contact Spidey
Website

  • Quote

Post by Spidey » Tue Jul 28, 2009 6:29 pm

I'm running with HAL and DBUS use flags, checked in emerge --info (probably from 2008.0 desktop profile). Tried without xorg.conf, no luck. Verified Ubuntu 9.04 livecd configs, they use xorg-server 1.6.X, simple xorg.conf and work flawlessly.

I'm using INPUT_DEVICES="keyboard mouse evdev", but I've read that evdev should be enough after X is configured for hal.

Both hald and dbus are added to boot runlevel using rc-update add XXX boot.


I'm into some trouble with OpenRC, so I'll post here again in some days, after I get my box to boot again. Running into read-only filesystem problems...
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

strange synaptics problem

  • Quote

Post by trubicoid » Tue Aug 04, 2009 7:07 pm

Hi, I'm having strange touchpad problem on one of my laptops since I upgraded to xorg-server-1.5 (crrently 1.6.3, but still the same).
Symptoms: everything works just fine, touchpad, keyboard, but after cca 30 seconds X consumes 100% of cpu and the computer is unusable ...
What is strange: the problem does not occur when I plug in USB mouse before starting X. Even more strange: when I later unplug the USB mouse, after cca 30 seconds the X again takes 100% cpu.
There is nothing suspicious in dmesg, log nor Xorg.log ...
I tried almost everything, xorg without edev and hal or with, different versions of xorg, hal, dubus, evdev and synaptics but nothing seemed to work ...
This is Acer TravelMate 8000 and I have also Acer Aspire 5021 also with synaptic touchpad and on the second one there is absolutely no problem. The two computers are configured identically, although first is x86 and second x86_64.
Any ideas, hints?

make.conf:

Code: Select all

INPUT_DEVICES="evdev synaptics"
xorg.conf:

Code: Select all

Section "dri"
    Group 0
    Mode 0666
EndSection

Section "ServerFlags"
        Option      "BlankTime"         "05"
        Option      "StandbyTime"       "10"
        Option      "SuspendTime"       "15"
        Option      "OffTime"           "20"
        Option      "AllowEmptyInput"   "true"
        Option      "AutoAddDevices"    "true"
        Option      "AutoEnableDevices" "true"
EndSection

Section "Monitor"
        Identifier   "Monitor"
        Option       "DPMS" "on"
EndSection

Section "Device"
        Identifier  "ATI"
        Driver      "radeon"
        Option      "DynamicClocks"     "on"
        Option      "ForceLowPowerMode" "on"
        Option      "DynamicPM"         "on"
        Option      "ClockGating"       "on"
        Option      "EnablePageFlip"    "on"
        Option      "AccelMethod"       "EXA"
        Option      "ColorTiling"       "on"
        Option      "AGPMode"           "4"
        Option      "AGPFastWrite"      "off"
        Option      "GARTSize"          "64"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen"
        Device     "ATI"
        Monitor    "Monitor"
        DefaultDepth     24

        SubSection "Display"
                Modes "1400x1050"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
emerge --info

Code: Select all

Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-glibc2.0
Timestamp of tree: Tue, 04 Aug 2009 12:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-ident"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-ident"
DISTDIR="/usr/portage/distfiles"
FEATURES="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.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--as-needed -s"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa arts artswrappersuid asm atlas avi bash-completion bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css cups dbus djbfft dpms dri dts dv dvd dvdnav dvdr dvdread eds emboss enca encode evo fam fame fat ffmpeg fftw firefox flac fortran fuse gcj gdbm gif gimp glib glibc-omitfp glitz gmp gnet gpm grammar gs gtk gtk2 hal hardcoded-tables hashstyle hpn iconv icq id3 ieee1394 imagemagick isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility lame laptop latex lcms libnotify libsamplerate lzo mad math matroska mikmod mjpeg mmx mmxext mozilla mp3 mpeg mpeg2 mudflap ncurses nomalloccheck nonfsv4 nptl nptlonly ogg opengl openmp pam pch pcmcia pcre pdf perl plotutils png pnm postscript ppds pppd python qt3 qt3support qt4 quicktime rar readline recode reflection sdl session sift sndfile spell spl srt sse sse2 ssl startup-notification svg sysfs szip thesaurus threads threadsafe tiff tk truetype unicode usb userlocales vorbis wifi win32codecs wmf x264 x86 xcb xml xorg xulrunner xv xvid xvmc 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
rc-update show

Code: Select all

            alsasound | boot
             mount-ro |                                       shutdown
              hotplug | boot
           ntp-client |      default
                 ntpd |      default
                devfs |                               sysinit
                 sshd |      default
           vixie-cron |      default
        device-mapper | boot
                 rngd | boot
             nfsmount |      default
                 dbus |      default
                 hald |      default
            rpc.statd |      default
                dmesg |                               sysinit
                acpid |      default
             bootmisc | boot
                 fsck | boot
             hostname | boot
                local |      default nonetwork
           localmount | boot
                 root | boot
                 swap | boot
               sysctl | boot
              urandom | boot
              hwclock | boot
          consolefont | boot
              keymaps | boot
              modules | boot
                 mtab | boot
               procfs | boot
         termencoding | boot
               net.lo | boot
            savecache |                                       shutdown
            killprocs |                                       shutdown
              metalog |      default
              dmcrypt | boot
              net.ra0 |      default
                 udev |                               sysinit
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

  • Quote

Post by trubicoid » Tue Aug 04, 2009 7:51 pm

the only suspicious line in Xorg.log is this one:

Code: Select all

[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.8" is not allowed to own the service "org.x.config.display0" due to security policies in the configuration file)
but I'm getting this also with the USB mouse (i.e. when I dont see the problem) and also the second laptop has this line..
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Wed Aug 05, 2009 7:40 am

trubicoid,

What happens if you try X without an xorg.conf?
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

  • Quote

Post by trubicoid » Wed Aug 05, 2009 8:41 am

it's the same, but I'll verify once more with the new version of xorg
yesterday I was playing with all the
Option "AllowEmptyInput" "true"
Option "AutoAddDevices" "true"
Option "AutoEnableDevices" "true"
options, but it's still the same

maybe I need some kind of dbus/hal debugger?
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Wed Aug 05, 2009 1:54 pm

... and remember to rebuild your x11-drivers

Code: Select all

emerge --oneshot $(qlist -I -C x11-drivers)


...also you could try with consolekit. It fixes alot of stuff.

Code: Select all

emerge consolekit
rc-update add consolekit default
/etc/init.d/consolekit start
:P
Top
trubicoid
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Tue Aug 04, 2009 6:42 pm

  • Quote

Post by trubicoid » Wed Aug 05, 2009 2:58 pm

x11-drivers are for sure up-to-date; I have just radeon, evdev and synaptics
consolekit is installed but the daemon is not running, I'll try that

edit:
starting xorg without xorg.conf = same behavior
starting xorg with consoletoolkit = same behavior :?
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Aug 06, 2009 1:02 am

trubicoid wrote:the only suspicious line in Xorg.log is this one:

Code: Select all

[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.8" is not allowed to own the service "org.x.config.display0" due to security policies in the configuration file)
but I'm getting this also with the USB mouse (i.e. when I dont see the problem) and also the second laptop has this line..
I was getting that error earlier, it seems that when I upgraded to xorg 1.6.3 it put its xorg-server.conf in /etc/X11/dbus-1/system.d and
it really belongs in /etc/dbus-1/system.d. I copied it to where it belongs and it shut up about the Access Denied.

YMMV
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Mike Hunt
Watchman
Watchman
User avatar
Posts: 5287
Joined: Sun Jul 19, 2009 11:01 pm

  • Quote

Post by Mike Hunt » Thu Aug 06, 2009 2:38 am

Anon-E-moose wrote:I was getting that error earlier, it seems that when I upgraded to xorg 1.6.3 it put its xorg-server.conf in /etc/X11/dbus-1/system.d and
it really belongs in /etc/dbus-1/system.d. I copied it to where it belongs and it shut up about the Access Denied.

YMMV
Awesome fix. I hadn't even noticed that I was getting that Access Denied message in the log again since upgrading xorg 1.6.3. I'll remember that one. Thanks. :)
Top
piponazo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Sat Feb 09, 2008 2:55 pm
Location: Córdoba - Spain
Contact:
Contact piponazo
Website

  • Quote

Post by piponazo » Thu Aug 06, 2009 7:01 am

Hi! Thanks to this post, I've configured correctly the new configuration of xserver with hal and evdev. But I observed that when I'm exiting of the system (Gnome desktop environment), the mouse and keyboard become freeze, and the the screen don't show information about the stopping process of the services. Always it is shown the desktop wallpaper until the system is shut down definitely. Has anyone seen this problem? Here, I show some of my configuration files to give more information

/etc/X11/xorg.conf

Code: Select all

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF"
   FontPath     "/usr/share/fonts/Type1/" 
EndSection

Section "Module"
    Load           "record"
    Load           "wfb"
    Load           "extmod"
    Load           "dbe"
    Load           "xtrap"
    Load           "glx"
EndSection

Section "ServerFlags"
   Option         "AutoAddDevices"     "on"
   Option         "AutoEnableDevices"  "on
   Option         "AllowEmptyInput"    "on"
   Option         "Xinerama"           "0"
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG M228WD-BZ"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
    Option         "NoLogo"   "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050 +0+0"
EndSection
/etc/make.conf

Code: Select all

INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"
/etc/hal/fdi/policy/10-x11-input.fdi

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
   <deviceinfo version="0.2">
      <device>
      <!-- Mouse configuration -->
         <match key="info.capabilities" contains="input.mouse">
            <merge key="input.x11_driver" type="string">evdev</merge>
         </match>

      <!-- Keyboard configuration -->
         <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.model" type="string">evdev</merge>
            <merge key="input.x11_driver" type="string">evdev</merge>
            <merge key="input.xkb.layout" type="string">es</merge>
            <merge key="input.xkb.variant" type="string"></merge>
         </match>
      </device>
   </deviceinfo> 
La plaga tux! ;)
Top
Post Reply

398 posts
  • Page 14 of 16
    • Jump to page:
  • Previous
  • 1
  • …
  • 12
  • 13
  • 14
  • 15
  • 16
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic