The short story is that the mouse in Xorg no more works. It works but clicks are ignored.
The long story. As I said in another thread, I have 3 VM in VirtualBox: 1 32bit and 2 64bit. I also said that I will not upgrade ports for a while, but I changed my mind. KDE was updated, a lot of ports should be updated, I decided to upgrade the last installed VM with the latest KDE. I started the upgrading and I noticed that the new KDE version need Xorg to be compiled with WITH_NEW_XORG set to 'yes'. Ok, I was not so happy but that's it. I thought, one of the two 64bit VM is a test machine, so I try to upgrade both Xorg and KDE with that flag. If it works I will upgrade the other one too.
Reinstallation of Xorg with the WITH_NEW_XORG definition set to 'yes'. vboxvideo driver doesn't work. Black screen. Changed to vesa works, but not at full resolution, the error was related to AIGLX settings. I descided to recompile Xorg without AIGLX flag and finally Xorg starts and works normally, but vboxmouse doesn't works. Starting moused driver in rc.conf and creating /usr/local/etc/X11/xorg.conf it works (there are differences from vboxmouse and X mouse drivers, the first has the same settings of the VirtualBox host, the second has its own very different settings, so I'm sure it was /dev/sysmouse, also confirmed by Xorg log).
Well, it was not the same without the WITH_NEW_XORG definition set to 'yes', but I can live with it. Now I can upgrade the other 64bit VM. After two days (reinstalled all ports), I now have the new Xorg with latest KDE on the other 64bit VM, but no way to have mouse working. I started moused at boot, used the same xorg.conf file as before, only changed the X mouse driver from vboxmouse to mouse (startx with root user, i.e. TWM). The mouse move, but doesn't change shape (mouse pointer icon) hovering window captions, client and desktop and clicks are ignore. I changed X mouse driver before test vboxmouse, so changed. It seems to work, mouse icons change hovering objects, but click doesn't works. Also vboxvideo works.
I saw with kldstat in the first VM the new entry drm.ko, I run kldstat on the second VM and I see it, plus uhid.ko. What's that? HID? Yes, HID. I try to unload it, twice, it doesn't unload, two kernel messages appeared in ttyv0
Tablet? Looking into
and there exists an
P.S. I have xorg.conf file to specify fotnt and keyboard layout/settings, Xorg was compiled without HAL, the full xorg.conf of the second VM is
The long story. As I said in another thread, I have 3 VM in VirtualBox: 1 32bit and 2 64bit. I also said that I will not upgrade ports for a while, but I changed my mind. KDE was updated, a lot of ports should be updated, I decided to upgrade the last installed VM with the latest KDE. I started the upgrading and I noticed that the new KDE version need Xorg to be compiled with WITH_NEW_XORG set to 'yes'. Ok, I was not so happy but that's it. I thought, one of the two 64bit VM is a test machine, so I try to upgrade both Xorg and KDE with that flag. If it works I will upgrade the other one too.
Reinstallation of Xorg with the WITH_NEW_XORG definition set to 'yes'. vboxvideo driver doesn't work. Black screen. Changed to vesa works, but not at full resolution, the error was related to AIGLX settings. I descided to recompile Xorg without AIGLX flag and finally Xorg starts and works normally, but vboxmouse doesn't works. Starting moused driver in rc.conf and creating /usr/local/etc/X11/xorg.conf it works (there are differences from vboxmouse and X mouse drivers, the first has the same settings of the VirtualBox host, the second has its own very different settings, so I'm sure it was /dev/sysmouse, also confirmed by Xorg log).
Well, it was not the same without the WITH_NEW_XORG definition set to 'yes', but I can live with it. Now I can upgrade the other 64bit VM. After two days (reinstalled all ports), I now have the new Xorg with latest KDE on the other 64bit VM, but no way to have mouse working. I started moused at boot, used the same xorg.conf file as before, only changed the X mouse driver from vboxmouse to mouse (startx with root user, i.e. TWM). The mouse move, but doesn't change shape (mouse pointer icon) hovering window captions, client and desktop and clicks are ignore. I changed X mouse driver before test vboxmouse, so changed. It seems to work, mouse icons change hovering objects, but click doesn't works. Also vboxvideo works.
I saw with kldstat in the first VM the new entry drm.ko, I run kldstat on the second VM and I see it, plus uhid.ko. What's that? HID? Yes, HID. I try to unload it, twice, it doesn't unload, two kernel messages appeared in ttyv0
Code:
uhid0: <VirtualBox USB Tablet, class 0/0, rev 1.10/1.00, addr 2> on usbus0
uhid0: <VirtualBox USB Tablet, class 0/0, rev 1.10/1.00, addr 2> on usbus0
Tablet? Looking into
dmesg -a
result I see
Code:
uhid0: <VirtualBox USB Tablet, class 0/0, rev 1.10/1.00, addr 2> on usbus0
and there exists an
/dev/uhid0
device. The VirtualBox settings on host are the same, The first update VM (the test machine) has FreeBSD 10.0-RELEASE, installed from FreeBSD 10.0-RELEASE, the second one also has FreeBSD 10.0-RELEASE but upgraded from 9.2-RELEASE. I use FreeBSD from relatively long time but I'm still too dumb. What can I do?P.S. I have xorg.conf file to specify fotnt and keyboard layout/settings, Xorg was compiled without HAL, the full xorg.conf of the second VM is
Code:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "Off"
Option "AutoEnableDevices" "Off"
Option "AllowEmptyInput" "Off"
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/freethread/"
FontPath "/usr/local/lib/X11/fonts/webfonts/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "dri"
Load "dri2"
Load "glx"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "numpad:microsoft"
EndSection
Section "InputDevice"
Identifier "Mouse0"
#Driver "mouse"
Driver "vboxmouse"
#Option "Protocol" "auto"
#Option "Device" "/dev/sysmouse"
#Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
#VendorName "Acer"
#ModelName "S220 HQL"
#VertRefresh 10-100
#HorizSync 10-100
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "vboxvideo"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox Graphics Adapter"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
#DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
#Modes "1920x1080" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
#Modes "1920x1080" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
#Modes "1920x1080" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
#Modes "1920x1080" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
#Modes "1920x1080" "1280x1024"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
#Modes "1920x1080" "1280x1024"
EndSubSection
EndSection