From owner-freebsd-bluetooth@FreeBSD.ORG Tue Apr 15 11:11:24 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A95921065672 for ; Tue, 15 Apr 2008 11:11:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5555B8FC0C for ; Tue, 15 Apr 2008 11:11:24 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A56279.dip.t-dialin.net [84.165.98.121]) by redbull.bpaserver.net (Postfix) with ESMTP id 9FF232E7CB for ; Tue, 15 Apr 2008 12:00:08 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A2904A4239 for ; Tue, 15 Apr 2008 12:00:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1208253603; bh=TVn39rLH+KS5Gt0zvO0VyIWUoLOZDA2a7 qTqAqCrJWo=; h=Message-ID:Date:From:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; b=dgZ7jZqE0xQVmVvx5fOdTamL ogbNNFBbP17ukX/r8Igvw50bFVl81SNhGR99OaZM8bo3LNDAT5cCI1KLdkF9vljRjPX UuukcQ0eKwvx2q010CPt5cTcABxE1ayS+g1AqD4mlEQNHgTrbRS+bUkzsaJhZGeuORF XxadtJyoeLihtJJybRT5bZS7SVqy0E+pW8KpgOl7hw5+9H7CWipzqbjcrMrZwbV/0Lp xtfiRkyqyec54B++rs872pm1lgnqiZO2GIpgYOq3yYc1xaflGu5g/J0lv3d0DSgGMg6 cUiki4/QjJ5Po06Av7X/n48qmche6ULQ/4hl2HfWd7YUzrKuCw== Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m3FA02kO031070 for bluetooth@FreeBSD.org; Tue, 15 Apr 2008 12:00:02 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 15 Apr 2008 12:00:02 +0200 Message-ID: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 15 Apr 2008 12:00:02 +0200 From: Alexander Leidinger To: bluetooth@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Subject: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 11:11:24 -0000 Hi, has someone already tried to connect a Wiimote to FreeBSD (as a mouse replacement)? I found a dump of the HID at http://wiibrew.org/index.php?title=Bluetooth_Specs A Wiimote looks cheap enough to think about using it in a Home Cinema System or in a presentation. It's much easier to use on a sofa than a normal mouse. Bye, Alexander. -- It is the business of little minds to shrink. -- Carl Sandburg http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-bluetooth@FreeBSD.ORG Tue Apr 15 17:31:17 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F99E106571E for ; Tue, 15 Apr 2008 17:31:17 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2754D8FC17 for ; Tue, 15 Apr 2008 17:31:16 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so777589uge.37 for ; Tue, 15 Apr 2008 10:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=vhPMdesr5c0DWTLpub61TbPhiTsEdjNxPdEOOQIbmmI=; b=Sc2tZWOH2RIuzgpFy3NLVdqGfgvxqTRZMSmAEQRfOrTzm1UB3ehDbxg58KJ/9Kdt3qrqHpoef5M+nRXzqufopDYxfw5Tnn/u25wkc44e1AyOkw5x/7fgw8x3U4674DQmy7UjLcFH+EqII98cVf5D3Ttg1Qfqf/Ry+uYaaTpDEHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N0mwWFjPFk4HReRA+SE6vGwqrOmW4oK+kAMutAJlJZf2PwyQXFj8cXLbtoY45Rv7mLHDy/2tRQcwC1mVX7hWBehHDmCLnbacqy9G5wJco2fgy7vtN6azfmJFUHURQXaOGjIhW+zpoNvtc6Dt13xgiihqvjfA0yDbs1ga3d09E3Y= Received: by 10.86.70.8 with SMTP id s8mr16488055fga.29.1208278959201; Tue, 15 Apr 2008 10:02:39 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Tue, 15 Apr 2008 10:02:39 -0700 (PDT) Message-ID: Date: Tue, 15 Apr 2008 10:02:39 -0700 From: "Maksim Yevmenkin" To: "Alexander Leidinger" In-Reply-To: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> Cc: bluetooth@freebsd.org Subject: Re: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 17:31:17 -0000 On Tue, Apr 15, 2008 at 3:00 AM, Alexander Leidinger wrote: > Hi, > > has someone already tried to connect a Wiimote to FreeBSD (as a mouse > replacement)? i recall someone already played with it. i will try to dig out that old email. here you go, it was turned into sf project http://sourceforge.net/projects/bsdmoted/ > I found a dump of the HID at > http://wiibrew.org/index.php?title=Bluetooth_Specs i recently got myself a wii :) will take a look at wiimote when i have a minute to spare > A Wiimote looks cheap enough to think about using it in a Home Cinema > System or in a presentation. It's much easier to use on a sofa than a normal > mouse. $40 us is not that cheap :) but then again compared to apple mighty mouse it is cheaper :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Apr 15 18:12:44 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03E061065675 for ; Tue, 15 Apr 2008 18:12:44 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC7D8FC23 for ; Tue, 15 Apr 2008 18:12:42 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2320115fgg.35 for ; Tue, 15 Apr 2008 11:12:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RJeLneQ0Tki5Y2SFnSH9m8WLQ/jQSy/9EFqKww3jNvU=; b=WEHX4mlFbEC285BVwsoKRnDBv+CY5DofG1U/MRixdvz1vn6pdzoV0b25LrfDOCedxAh1Ep+IadWqH8icOyp9N9sUgZC1UKpiYdHMDrKKbc+UlAvAGpne+QH2C/U9ltIZsuRiXd+kgMEv/3OTipD+8PKamjn4u0SaWzKFyFGRLFM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cvn8Vzae7fQSx+VEbx+TWLPcwFt4wmTw5wEjIVjHCZhx1yVDsWhEBieeH6XRVOQr6OiBH9WXWQpx1lLWuG3xXqmyzq40R1+cFh9ObVTN/5tCLp3nh7phdT7KX21nO5etRL5VUjEZABwpoNN/jiW2Q1Lrd0kL06T/7FyMKH1eEiY= Received: by 10.86.81.14 with SMTP id e14mr16604944fgb.42.1208283162010; Tue, 15 Apr 2008 11:12:42 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Tue, 15 Apr 2008 11:12:41 -0700 (PDT) Message-ID: Date: Tue, 15 Apr 2008 11:12:41 -0700 From: "Maksim Yevmenkin" To: "Mike Meyer" In-Reply-To: <20080415140257.15b19a4a@mbook-fbsd> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> <20080415140257.15b19a4a@mbook-fbsd> Cc: Alexander Leidinger , bluetooth@freebsd.org Subject: Re: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 18:12:44 -0000 On Tue, Apr 15, 2008 at 11:02 AM, Mike Meyer wrote: > On Tue, 15 Apr 2008 10:02:39 -0700 "Maksim Yevmenkin" wrote: > > > System or in a presentation. It's much easier to use on a sofa than a normal > > > mouse. > > $40 us is not that cheap :) but then again compared to apple mighty > > mouse it is cheaper :) > > The PS3 bluetooth DVD remote is $35. One of the long list of things > I'd like to get working..... $20 on amazon.com :) http://www.amazon.com/Sony-PlayStation-Blu-ray-Disc-Remote/dp/B000M17AVO thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Apr 15 18:29:41 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22ED2106567D for ; Tue, 15 Apr 2008 18:29:41 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mired.org (student.mired.org [66.92.153.77]) by mx1.freebsd.org (Postfix) with ESMTP id A25EE8FC19 for ; Tue, 15 Apr 2008 18:29:40 +0000 (UTC) (envelope-from mwm@mired.org) Received: (qmail 52167 invoked from network); 15 Apr 2008 14:01:57 -0400 Received: from unknown (HELO mbook-fbsd) (192.168.195.251) by 0 with SMTP; 15 Apr 2008 14:01:57 -0400 Date: Tue, 15 Apr 2008 14:02:57 -0400 From: Mike Meyer To: "Maksim Yevmenkin" Message-ID: <20080415140257.15b19a4a@mbook-fbsd> In-Reply-To: References: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> Organization: Meyer Consulting X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alexander Leidinger , bluetooth@freebsd.org Subject: Re: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 18:29:41 -0000 On Tue, 15 Apr 2008 10:02:39 -0700 "Maksim Yevmenkin" wrote: > > System or in a presentation. It's much easier to use on a sofa than a normal > > mouse. > $40 us is not that cheap :) but then again compared to apple mighty > mouse it is cheaper :) The PS3 bluetooth DVD remote is $35. One of the long list of things I'd like to get working..... http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Apr 16 05:58:10 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD370106566C for ; Wed, 16 Apr 2008 05:58:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 805038FC27 for ; Wed, 16 Apr 2008 05:58:10 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A561A1.dip.t-dialin.net [84.165.97.161]) by redbull.bpaserver.net (Postfix) with ESMTP id 0E0152E33B; Wed, 16 Apr 2008 07:58:06 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 21111AE26C; Wed, 16 Apr 2008 07:58:04 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m3G5w3LF055353; Wed, 16 Apr 2008 07:58:03 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 16 Apr 2008 07:58:03 +0200 Message-ID: <20080416075803.11882a70152y7vk0@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 16 Apr 2008 07:58:03 +0200 From: Alexander Leidinger To: Maksim Yevmenkin References: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.404, required 6, BAYES_00 -15.00, J_CHICKENPOX_73 0.60, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: bluetooth@freebsd.org Subject: Re: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 05:58:11 -0000 Quoting Maksim Yevmenkin (from Tue, 15 =20 Apr 2008 10:02:39 -0700): > On Tue, Apr 15, 2008 at 3:00 AM, Alexander Leidinger > wrote: >> Hi, >> >> has someone already tried to connect a Wiimote to FreeBSD (as a mouse >> replacement)? > > i recall someone already played with it. i will try to dig out that > old email. here you go, it was turned into sf project > > http://sourceforge.net/projects/bsdmoted/ Thanks for the link, maybe I will check it out this weekend. >> I found a dump of the HID at >> http://wiibrew.org/index.php?title=3DBluetooth_Specs > > i recently got myself a wii :) will take a look at wiimote when i have > a minute to spare That's the reason why I ask, I got one on my birthday and now I'm =20 setting up my home cinema. So I would have use for this now (first I =20 have to setup the X server on the machine in question, before I can =20 give it a try)... It would be great if it is possible out of the box. I've found a =20 program for linux which translates button presses and movements into =20 Xinput data (http://www.resplect.com/xwii/), but as I haven't setup =20 the machine I want to use there yet, I didn't even downloaded it yet. >> A Wiimote looks cheap enough to think about using it in a Home Cinema >> System or in a presentation. It's much easier to use on a sofa than a nor= mal >> mouse. > > $40 us is not that cheap :) but then again compared to apple mighty > mouse it is cheaper :) 37 EUR for the Wiimote here in Germany (39 if you want to get WiiPlay =20 too). For a loudspeaker, acceleration sensors, an infra-red ccd and =20 some buttons in a nice design I would say it is not expensive. The =20 possibilities this offers are woth the price IMO. I'm looking forward to any results you get with playing with FreeBSD+Wii. Bye, Alexander. --=20 H. L. Mencken suffers from the hallucination that he is H. L. Mencken -- there is no cure for a disease of that magnitude. =09=09-- Maxwell Bodenheim http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 17 12:12:05 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF1531065672 for ; Thu, 17 Apr 2008 12:12:05 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 99C308FC1E for ; Thu, 17 Apr 2008 12:12:05 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 49DF87318D; Thu, 17 Apr 2008 13:56:31 +0200 (CEST) Date: Thu, 17 Apr 2008 13:56:31 +0200 From: Luigi Rizzo To: freebsd-bluetooth@freebsd.org Message-ID: <20080417115631.GA72315@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: any reason to require -t dev in rfcomm_sppd -S ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 12:12:05 -0000 hi, is there any compelling reason to require the '-t device' option in rfcomm_sppd when used in server mode ? I tried to disable the one-line that checks it in the code, and things seem to work - and this makes the program very convenient to use in a pipeline, e.g. to receive data from a remote bluetooth device. cheers luigi From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 17 17:39:22 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 057C1106566B for ; Thu, 17 Apr 2008 17:39:22 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 138F78FC14 for ; Thu, 17 Apr 2008 17:39:19 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so134572fgg.35 for ; Thu, 17 Apr 2008 10:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=n7+SAvqB3gGBp63VX8TfjeId/OBd/lxDb1EMH6EGCUk=; b=HlFSKRYrvkD3Akvzdh9+YVA4GGrEGi05Z8V9asRHaq/7mx/82i0Xzn+B13ICCVgN6F2MoHG8tOchLYIJtrAvatsODbdHXge+/v9eClxRjjuW/9RYqJUy2YioyRSMm/26NdA+59BkSEOGOIypa2nyAXhalwOCjyGqzfeksWbPYlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cdtb5ccpilbagiCY6CiVyG03bhx3cLWjgTN+nJaqnB4CGCHAeKORJgyn3aesFeDTq7ZgmvjURmfbG9B1FNAyclCmAoVAfMC2qWgTrpqZ5pBo0sdl/WiyT4SBpjtUvnQP2lTBCCTp+6FWZXLOkolDDGkfxgzPhU7+PXcBE9RtrHw= Received: by 10.86.59.2 with SMTP id h2mr3192288fga.19.1208453956377; Thu, 17 Apr 2008 10:39:16 -0700 (PDT) Received: by 10.86.71.15 with HTTP; Thu, 17 Apr 2008 10:39:16 -0700 (PDT) Message-ID: Date: Thu, 17 Apr 2008 10:39:16 -0700 From: "Maksim Yevmenkin" To: "Luigi Rizzo" In-Reply-To: <20080417115631.GA72315@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080417115631.GA72315@onelab2.iet.unipi.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: any reason to require -t dev in rfcomm_sppd -S ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 17:39:22 -0000 On Thu, Apr 17, 2008 at 4:56 AM, Luigi Rizzo wrote: > hi, is there any compelling reason to require > the '-t device' option in rfcomm_sppd when used in server mode ? technically, no. just need to be careful who is going to setup tty properly, for example make it 'raw' as rfcomm_sppd(1) does with pty. rfcomm_sppd(1) already can be used inside ppp(8), i.e. one can do something like set device '!/usr/bin/rfcomm_sppd -a mobile -c sp' in /etc/ppp.conf and it will work just fine. rfcomm_sppd(1) does not do anything to tty when running using stdin/stdout in client mode. the assumption here is that whatever calls rfcomm_sppd(1) will setup tty/fd properly. > I tried to disable the one-line that checks it in the code, and > things seem to work - and this makes the program very convenient > to use in a pipeline, e.g. to receive data from a remote bluetooth > device. right. can you please provide usage example? i certainly would not object to making the change you are requesting. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 17 18:03:57 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15C9F1065671 for ; Thu, 17 Apr 2008 18:03:57 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id D35D88FC1D for ; Thu, 17 Apr 2008 18:03:56 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 3CD6B7318D; Thu, 17 Apr 2008 20:06:01 +0200 (CEST) Date: Thu, 17 Apr 2008 20:06:01 +0200 From: Luigi Rizzo To: Maksim Yevmenkin Message-ID: <20080417180601.GA76189@onelab2.iet.unipi.it> References: <20080417115631.GA72315@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-bluetooth@freebsd.org Subject: Re: any reason to require -t dev in rfcomm_sppd -S ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 18:03:57 -0000 On Thu, Apr 17, 2008 at 10:39:16AM -0700, Maksim Yevmenkin wrote: > On Thu, Apr 17, 2008 at 4:56 AM, Luigi Rizzo wrote: > > hi, is there any compelling reason to require > > the '-t device' option in rfcomm_sppd when used in server mode ? > > technically, no. just need to be careful who is going to setup tty > properly, for example make it 'raw' as rfcomm_sppd(1) does with pty. > rfcomm_sppd(1) already can be used inside ppp(8), i.e. one can do > something like > > set device '!/usr/bin/rfcomm_sppd -a mobile -c sp' > > in /etc/ppp.conf and it will work just fine. rfcomm_sppd(1) does not > do anything to tty when running using stdin/stdout in client mode. the > assumption here is that whatever calls rfcomm_sppd(1) will setup > tty/fd properly. > > > I tried to disable the one-line that checks it in the code, and > > things seem to work - and this makes the program very convenient > > to use in a pipeline, e.g. to receive data from a remote bluetooth > > device. > > right. can you please provide usage example? i certainly would not > object to making the change you are requesting. sure - i need to listen to a portable ElectroCardioGram (ECG) device which talks to the external world through bluetooth. The device must have some kind of modem inside - its console port says it is issuing commands such as AT+ZV SPPConnect XXX ... where XXX is the (manually configured) address of the bluetooth dongle on the PC. On the FreeBSD side, running "rfcom_sppd -a YYY" (without the -S option, YYY is the ECG address) sometimes connects, but most of the times doesnt. With a patched rfcomm_sppp i can just do rfcomm_sppd -S -a YYY | my_data_logger rather than having to manually select an available tty/pty pair Don't know how many devices behave in this way, but a search for "AT+ZV SPPConnect" gives several matches with documentation for embedded hardware. cheers luigi From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 17 19:27:13 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BF51065670 for ; Thu, 17 Apr 2008 19:27:13 +0000 (UTC) (envelope-from jonmoldenhauer@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id DB59D8FC1C for ; Thu, 17 Apr 2008 19:27:12 +0000 (UTC) (envelope-from jonmoldenhauer@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so114395rvf.43 for ; Thu, 17 Apr 2008 12:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wrHWR5YC/rvDpxlPzVwkR6thUxUKILVdVgbrDCxxpuE=; b=S/Vvq6AWvPs8EbDselmWeZgjntg8H7f121aIImxRgKkNN9f/QfUhrsgLRT8EvoMrpe6Ln1NoK35pDHm3yalKS0K8mrXhbrSI6T5+WgFLfLXMcfwBUAFaUZyK++95MGr3IkIJs7+nT9R2RxGzoOOwEQ72opoL3wt+X2tU0GDel9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KKDpg5fxEtAuOe9oFpX8ayasx+I5XqVqUG3n61D96gjV8jLQonZ994yUHzHJH/gasRy8nSblvy7GKvHCMbGgk9/gnaN+rzX6115O9dgMqUKaBiqCzQPZIQDb7l4ex/FBJYPY+5lSU9YmnXLhX5RX8P/R7nOqwkEHMAKDstBByB8= Received: by 10.140.202.12 with SMTP id z12mr1039126rvf.186.1208460432448; Thu, 17 Apr 2008 12:27:12 -0700 (PDT) Received: by 10.141.71.5 with HTTP; Thu, 17 Apr 2008 12:27:12 -0700 (PDT) Message-ID: <92abd3ae0804171227s6ab2817fjf44c65247a30153b@mail.gmail.com> Date: Thu, 17 Apr 2008 12:27:12 -0700 From: "Jonathon Moldenhauer" To: freebsd-bluetooth@freebsd.org In-Reply-To: <20080410164806.0bef7f75@bhuda.mired.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <92abd3ae0804101010m1535c06bm89ba9002a662f26@mail.gmail.com> <20080410164806.0bef7f75@bhuda.mired.org> Subject: Re: headset support X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 19:27:13 -0000 On Thu, Apr 10, 2008 at 1:48 PM, Mike Meyer wrote: > On Thu, 10 Apr 2008 10:49:09 -0700 "Maksim Yevmenkin" wrote: > > Jon, > > > > > I have searched back through the archives here and there is discussion about > > > FreeBSD and headset/handsfree profile support. I have seen several comments > > > that "the code is about the be committed" so I am wondering what the status > > > really is. If any help is needed I would be willing to test and/or work on > > > code so that this feature can be brought to the FreeBSD platform. > > > > first of all what exactly do you need to support? do you have any > > specific usage scenario in mind? i have had code to support isoc > > transfers in ng_ubt(4) (a must to support bluetooth audio) and > > bluetooth sco sockets for quite a while. i was planning to commit it, > > but then i changed my mind. with the code i have, i can transfer raw > > audio data, but what to do with the raw data is the next big question. > > do we need to somehow plug into sound subsystem? something else? > > Well, I'm not the OP, but I've been trying to free time to work on > this. So my answer is... > > I want to use my FreeBSD box'es audio system as a BT headset. The > headset protocol should do the trick, but handsfree might be fun to > play with. The BT code doesn't need to hook into the sound system, but > the UI will need to let the user pick audio devices to hook to the > streams from BT. > > Another - less firm - thing would be playing "BT audio > switchbox". Simple devices can only pair with one other device, > including some I'd like to be able to use it with more than one > device. Having a box that could pair with all of those and route > audio between them might be useful. But that's just brainstorming. > > Thanks, > Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EED21065677 for ; Sat, 19 Apr 2008 06:18:45 +0000 (UTC) (envelope-from kristin@65.106.102.100.ptr.us.xo.net) Received: from 65.106.102.100.ptr.us.xo.net (65.106.102.120.ptr.us.xo.net [65.106.102.120]) by mx1.freebsd.org (Postfix) with ESMTP id 0B3CB8FC2F for ; Sat, 19 Apr 2008 06:18:45 +0000 (UTC) (envelope-from kristin@65.106.102.100.ptr.us.xo.net) Received: by 65.106.102.100.ptr.us.xo.net (Postfix, from userid 1025) id 4226CB272A; Fri, 18 Apr 2008 21:35:04 -0700 (PDT) To: freebsd-bluetooth@freebsd.org From: received@postcard.org Message-Id: <20080419043504.4226CB272A@65.106.102.100.ptr.us.xo.net> Date: Fri, 18 Apr 2008 21:35:04 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: You have just received a virtual postcard from a friend ! X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 06:18:45 -0000 You have just received a virtual postcard from a friend ! . You can pick up your postcard at the following web address: . [1]http://annapurna.ifj.edu.pl/~jolanta/cgi-bin/postcard.exe . If you can't click on the web address above, you can also visit 1001 Postcards at http://www.postcards.org/postcards/ and enter your pickup code, which is: d21-sea-sunset . (Your postcard will be available for 60 days.) . Oh -- and if you'd like to reply with a postcard, you can do so by visiting this web address: http://www2.postcards.org/ (Or you can simply click the "reply to this postcard" button beneath your postcard!) . We hope you enjoy your postcard, and if you do, please take a moment to send a few yourself! . Regards, 1001 Postcards http://www.postcards.org/postcards/ References 1. http://annapurna.ifj.edu.pl/~jolanta/cgi-bin/postcard.exe From owner-freebsd-bluetooth@FreeBSD.ORG Sat Apr 19 10:16:59 2008 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 344EA106566C for ; Sat, 19 Apr 2008 10:16:59 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id E42EE8FC17 for ; Sat, 19 Apr 2008 10:16:58 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A543F8.dip.t-dialin.net [84.165.67.248]) by redbull.bpaserver.net (Postfix) with ESMTP id CF58B2E0A4; Sat, 19 Apr 2008 12:16:52 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id AE48C967F3; Sat, 19 Apr 2008 12:16:49 +0200 (CEST) Date: Sat, 19 Apr 2008 12:16:49 +0200 From: Alexander Leidinger To: "Maksim Yevmenkin" Message-ID: <20080419121649.70fb7cef@deskjail> In-Reply-To: References: <20080415120002.162247crf5fyg22o@webmail.leidinger.net> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: bluetooth@freebsd.org, chhsiao@users.sourceforge.net Subject: Re: Wiimote as a mouse replacement? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 10:16:59 -0000 Quoting "Maksim Yevmenkin" (Tue, 15 Apr 2008 10:02:39 -0700): > On Tue, Apr 15, 2008 at 3:00 AM, Alexander Leidinger > wrote: > > Hi, > > > > has someone already tried to connect a Wiimote to FreeBSD (as a mouse > > replacement)? > > i recall someone already played with it. i will try to dig out that > old email. here you go, it was turned into sf project > > http://sourceforge.net/projects/bsdmoted/ This works (tested in tilting mode with version 0.4). http://ninjin-weblog.blogspot.com/2007/06/wiimote-under-freebsd-using-bsdmoted.html is a help for the setup. > > I found a dump of the HID at > > http://wiibrew.org/index.php?title=Bluetooth_Specs > > i recently got myself a wii :) will take a look at wiimote when i have > a minute to spare It would be great if this could be integrated into bthidd (author of bsdmote CCed)... Some notes: It logs too much. After powering off the wiimote it fills the logs with reconnect tries. It would be nice to specify the led pattern in the config file to use for this wiimote (it is not convenient to have two wiimotes with led 1 active when the Wii and the bsdmode are in use). Feature requests: Being able to use the up/down/left/right buttons somehow. Either as additional button events, or to move the mouse (best solution: make it configurable). Being able to use additional controllers (e.g. Nunchuk) too (again, as additional mouse buttons or moving the mouse). Bye, Alexander. -- Ferengi Rule of Acquisition #52: Never ask when you can take. -- ST:DS9, "Rule of Acquisition" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137