FreeBSD 14: no usb mouse reddit / freebsd ---------------------------------------------------------------------- heliomedia · 2023-12-28 00:53 FreeBSD noob here. I just did a fresh install of FreeBSD 14 Release on an HP ZBook 15 G3. Installed KDE Plasma. OS and DE install was successful on first try. However, I can't seem to get the usb mouse to kick in. I get these messages spammed to my console. The the XY number gets incremented every few seconds. ugen0.2: at usbus0 (disconnected) ums0: at uhub0, port 5, addr 8 (disconnected) ums0: detached ums: on usbus0 ums: 3 buttons and [XYZ] coordinates ID=0 I've googled and tried a few different things. But it seems to load and unload nonetheless. Anyone have a useful hint? TIA ---------------------------------------------------------------------- iamthemoosewhoknocks · 2023-12-28 02:05 Okay, I'm mostly a newbie as well when it comes to FreeBSD, but I can of course still try and help! First, is "moused" enabled? If it's not or you're unsure, head to /etc/rc.conf and add the line "moused_enable=YES" if it's not there. It seems to remedy the issue for most users. If that doesn't work, it could be an issue with the USB port, USB controller, or your USB hub if you're using one of those. Here's some forum posts, too, with similar issues mentioned. [moused (man page)](https://man.freebsd.org/cgi/man.cgi?moused) [enable USB mouse](https://forums.freebsd.org/threads/enable-usb- mouse.33010/) [USB mouse is connected and disconnected](https://www.reddit.com/r/fre ebsd/comments/cf665d/usb_mouse_is_disconnected_and_connected_again/) ---------------------------------------------------------------------- heliomedia · 2023-12-28 02:28 Thanks @iamthemoosewhoknocks Yes, moused is indeed enabled. All the USB devices work fine under Windows 10 and PopOS Linux. So I am pretty sure it is either a driver or X11 related issue. Will post updates after I get a chance to dig further. Most likely day after tomorrow. Thanks again! ---------------------------------------------------------------------- grahamperrin · 2023-12-28 04:56 From the messages, I should assume a hardware issue. USB can be unpredictable, especially if there's an external hub. ZBook 17 G2 here. ---------------------------------------------------------------------- mirror176 · 2023-12-28 08:45 Confirmation of what you have tried and knowing if this is new hardware or just started being an issue after the install could be helpful and knowing what OS was on it before the install of 14 if it was known to be working previously. You could try a previous version, stable, or current though what was described sounds more like a hardware or firmware problem to me without knowing it has a stable working state. If it is wireless, try making sure mouse is charged or has fresh batteries. Wired mice may have a problem developing with the wiring which usually occurs where an end of the cable meets the mouse or connector but can happen elsewhere, specifically if pinched; holding everything else still, you can try flexing the wire gently (you don't want your testing to be what breaks it) in questionable areas which may cause it to fail and work as it happens. I've heard issues with USB3+wireless mice interfering with each other. You can try different ports in case any react differently; looking up that (likely more generic) model lead me to see left USB offers faster charging for devices so they are likely not all wired identical. I haven't had the issue yet to test with but a USB 2.0 hub may help with interference and USB ports can be forcibly downgraded to 2.0 'if' it was connecting as 3.0 by very slowly connecting it (spend several seconds pushing in the connector). Do you have access to another mouse to see if the issues happen with it too? Any other USB devices you could test too? Corruption may happen if a drive is mounted for writing so test read only in this case. Is the laptop BIOS updated? Does it happen both while the laptop is plugged into power and when on battery? Laptops are usually restrictive on BIOS/UEFI settings they give the user, but maybe there are USB related settings that could be helpful. ---------------------------------------------------------------------- Xzenor · 2023-12-28 08:55 Some criticism if I may. Please, create paragraphs. break up your texts with an empty line now and then. This wall of text is hard and tiring to read. Which is a shame as it's worth reading. ---------------------------------------------------------------------- mirror176 · 2023-12-28 08:59 Though so much of my response had concern for the one sentence paragraph breakup, I make the mistake on reddit a lot where it doesn't understand that enter=new paragraph and requires double enter; reformatted into a somewhat logical set of tests. Thank you for the criticism of what was posted before. ---------------------------------------------------------------------- Xzenor · 2023-12-28 09:16 Ah yes, the markdown styling. It's so automatic for me by now that I do it everywhere. Also where it's not necessary. I don't really understand the choice of needing 2 spaces at the end and an enter for it to be a new line. How would an enter be misinterpreted? Oh well, much more readable now! ---------------------------------------------------------------------- mirror176 · 2023-12-28 09:18 Enter alone does nothing. I use double enter presses to make newlines here and if space space enter works too i didn't know it. Ironically, I usually do enter space space so its a paragraph+indent but all of that translates to a single(?) space and no newline. ---------------------------------------------------------------------- mirror176 · 2023-12-28 10:17 I use real website on desktop, but usually as old.reddit.com. Its less bloated, more likely to autoexpand comments and allow me to expand more before redirecting me off to a different page to read them, and fancy pants editor is buggy in my experience causing me to lose tings I typed if attempting cut/paste actions. Real enters would be nice, but its a lot to give up just to fix one 'bug'. ---------------------------------------------------------------------- grahamperrin · 2023-12-28 11:22 > fancy pants editor is buggy True; ---------------------------------------------------------------------- Xzenor · 2023-12-28 11:26 >fancy pants editor is buggy Yes, that's definitely true.. it has been becoming less buggy over time though but it's still a long way from being perfect. But that's on regular reddit. I don't like old.reddit.com. I can't get used to it. ---------------------------------------------------------------------- heliomedia · 2023-12-28 14:10 First of all thanks to everyone who has chimed in. More details: 1. HP ZBook 15 G3 with Win10 installed on internal SSDs. Flawless machine for the last three years or so (bought used). 2. Boot regularly into PopOS on an external USB drive. 3. FreeBSD is also installed on a different external USB drive. Fresh install. 4. USB wired mouse and drive are plugged directly into the computer. No hubs or adaptors. 5. Tried a different mouse and different USB port. Same issues. 6. All USB devices work properly on other OSes. 7. BIOS was updated to latest about three months ago. 8. Things I have tried: 8a. `pkg install utouch-kmod xf86-input-evdev` 8b. `kldload /boot/modules/utouch.ko` 8c. Added the following to xorg.conf `Section "InputDevice"` `Identifier "Mouse1"` `Driver "mouse"` `Option "Protocol" "sysmouse"` `Option "Device" "/dev/sysmouse"` `Option "ZAxisMapping" "4 5 6 7"` `EndSection` 8d. Added the following to /etc/rc.conf: `kld_list="nvidia-modeset"` `dbus_enable="YES"` `hald_enable="YES"` `sddm_enable="YES"` `moused_enable="YES"` 9. FreeBSD 14 has all the latest updates as of last night (December 27) ---------------------------------------------------------------------- heliomedia · 2023-12-28 14:19 \*\*\*SOLVED\*\*\* In /etc/rc.conf: moused\_nondefault\_enable="NO" Commented this out and the mouse works. Thanks everyone. ---------------------------------------------------------------------- grahamperrin · 2023-12-28 16:14 > hald_enable="YES" Can I ask which guide you followed, for this? Thanks (HAL died *years* ago.) ---------------------------------------------------------------------- heliomedia · 2023-12-28 16:26 I saw it in a few places. My first attempt to install FreeBSD (last week) wouldn't load X11. So this week, for fun, I asked ChatGPT to outline the steps. Hald was in there. As mentioned earlier, the DE loaded on the first try. Hald was also here: https://forums.freebsd.org/threads/usb-mouse-not- working.64262/ Seeing it in the forums made it appear more legit. ---------------------------------------------------------------------- grahamperrin · 2023-12-28 16:45 Thanks. It's useful to know that ChatGPT is misleading potential users. [2001 is a distant memory. HAL is retired. : freebsd](https://old.redd it.com/r/freebsd/comments/ljjq4u/2001_is_a_distant_memory_hal_is_retir ed/)