Thomas de Roo | 8 Feb 22:47

no keyboard or mouse in Xorg

Dear all,

 

I just finished building Xorg. I have xome problems getting the config right. When I start X, I get the following output:

---------------------------------------------------------------------------------------------------------------

X.Org X Server 1.11.2

Release Date: 2011-11-04

X Protocol Version 11, Revision 0

Build Operating System: Linux 3.2.4 i686

Current Operating System: Linux forentientje 3.2.4 #6 SMP Tue Feb 7 12:06:39 CET 2012 i686

Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda3 ro

Build Date: 08 February 2012  08:32:13PM

 

Current version of pixman: 0.24.0

        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: Wed Feb  8 22:36:29 2012

(==) Using config file: "/etc/X11/xorg.conf"

(==) Using config directory: "/etc/X11/xorg.conf.d"

(==) Using system config directory "/usr/X11/share/X11/xorg.conf.d"

Parse error on line 7 of section InputClass in file /etc/X11/xorg.conf.d/10-evdev.conf

        "Section" is not a valid keyword in this section.

(EE) Problem parsing the config file

(EE) Error parsing the config file

 

Fatal server error:

no screens found

 

Please consult the The X.Org Foundation support

         at http://wiki.x.org

for help.

Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 

Server terminated with error (1). Closing log file.

xinit: giving up

xinit: unable to connect to X server: Connection refused

---------------------------------------------------------------------------------------------------------------

 

Why is "Section" not a valid keyword in /etc/X11/xorg.conf.d/10-evdev.conf?

When I remove al the config-files from /etc/X11/xorg.conf.d/, Xorg will start, but mouse and keyboard do not work. Any suggestions?

 

Regards,

Thomas

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Ken Moffat | 9 Feb 00:18

Re: no keyboard or mouse in Xorg

On Wed, Feb 08, 2012 at 10:47:08PM +0100, Thomas de Roo wrote:
> Dear all,
> 
>  
> I just finished building Xorg. I have xome problems getting the config right. When I start X, I get the
following output:
> 
> ---------------------------------------------------------------------------------------------------------------
> 
> X.Org X Server 1.11.2
> 
[ snipping things that look ok ]
...

> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  8 22:36:29 2012
> 
> (==) Using config file: "/etc/X11/xorg.conf"
> 
> (==) Using config directory: "/etc/X11/xorg.conf.d"
> 
> (==) Using system config directory "/usr/X11/share/X11/xorg.conf.d"
> 
 How did you get /usr/X11/share/X11 ?  I suppose you have built xorg in
