From owner-freebsd-questions@FreeBSD.ORG Fri Jun 21 19:09:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A3205AC1 for ; Fri, 21 Jun 2013 19:09:51 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 4B4541095 for ; Fri, 21 Jun 2013 19:09:51 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id r5LJ9Dsd033639 for freebsd-questions@freebsd.org; Fri, 21 Jun 2013 14:09:13 -0500 (CDT) Date: Fri, 21 Jun 2013 14:09:13 -0500 (CDT) From: Robert Bonomi Message-Id: <201306211909.r5LJ9Dsd033639@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: mouse configuration question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2013 19:09:51 -0000 I have a ps/2 mouse attached to a HP mini-tower running FreeBSD 8.3, with a stripped-down kernel (no loadable modules). I've apparently removed something necessary for standard mouse functionality, but I have no clue as to -what- is missing. Gory details: 1) '/dev/psm0' exists and +is+ the mouse, 2) 'moused' detects the mouse: psm0 sysmouse Intellimouse 3) 'moused -d' properly reports mouse activity -- button press/release and mouse motion. 4) 'vidcontrol -m on' reports "inappropriate ioctl for device". 5) *NO* '/dev/sysmouse' device present. I'm building an ncurses-based app, and want to add mouse functionality. The ncurses mouse-related functions return 'total failure' status (value 0). I suspect that 5), above is the immediate issue, but can't find out 'who' is (ir-)responsible for creating that psuedo-device. Any/all pointers much appreciated.