bd1c QEMU USB tablet under FreeBSD - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old July 27th, 2012, 13:38
LubosD LubosD is offline
Junior Member
 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default QEMU USB tablet under FreeBSD

Hello,

I run FreeBSD under QEMU, but can't seem to make the QEMU tablet device work (which has to be used instead of ordinary mouse for VNC support).

The device appears as /dev/uhid0, but that doesn't work if used as a mouse device in xorg.conf. It works out-of-box on Windows.

Code:
# usbhidctl -f /dev/uhid0 -a
Generic_Desktop:Pointer.Button:Button_1=0
Generic_Desktop:Pointer.Button:Button_2=0
Generic_Desktop:Pointer.Button:Button_3=0
Generic_Desktop:Pointer.Generic_Desktop:X=31178
Generic_Desktop:Pointer.Generic_Desktop:Y=2233
Generic_Desktop:Pointer.Generic_Desktop:Wheel=0
Any ideas?
Reply With Quote
  #2  
Old August 4th, 2012, 14:43
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I'm not certain this is appropriate in this case, but have you already enabled hald and/or dbus in /etc/rc.conf?

Code:
hald_enable="YES"
dbus_enable="YES"
Or alternatively disabled them in /etc/rc.conf and disabled AutoAddDevices in the ServerLayout section of xorg.conf?

Code:
Option       "AutoAddDevices" "Off"
It may also be worth taking a look at /usr/sbin/moused and its configuration options.

Good luck!
Reply With Quote
  #3  
Old August 4th, 2012, 15:11
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by Ogham View Post
I'm not certain this is appropriate in this case, but have you already enabled hald and/or dbus in /etc/rc.conf?

Code:
hald_enable="YES"
dbus_enable="YES"
Or alternatively disabled them in /etc/rc.conf and disabled AutoAddDevices in the ServerLayout section of xorg.conf?

Code:
Option       "AutoAddDevices" "Off"
Not quite. Turning off AutoAddDevices tells xorg-server to not use hald for input device detection. hald can still be running, and some desktops may require it. dbus is not involved with that, and can be useful on its own.
Reply With Quote
The Following User Says Thank You to wblock@ For This Useful Post:
Ogham (August 4th, 2012)
  #4  
Old August 4th, 2012, 15:19
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by LubosD View Post
I run FreeBSD under QEMU,
Why QEMU and not VirtualBox, which has a built-in VNC server?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 9 on qemu not work robbtek X.Org 5 January 19th, 2012 01:01
FreeBSD on tablet PC, what you think ? Cheech Mobile Computing 1 September 17th, 2011 15:55
freebsd and qemu Orioa Installation and Maintenance of FreeBSD Ports or Packages 1 April 9th, 2010 21:13
freebsd and qemu Orioa Installation and Maintenance of FreeBSD Ports or Packages 1 April 9th, 2010 17:47
QEMU on FreeBSD 7.x alie General 13 December 25th, 2008 12:42


All times are GMT +1. The time now is 03:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0