/usr/X11 instead of /usr.  Seems an unusual thing to do.

 I can see that the book symlinks /etc/X11 [ unnecessary for those
of us who build xorg in /usr, but perhaps useful if you are
intending to install newer versions of xorg on the same base system
- for myself, /usr (and good backups, with logs of what gets
installed) is far simpler.
> Parse error on line 7 of section InputClass in file /etc/X11/xorg.conf.d/10-evdev.conf
> 
>         "Section" is not a valid keyword in this section.
> 
> (EE) Problem parsing the config file
> 
> (EE) Error parsing the config file
> 
>  
> Fatal server error:
> 
> no screens found

 Well, my own 10-evdev.conf has
Section "InputClass"
on line 7 and appears to work.

 I also have 11-keyboard.conf (the name isn't important) with a
similar line.

 So, you are using what I regard as an odd --prefix (other people
here will think it is perfectly sane, and it certainly ought to work
if used *throughout_xorg*).  Did you use this prefix for *all* the
xorg packages ?

 Have you omitted any xorg packages ?  I omit *loads*, but I'm
thinking that you maybe missed something which handles how the conf
files are parsed.  I've certainly not seen any reports of this sort
of error, and for the moment it baffles me.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Thomas de Roo | 9 Feb 14:23

Re: no keyboard or mouse in Xorg

I did build Xorg in /usr/X11. That shouldn't be a problem, right? I'm not sure what went wrong, but I found a
workaround: I moved all the options in /etc/X11/xorg.conf.d/* to /etc/X11/xorg.conf, leaving
/etc/X11/xorg.conf.d empty. Now X works, don't ask me why, though...

Thanks for the help!
Thomas

-----Original Message-----
From: blfs-support-bounces <at> linuxfromscratch.org
[mailto:blfs-support-bounces <at> linuxfromscratch.org] On Behalf Of Ken Moffat
Sent: donderdag 9 februari 2012 0:18
To: BLFS Support List
Subject: Re: [blfs-support] no keyboard or mouse in Xorg

On Wed, Feb 08, 2012 at 10:47:08PM +0100, Thomas de Roo wrote:
> Dear all,
> 
>  
> I just finished building Xorg. I have xome problems getting the config right. When I start X, I get the
following output:
> 
> ----------------------------------------------------------------------
> -----------------------------------------
> 
> X.Org X Server 1.11.2
> 
[ snipping things that look ok ]
...

> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  8 22:36:29 2012
> 
> (==) Using config file: "/etc/X11/xorg.conf"
> 
> (==) Using config directory: "/etc/X11/xorg.conf.d"
> 
> (==) Using system config directory "/usr/X11/share/X11/xorg.conf.d"
> 
 How did you get /usr/X11/share/X11 ?  I suppose you have built xorg in
/usr/X11 instead of /usr.  Seems an unusual thing to do.

 I can see that the book symlinks /etc/X11 [ unnecessary for those of us who build xorg in /usr, but perhaps
useful if you are intending to install newer versions of xorg on the same base system
- for myself, /usr (and good backups, with logs of what gets
installed) is far simpler.
> Parse error on line 7 of section InputClass in file 
> /etc/X11/xorg.conf.d/10-evdev.conf
> 
>         "Section" is not a valid keyword in this section.
> 
> (EE) Problem parsing the config file
> 
> (EE) Error parsing the config file
> 
>  
> Fatal server error:
> 
> no screens found

 Well, my own 10-evdev.conf has
Section "InputClass"
on line 7 and appears to work.

 I also have 11-keyboard.conf (the name isn't important) with a similar line.

 So, you are using what I regard as an odd --prefix (other people here will think it is perfectly sane, and it
certainly ought to work if used *throughout_xorg*).  Did you use this prefix for *all* the xorg packages ?

 Have you omitted any xorg packages ?  I omit *loads*, but I'm thinking that you maybe missed something which
handles how the conf files are parsed.  I've certainly not seen any reports of this sort of error, and for the
moment it baffles me.

ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Ken Moffat | 9 Feb 15:29

Re: no keyboard or mouse in Xorg

On Thu, Feb 09, 2012 at 02:23:59PM +0100, Thomas de Roo wrote:
> I did build Xorg in /usr/X11. That shouldn't be a problem, right? I'm not sure what went wrong, but I found a
workaround: I moved all the options in /etc/X11/xorg.conf.d/* to /etc/X11/xorg.conf, leaving
/etc/X11/xorg.conf.d empty. Now X works, don't ask me why, though...
> 
> Thanks for the help!
> Thomas
> 
 Glad you got it working.  In *theory*, /usr/X11 (or, indeed, any
other prefix) *shouldn't* be a problem (if PKG_CONFIG_PATH, PATH and
/etc/ld.so.conf know about it - but problems from that would
normally be *build* problems).  Some time ago (between 2 and 4
years ago, I think) I tried building xorg in /somewhere/xorg-v.w.x
and similarly gnome in /somewhere/gnome-2.ab.c (I forget if I was
using /opt or /usr for the 'somewhere').  The theory was that I
would be able to update xorg, and similarly the part of gnome that I
was using, without rebuilding the system.

 In the event, I abandonned that - too many build problems.  Now I
build my normal things in /usr (occasionally, I make an exception for
disreputable packages that I need to use for something in the book -
they go in /opt and are only referenced when needed [ so, nothing
that installs a library - I don't try to modify ld.so.conf ].

 The bigger problem with using other prefixes so that newer versions
can be built without trashing the current version is that libraries
*do* change - if I've linked all my desktop packages against a
year-old version of xorg, updating *might* cause obscure breakage.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Bruce Dubbs | 9 Feb 18:35
Picon

Re: no keyboard or mouse in Xorg

Ken Moffat wrote:
> On Thu, Feb 09, 2012 at 02:23:59PM +0100, Thomas de Roo wrote:
>> I did build Xorg in /usr/X11. That shouldn't be a problem, right? I'm not sure what went wrong, but I found a
workaround: I moved all the options in /etc/X11/xorg.conf.d/* to /etc/X11/xorg.conf, leaving
/etc/X11/xorg.conf.d empty. Now X works, don't ask me why, though...
>>
>> Thanks for the help!
>> Thomas
>>
>  Glad you got it working.  In *theory*, /usr/X11 (or, indeed, any
> other prefix) *shouldn't* be a problem (if PKG_CONFIG_PATH, PATH and
> /etc/ld.so.conf know about it - but problems from that would
> normally be *build* problems).  Some time ago (between 2 and 4
> years ago, I think) I tried building xorg in /somewhere/xorg-v.w.x
> and similarly gnome in /somewhere/gnome-2.ab.c (I forget if I was
> using /opt or /usr for the 'somewhere').  The theory was that I
> would be able to update xorg, and similarly the part of gnome that I
> was using, without rebuilding the system.
> 
>  In the event, I abandonned that - too many build problems.  Now I
> build my normal things in /usr (occasionally, I make an exception for
> disreputable packages that I need to use for something in the book -
> they go in /opt and are only referenced when needed [ so, nothing
> that installs a library - I don't try to modify ld.so.conf ].

I followed the instructions for building in /opt just last December and 
it works fine.  Yes, I did add one line to /etc/ld.so.conf, and 
PATH/PKG_CONFIG_PATH are updated too.  I used:

XORG_CONFIG='--prefix=/opt/xorg --sysconfdir=/etc \
              --mandir=/opt/xorg/share/man --localstatedir=/var'
XORG_PREFIX=/opt/xorg

>  The bigger problem with using other prefixes so that newer versions
> can be built without trashing the current version is that libraries
> *do* change - if I've linked all my desktop packages against a
> year-old version of xorg, updating *might* cause obscure breakage.

I've not seen any problems at all.

   -- Bruce

--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Andrew Benton | 9 Feb 16:55
Picon

Re: no keyboard or mouse in Xorg

On Thu, 9 Feb 2012 14:23:59 +0100
Thomas de Roo <thomas <at> de-roo.org> wrote:

> I did build Xorg in /usr/X11. That shouldn't be a problem, right? I'm not sure what went wrong, but I found a
workaround: I moved all the options in /etc/X11/xorg.conf.d/* to /etc/X11/xorg.conf, leaving
/etc/X11/xorg.conf.d empty. Now X works, don't ask me why, though...

Well done for getting it working. Sorry I didn't offer any helpful
suggestions but I had no clue what the problem was. However, the way
you fixed it suggests that there was a problem with
the /usr/X11/share/X11/xorg.conf.d/10-evdev.conf file. Perhaps it was
some unprintable character that doesn't show up in a text editor? Or
maybe something to do with locale or language settings?
Thanks for posting how you fixed the problem.

Andy
--

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Gmane