View previous topic :: View next topic |
Author |
Message |
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Sat May 21, 2011 10:28 pm Post subject: [SOLVED] Xserver, no mouse, no keyboard |
|
|
EDIT : cf post of June 5th 2011 page 2 : I have used a backup and re-do all upgrades after having updated the toolchain with binaries from tinderbox.
Hi all,
After some upgrades :
baselayout-2
gcc 4.4.5 (system rebuilt with 4.4.5, world still with gcc 4.3.4 - I still have many blockings)
I don't have anymore mouse nor keyboard under X.
Some checks :
Code: | # grep CONFIG_INPUT_EVDEV /usr/src/linux/.config
CONFIG_INPUT_EVDEV=y |
From https://forums.gentoo.org/viewtopic-t-872761-highlight-hal+mouse+keyboard.html, I tried to suppress "Mouse0" and "Keyboard0" in sections "InputDevice" and "ServerLayout", but then I loose completely mouse & keyboard. So I have reverted.
From https://forums.gentoo.org/viewtopic-t-877601.html?sid=1a08fe478193782055ed3b500e5dcffb, I did : Code: | emerge -1 xf86-input-evdev |
From https://forums.gentoo.org/viewtopic-t-858400-start-0.html, I did : Code: | emerge -a1 $(qlist -IC x11-drivers/) |
Some info :
Last edited by lalebarde on Sun Jun 05, 2011 2:41 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat May 21, 2011 10:50 pm Post subject: |
|
|
lalebarde,
You seem to have done all the right things. Please post your /var/log/Xorg.0.log file
That will tell what Xorg did when it started.
In your xorg.conf, comment out the lines Code: | InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
InputDevice "CoreKeyboard"
InputDevice "CorePointer" | and both the Code: | Section "InputDevice" | in their entireity.
xorg will use evdev to autodetect your keyboard and mouse. You will get a USA key layout by default, which is what you seem to have now. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Sun May 22, 2011 6:30 am Post subject: |
|
|
Thank you NeddySeagoon/
Here is /var/log/Xorg.0.log before your modifications : http://dpaste.com/hold/545203/
With the modification, I still don't have any mouse or keyboard working. I will post the file tonight. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sun May 22, 2011 12:02 pm Post subject: |
|
|
lalebarde,
Code: | Undefined InputDevice "CoreKeyboard" referenced by ServerLayout "Layout0".
[ 24.908] (EE) Problem parsing the config file
[ 24.908] (EE) Error parsing the config file |
Even before the modifications I suggested, Xorg did not like your xorg.conf file. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Mon May 23, 2011 7:20 am Post subject: |
|
|
New /var/log/Xorg.0.log (after modification of xorg.conf as suggested) : http://pastebin.com/J0yFCqW9
With no xorg.conf at all : http://pastebin.com/ZQH3BYe3
Code: | # /etc/init.d/udev status
* status: stopped |
udev do not start ! Why ? Code: | (chroot) livecd / # /etc/init.d/udev status
* status: stopped
(chroot) livecd / # /etc/init.d/udev start
udev | * Caching service dependencies ...
/etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable
/etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable
/etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable
/etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable [ ok ]
udev | * Starting udevd ...
udev | * start-stop-daemon: /sbin/udevd is already running [ !! ]
udev | * ERROR: udev failed to start
|
Is this correct ? Code: | (chroot) livecd / # grep INPUT_DEVICES /etc/make.conf
INPUT_DEVICES="keyboard mouse evdev"
|
Code: | udevadm info --export-db | returns nothing. (cf https://bugs.gentoo.org/318181)
From this same url, I am remerging -Dav xf86-input-evdev..... then : Code: | # /etc/init.d/udev restart
udev | * Starting udevd ... [ ok ]
udev | * Populating /dev with existing devices through uevents ... [ ok ]
udev | * Waiting for uevents to be processed ... |
Looks better.
Besides, there was still : Code: | cat /etc/X11/xorg.conf.d/11-keymap.conf
Section "InputClass"
Identifier "Dell Media Keyboard"
Driver "evdev"
Option "xkbLayout" "fr"
MatchIsKeyboard "on"
EndSection
|
I am going to suppress it too and retry.
OK, let's try..... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Mon May 23, 2011 6:43 pm Post subject: |
|
|
lalebarde,
Your first Xorg log looks reasonable, it uses evdev but the mouse and keyboard are never found.
Your second Xorg log (with no xorg.conf) shows a failure to find a suitable graohics driver. Thats expected if you only have nvidia-drivers installed as the auto configuration will not try binary blobs. To get further with this, do Code: | emerge -1 xf86-video-vesa | Then Xorg should work without a config file.
Code: | /etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable | My poor French translates the message as command not found.
Gentoo does not like something close to line 13 in your /etc/init.d/conf.d/net file. That sethello might be a givaway.
Code: | INPUT_DEVICES="keyboard mouse evdev" | is not wrong but the "keyboard mouse" are redundant. Today, Xorg supports these drivers only if you have an explicit xorg.conf that calls them up. The automatics use udev to find your hardware and evdev to drive it. One day, the old drivers will be dropped, so you may as well migrate now.
Code: | Section "InputClass"
Identifier "Dell Media Keyboard"
Driver "evdev"
Option "xkbLayout" "fr"
MatchIsKeyboard "on"
EndSection | is needed to contain the Code: | Option "xkbLayout" "fr" | or you will get a USA keymap in Xorg. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Mon May 23, 2011 11:05 pm Post subject: |
|
|
Thanks for your deep answers.
NeddySeagoon wrote: | Your first Xorg log looks reasonable, it uses evdev but the mouse and keyboard are never found. | So why does it not work ?
NeddySeagoon wrote: | do Code: | emerge -1 xf86-video-vesa | Then Xorg should work without a config file. | At the end of the boot process, will it use vesa or nvidia drivers ? emerge perform, reboot is coming.....
NeddySeagoon wrote: | Code: | /etc/init.d/../conf.d/net: line 13: sethello 10 : commande introuvable | in your /etc/init.d/conf.d/net file. That sethello might be a givaway. | Sorry for the remaining french. I will check for sethello, but it may be not a showstopper, isn't it ? Nevertheless, I suppress it for now.
Quote: | the "keyboard mouse" are redundant | OK, so I will suppress them.
Quote: | or you will get a USA keymap in Xorg. | So I keep /etc/X11/xorg.conf.d/11-keymap.conf
Last edited by lalebarde on Tue May 24, 2011 7:59 am; edited 1 time in total |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Tue May 24, 2011 7:45 am Post subject: |
|
|
Hm. When you started X without configuration, then it didn't find quite a lot of extensions that it normally should find since they are
coming together with X (for example DRI2 and DRI). In my xorg.conf I have
Quote: |
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/lib64/opengl/nvidia"
ModulePath "/usr/lib64/opengl/xorg-x11"
EndSection
|
The directory /usr/lib64/opengl/xorg-x11/extensions contains files libdri.so and libdri2.so. The /usr/lib64/opengl/nvidia contains nvidia drivers. Check if your system has these directories as well and contains those files. Then try adding them to xorg.conf. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue May 24, 2011 8:03 am Post subject: |
|
|
Thanks v_andal.
Code: | (chroot) livecd ~ # ls -l /usr/lib64/opengl/xorg-x11/extensions/
total 496
-rwxr-xr-x 1 root root 26888 30 d��c. 15:18 libdri2.so
-rwxr-xr-x 1 root root 47848 30 d��c. 15:18 libdri.so
-rwxr-xr-x 1 root root 426048 30 d��c. 15:18 libglx.so
(chroot) livecd ~ # ls -l /usr/lib64/opengl/nvidia/
total 8
drwxr-xr-x 2 root root 4096 21 mai 09:27 extensions
drwxr-xr-x 2 root root 4096 21 mai 09:27 lib
(chroot) livecd ~ # ls -l /usr/lib64/opengl/nvidia/extensions/
total 5140
lrwxrwxrwx 1 root root 55 21 mai 09:27 libglx.so -> /usr/lib64/opengl/nvidia/extensions/libglx.so.260.19.36
-rw-r--r-- 1 root root 5259592 21 mai 09:27 libglx.so.260.19.36
(chroot) livecd ~ # ls -l /usr/lib64/opengl/nvidia/lib/
total 968
lrwxrwxrwx 1 root root 18 21 mai 09:27 libGL.so -> libGL.so.260.19.36
lrwxrwxrwx 1 root root 18 21 mai 09:27 libGL.so.1 -> libGL.so.260.19.36
-rwxr-xr-x 1 root root 980368 21 mai 09:27 libGL.so.260.19.36
lrwxrwxrwx 1 root root 26 21 mai 09:27 libnvidia-tls.so -> libnvidia-tls.so.260.19.36
lrwxrwxrwx 1 root root 26 21 mai 09:27 libnvidia-tls.so.1 -> libnvidia-tls.so.260.19.36
-rwxr-xr-x 1 root root 5640 21 mai 09:27 libnvidia-tls.so.260.19.36
|
|
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue May 24, 2011 4:40 pm Post subject: |
|
|
lalebarde,
If you try to use both udev and hal, Xorg will use udev. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Tue May 24, 2011 11:31 pm Post subject: |
|
|
Thanks NeddySeagoon. So applying "Tips, and tricks for ConsoleKit/PolicyKit/udev, without hal" should not solve my problem. I am emerge-uND-ing and emerge -ND system and world. It is long and tedious since I have had not updated for 6 months. I hope that when everything will be up to date, it will work. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed May 25, 2011 6:59 pm Post subject: |
|
|
if still using nvidia-drivers I'd suggest nvidia-xconfig to generate xorg.conf, test/troubleshoot it with the default us keyboard, then add the section for french keyboard. _________________ Defund the FCC. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Thu May 26, 2011 9:18 am Post subject: |
|
|
lalebarde wrote: | I hope that when everything will be up to date, it will work. | It does not !
DONAHUE wrote: | I'd suggest nvidia-xconfig to generate xorg.conf, test/troubleshoot it with the default us keyboard | Thanks for your help DONAHUE, but It still does not work.
I had a look here :
|
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Thu May 26, 2011 12:37 pm Post subject: |
|
|
Of course, I re-emerged after the drivers, like I did it earlier in this post, and tryed with/without mouse ans keyboard device definition in xorg.conf.
I still miss mouse and keyboard in X11. Since I cannot switch to the interractive mode at boot, I suppose I have no keyboard nor mouse at all.
I really don't know what to do now to have it work .
This may be of interrest : Code: | (chroot) livecd / # /etc/init.d/consolekit status
* status: crashed
(chroot) livecd / # egrep -i "console.*kit" /var/log/messages
(chroot) livecd / #
(chroot) livecd / # /etc/init.d/dbus status
* status: crashed
(chroot) livecd / # grep -i dbus /var/log/messages
(chroot) livecd / #
(chroot) livecd / # /etc/init.d/dbus restart
consolekit | * Stopping ConsoleKit daemon ... [ ok ]
dbus | * Stopping D-BUS system messagebus ...
dbus | * start-stop-daemon: fopen `/var/run/dbus.pid': No such file or directory [ ok ]
dbus | * Starting D-BUS system messagebus ... [ ok ]
(chroot) livecd / # consolekit | * Starting ConsoleKit daemon ... [ ok ]
(chroot) livecd / #
(chroot) livecd / #
(chroot) livecd / # /etc/init.d/dbus status
* status: started
(chroot) livecd / # /etc/init.d/consolekit status
* status: started
(chroot) livecd / #
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Thu May 26, 2011 7:35 pm Post subject: |
|
|
lalebarde,
Please post your full kernel .config file on a pastebin site.
wgetpaste is your friend. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Thu May 26, 2011 7:51 pm Post subject: |
|
|
My problem seems to be a crash of dbus at boot. |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Thu May 26, 2011 10:07 pm Post subject: |
|
|
NeddySeagoon wrote: | Please post your full kernel .config file on a pastebin site. |
Here is as requested : http://pastebin.com/zWJ1JaAS |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Fri May 27, 2011 8:52 am Post subject: |
|
|
Shall I emerge hotplug and coldplug and rc-update add coldplug boot, rc-update add hotplug default ?
EDIT : as far as I read, the answer is no. coldplug seems necessary only for old kernels, and hotplug if 'General setup --->Support for hot-pluggable devices' is not set in the kernel. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 27, 2011 10:23 am Post subject: |
|
|
your kernel is more than old, i think you are facing : 2.6.30-tuxonice-r6
1 - udev don't expect such an old kernel
2 - openrc won't like that too
3 - missing devtmpfs
it's been a long time that kernel wish default shm and tmpfs, an udev/kernel and kernel-headers should always stay close to each others. I'm not sure if openrc is the first one that need that feature, but there's time when change should be apply and user should make the choice: apply changes and update software or block change and keep old version. But it's always going to a dead end apply some change and not updating something, it might work for some times with the transition, until devs decide they have wait more than enough and force everyone to make the choice. Same effect with deprecated things, might work for some times, until someone decide it wait enough and remove it.
time to upgrade kernel lalebarde |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Fri May 27, 2011 2:37 pm Post subject: |
|
|
Thanks krinn,
I agree with you. So I have updated to linux-2.6.37-tuxonice, rebuild modules, x11-drivers, checked I copied it in /boot, updated grub, boot on the new kernel, ..... and it changes nothing : no keyboard nor mouse working . |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Fri May 27, 2011 2:48 pm Post subject: |
|
|
can we get that xorg.log to see what is going on ? |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Fri May 27, 2011 3:08 pm Post subject: |
|
|
Sure, /var/log/Xorg.0.log : http://pastebin.com/A4hJWbJc
Other information :
/etc/X11/xorg.conf
Code: | # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 260.19.36 (buildmeister@swio-display-x86-rhel47-01.nvidia.com) Tue Jan 18 17:15:22 PST 2011
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection
Section "Files"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection |
Code: | # eselect kernel list
Available kernel symlink targets:
[1] linux-2.6.30-tuxonice-r6
[2] linux-2.6.32-tuxonice-r7
[3] linux-2.6.34-tuxonice-r6
[4] linux-2.6.34-xen-r4
[5] linux-2.6.36-tuxonice-r3
[6] linux-2.6.37-tuxonice * |
Last edited by lalebarde on Fri May 27, 2011 3:18 pm; edited 1 time in total |
|
Back to top |
|
|
lalebarde Guru
Joined: 03 Sep 2006 Posts: 464 Location: France, Haute-Garonne
|
Posted: Fri May 27, 2011 3:10 pm Post subject: |
|
|
and always : Code: | # /etc/init.d/dbus status
* status: crashed |
Code: | # rc-update show
swap | boot
savecache | shutdown
localmount | boot
sysctl | boot
local | nonetwork default
procfs | boot
urandom | boot
termencoding | boot
postgresql-8.4 | default
xdm | default
keytouch | default
keymaps | boot
devfs | sysinit
net.eth0 | default
mount-ro | shutdown
net.lo | boot
hibernate-cleanup | boot
bridge_forward | default
consolefont | boot
device-mapper | boot
dmesg | sysinit
dbus | default
hostname | boot
root | boot
udev-postmount | default
mtab | boot
cupsd | default
kvm | default
udev | sysinit default
netmount | default
lvm | boot
bootmisc | boot
syslog-ng | default
fsck | boot
dcron | default
gpm | default
killprocs | shutdown
hotplug | boot
alsasound | boot
modules | boot
hwclock | boot
consolekit | default
|
|
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Mon May 30, 2011 7:07 am Post subject: |
|
|
Strange, that you have udev both in sysinit and in default levels. On my machine it is only in sysinit. Also, according to Xorg log, you don't have any mouse or keyboard. At least Xorg finds only "power button", no other input. How many files do you have in /dev/input directory? |
|
Back to top |
|
|
|