X Server 1.6.99.1 HAL <-> XI Problems Pt2

Florian Lier fl0 at icram.de
Mon Dec 22 16:55:25 PST 2008


Dan Nicholson schrieb:
> 2008/12/22 Florian Lier <fl0 at icram.de>:
>   
>> Dan Nicholson schrieb:
>>
>> 2008/12/22 Florian Lier <fl0 at icram.de>:
>>
>>
>> Good evening everybody (CET),
>>
>> I'm currently testing Peter Hutterers' XI. AFAIK you don't
>> need any device configuration via xorg.conf, instead you choose
>> evdev (e.g. at /etc/hal/fdi/policy/mydevices.fdi) - then HAL should
>> automagically add the devices (at least mouse & kbd) at startup.
>>
>> My System:
>> ThinkPad x31
>> Ubuntu 8.10 (2.6.27-11)
>> GDM + Metacity
>> Ati Mobile
>>
>> Here's the output of my (stable) 1.5.2 XServer:
>>
>> fl0 at m0thership:~$ xinput -version
>> version 1.3.0
>> fl0 at m0thership:~$ xinput --list --short
>> "Virtual core keyboard"    id=0    [XKeyboard]
>> "Virtual core pointer"    id=1    [XPointer]
>> "Macintosh mouse button emulation"    id=2    [XExtensionPointer]
>> "Logitech Logitech USB Keyboard"    id=3    [XExtensionKeyboard]
>> "Logitech Logitech USB Keyboard"    id=4    [XExtensionKeyboard]
>> "Razer Razer Copperhead Laser Mouse"    id=5    [XExtensionKeyboard]
>> "Razer Razer Copperhead Laser Mouse"    id=6    [XExtensionPointer]
>>
>> Next step: Logout - switch to TTY1 - login as root and start "X" like that:
>>
>> /etc/init.d/gdm stop
>> export LD_LIBRARY_PATH=/my/path/to/the1.6.99.1/lib
>> startx -- /my/path/to/the1.6.99.1/bin/Xorg :1
>>
>> ---- starts fine ---
>>
>> Output of my 1.6.99.1 XServer:
>>
>> root at mpx:~$ xinput --list --short
>> "Virtual core keyboard"    id=0    [XKeyboard]
>> "Virtual core pointer"    id=1    [XPointer]
>> "<default pointer>"    id=2    [XExtensionPointer]
>> "<default keyboard>"    id=3    [XExtensionKeyboard]
>>
>> ---------------------------
>>
>> 1. lshal and lsusb correctly lists the above devices.
>> 2. restarting HAL doesn't help.
>> 3. /my/path/to/the1.6.99.1/bin/xinput --create-master "f00" works, but
>> there's obviously no device to reattach it :/
>>
>>
>> Do you have evdev installed in
>> /my/path/to/the1.6.99.1/lib/
>> xorg/modules/input ? What does the log
>> say? What do you have in xorg.conf?
>>
>> --
>> Dan
>> _______________________________________________
>> xorg mailing list
>> xorg at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/xorg
>>
>>
>>
>> Yes evdev is installed.
>>
>> Here's the log (also attached):
>>
>> This is a pre-release version of the X server from The X.Org Foundation.
>> It is not supported in any way.
>> Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
>> Select the "xorg" product for bugs you find in this release.
>> Before reporting bugs in pre-release versions please check the
>> latest version in the X.Org Foundation git repository.
>> See http://wiki.x.org/wiki/GitPage for git access instructions.
>>
>> X.Org X Server 1.6.99.1
>> Release Date: (unreleased)
>> X Protocol Version 11, Revision 0
>> Build Operating System: Linux 2.6.27-11-generic i686
>> Current Operating System: Linux fl0-mpx 2.6.27-11-generic #1 SMP Fri Dec 19
>> 16:29:52 UTC 2008 i686
>> Build Date: 23 December 2008  12:14:23AM
>>
>>     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: "/home/fl0/mpx/var/log/Xorg.2.log", Time: Tue Dec 23 00:41:31
>> 2008
>> (==) Using config file: "/etc/X11/xorg.conf"
>> (==) No Layout section.  Using the first Screen section.
>> (**) |-->Screen "Default Screen" (0)
>> (**) |   |-->Monitor "Configured Monitor"
>> (**) |   |-->Device "Configured Video Device"
>> (==) Not automatically adding devices
>> (==) Not automatically enabling devices
>>     
>
> As Peter mentioned, this implies that you have AutoAddDevices set to
> no. Can you post your xorg.conf?
>
> <snip>
>   
>> (EE) XKB: Couldn't open rules file /home/fl0/mpx/share/X11/xkb/rules/base
>>     
>
> You may want to install xkeyboard-config to /home/fl0/mpx, or rebuild
> xserver with --with-xkb-path=/usr/share/X11/xkb to use your distro's
> XKB rules.
>
> --
> Dan
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
>   
Okay, I adjusted the xorg.conf and started the "x" like that:

/etc/init.d/gdm stop
export LD_LIBRARY_PATH=/my/path/to/the1.6.99.1/lib
startx -- /my/path/to/the1.6.99.1/bin/Xorg :2 -config /my/path/to/the1.6.99.1/xorg.conf

Which led to this:

(==) ServerLayout "Mpx Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(**) |   |-->Device "Configured Video Device"
(**) Option "AutoAddDevices" "true"
(**) Automatically adding devices
(==) Not automatically enabling devices

(full log is attached + xorg.conf)

Hm...strange.

Fl0

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20081223/03b97b7f/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xorg.conf
URL: <http://lists.x.org/archives/xorg/attachments/20081223/03b97b7f/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.2.log
Type: text/x-log
Size: 31134 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081223/03b97b7f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fl0.vcf
Type: text/x-vcard
Size: 261 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20081223/03b97b7f/attachment.vcf>


More information about the xorg mailing list