Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Best upgrade method to Xserver1.5 with Hal and evdev
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15, 16  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Mon Jun 01, 2009 8:53 pm    Post subject: Reply with quote

I think that you have this bug : https://bugs.gentoo.org/271837
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1085

PostPosted: Tue Jun 02, 2009 1:57 pm    Post subject: Reply with quote

d2_racing wrote:
I think that you have this bug : https://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"
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Tue Jun 02, 2009 3:53 pm    Post subject: Reply with quote

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:
<?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.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5268

PostPosted: Tue Jun 02, 2009 5:21 pm    Post subject: Reply with quote

Actually, those callouts.add are most probably meaningless.
Did you try validating your previous fdi file ?
Back to top
View user's profile Send private message
Icer
Guru
Guru


Joined: 26 Aug 2003
Posts: 395
Location: @home

PostPosted: Tue Jun 02, 2009 7:03 pm    Post subject: Reply with quote

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/xserver/tree/config/x11-input.fdi
_________________
Everything can be done. There's just a longer delivery time for impossible projects.
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Tue Jun 02, 2009 8:12 pm    Post subject: Reply with quote

keenblade wrote:
d2_racing wrote:
I think that you have this bug : https://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
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
javeree
Apprentice
Apprentice


Joined: 29 Jan 2006
Posts: 278

PostPosted: Thu Jun 04, 2009 8:32 am    Post subject: Support multiple keyboards with different layouts Reply with quote

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 https://forums.gentoo.org/viewtopic-t-766415-highlight-.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:
<?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>
Back to top
View user's profile Send private message
kjersin
n00b
n00b


Joined: 25 Jun 2009
Posts: 2

PostPosted: Thu Jun 25, 2009 8:00 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
gerard82
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2179
Location: Netherlands

PostPosted: Thu Jun 25, 2009 12:20 pm    Post subject: Reply with quote

@ 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 midori 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
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5268

PostPosted: Fri Jun 26, 2009 2:31 am    Post subject: Reply with quote

@kjersin: that sounds vaguely familiar.
How much of this thread did you read ?
Post standard info: hal settings, 'setxkbmap -print' output, etc.
Back to top
View user's profile Send private message
kjersin
n00b
n00b


Joined: 25 Jun 2009
Posts: 2

PostPosted: Fri Jun 26, 2009 11:14 am    Post subject: Reply with quote

@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]".
https://forums.gentoo.org/viewtopic-t-744806-highlight-repeat.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 https://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
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Tue Jul 07, 2009 2:49 am    Post subject: Reply with quote

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:

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

But I would still like to get it fixed.
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 256

PostPosted: Tue Jul 28, 2009 5:44 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 482
Location: uk

PostPosted: Tue Jul 28, 2009 7:41 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Tue Jul 28, 2009 3:19 pm    Post subject: Reply with quote

In fact, you should post this :

Code:

# emerge --info
# rc-update show


Running without any /etc/X11/xorg.conf is the best way to start debugging.
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 256

PostPosted: Tue Jul 28, 2009 6:29 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 18

PostPosted: Tue Aug 04, 2009 7:07 pm    Post subject: strange synaptics problem Reply with quote

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:
INPUT_DEVICES="evdev synaptics"


xorg.conf:
Code:

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:

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:

            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
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 18

PostPosted: Tue Aug 04, 2009 7:51 pm    Post subject: Reply with quote

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

[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..
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Aug 05, 2009 7:40 am    Post subject: Reply with quote

trubicoid,

What happens if you try X without an xorg.conf?
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 18

PostPosted: Wed Aug 05, 2009 8:41 am    Post subject: Reply with quote

it's the same, but I'll verify once more with the new version of xorg
yesterday I was playing with all the
Quote:

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?
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Aug 05, 2009 1:54 pm    Post subject: Reply with quote

... and remember to rebuild your x11-drivers
Code:
emerge --oneshot $(qlist -I -C x11-drivers)


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

Code:
emerge consolekit
rc-update add consolekit default
/etc/init.d/consolekit start
:P
Back to top
View user's profile Send private message
trubicoid
n00b
n00b


Joined: 04 Aug 2009
Posts: 18

PostPosted: Wed Aug 05, 2009 2:58 pm    Post subject: Reply with quote

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 :?
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2084
Location: Dallas area

PostPosted: Thu Aug 06, 2009 1:02 am    Post subject: Reply with quote

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

[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
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, eudev
glibc-2.17, gcc-4.7.3-r1, xorg-server-1.15, lxde, nouveau, oss4
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Aug 06, 2009 2:38 am    Post subject: Reply with quote

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. :)
Back to top
View user's profile Send private message
piponazo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Feb 2008
Posts: 102
Location: Córdoba - Spain

PostPosted: Thu Aug 06, 2009 7:01 am    Post subject: Reply with quote

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:

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:

INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"


/etc/hal/fdi/policy/10-x11-input.fdi
Code:

<?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! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15, 16  Next
Page 14 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum