PDA

View Full Version : Keyboard not working after minimal installation


iddqd
2009-04-02, 15:12
Hi

I installed xbmc (on hardy) with this guide: http://xbmc.org/wiki/?title=HOW-TO:_Install_XBMC_for_Linux_on_Ubuntu_8.10_(Intrepi d)_step-by-step

Everything worked great, just my keyboards doesn't work. :sad:

I have a Logitech Ultra-Flat Keyboard and a Logitech diNovo Mini. I can use the Keyboards in bios but when xbmc starts, both Keyboards doesn't work.

I tried to edit the xorg.conf but it didn't help.

Here are my original (after installation) and current xorg.conf's:

current
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
EndSection

Section "InputDevice"

# generated from default
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
EndSection

Section "Monitor"
Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Unknown"
Option "DPMS"
HorizSync 15.0 - 68.0
VertRefresh 23.0 - 61.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals" "True"
Option "ExactModeTimingsDVI" "True"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
EndSubSection
EndSection


original
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008


Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Unknown"
Option "DPMS"
HorizSync 15.0 - 68.0
VertRefresh 23.0 - 61.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals" "True"
Option "ExactModeTimingsDVI" "True"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Hopefully somebody can help me!

Thanks!

Haggy
2009-04-02, 15:51
Do they work on consoles? If yes: show us your Xorg.0.log and xbmc debug log, use pastebin.com for that. If no: Ubuntu forums are the better place for your problem.

iddqd
2009-04-02, 16:01
Yes, they work during the boot (numlock is on and I can also change bios settings). I think they drop out when X starts.

Xorg.0.log: http://pastebin.com/md0f34c4

Where can I find the xbmc debug log? Are this the files like core.5524? But they are about 150 MB!?

Haggy
2009-04-02, 16:09
during boot means nothing, numlock also not. can you switch to a console with <CTRL>+<ALT>+<F1> and log in?

Haggy
2009-04-02, 16:15
please post your xorg.conf as well. you have a pretty weird keyboard layout in your log. perhaps xinput fails at detecting your keyboard(s). do you have hal running?

iddqd
2009-04-02, 16:16
No, I can't press <CTRL>+<ALT>+<F1>. But I kill xbmc via ssh, get switched to the console and there I can use both keyboards.

Haggy
2009-04-02, 16:24
oh - xorg.conf is there, sorry.
Please add

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection


to your xorg.conf and give it a try.

iddqd
2009-04-02, 16:32
Thanks, but it doesn't work.

Xorg.0.log: http://pastebin.com/m238a45a3

This is the log with this xorg.conf: http://pastebin.com/m1812ded0

I don't know if I added the section on the right place!?

Haggy
2009-04-02, 16:39
Ykes - you're running Xorg server 1.4, which is Xorg 7.3. That setting works only in 7.4 and after (Xorg server 1.5).

Other than that, you borked your xorg.conf :-) Try this one:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"

EndSection

Section "Monitor"
Identifier "Monitor0"
# VendorName "Unknown"
# ModelName "Unknown"
Option "DPMS"
HorizSync 15.0 - 68.0
VertRefresh 23.0 - 61.0
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo"
Option "DynamicTwinView" "false"
Option "AddARGBGLXVisuals" "True"
Option "ExactModeTimingsDVI" "True"
Option "FlatPanelProperties" "Scaling = Native"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Haggy
2009-04-02, 16:41
Forget it - your second pastebin xorg.conf looks fine

iddqd
2009-04-02, 17:28
Still doesn't work. Somebody else have a hint?

basse
2009-04-02, 17:30
Me too followed that guide a while ago and encountered what might be the same problem.

Have you tried pressing Ctrl-Alt-Backspace to restart X? - after doing that my keyboard/mouse started working again.

The solution for me was to remove the splash screen with
# sudo apt-get remove usplash-theme-ubuntu libusplash-dev usplash

I don't know the reason why it wont work with splash screen, i only found out because i skipped the step with splash in the guide to start with, and it only stopped working after installing splash.

I just live without splash screen, doesnt really matter since i leave the htpc on 24/7 anyways :)

Btw. I'm using Ubuntu 8.04

iddqd
2009-04-02, 17:50
Wow!!! Thanks a lot!!! You saved my day! :grin::nod:

After removing the splash screen the keyboard works. Perhaps this should be named in the how-to!?

iddqd
2009-04-02, 17:54
I also detected, when I restarted xbmc (with splash screen) the keyboard also worked.

basse
2009-04-02, 18:44
I'm glad it worked out for you :)