Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Apr 1996 19:39:21 -0500
From:      "Louis A. Mamakos" <louie@TransSys.COM>
To:        current@freebsd.org
Subject:   psm.c PS/2 mouse driver and devfs
Message-ID:  <199604070039.TAA15273@whizzo.transsys.com>

next in thread | raw e-mail | index | archive | help

I've noticed messages like this in syslog, and finally decided to go
looking for the cause:

Apr  1 17:15:03 whizzo /kernel: Device psm0: name slot allocation failed (E=17)
Apr  1 17:15:03 whizzo /kernel: Device npsm0: name slot allocation failed (E=17)

It seems that the code which calls devfs to instantiate the device
actually happens in the open routing of the driver, rather than the
attach.  So, if you start up another X session, the next time the
device is opened you'll get the messages above.

Hopefully there's nothing that's not obvious behind this; the mse.c
driver has the devfs invocation where you'd expect, in the attach
routine.  Further, with the current state of affairs, you'd never be
able to open the mouse using a devfs /dev since it's not there yet..

louie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604070039.TAA15273>