LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-27-2013, 07:51 PM   #16
turtleli
Member
 
Registered: Aug 2012
Location: UK
Distribution: Slackware 14.1
Posts: 135

Rep: Reputation: Disabled

I found a evdev bug report with someone having issues in qemu using the -usbdevice tablet option. I also notice in your xorg.0.log that you have a virtualbox usb tablet device loaded as well which shows similar characteristics to the qemu -usbdevice tablet option. I'm guessing that this could be the source of your problems.


Quote:
Originally Posted by ReaperX7 View Post
I'm wondering if there's a remote chance your system isn't looking for hald for some reason. It shouldn't, but...
No. HAL should not be installed. I don't use VirtualBox, but there's no reason to believe that it will suddenly make X use HAL. Programs do not mutate without valid reason.
 
1 members found this post helpful.
Old 09-28-2013, 11:19 PM   #17
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 188

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by turtleli View Post
Did you try this? What button events did you see (ignore all the mouse movement events)?
Sorry for overlooking this suggestion when you first made it. When I run xev, moving the mouse cursor over the box causes code to whiz by in the console. Likewise, when I right click, left click, click both left and right buttons at the same time, code registers in console. Clicking the mouse wheel shows that something is happening. But when I scroll, nothing happens.

Quote:
Originally Posted by ReaperX7 View Post
ZAxisMapping should setup the wheel mouse completely and set it properly for scrolling. As Turtleli suggested run xev and see what comes out in the output and logs.
See above for the output I saw when running xev.

Quote:
Do you by chance have package xf86-input-mouse installed? I know a lot of distributions ONLY supply the xf86-input-evdev package for udev purposes, and I think Patrick does still include some of the older drivers for maximum detection capabilities, but you should run and check pkgtool's list to be sure before we proceed any further.
pkgtool indicates that I have slackage installed called xf86-input-mouse-1.7.2-x86_64-1

Quote:
I'm also wondering because of how fickle VirtualBox is, I'm wondering if there's a remote chance your system isn't looking for hald for some reason. It shouldn't, but just in case you require it, here's the downloads for it:
64-bit version
hal-0.5.14-x86_64-3
32-bit version
hal-0.5.14-i486-3
and the hal-info
hal-info-20091130-noarch-1
You shouldn't need this package at all to be truthful, but as I stated VirtualBox tends to misbehave and often doesn't work right in any regards.
I held off on pursuing this suggestion as per turtleli on the next page confirming your claim that I shouldn’t need hal.

Quote:
Just curious but have you attempted to check your VirtualBox virtual machine of Slackware against another Virtual machine like qemu to see if one has problems the other does or doesn't?

As I stated before VirtualBox has been problematic as of late, so don't put too much stock in it being completely stable and useful, but we will see what we can do to help with the mouse problem.

To be completely honest, I think it's VirtualBox that has the problem and not Slackware.
I installed qemu on Ubuntu. It’s user friendly for users willing to pore over the documentation and get everything running with a CLI. I would like to do this, but there are so many other things on my agenda to ‘hack’ and learn from. Would trying another *nix iso in VirtualBox provide equivalently useful insight? I just tried elive topaz and the scroll wheel works perfectly automagically. Thinking there was a possibility that by interchanging the elive VM xorg.conf with the xorg.conf in my Slack14 VM might work. It didn’t, but at least we’ve ruled out that it’s a problem with VirtualBox.

Here is the elive xorg.conf for reference:

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us,ca"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"vboxmouse"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"Auto"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"vboxvideo"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection

Section     "Extensions"
   Option       "RANDR"     "enable"
   Option       "RENDER"    "enable"
   Option       "Composite" "enable"
EndSection

Section "dri"
        Mode 0666
EndSection
Thanks,turtleli and ReaperX7 for your continued patience and help.
 
Old 09-29-2013, 09:20 AM   #18
turtleli
Member
 
Registered: Aug 2012
Location: UK
Distribution: Slackware 14.1
Posts: 135

Rep: Reputation: Disabled
Are the VirtualBox guest additions installed? I've just installed Slackware64-14.0 as a VirtualBox guest and initially the mouse wheel would not work and the Xorg.0.log was very similar to yours. After installing the guest additions the mouse wheel works perfectly and the Xorg.0.log changes quite signficantly.

My Slackware64-14.0 VM does not use any xorg.conf files by the way.
 
1 members found this post helpful.
Old 09-29-2013, 05:51 PM   #19
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 188

Original Poster
Rep: Reputation: 30
@turtleli: I went to install these packages, including virtual box's dkms, guest additions and even guest-xll, from the Ubuntu repository but aptitude tells me they are already installed:

Code:
gnull@raring ~ $ sudo apt-get install virtualbox-guest-additions-iso virtualbox-guest-x11 virtualbox virtualbox-guest-dkms virtualbox-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-guest-additions-iso is already the newest version.
virtualbox is already the newest version.
virtualbox-dkms is already the newest version.
virtualbox-guest-dkms is already the newest version.
virtualbox-guest-x11 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
gnull@raring ~ $
 
Old 09-29-2013, 07:05 PM   #20
turtleli
Member
 
Registered: Aug 2012
Location: UK
Distribution: Slackware 14.1
Posts: 135

Rep: Reputation: Disabled
I mean install the guest additions in your Slackware14 guest, not in your host system.

When your Slackware14 VM is running, go to the VirtualBox VM menu, Devices->Install Guest Additions which will insert a CD into the virtual machine CD drive, mount the CD if it doesn't happen automatically (I think it happens automatically if you're running kde or xfce) and as root execute the VBoxLinuxAdditions.run which you'll find there.

If you're familiar with SlackBuilds then an alternative is to use the virtualbox-addons and virtualbox-kernel-addons Slackbuilds. If you're not familiar then I would suggest you use the above option instead.
 
1 members found this post helpful.
Old 09-30-2013, 03:17 PM   #21
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 188

Original Poster
Rep: Reputation: 30
Ah yes, that worked. I immediately chose the second point of attack. Afterall, I go way back with the SlackBuilds community on irc. I shared some good times with mwalling and rworkman, alienBOB and Gizzmo. SlackBuilds.org had scripts for creating virtualbox-addons and virtual-box-kernel-addons. Everything built and installed real snappy. After rebooting, the scroll wheel was working. And the irregular mouse tracking behaviour described by ReaperX7 went away too.

turtleli: I wholeheartedly appreciate all your detailed suggestions. Thank-you, my friend.

Last edited by Drone4four; 09-30-2013 at 03:19 PM.
 
Old 09-30-2013, 08:15 PM   #22
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,381
Blog Entries: 15

Rep: Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926Reputation: 926
Do be careful with VirtualBox however in any regards. The Additions drivers have been problematic in recent versions, so do take care with them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Link /dev/mouse -> /dev/ttyS0 undone at reboot. stf92 Slackware 4 12-07-2012 05:37 PM
Troubleshooting Keyboard and mouse in linux suboss87 Linux - Newbie 4 01-04-2012 05:45 AM
link to /dev/mouse changed on reboot rwcooper Slackware 2 07-04-2009 06:58 PM
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 02:09 PM
symbolic link: /dev/sound to /proc/asound/dev otterit Linux - General 3 08-08-2002 05:33 PM


All times are GMT -5. The time now is 08:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration