From owner-freebsd-usb@FreeBSD.ORG Mon Mar 14 18:55:35 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A95106566B for ; Mon, 14 Mar 2011 18:55:35 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id E0D578FC1D for ; Mon, 14 Mar 2011 18:55:34 +0000 (UTC) Received: by iyj12 with SMTP id 12so6213228iyj.13 for ; Mon, 14 Mar 2011 11:55:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=XQTZXAdbSEVyUEIFaLW3JeUxybF3phzFGruh0pzUXHo=; b=Eu7AoNT5XFefQdzAEU8bQwT37rUn5EHtzdDUW0sE/oW05mO0kFKOJzXVA6WyOHar0k U0cHsTui1c/zaKGvq7gUze6Ik1ovgTI74VmE0xtQaMAXPBhKQGXmV0KWZTmx59BHMNmC QL7hUo91vtcd1jKrRloaOMpTNMAkZ4h8VhqaM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Rf2f4MAd1++FNEhy7bbTkWaU1Kp1hWWgMPyNx6ZayhwMX4mTWA42v61Ab78tGE7q51 t0gYB4JS8ywnnYkcgu7HgcRXlTFu3IlT/ozy3BbYGxjYoSyNoDCgaOKTDHeF25vDatAG M8M9chOUwF8OuFJbVrCwWounfomd8TpDYwHig= MIME-Version: 1.0 Received: by 10.42.156.131 with SMTP id z3mr5081143icw.305.1300127054913; Mon, 14 Mar 2011 11:24:14 -0700 (PDT) Received: by 10.43.60.201 with HTTP; Mon, 14 Mar 2011 11:24:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 Mar 2011 11:24:14 -0700 Message-ID: From: Maksim Yevmenkin To: martinko Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org, freebsd-usb@freebsd.org Subject: Re: no modules / services needed for BT mouse support (?) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2011 18:55:35 -0000 2011/3/14 martinko : > Hallo, > > I had a Logitech bluetooth mouse connected via USB BT dongle. In the past I > used to load ng_ubt and bthidd and hcsecd to make the mouse work. The same > I did for a friend on old PC-BSD. But it appears that since moving to the > version 8.x we no longer need to load any of the above and the mouse works > out-of-box. Unfortunately it does not respond to wheel movement (pressing > it does generate middle click). are we talking about freebsd or pc-bsd here? i'm confused :) there were no changes in this area in freebsd. you still need to load ng_ubt(4) to recognize local bluetooth device (i.e. bluetooth dongle connected to your computer). usually its done via loader.conf, i.e. put something like ng_ubt_load="YES" into /boot/loader.conf. devd(8) will start/stop bluetooth stack as soon as it detects ng_ubt(4) device arrival/departure. bthidd(8), hcsecd(8) etc. are bluetooth service daemons, and, those needs to be started. usually one puts something like hcsecd_enable="YES" bthidd_enable="YES" into /etc/rc.conf to start bluetooth services. assuming all of the above is in place, and, mouse was paired previously, then it will work "out-of-the-box" > Now this all is a bit surprising for me. And I'm not sure which part of the > system is responsible for the behaviour -- kernel, USB stack, HAL, X11, .. ? ng_ubt(4) driver for usb bluetooth devices devd(8) responds to events and starts/stops bluetooth stack > Also, I'd like to know how to make wheel working again. can you please provide hid descriptor? thanks max