From owner-freebsd-bluetooth@FreeBSD.ORG Sun Nov 11 19:00:12 2007 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 CF62C16A419; Sun, 11 Nov 2007 19:00:12 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.freebsd.org (Postfix) with ESMTP id 7494013C4B8; Sun, 11 Nov 2007 19:00:12 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (adsl-68-252-59-152.dsl.wotnoh.ameritech.net [68.252.59.152]) (authenticated bits=0) by mail.united-ware.com (8.13.8/8.13.8) with ESMTP id lABIiPTN086227 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Nov 2007 13:44:26 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-bluetooth@freebsd.org Date: Sun, 11 Nov 2007 13:43:26 -0500 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2659048.sWHVlJQpod"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711111343.40632.mistry.7@osu.edu> X-Virus-Scanned: ClamAV 0.91.2/4748/Sun Nov 11 07:33:34 2007 on mail.united-ware.com X-Virus-Status: Clean Cc: Nate Lawson Subject: Re: ubthidctl review 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: Sun, 11 Nov 2007 19:00:12 -0000 --nextPart2659048.sWHVlJQpod Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 10 November 2007, Rui Paulo wrote: > http://people.freebsd.org/~rpaulo/ubthidctl.diff Does it include the code for Logitech devices? http://am-productions.biz/docs/logitech-hid2hci.c =2D-=20 Anish Mistry --nextPart2659048.sWHVlJQpod Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHN01cxqA5ziudZT0RAh2DAKCaf4WHu/jSf2icidRIWUXbN/sjiwCgmbDb jQjU68pZoN7wFDntGg2e4TQ= =2sCX -----END PGP SIGNATURE----- --nextPart2659048.sWHVlJQpod-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 12 17:03:24 2007 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 C813616A417 for ; Mon, 12 Nov 2007 17:03:24 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp2.sbb.co.yu (smtp2.sbb.co.yu [82.117.194.22]) by mx1.freebsd.org (Postfix) with ESMTP id 0900913C491 for ; Mon, 12 Nov 2007 17:03:11 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net ([89.216.116.170]) by smtp2.sbb.co.yu (8.13.7/8.13.7) with ESMTP id lACH2dss023035 for ; Mon, 12 Nov 2007 18:02:39 +0100 Received: by faust.net (Postfix, from userid 1001) id 787FB1CC2F; Mon, 12 Nov 2007 18:02:37 +0100 (CET) Date: Mon, 12 Nov 2007 18:02:37 +0100 From: Zoran Kolic To: freebsd-bluetooth@freebsd.org Message-ID: <20071112170237.GA964@faust.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 2.4 X-SBB-Spam-Level: XXXXX Subject: correct steps to put data on the phone 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: Mon, 12 Nov 2007 17:03:24 -0000 Howdy! Must to confess that I'm impressed with bluetooth in connecting different sort of devices. Such a nice toy as usb dongle I had not for a long time. I might need some advice for putting files from desk- top box to nokia phone with memory card. I found that loading ng_ubt gives enough magic to load further usb part and all necessary netgraph modules. Dongle is gigabyte bt03d and is recognized by the module. After giving /etc/rc.bluetooth script 555 privs, I could start/stop the stack. Reading along manual, I learnt that hcsecd should handle pairing of dongle and the phone. Is it a necessary step for the task I have in mind? I suppose I need paired devices to even think about it. Is it enough to start usage of obexapp? And finally, should I find the channel to operate on? If I get it right, flag has to be "-C IrMC". Or FTRN? Manual says app will find the correct channel just giving it the protocol. Do I need something more than this: kldload ng_ubt input dongle /etc/rc.bluetooth start ubt0 hcsecd obexapp -a bluetooth_address -C IrMC If I missed something important, please let me know. Not to forget, firewall should be set to handle this interaction. I use ipfw as stateful. If desktop starts the session, it will go like a charm. If the phone has to query, I must know the port to connect to. Any advice about configuration for this service? Best regards Zoran From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 12 17:46:20 2007 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 A5AB616A4C2 for ; Mon, 12 Nov 2007 17:46:20 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id 5ABF713C4A8 for ; Mon, 12 Nov 2007 17:46:19 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1458169pyb for ; Mon, 12 Nov 2007 09:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=UIWOEAJaIcpl8WmRid/wF8GXkY+wgf+8bBDsJMucNJE=; b=WgI2CxAhYkngTggy22IlqW1YIzAoyl7Ela3ZkH+lM5sXcHp5PiwmzqLWhrGZJ7DRNwh6oQSq7vCrHK+1RABgK7GbXB9K5PHwtJ9eQdZjX3IajbxZ/aA9UwAg8u442wsK5OquSto9sWHo5pqW5ABI4znb7fR9VMuptgbcKDz2eME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Kt1RuziCz2P7MQsb7LVDTHX6rjeftvSjB/lkyCMCFARvPQT7/boKkaGIAoOSS82q1OhduOAPsFIP1/72UWEr0FDeKyMv8Vqo97iFC8lU2nSdR0Y+ZRYjXMNlNg9E3xKYdOsO5YitESjo6YE2YfNp7QBSt09YKbcoeSE92H59clQ= Received: by 10.35.70.17 with SMTP id x17mr6339575pyk.1194889569637; Mon, 12 Nov 2007 09:46:09 -0800 (PST) Received: by 10.35.76.2 with HTTP; Mon, 12 Nov 2007 09:46:09 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 17:46:09 +0000 From: "Rui Paulo" Sender: rpaulo@gmail.com To: "Anish Mistry" In-Reply-To: <200711111343.40632.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711111343.40632.mistry.7@osu.edu> X-Google-Sender-Auth: 10c4d5f2f6fc8870 Cc: freebsd-bluetooth@freebsd.org, Nate Lawson Subject: Re: ubthidctl review 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: Mon, 12 Nov 2007 17:46:20 -0000 On Nov 11, 2007 6:43 PM, Anish Mistry wrote: > On Saturday 10 November 2007, Rui Paulo wrote: > > http://people.freebsd.org/~rpaulo/ubthidctl.diff > Does it include the code for Logitech devices? > http://am-productions.biz/docs/logitech-hid2hci.c No. I plan to do that later. Or, if you want, you can do it yourself and send me a patch :-) Regards. -- Rui Paulo From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 13 06:52:27 2007 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 AA3D116A417 for ; Tue, 13 Nov 2007 06:52:27 +0000 (UTC) (envelope-from shashank.mishra@wipro.com) Received: from wip-cdctls-mx1.wipro.com (wip-cdctls-mx1.wipro.com [203.91.201.15]) by mx1.freebsd.org (Postfix) with ESMTP id E821B13C4B3 for ; Tue, 13 Nov 2007 06:52:26 +0000 (UTC) (envelope-from shashank.mishra@wipro.com) Received: from wip-cdctls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 9E3D53C42CD for ; Tue, 13 Nov 2007 11:56:34 +0530 (IST) Received: from chn-snr-bh2.wipro.com (chn-snr-bh2.wipro.com [10.145.50.92]) by wip-cdctls-mx1.wipro.com (Postfix) with ESMTP id 947873C42C6 for ; Tue, 13 Nov 2007 11:56:34 +0530 (IST) Received: from PNE-HJN-MBX01.wipro.com ([10.111.50.182]) by chn-snr-bh2.wipro.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 13 Nov 2007 11:55:16 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 13 Nov 2007 11:55:11 +0530 Message-ID: <380D9721A8E2114485644D71E87C6AB205105E80@PNE-HJN-MBX01.wipro.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Can't download phonebook via bluetooth using bluez and obexftp 0.20 Thread-Index: AcglvfF45fF37aTPQEiA3ZiGlT0oMw== From: To: X-OriginalArrivalTime: 13 Nov 2007 06:25:16.0098 (UTC) FILETIME=[F47DA220:01C825BD] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can't download phonebook via bluetooth using bluez and obexftp 0.20 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, 13 Nov 2007 06:52:27 -0000 =20 Hello, =20 I m trying to download phonebook contacts from mobile to PC(desktop) having bluez software installed in it.Using obexftp for the transfer. Now, the command i m using is=20 =20 obexftp -b -g Alex.vcf=20 =20 (channel number is of obex file transfer) =20 Alex is the contact i need to download. =20 The error which i getting is=20 Connecting...done=20 Receiving "Alex.vcf"... failed. Disconnecting...done I debugged the code and got that the obex_rsp which i m getting from openobex is hvg a value of 0x43 (i.e OBEX_RSP_FORBIDDEN).It should be having a value OBEX_RSP_SUCCESS (0x20). Please let me know if some settings have to be enabled or command has to be modified. The phones i used are Nokia 6600 and Sony ericsson K550i. The phonebook download is not happening with both phones. Kindly provide a solution to the above mentioned problem. =20 Thanks and Regards, Shashank =20 The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.=20 WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email. =20 www.wipro.com From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 13 10:51:19 2007 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 5762016A417 for ; Tue, 13 Nov 2007 10:51:19 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp01.one2one.net (smtp01.one2one.net [149.254.200.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1CCE913C4BA for ; Tue, 13 Nov 2007 10:51:18 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from [127.0.0.1] (helo=localhost) by smtpbarns01 with esmtp (Exim 4.50) id 1IrtNG-00054U-Ru; Tue, 13 Nov 2007 10:52:06 +0000 Received: from smtpbarns01 ([127.0.0.1]) by localhost (smtpbarns01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19481-01; Tue, 13 Nov 2007 10:52:06 +0000 (GMT) Received: from [10.34.170.70] (helo=Inbox) by smtpbarns01 with esmtp (Exim 4.50) id 1IrtNE-00054Q-Pb; Tue, 13 Nov 2007 10:52:06 +0000 MIME-Version: 1.0 content-class: From: Iain Hibbert Date: Tue, 13 Nov 2007 10:49:27 +0000 Importance: normal X-Priority: 3 To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Message-Id: X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at example.com X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: plunky@rya-online.net X-SA-Exim-Scanned: No (on smtpbarns01); SAEximRunCond expanded to false Cc: freebsd-bluetooth@freebsd.org Subject: RE: Can't download phonebook via bluetooth using bluez and obexftp 0.20 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, 13 Nov 2007 10:51:19 -0000 -----Original Message----- From: shashank.mishra@wipro.com Sent: 13 November 2007 06:25 To: freebsd-bluetooth@freebsd.org Subject: Can't download phonebook via bluetooth using bluez and obexftp 0.2= 0 ----- Of course, this is a freebsd list so bluez is not relevant (linux !=3D free= bsd) Probably you can't get a record by its name, but instead you must fetch the= record number. Try '-g telecom/pb/1.vcf' for instance iain= From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 13 17:14:52 2007 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 7451716A420 for ; Tue, 13 Nov 2007 17:14:52 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 767D313C4AA for ; Tue, 13 Nov 2007 17:14:51 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so2160163fka for ; Tue, 13 Nov 2007 09:14:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=u1fimbsKKDNAP4kSrQxrh2qcVZssjLuCsPZq8IXI0yc=; b=gMMQzCDbUhGoBkbP2tTiCxSCkk4gaenMzuoDJycPC6JvqF/FiVhFeQQWIaJB+RXT2AxCTzXMCEsbWJkVAyJGdQoxUtU321W/wlAC8Yso8OMYdYcFNs9zojy3XhsFyikMb2aO8ymgBKfLOltPvUyaIIT4YQLqnoULqDk5Olhc2Jg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hkPBLXp0EAWEgw0AR27bGvepXqLVoH2t8z+GAILLxuFZWccTKlMJQFcwABoSMniCTHa3AeWQt1U3mH6QdfNQbZbEaejunMmYN0MHgYJqmhIwCLi1/BQj68ytCEQFp+MzyyOjCbUKOqMESILXo+W/C6ielmvoThr8FtADIu7+9pQ= Received: by 10.86.68.20 with SMTP id q20mr957788fga.1194974078241; Tue, 13 Nov 2007 09:14:38 -0800 (PST) Received: by 10.86.83.12 with HTTP; Tue, 13 Nov 2007 09:14:38 -0800 (PST) Message-ID: Date: Tue, 13 Nov 2007 09:14:38 -0800 From: "Maksim Yevmenkin" To: "Zoran Kolic" In-Reply-To: <20071112170237.GA964@faust.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071112170237.GA964@faust.net> Cc: freebsd-bluetooth@freebsd.org Subject: Re: correct steps to put data on the phone 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, 13 Nov 2007 17:14:52 -0000 On 11/12/07, Zoran Kolic wrote: > Howdy! > Must to confess that I'm impressed with bluetooth in > connecting different sort of devices. Such a nice toy > as usb dongle I had not for a long time. > I might need some advice for putting files from desk- > top box to nokia phone with memory card. I found that > loading ng_ubt gives enough magic to load further usb > part and all necessary netgraph modules. Dongle is > gigabyte bt03d and is recognized by the module. After > giving /etc/rc.bluetooth script 555 privs, I could > start/stop the stack. Reading along manual, I learnt > that hcsecd should handle pairing of dongle and the > phone. Is it a necessary step for the task I have in > mind? I suppose I need paired devices to even think > about it. Is it enough to start usage of obexapp? And yes, usually you need to pair phone and pc. > finally, should I find the channel to operate on? If > I get it right, flag has to be "-C IrMC". Or FTRN? > Manual says app will find the correct channel just > giving it the protocol. depends on what your phone supports. usually its either obex push (opush) or obex file transfer (ftrn). if you are using ftrn then you will likely need to use -f switch with obexapp. > Do I need something more than this: > kldload ng_ubt > input dongle > /etc/rc.bluetooth start ubt0 the last should not be required. if devd(8) is running /etc/rc.d/bluetooth will be executed automatically when dongle is plugged. > hcsecd you probably want to use hcsecd_enable knob in rc.conf and /etc/rc.d/hcsecd script to start/stop it. > obexapp -a bluetooth_address -C IrMC i'd say try first '-f -C ftrn' instead of '-C irmc' > If I missed something important, please let me know. > Not to forget, firewall should be set to handle this > interaction. I use ipfw as stateful. If desktop starts > the session, it will go like a charm. If the phone > has to query, I must know the port to connect to. Any > advice about configuration for this service? ip firewall (such as ipfw/pf/etc) will not help you here. bluetooth/obex is a completely different protocol. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Nov 13 17:39:02 2007 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 59BF816A419 for ; Tue, 13 Nov 2007 17:39:02 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from smtp4.sbb.co.yu (smtp4.sbb.co.yu [82.117.194.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2986713C4CA for ; Tue, 13 Nov 2007 17:39:00 +0000 (UTC) (envelope-from zkolic@sbb.co.yu) Received: from faust.net ([89.216.116.170]) by smtp4.sbb.co.yu (8.14.0/8.14.0) with ESMTP id lADHcg8s031303; Tue, 13 Nov 2007 18:38:42 +0100 Received: by faust.net (Postfix, from userid 1001) id 858581CC34; Tue, 13 Nov 2007 18:38:37 +0100 (CET) Date: Tue, 13 Nov 2007 18:38:37 +0100 From: Zoran Kolic To: Maksim Yevmenkin Message-ID: <20071113173837.GA1178@faust.net> References: <20071112170237.GA964@faust.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: 2.8 X-SBB-Spam-Level: XXXXXX Cc: freebsd-bluetooth@freebsd.org Subject: Re: correct steps to put data on the phone 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, 13 Nov 2007 17:39:02 -0000 Hi Max! > depends on what your phone supports. usually its either obex push > (opush) or obex file transfer (ftrn). if you are using ftrn then you > will likely need to use -f switch with obexapp. Hm! Not so easy to say. Does obex (jsr 82) means something? I'd bet on obex push. Nokia 6233. > you probably want to use hcsecd_enable knob in rc.conf and > /etc/rc.d/hcsecd script to start/stop it. That's it. > i'd say try first '-f -C ftrn' instead of '-C irmc' Accepted. > ip firewall (such as ipfw/pf/etc) will not help you here. > bluetooth/obex is a completely different protocol. K. Need some time to read manuals and digest them properly. No pleasure if it works out of the box! Zoran From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 14 18:54:19 2007 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 2880316A420 for ; Wed, 14 Nov 2007 18:54:19 +0000 (UTC) (envelope-from emillbrandt@coldhaus.com) Received: from workbench.coldhaus.com (workbench.coldhaus.com [74.0.48.218]) by mx1.freebsd.org (Postfix) with ESMTP id D5DB213C46E for ; Wed, 14 Nov 2007 18:54:17 +0000 (UTC) (envelope-from emillbrandt@coldhaus.com) Received: from localhost (localhost [127.0.0.1]) by workbench.coldhaus.com (8.14.1/8.14.1) with ESMTP id lAEIsGVo003848; Wed, 14 Nov 2007 13:54:16 -0500 (EST) X-Virus-Scanned: amavisd-new at coldhaus.com Received: from workbench.coldhaus.com ([127.0.0.1]) by localhost (workbench.coldhaus.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gsw-ExWkepoL; Wed, 14 Nov 2007 13:53:30 -0500 (EST) Received: from slate.coldhaus.com (maenad.coldhaus.com [74.0.48.222]) by workbench.coldhaus.com (8.14.1/8.14.1) with ESMTP id lAEIr6LH012326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Nov 2007 13:53:08 -0500 (EST) Message-ID: <473B4412.3090505@coldhaus.com> Date: Wed, 14 Nov 2007 13:53:06 -0500 From: Eric Millbrandt User-Agent: Thunderbird 2.0.0.6 (X11/20070806) MIME-Version: 1.0 To: Maksim Yevmenkin References: <472DFCE2.2010707@coldhaus.com> <472E3F45.3080909@coldhaus.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth mouse/keyboard blues 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, 14 Nov 2007 18:54:19 -0000 Maksim Yevmenkin wrote: > On 11/4/07, Eric Millbrandt wrote: > >> Maksim Yevmenkin wrote: >> >>>> 1) make sure you have paired bluetooth keyboard/mouse and your pc >>>> >>>> >>>> >>>> >> Oops, I just figured out how to pair the keyboard. You need to hold the >> power button down for three seconds and then enter the pin. The >> keyboard works great. >> > > ok > > >> Why would the mouse buttons work but not cursor movement? >> > > what bluetooth mouse do you have exactly? > > you tell me that buttons work, so i assume, bluetooth communication > channel works. > > i dumped the hid descriptor that you have provided in your previous > email, and got > > > === > > Collection page=Consumer usage=Consumer_Control > Input id=20 size=2 count=1 page=Generic_Desktop usage=Mouse > Variable, logical range 0..3 > Input id=20 size=1 count=1 page=Microsoft usage=0xfe11 Variable, > logical range 0..1 > End collection > Collection page=Generic_Desktop usage=Mouse > Collection page=Generic_Desktop usage=Pointer > Input id=17 size=1 count=1 page=Button usage=Button_1 Variable, > logical range 0..1 > Input id=17 size=1 count=1 page=Button usage=Button_2 Variable, > logical range 0..1 > Input id=17 size=1 count=1 page=Button usage=Button_3 Variable, > logical range 0..1 > Input id=17 size=1 count=1 page=Button usage=Button_4 Variable, > logical range 0..1 > Input id=17 size=4 count=1 page=Generic_Desktop usage=X Variable > Relative, logical range 0..127 > End collection > End collection > Collection page=Consumer usage=Consumer_Control > Feature id=25 size=8 count=1 page=Microsoft usage=0xff18 Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff19 Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1a Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1b Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1c Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1d Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1e Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1f Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff20 Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff21 Variable, > logical range 0..255 > Feature id=25 size=8 count=1 page=Microsoft usage=0xff22 Variable, > logical range 0..255 > Feature id=25 size=1 count=1 page=Microsoft usage=0xff23 Variable, > logical range 0..1 > End collection > > === > > one thing that is very strange is that i'm not seeing input report for > the Y axis. this could be the problem with usb hid descriptor parsing, > or (less likely), perhaps, this mouse uses non-standard hid report. i > will need to decode it manually to see where the problem is. > > thanks, > max > > > I tried the mouse with a linux distribution and had better luck. I was able to use sdptool, from the bluez package, I think..., to get a working hid descriptor. The mouse reports itself as a 'Microsoft Bluetooth Notebook Mouse 5000' 0x05 0x0c 0x09 0x01 0xa1 0x01 0x05 0x01 0x09 0x02 0x85 0x14 0x06 0x00 0xff 0x0a 0x12 0xfe 0x95 0x01 0x75 0x02 0x15 0x00 0x25 0x03 0x81 0x02 0x0a 0x11 0xfe 0x75 0x01 0x25 0x01 0x81 0x02 0x95 0x05 0x81 0x01 0xc0 0x05 0x01 0x09 0x02 0xa1 0x01 0x05 0x01 0x09 0x02 0x85 0x11 0x09 0x01 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x04 0x95 0x04 0x75 0x01 0x25 0x01 0x81 0x02 0x75 0x04 0x95 0x01 0x81 0x01 0x05 0x01 0x09 0x30 0x09 0x31 0x09 0x38 0x95 0x03 0x75 0x08 0x15 0x81 0x25 0x7f 0x81 0x06 0x95 0x01 0x81 0x01 0xc0 0xc0 0x05 0x0c 0x09 0x01 0xa1 0x01 0x85 0x19 0x06 0x00 0xff 0x1a 0x18 0xff 0x2a 0x22 0xff 0x95 0x0b 0x75 0x08 0x15 0x00 0x26 0xff 0x00 0xb1 0x02 0x0a 0x23 0xff 0x95 0x01 0x75 0x01 0x25 0x01 0xb1 0x02 0x75 0x07 0xb1 0x01 0xc0 0x00 Now I get cursor movement and all the buttons and mouse wheel work. Thanks for the help. Eric From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 14 19:24:01 2007 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 0A5A316A41A for ; Wed, 14 Nov 2007 19:24:01 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 442D713C48A for ; Wed, 14 Nov 2007 19:24:00 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so260248nfb for ; Wed, 14 Nov 2007 11:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=YR1i4fPEfGTQmwbLpTkOB4ksMEmNof+GIWtp9BF1ReY=; b=lYpfLJP4itwt1OtaBZHy0DWABR7hZEbE6jpUEX41Owo9NXHtuvJX0R6VOzbnqdXaT1SZ50tQuL2xOPYQpKJDiC5qvgYdNoJoJDUrRlYNrhSQjfP760U0dcDjkcd9R15Z7DaoJExKr0bYQDZhWzse3dHWOlktLnqj/x5z9Ed/2WU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YBcpJOD8Rg1oywP4gdk0RZmIAISimZp73Z896oa83CHRAROeGLOoAMuMT/9umvcEbP3ew7ylSD7XbMY+eOJObFbK/gQQZjQXFaYbBanzJ5UZZ51uwr8izP+mbeg5BocQwQHLh1nU9Pc5C0S8xjEXBl1yOYqw0IChHWCf1gXMApI= Received: by 10.86.62.3 with SMTP id k3mr6581896fga.1195068238465; Wed, 14 Nov 2007 11:23:58 -0800 (PST) Received: by 10.86.83.12 with HTTP; Wed, 14 Nov 2007 11:23:58 -0800 (PST) Message-ID: Date: Wed, 14 Nov 2007 11:23:58 -0800 From: "Maksim Yevmenkin" To: "Eric Millbrandt" In-Reply-To: <473B4412.3090505@coldhaus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <472DFCE2.2010707@coldhaus.com> <472E3F45.3080909@coldhaus.com> <473B4412.3090505@coldhaus.com> Cc: freebsd-bluetooth@freebsd.org Subject: Re: bluetooth mouse/keyboard blues 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, 14 Nov 2007 19:24:01 -0000 Eric, i'm sorry for not getting back to you earlier. i'm completely swamped with my day job. On 11/14/07, Eric Millbrandt wrote: > Maksim Yevmenkin wrote: > > On 11/4/07, Eric Millbrandt wrote: > > > >> Maksim Yevmenkin wrote: > >> > >>>> 1) make sure you have paired bluetooth keyboard/mouse and your pc > >>>> > >>>> > >>>> > >>>> > >> Oops, I just figured out how to pair the keyboard. You need to hold the > >> power button down for three seconds and then enter the pin. The > >> keyboard works great. > >> > > > > ok > > > > > >> Why would the mouse buttons work but not cursor movement? > >> > > > > what bluetooth mouse do you have exactly? > > > > you tell me that buttons work, so i assume, bluetooth communication > > channel works. > > > > i dumped the hid descriptor that you have provided in your previous > > email, and got > > > > > > === > > > > Collection page=Consumer usage=Consumer_Control > > Input id=20 size=2 count=1 page=Generic_Desktop usage=Mouse > > Variable, logical range 0..3 > > Input id=20 size=1 count=1 page=Microsoft usage=0xfe11 Variable, > > logical range 0..1 > > End collection > > Collection page=Generic_Desktop usage=Mouse > > Collection page=Generic_Desktop usage=Pointer > > Input id=17 size=1 count=1 page=Button usage=Button_1 Variable, > > logical range 0..1 > > Input id=17 size=1 count=1 page=Button usage=Button_2 Variable, > > logical range 0..1 > > Input id=17 size=1 count=1 page=Button usage=Button_3 Variable, > > logical range 0..1 > > Input id=17 size=1 count=1 page=Button usage=Button_4 Variable, > > logical range 0..1 > > Input id=17 size=4 count=1 page=Generic_Desktop usage=X Variable > > Relative, logical range 0..127 > > End collection > > End collection > > Collection page=Consumer usage=Consumer_Control > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff18 Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff19 Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1a Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1b Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1c Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1d Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1e Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff1f Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff20 Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff21 Variable, > > logical range 0..255 > > Feature id=25 size=8 count=1 page=Microsoft usage=0xff22 Variable, > > logical range 0..255 > > Feature id=25 size=1 count=1 page=Microsoft usage=0xff23 Variable, > > logical range 0..1 > > End collection > > > > === > > > > one thing that is very strange is that i'm not seeing input report for > > the Y axis. this could be the problem with usb hid descriptor parsing, > > or (less likely), perhaps, this mouse uses non-standard hid report. i > > will need to decode it manually to see where the problem is. > > > > thanks, > > max > > > > > > > I tried the mouse with a linux distribution and had better luck. I was > able to use sdptool, from the bluez package, I think..., to get a > working hid descriptor. > > The mouse reports itself as a 'Microsoft Bluetooth Notebook Mouse 5000' > > 0x05 0x0c 0x09 0x01 0xa1 0x01 0x05 0x01 > 0x09 0x02 0x85 0x14 0x06 0x00 0xff 0x0a > 0x12 0xfe 0x95 0x01 0x75 0x02 0x15 0x00 > 0x25 0x03 0x81 0x02 0x0a 0x11 0xfe 0x75 > 0x01 0x25 0x01 0x81 0x02 0x95 0x05 0x81 > 0x01 0xc0 0x05 0x01 0x09 0x02 0xa1 0x01 > 0x05 0x01 0x09 0x02 0x85 0x11 0x09 0x01 > 0xa1 0x00 0x05 0x09 0x19 0x01 0x29 0x04 > 0x95 0x04 0x75 0x01 0x25 0x01 0x81 0x02 > 0x75 0x04 0x95 0x01 0x81 0x01 0x05 0x01 > 0x09 0x30 0x09 0x31 0x09 0x38 0x95 0x03 > 0x75 0x08 0x15 0x81 0x25 0x7f 0x81 0x06 > 0x95 0x01 0x81 0x01 0xc0 0xc0 0x05 0x0c > 0x09 0x01 0xa1 0x01 0x85 0x19 0x06 0x00 > 0xff 0x1a 0x18 0xff 0x2a 0x22 0xff 0x95 > 0x0b 0x75 0x08 0x15 0x00 0x26 0xff 0x00 > 0xb1 0x02 0x0a 0x23 0xff 0x95 0x01 0x75 > 0x01 0x25 0x01 0xb1 0x02 0x75 0x07 0xb1 > 0x01 0xc0 0x00 > > > Now I get cursor movement and all the buttons and mouse wheel work. > Thanks for the help. the new descriptor looks much better. as you ca see it has all the right usage's. Collection page=Consumer usage=Consumer_Control Input id=20 size=2 count=1 page=Generic_Desktop usage=Mouse Variable, logical range 0..3 Input id=20 size=1 count=1 page=Microsoft usage=0xfe11 Variable, logical range 0..1 End collection Collection page=Generic_Desktop usage=Mouse Collection page=Generic_Desktop usage=Pointer Input id=17 size=1 count=1 page=Button usage=Button_1 Variable, logical range 0..1 Input id=17 size=1 count=1 page=Button usage=Button_2 Variable, logical range 0..1 Input id=17 size=1 count=1 page=Button usage=Button_3 Variable, logical range 0..1 Input id=17 size=1 count=1 page=Button usage=Button_4 Variable, logical range 0..1 Input id=17 size=8 count=1 page=Generic_Desktop usage=X Variable Relative, logical range -127..127 Input id=17 size=8 count=1 page=Generic_Desktop usage=Y Variable Relative, logical range -127..127 Input id=17 size=8 count=1 page=Generic_Desktop usage=Wheel Variable Relative, logical range -127..127 End collection End collection Collection page=Consumer usage=Consumer_Control Feature id=25 size=8 count=1 page=Microsoft usage=0xff18 Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff19 Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1a Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1b Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1c Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1d Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1e Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff1f Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff20 Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff21 Variable, logical range 0..255 Feature id=25 size=8 count=1 page=Microsoft usage=0xff22 Variable, logical range 0..255 Feature id=25 size=1 count=1 page=Microsoft usage=0xff23 Variable, logical range 0..1 End collection End collection anyway, i'm interested to know if bthidcontrol(8) still returns broken descriptor. could you please give bthidcontrol(8) one more try and compare descriptors? i just want to rule out cut-n-paste error. thanks, max