I'm virtualizing a FreeBsd 13.0-2 machine on Ubuntu 22.04.2 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86_64) under WSL2 the base operating system is Win 11. I use virt-manager and everything runs fine until I try to upload a Window Manager, the mouse doesn't work in any (CDE, Motif) not even in TWM which is Xorg's default. The mouse appears on the screen but the buttons don't click, does anyone have any idea what happens? I already configured xorg.conf to recognize the mouse. Can you help me? Thanks
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
My name is Hanem, an independent advisor, and I'm here to help you.
I'm sorry that you are experiencing this issue, and I will try my best to assist you.
Check the settings in your virtual machine: Make sure that the mouse is properly connected
verify that the mouse is properly configured in FreeBSD. You can check this by running the command "cat /dev/sysmouse" in a terminal.
erify that the Xorg configuration file is properly configured to recognize the mouse. You can check this by looking at the "/etc/X11/xorg.conf" file.
Try a different mouse: If you have access to another mouse, try using it to see if the issue persists.
https://github.com/sickcodes/Docker-OSX/issues/218
If you continue to experience problems with your mouse, please let me know .
_________________________________________________
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
the system loops and returns no value.
Even so, I tried to replace the "mouse" with "sysmouse" in the configuration file
of mouse0 and the "Device" "/dev/mouse" with "Device" "/dev/sysmouse"
and when I executed startx I received the following error message :
"/dev/sysmouse" is not a valid keyword in this section ..fatal error
I changed the mouse and it still didn't work... when I startx the TWM appears
and the mouse appears and moves on the screen but it doesn't click...
another frozen mouse appears that doesn't move.
And the mouse is configured in virt-manager.
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
This could be due to an issue with the mouse driver or a problem with the configuration of the mouse device.
1. Verify that the mouse device is properly configured in the FreeBSD virtual machine by running the command "ls /dev" and checking if there is a device file named "sysmouse". If it is not present, you can try creating it by running the command "moused -p /dev/psm0 -t auto".
2. Check the kernel messages to see if there are any errors related to the mouse device. You can do this by running the command "dmesg | grep -i mouse". If there are any errors, it could indicate a problem with the mouse driver.
3. Verify that the mouse driver is loaded by running the command "kldstat | grep -i mouse". If the driver is not loaded, you can try loading it manually by running the command "kldload mouse".
4. Check if there are any conflicts with other devices by running the command "pciconf -lv". This will display information about the PCI devices in the system, including any conflicts.
5. Try updating the kernel and drivers to the latest version to ensure that you have the latest bug fixes and improvements.
I hope this help you.
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
I haven't solved the problem yet, but it's been a great learning experience. I want to see if I can access the FreeBSD boot messages and see if anything is going wrong.
1-) ls /dev
yes we have sysmouse
2-) dmesg | grep -i mouse
psm0: <PS/2 Mouse> irq 12 on atkbdc 0 psm0: model Intellimouse Explorer, Device ID 4 , looks ok
3-) kldstat | grep -i mouse, returns no value
kslload mouse: can´t load mouse: no such file or directory
4-) pciconf -lv attached
Kernel and drivers are up to date
It looks like the mouse was loaded on boot...
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Based on the output you provided, it seems like your mouse is detected and loaded correctly by the kernel
However, it's possible that there could be more information in the boot messages that could help diagnose the issue.
Reboot your system and wait for it to boot up.
At the bootloader prompt, press the spacebar to pause the boot process.
3. Type 'boot -v' to start the boot
4.Press Enter to start the boot process.
If you're still having trouble after reviewing the boot messages, you may want to try a different mouse to see if the issue is specific to the current mouse you're using.
let me know if you have further questions.
Nada N.
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Apparently there is nothing wrong with loading psm0 on boot. However, see the final message of Xorg.0.log, which all indicates that the mouse driver is loaded, but for some reason it is removed. I don't know why. I'm thinking that the problem is the virtualization that is causing some conflict because I already installed FreeBSD in real machines and never had problems with mouse recognition. I keep trying...
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
It worked!! I found the solution on this forum:
https://forums.freebsd.org/threads/qemu-kvm-freebsd-guest-running-x-and-a-working-mouse.82460/
1-)Add input device "EvTouch USB Graphics Tablet" in virt-manager.
2-) In the guest : pkg install utouch-kmod xf86-input-evdev
3-)edit /boot/loader.conf as instructed (this is output during the pkg install)
To load installed driver in to the kernel: "kldload /boot/modules/utouch.ko".
It may be necessary to unload conflicting uhid driver with "kldunload uhid" after
utouch.ko has been loaded.
To load driver automatically at boot time add utouch_load="YES" string
to /boot/loader.conf file.
Note: This driver is deprecated on FreeBSD 13+.
Please use hms(4) bundled with base system. It is disabled by default
and can be enabled with adding of following lines to /boot/loader.conf:
hw.usb.usbhid.enable=1
usbhid_load="YES"
reboot (guest)
About utouch FreeBSD driver:
https://github.com/wulf7/utouch
Thanks!
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another.
Any content of an adult theme or inappropriate to a community web site.
Any image, link, or discussion of nudity.
Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect.
Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software.
Unsolicited bulk mail or bulk advertising.
Any link to or advocacy of virus, spyware, malware, or phishing sites.
Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct.
Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.