• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

PS/2 Mouse, no /dev node?

Zerker

New Member

Thanks: 1
Messages: 9

#1
Hello folks. I have a Retro PC (Intel 440BX-2, Pentium III-450, 192 MB ram) that I like to use for a bunch of different OSes and setups. It has a CF to IDE adaptor, so it's pretty easy to switch drives.

Recently, I installed FreeBSD onto one such drive and have configured things mostly how I want them, with the exception of my PS/2 mouse. Yes, this machine does have USB support, but since I'm also running MS-DOS on occasion, I'd like to be able to use the same mouse throughout.

I've enabled moused through /etc/rc.conf as follows:
Code:
hostname="Betelguese"
ifconfig_vr0="DHCP"
ifconfig_vr0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
moused_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
But no such luck in X11. I went to start investigating options I might need for moused only to discover I couldn't find a device node in /dev that corresponds to my PS/2 port, nor did I see anything in dmesg that mentioned it.

I'm attaching both a directory listing of my /dev folder and the output of dmesg for reference. I also searched the forums, handbook and FAQ without any luck.

Any suggestions?
 

Attachments

Zerker

New Member

Thanks: 1
Messages: 9

#3
Yes, I realize that moused creates that node, but it also needs an underlying hardware node to get the mouse data from at all (e.g. the PS/2 port or serial port for old mice). This is nominally specified by the -p parameter if autodetection fails, but I have no valid device to provide as this parameter. See the moused() manpage for more info on that. Per that manpage, PS/2 mice should be on /dev/psm0, but I don't have this device at all.

For the record, my X config is already pointing to /dev/sysmouse
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,692

#4
Some older machines require the PS/2 mouse to be connected when the machine is turned on. Plugging it in after the machine has booted will fail to detect it.
 

Zerker

New Member

Thanks: 1
Messages: 9

#5
I'm aware of that, and that's not the issue. The mouse is always connected to the PC, and the POST screen even reports it as connected. Plus that would affect other operating systems than just BSD, which all are fine.

Guess it's time to dig into the Kernel source and see what I can uncover.
 

tobik@

Daemon
Developer

Thanks: 1,184
Messages: 1,775

#6
I'm aware of that, and that's not the issue. The mouse is always connected to the PC, and the POST screen even reports it as connected. Plus that would affect other operating systems than just BSD, which all are fine.

Guess it's time to dig into the Kernel source and see what I can uncover.
There are a couple of older bugs with patches that might be relevant. Maybe they'll help a little.

PR 165830, PR 161043
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,508
Messages: 25,692

#7
As this machine is 11.0-RELEASE, any chance you can update it to 11.1? The bug may already have been resolved. FreeBSD 11.0 will be EoL some time soon anyway.
 

Zerker

New Member

Thanks: 1
Messages: 9

#8
Whoops, didn't notice I was one minor version behind. I updated, but it didn't fix the problem. I refreshed the dev and dmesg listings in my original post to reflect the 11.1 install that is now on there.

tobik@, PR 161043 does sound like the exact issue. I don't see a fix, but it's not closed either. I see some diagnostic requests and other useful information mentioned in the discussion I can try to reproduce. I'll do a bit of poking, then create a Bugzilla account to respond there.