You are not logged in.

#1 2009-05-09 12:28:20

lang2
Member
Registered: 2006-02-10
Posts: 386

No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

Hello,

I'm playing with Arch64 in a Virtualbox environment. Installed with core-2009.2 ISO file. After installing all the necessary packages, I did 'Xorg -configure' to generate the xorg.xonf file but when I started X, I got no keyboard or mouse input. Any clues?

Thanks,

Last edited by lang2 (2009-05-11 23:00:29)

Offline

#2 2009-05-09 15:29:48

miau
Member
Registered: 2009-05-06
Posts: 202

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

Can you post your xorg.conf?

Offline

#3 2009-05-09 15:55:25

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

1) You have hal installed and running on guest? Ensure this

2) Install guest additions on guest.

3) This is the xorg.conf that you need for guest:

Section "Device"
    Identifier     "vboxvideo0"
    Driver         "vboxvideo"
EndSection

Section "InputDevice"
    Identifier     "vboxmouse0"
    Driver         "vboxmouse"
EndSection

No more settings are needed.

Offline

#4 2009-05-09 16:50:06

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

My xorg.con:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "record"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "dri2"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option      "CoreKeyboard"
    Option      "XkbLayout" "gb"
    Option      "XkbModel" "pc105"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"               # [<bool>]
        #Option     "DefaultRefresh"         # [<bool>]
        #Option     "ModeSetClearScreen"     # [<bool>]
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "InnoTek Systemberatung GmbH"
    BoardName   "VirtualBox Graphics Adapter"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Offline

#5 2009-05-09 16:51:34

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

@djgera: I didn't even know that arch has an guest account. Is the 'arch' account?
I've tried your changes in my xorg.conf but Xorg didn't like them, saying no driver are available.

Offline

#6 2009-05-09 17:00:11

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

lang2 "guest" in terms of virtual machine is the OS that run inside the VM, and "host" is the OS that run outside the virtual machine. wink Not a guest user tongue

No driver avail, because you need to install the Guest additions. Go to menu "devices -> install guest additions" in the screen of running vm

now login as root, and type for example

mount /media/dvd -o exec
/media/dvd/VBoxLinuxAdditions-amd64.run

reboot the guest OS and try again wink

Remember again, ensure that hal is running.

Last edited by djgera (2009-05-09 17:01:19)

Offline

#7 2009-05-09 18:37:53

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

It must be me: it still doesn't work. After installing the vbox addition and adding the previously mentioned driver options, the mouse works ..... eh ... better. It does move around and twm does change forcus when it moves around. But left and right button does nothing. Keyboard behavior hasn't changed at all: nothing. sad I've verified that hal is running. Also, I read the wiki page and found the "AutoAddDevices" "False" option which didn't do anything.

Offline

#8 2009-05-11 11:56:47

sjovan
Member
Registered: 2009-04-24
Posts: 23

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

if you use the ---> "AutoAddDevices" "False" <--- then you have to install keyboard and mouse drivers (don't remember the name in pacman and i'm not on my computer).

Offline

#9 2009-05-11 23:00:04

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

I've removed the "AutoAddDevices" "False" thing and it works now! I must have missed something. Thanks for all the helps.

Offline

#10 2009-05-11 23:14:26

JK3mp
Member
Registered: 2009-03-25
Posts: 105

Re: No keyboard or mouse for Arch64 in Virtualbox [SOLVED]

Glad to hear you got it fixed, had a similiar problem and did the same thing big_smile

Offline

Board footer

Powered by FluxBB