Keyboard not working after minimal installation
#1
Hi

I installed xbmc (on hardy) with this guide: http://wiki.xbmc.org/?title=HOW-TO:_Inst...ep-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
Code:
# 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
Code:
# 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!
Reply
#2
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.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
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!?
Reply
#4
during boot means nothing, numlock also not. can you switch to a console with <CTRL>+<ALT>+<F1> and log in?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
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?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#6
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.
Reply
#7
oh - xorg.conf is there, sorry.
Please add
Code:
Section "ServerFlags"
    Option "AutoAddDevices" "False"
EndSection

to your xorg.conf and give it a try.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
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!?
Reply
#9
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:
Code:
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
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
Forget it - your second pastebin xorg.conf looks fine
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
Still doesn't work. Somebody else have a hint?
Reply
#12
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
Code:
# 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 Smile

Btw. I'm using Ubuntu 8.04
Reply
#13
Wow!!! Thanks a lot!!! You saved my day! Big GrinNod

After removing the splash screen the keyboard works. Perhaps this should be named in the how-to!?
Reply
#14
I also detected, when I restarted xbmc (with splash screen) the keyboard also worked.
Reply
#15
I'm glad it worked out for you Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Keyboard not working after minimal installation0