From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 14 01:50:16 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7EF316A417 for ; Wed, 14 Nov 2007 01:50:16 +0000 (UTC) (envelope-from girish1729@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA1A13C474 for ; Wed, 14 Nov 2007 01:50:16 +0000 (UTC) (envelope-from girish1729@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so16491rvb for ; Tue, 13 Nov 2007 17:50:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; bh=lnK7SWouIwBbRBUNLdmIqMdfh/IP1O+oqpWLhYUX9VA=; b=FnPpvyniBMuT7WpR2J0Co53qKyt+HWM3comxJDTvnAcKghURYBSgONZMRyyD1Ld6P8Bw49XObPCSWh78M5AflQt9BPYddBARhGTokcYk2tIaYWJwy0qolVny29iMpWLmyAPhq+jcmE3bi/aO6kVk5CPAOIpjT2CLp5uUMCzRbFU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; b=sKdUsVhelY6DauG6qlC+llrtwWzlcEuyRyTV/xPlgx364nouYrgvG5V71DTktAI2/DPQ10d95YZlHfghQ8Qy0ihytLve20aJnKDF0Q805egbUQTP1fsn9MKTqA41iWPX75Rn3dP8KRBrthfYM6IznBt2svJXjg71nzwKqjFy40w= Received: by 10.140.250.14 with SMTP id x14mr3179959rvh.1195003447626; Tue, 13 Nov 2007 17:24:07 -0800 (PST) Received: from saraswathy.susmita.org ( [59.92.50.233]) by mx.google.com with ESMTPS id l31sm123166rvb.2007.11.13.17.24.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2007 17:24:06 -0800 (PST) Received: by saraswathy.susmita.org (Postfix, from userid 1002) id 5C333143E7; Wed, 14 Nov 2007 06:53:58 +0530 (IST) Date: Wed, 14 Nov 2007 06:53:58 +0530 To: freebsd-hackers@freebsd.org Message-ID: <20071114012358.GA2700@saraswathy.susmita.org> Mail-Followup-To: freebsd-hackers@freebsd.org References: <1b4e25200711131141h6ef5fde5ub64d5e2660366a05@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1b4e25200711131141h6ef5fde5ub64d5e2660366a05@mail.gmail.com> User-Agent: Mutt/1.5.12-2006-07-14 From: Girish Venkatachalam Subject: Re: How to read events from usb keyboard/mouse X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 01:50:16 -0000 On 17:41:58 Nov 13, Mario Augusto Mania wrote: > Hi All > > I user linux to make a multiseat system, but, i wold like to user > freebsd to do it :). The problem is: how to read a evento from > individual usb keyboard/mouse? In linux, i use evdev driver in xorg > (or Xephyr modified), but, in FreeBSd? what i will use? I don't think xephyr/xnest would be the best way to do multiseat in linux. I much prefer alternative approaches. Anyway I don't have an answer to your question. :) There seem to be no equivalent of evdev on BSD. For good reason of course. I believe the only way out is to first demux the mouse and keyboard for each of the seats. If you spend a few days and hack the FreeBSD kernel you should be able to do it. Reading the sysmouse and vidcontrol man pages and source should get you started. I shall be interested in your findings.:) Thanks. regards, Girish