From owner-freebsd-questions@freebsd.org Sun Dec 6 02:15:41 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE095A3B3C3 for ; Sun, 6 Dec 2015 02:15:40 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C3101C61 for ; Sun, 6 Dec 2015 02:15:40 +0000 (UTC) (envelope-from welcome.to.eye.o.rama@gmail.com) Received: by ykba77 with SMTP id a77so161767065ykb.2 for ; Sat, 05 Dec 2015 18:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version; bh=BQv7VnbU11AcpLgPueUal0/VP/cW7IIdIAPsA3Cv0B8=; b=tjsHJfpFUhRRNRtAHxZFLIRY4vufqLUFpKTrcRkRrL9OXz3Vp8TBf8hnyA1zw0mI6u Fqmr5FQR8fBD9eXjNyQEQkeR0vWhG7EBT+4BqfC+6z+5gEu+M2ucViRmQO5cB5H/yb9K GsxbCBmCHwB79blhxrbZVd8gLOZBBoP/n4Bwi4+clpBd2dpCtqqNB2y6F7m92C+EnBVD HciIp6XNlNcanguPaaoRbkSJ+V3oBpGYkuc2VP4Ytz9isbHHlLEVSb2gMQ6D1qqLOHZ4 B03gVfdFnhbY2ZCja/MKEeHKfkWX1zRp4zuKluQxhwZAbm4dQOyq+mZZnL14dxlPDkEU J3ww== X-Received: by 10.13.219.2 with SMTP id d2mr17165194ywe.344.1449368139552; Sat, 05 Dec 2015 18:15:39 -0800 (PST) Received: from ?IPv6:2602:30a:2c86:1740:3615:9eff:fe1f:8316? ([2602:30a:2c86:1740:3615:9eff:fe1f:8316]) by smtp.gmail.com with ESMTPSA id s83sm14256704ywg.21.2015.12.05.18.15.38 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 05 Dec 2015 18:15:38 -0800 (PST) From: John Aten Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Mouse & Keyboard not working in Virtual Box VM Date: Sat, 5 Dec 2015 20:15:31 -0600 Message-Id: <010EFC12-FD25-4A04-B042-9B0C95478C03@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 02:15:41 -0000 Hello all, I am completely new to FreeBSD. I recently downloaded the FreeBSD = 10.2-RELEASE virtual machine image for Virtual Box. I am running Virtual = Box 4.3.30 on Mac OSX 10.6.8. (There are newer versions of Virtual Box, = which require a newer version of OSX than I am running, thus I haven't = been able to upgrade) Everything seemed to go well, until I tried to get = a window manager working. I installed the Enlightenment desktop in my = regular user account, but when it starts the mouse and keyboard do not = work. The same happens in whatever basic window manager comes up in the = root account. The X log says that since 'hotplugging' is on, these devices will be = disabled: [ 429.942] (**) |-->Input Device "Mouse0" [ 429.943] (WW) Hotplugging is on, devices using drivers 'kbd', = 'mouse' or 'vmmouse' will be disabled. [ 429.943] (WW) Disabling Mouse0 [ 432.737] (II) config/devd: adding input device (null) = (/dev/sysmouse) [ 432.737] (II) LoadModule: "mouse" [ 432.738] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 432.742] (II) Module mouse: vendor=3D"X.Org Foundation" [ 432.742] (II) UnloadModule: "mouse" [ 432.742] (II) Unloading mouse [ 432.742] (EE) Failed to load module "mouse" (module requirement = mismatch, 0) [ 432.743] (EE) No input driver matching `mouse' [ 432.777] (II) config/devd: adding input device Mouse (/dev/psm0) [ 432.777] (II) LoadModule: "mouse" [ 432.778] (II) Loading /usr/local/lib/xorg/modules/input/mouse_drv.so [ 432.779] (II) Module mouse: vendor=3D"X.Org Foundation" [ 432.779] (II) UnloadModule: "mouse" [ 432.779] (II) Unloading mouse [ 432.779] (EE) Failed to load module "mouse" (module requirement = mismatch, 0) [ 432.779] (EE) No input driver matching `mouse' [ 429.942] (**) |-->Input Device "Keyboard0" [ 429.943] (WW) Disabling Keyboard0 I have found several articles and forum threads that deal with this, and = similar issues, but none of the fixes seem to work, and many involve = other issues that I am not having.=20 I installed the virtualbox guest additions from ports, and from looking = at various sources around the internet, I placed the following in = rc.conf: ifconfig_em0=3D"DHCP" vboxguest_enable=3D"YES" vboxservice_enable=3D"YES" mouse_enable=3D"YES" hald_enable=3D"YES" dbus_enable=3D"YES" It appears I do not have hald installed; when I run `service hald = start`, I get an error that says hald does not exist. I read somewhere = that hald is deprecated, anyway, so I'm not sure that getting it running = is the answer. Before I read that, though, I did add the suggested = /usr/local/etc/hal/fdi/policy called 90-vboxguest.fdi file recommended = from here: = http://technologytales.com/2014/03/02/installing-freebsd-in-a-virtualbox-v= irtual-machine/ .=20 I don't know if maybe I have a problem with the guest additions install; = I don't see how this would produce the problem, but I do get the = following warnings in /var/log/messages: Dec 4 22:31:06 kernel: ACPI APIC Table: Dec 4 22:31:06 kernel: acpi0: on motherboard Dec 4 22:31:06 kernel: cd0: Removable CD-ROM SCSI = device Dec 4 22:31:06 kernel: ada0: ATA-6 device Dec 4 22:31:06 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 4 22:31:07 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 06:49:29 kernel: ACPI APIC Table: Dec 5 06:49:29 kernel: acpi0: on motherboard Dec 5 06:49:29 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 06:49:29 kernel: ada0: ATA-6 device Dec 5 06:49:29 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 06:49:31 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 07:27:14 kernel: ACPI APIC Table: Dec 5 07:27:14 kernel: acpi0: on motherboard Dec 5 07:27:14 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 07:27:14 kernel: ada0: ATA-6 device Dec 5 07:27:14 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 07:27:16 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 07:33:31 kernel: ACPI APIC Table: Dec 5 07:33:31 kernel: acpi0: on motherboard Dec 5 07:33:31 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 07:33:31 kernel: ada0: ATA-6 device Dec 5 07:33:31 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 07:33:33 root: /etc/rc: WARNING: failed to start vboxservice Dec 5 18:04:52 kernel: ACPI APIC Table: Dec 5 18:04:52 kernel: acpi0: on motherboard Dec 5 18:04:52 kernel: cd0: Removable CD-ROM SCSI = device Dec 5 18:04:52 kernel: ada0: ATA-6 device Dec 5 18:04:52 kernel: KLD vboxguest.ko: depends on kernel - not = available or version mismatch Dec 5 18:04:55 root: /etc/rc: WARNING: failed to start vboxservice After installing Enlightenment, I ran X -configure, and also added some = lines to xorg.conf in accordance with suggestions from the internet. My = current xorg.conf (I added both "AutoAddDevices" lines, and the entire = ServerFlags section): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "False" EndSection Section "ServerFlags" Option "AutoAddDevices" "False" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/share/fonts/misc/" FontPath "/usr/local/share/fonts/TTF/" FontPath "/usr/local/share/fonts/OTF/" FontPath "/usr/local/share/fonts/Type1/" FontPath "/usr/local/share/fonts/100dpi/" FontPath "/usr/local/share/fonts/75dpi/" EndSection Section "Module" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "vboxmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional Identifier "Card0" Driver "vboxvideo" 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 I am pretty sure that this is all that I have altered in the course of = working on this problem, but it is easy to lose track. It seems that I = have to somehow turn 'hotplugging' off, but I have not been able to find = out how to successfully do this, and I have no idea what to do next. I = would very much appreciate any insight on this problem.=20=