From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 25 08:31:18 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B14DA16A4CE for ; Sun, 25 Jan 2004 08:31:18 -0800 (PST) Received: from smtp-out3.xs4all.nl (smtp-out3.xs4all.nl [194.109.24.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD3743D3F for ; Sun, 25 Jan 2004 08:31:17 -0800 (PST) (envelope-from miketemp@xs4all.nl) Received: from mojojojo.lan (a80-126-82-35.adsl.xs4all.nl [80.126.82.35]) by smtp-out3.xs4all.nl (8.12.10/8.12.10) with ESMTP id i0PGVFcr083756 for ; Sun, 25 Jan 2004 17:31:15 +0100 (CET) To: "freebsd-bluetooth@freebsd.org" From: Mike Crosland Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Sun, 25 Jan 2004 17:29:20 +0100 Message-ID: User-Agent: Opera7.23/Linux M2 build 518 Subject: Bluetooth peripherals X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 16:31:18 -0000 Hi, I was thinking of buying a bluetooth keyboard and/or mouse, and was wondering whether anyone had had any success (or otherwise!) using such devices. Mike From owner-freebsd-bluetooth@FreeBSD.ORG Sun Jan 25 11:09:20 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 964CA16A4CE for ; Sun, 25 Jan 2004 11:09:20 -0800 (PST) Received: from web40306.mail.yahoo.com (web40306.mail.yahoo.com [66.218.78.85]) by mx1.FreeBSD.org (Postfix) with SMTP id 73F5843D31 for ; Sun, 25 Jan 2004 11:09:19 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040125190919.12196.qmail@web40306.mail.yahoo.com> Received: from [24.52.242.150] by web40306.mail.yahoo.com via HTTP; Sun, 25 Jan 2004 11:09:19 PST Date: Sun, 25 Jan 2004 11:09:19 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, miketemp@xs4all.nl In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC50E@USSC8MS04.Global.Cwintra.Com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Bluetooth peripherals X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 19:09:20 -0000 Hello Mike, > I was thinking of buying a bluetooth keyboard and/or mouse, and was > wondering whether anyone had had any success (or otherwise!) using such > devices. i have Microsoft Optical Desktop for Bluetooth (keyboard + mouse) on loan right now and working on adding HID support. stay tuned. thanks, max __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From owner-freebsd-bluetooth@FreeBSD.ORG Fri Feb 6 09:53:46 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6895516A4CE for ; Fri, 6 Feb 2004 09:53:46 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 434E843D60 for ; Fri, 6 Feb 2004 09:53:19 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040206175251.47614.qmail@web40302.mail.yahoo.com> Received: from [66.35.239.94] by web40302.mail.yahoo.com via HTTP; Fri, 06 Feb 2004 09:52:51 PST Date: Fri, 6 Feb 2004 09:52:51 -0800 (PST) From: Maksim Yevmenkin To: Zhang Weiwu , freebsd-net@freebsd.org, freebsd-bluetooth@freebsd.org In-Reply-To: <4023CED7.8070603@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: need suggestions on making a wireless network using bluetooth X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2004 17:53:46 -0000 Hello, > Hello. I'll make a small wireless network in my office in the coming month. > Now I'm considering bluetooth instead of 802.11. In the office I have a > freebsd server, my own notebook runs freebsd. Other computers run MAC OS > and Windows. ok > * the office is not very big, just as big as the bluetooth signal can > reach. There are confidential information in the office, I don't want > anyone to get my data by just stopping a car in front of the office and > listen network traffice with a notebook. well, you can do many things to secure your 802.11 network :) also i'm not aware of any bluetooth snooping capabilities on of the shelf devices, but i've heard about bluetooth scanners. they used in bluetooth testing and qualification facilities and expensive, but they do exist :) > * I don't see any network traffic problem. Usually we just transfer emails, > text documents and pictures. ok. are you aware that a single bluetooth device can only support up to 8 clients at the same time? is that going to be a problem for you? > * In China, the 802.11 device market is not clear yet, I don't know what > standard to follow (you surely know about the new Chinese spec on 802.11 > network). > > * We already have some bluetooth devices. ok > * Most of us use notebook computers. Notebook 802.11 cards are more > expensive than bluetooth cards. i see > * Some people in the office are going to buy GPRS enabled cell phone. If > they buy bluetooth enabled GPRS phones, they can go surf the Internet > outside the office through GPRS cell phone. This is cheaper than having > both 802.11 card and GPRS card. FreeBSD supports DUN profile that allows you to use bluetooth enabled cell phone as a modem. you can make GRPS or CSD calls. > So I decide I'd better use bluetooth. Several questions: > > * Is it possible to make a wireless network by using bluetooth devices? Can > I have a bluetooth installed on the FreeBSD server, let it act as a > switch/hub? Would this network be stable? yes, FreeBSD supports LAN profile. in this scenario bluetooth clients connect to the server via PPP that runs over bluetooth connection. on a client side it is very similar to dialing out on regular phone line. again keep in mind that a single bluetooth device can only have up to 8 connections at a time. > * I never see anyone setup a network in this way, would there be many > unexpected problems? not likely, but you never know :) just stay away from serial based bluetooth devices. use usb bluetooth dongles. they work much better. thanks, max __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 9 10:04:11 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 844EA16A4CF for ; Mon, 9 Feb 2004 10:04:11 -0800 (PST) Received: from web40311.mail.yahoo.com (web40311.mail.yahoo.com [66.218.78.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E28243D2F for ; Mon, 9 Feb 2004 10:04:11 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040209180410.18522.qmail@web40311.mail.yahoo.com> Received: from [66.35.239.94] by web40311.mail.yahoo.com via HTTP; Mon, 09 Feb 2004 10:04:10 PST Date: Mon, 9 Feb 2004 10:04:10 -0800 (PST) From: Maksim Yevmenkin To: Tony Frank , Zhang Weiwu In-Reply-To: <4027C569.1080308@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-bluetooth@freebsd.org cc: freebsd-net@freebsd.org Subject: Re: need suggestions on making a wireless network using bluetooth X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 18:04:11 -0000 > > >Encryption is a good idea for any wireless network. > > >I believe bluetooth has a little more in this respect over 802.11 but > > >I do not know any sure statement whether by itself it is enough. > > >Eg you may need to run IPSec or similar over any wireless link to secure > > >your data. > > I don't mean bluetooth has better encryption ... I mean bluetooth cannot > > pass through walls, making it diffcult to listen network traffic outside > > the building:) > > While bluetooth is primarily designed as a short-range cable replacement, > it does use the same frequency range as 802.11 (2.4Ghz). > > I have seen bluetooth modules that can reportedly work at up to 100m. that is correct. > Practical experience in an office environment shows I can do LAN/dial up > easily over a distance 15-20m without direct line of sight to a handset. that is also correct. the range can be increased by using better antenna and increased power. > The bluetooth layer2 encryption can however be tougher to crack than the > WEP used in 802.11. Of course it only works if you enable it. personally, i do not think bluetooth link encryption would be harder to break then say WEP. i do not think that anyone actually looked into this. i recall an article about flaws in bluetooth link encryption but i can not find the link at the moment. as far as i know no one found/published the way to put of the shelf bluetooth device into monitor/promiscuous mode as one can do with prism based 802.11 cards (this statement *doesn't* mean that it cannot be done). that is the only thing that is preventing anyone from snooping on bluetooth network. i did mentioned bluetooth scanners/protocol analyzers in my previous email. have a look at http://www.palowireless.com/bluetooth/testequip.asp if (when) bluetooth gains more popularity as 802.11 then someone will find a cheap and easy way to snoop on bluetooth network. there is nothing you can do about it. > Personally when using any fixed/wireless network for sensitive > application I would use encryption at layer3 also (IPsec) at minimum. again i agree. i have one thing to say though. if someone really wants to get your data, he/she will. one way or another. there is still a human factor. you still need to communicate with the rest of the world using public internet etc. thanks, max __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html From owner-freebsd-bluetooth@FreeBSD.ORG Sat Feb 21 17:58:14 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADF8B16A4F9 for ; Sat, 21 Feb 2004 17:58:14 -0800 (PST) Received: from hotmail.com (law11-f96.law11.hotmail.com [64.4.17.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id A69D143D1F for ; Sat, 21 Feb 2004 17:58:14 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 21 Feb 2004 17:58:14 -0800 Received: from 218.85.103.226 by lw11fd.law11.hotmail.msn.com with HTTP; Sun, 22 Feb 2004 01:58:14 GMT X-Originating-IP: [218.85.103.226] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-bluetooth@freebsd.org Date: Sun, 22 Feb 2004 09:58:14 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 22 Feb 2004 01:58:14.0598 (UTC) FILETIME=[5522BE60:01C3F8E7] Subject: use bluetooth with LAN profile X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 01:58:14 -0000 I'm new to bluetooth. I read the handbook bluetooth chapter several time, but I don't think I really get it:( Okay, let me try to explain it so please you can tell me if I have some concepture problem: To let several other bluetooth device (notebooks) to access my LAN, that is "LAN access for multiple Bluetooth devices". So I need to have a server, on this server I need to run rfcomm_pppd and sdpd. Each other notebook connect to my server's bluetooth card, and establish a single rfcomm connection, that is to emulate a serial connection between the notebook and the server. Finally I'll have several virtual serial connection to my server, for several bluetooth notebook. And on these serial connections I need to run ppp on client side and pppd on server side. Am I correct? But I have a problem: is sdpd part of the sdp-1.5 package? I cannot find this package on port tree. The handbook suggest me to get the package from but geocities is not accessable from China. This site has been blocked for several years for political reasons. Can I get the package elsewhere? "sdp bluetooth" is not a good google keyword to find it. Thank you! _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com From owner-freebsd-bluetooth@FreeBSD.ORG Sun Feb 22 12:21:24 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40D7F16A4CE for ; Sun, 22 Feb 2004 12:21:24 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 2219D43D1F for ; Sun, 22 Feb 2004 12:21:24 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040222202124.50747.qmail@web40302.mail.yahoo.com> Received: from [24.52.242.150] by web40302.mail.yahoo.com via HTTP; Sun, 22 Feb 2004 12:21:24 PST Date: Sun, 22 Feb 2004 12:21:24 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, Zhang Weiwu In-Reply-To: <40390B03.3000304@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: use bluetooth with LAN profile X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Feb 2004 20:21:24 -0000 Hello, > To let several other bluetooth device (notebooks) to access my LAN, that is > "LAN access for multiple Bluetooth devices". So I need to have a server, on > this server I need to run rfcomm_pppd and sdpd. Each other notebook connect > to my server's bluetooth card, and establish a single rfcomm connection, > that is to emulate a serial connection between the notebook and the server. > Finally I'll have several virtual serial connection to my server, for > several bluetooth notebook. And on these serial connections I need to run > ppp on client side and pppd on server side. Am I correct? yes, except that rfcomm_pppd(8) will automatically run ppp(8) on each rfcomm connection. you do not have to do anything special. all you need to do is to add configuration entry into /etc/ppp/ppp.conf for bluetooth clients and tell rfcomm_pppd(8) to use this entry (label). the examples of such configuration entry can be found in rfcomm_pppd(8) man page. > But I have a problem: is sdpd part of the sdp-1.5 package? I cannot find > this package on port tree. The handbook suggest me to get the package from > but geocities is not accessable from > China. This site has been blocked for several years for political reasons. > Can I get the package elsewhere? "sdp bluetooth" is not a good google > keyword to find it. sdpd(8) was reimplemented under BSD license and committed to the main source tree. i have patches for the rfcomm_pppd(8) that will allow it to use stock sdpd(8). i'm waiting for permission to commit them. after that you should not use sdp-1.5. from geocities. thanks, max __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Mon Feb 23 18:38:19 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E46FC16A4CE; Mon, 23 Feb 2004 18:38:19 -0800 (PST) Received: from hotmail.com (law11-f23.law11.hotmail.com [64.4.17.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96C9043D39; Mon, 23 Feb 2004 18:38:19 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 23 Feb 2004 18:38:19 -0800 Received: from 218.85.105.53 by lw11fd.law11.hotmail.msn.com with HTTP; Tue, 24 Feb 2004 02:38:19 GMT X-Originating-IP: [218.85.105.53] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-net@freebsd.org, freebsd-bluetooth@freebsd.org Date: Tue, 24 Feb 2004 10:38:19 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 24 Feb 2004 02:38:19.0424 (UTC) FILETIME=[43599200:01C3FA7F] cc: spacenet@xmu.edu.cn Subject: [a bit OT] bluetooth with MAC OS X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 02:38:20 -0000 If you have tracked bluetooth list you know I am trying to setup a bluetooth LAN. Let me explain what I achieved so far: now I have setup a bluetooth LAN access server, rfcomm_pppd runs and listen to channel 7, accepting ppp connection without authentication (I didn't figure out how to accept multiple connection yet, but now a single computer can DUN to me.) Now I can have FreeBSD/Windows computer connect me and samba each other:) Now the problem comes with MAC OS. Someone in my office is using notebook running MAC OS X. She is a typical designer, don't know a bit about bluetooth/ppp; and I don't know a bit about MAC OS. On her network configuration -> bluetooth -> ppp there is a button "connect now", click on the button I am prompted with username/password, fill with random username/password I am rejected with "modem doesn't response". In bluetooth ppp configuration there is a modem selection list, about 50 modems, oops what is the modem for a FreeBSD server? I guess it must be a hard problem to work on, perhaps I need suggestions from people who know both MAC OS and FreeBSD, but I don't even know which forum/mailing list where MAC OS gurus usually meet. I googled around without luck: on google they are mostly talking about MAC OS <-> bluetooth cell phones. If you can simple guide me to a good MAC OS list that would be helpful! Thank you. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Tue Feb 24 09:55:42 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD4E916A4D0 for ; Tue, 24 Feb 2004 09:55:42 -0800 (PST) Received: from web40302.mail.yahoo.com (web40302.mail.yahoo.com [66.218.78.81]) by mx1.FreeBSD.org (Postfix) with SMTP id BF32C43D2D for ; Tue, 24 Feb 2004 09:55:42 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040224175537.74057.qmail@web40302.mail.yahoo.com> Received: from [66.35.239.94] by web40302.mail.yahoo.com via HTTP; Tue, 24 Feb 2004 09:55:37 PST Date: Tue, 24 Feb 2004 09:55:37 -0800 (PST) From: Maksim Yevmenkin To: Zhang Weiwu , freebsd-bluetooth@freebsd.org In-Reply-To: <403B8CE7.9040506@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: spacenet@xmu.edu.cn Subject: Re: [a bit OT] bluetooth with MAC OS X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 17:55:42 -0000 Hello, > If you have tracked bluetooth list you know I am trying to setup a > bluetooth LAN. Let me explain what I achieved so far: now I have setup a > bluetooth LAN access server, rfcomm_pppd runs and listen to channel 7, > accepting ppp connection without authentication (I didn't figure out how to > accept multiple connection yet, but now a single computer can DUN to me.) > Now I can have FreeBSD/Windows computer connect me and samba each other:) good. i think you meant to say LAN (not DUN) :) those are two different profiles. o DUN - DialUp Networking - where client uses Bluetooth RFCOMM connection to connect to a *real modem*, i.e. in order to start PPP/SLIP/RAS etc. session the client *must* sent AT commands to dial a number and wait for CONNECT etc. o LAN - LAN Access Using PPP - *very* similar to DUN, i.e. client uses Bluetooth RFCOMM connection to connect to *NULL modem*, i.e. client starts talking PPP *right after* Bluetooth connection is establised. (no AT commands, no waiting for CONNECT etc.) > Now the problem comes with MAC OS. Someone in my office is using notebook > running MAC OS X. She is a typical designer, don't know a bit about > bluetooth/ppp; and I don't know a bit about MAC OS. On her network > configuration -> bluetooth -> ppp there is a button "connect now", click on > the button I am prompted with username/password, fill with random > username/password I am rejected with "modem doesn't response". In bluetooth > ppp configuration there is a modem selection list, about 50 modems, oops > what is the modem for a FreeBSD server? it should be pretty straight forward with Mac OS X. few people have reported success. what you need to do first is to perform 'discovery' (or 'search'/'inquiry') on Mac laptop (there should be a button for that) and make sure you see FreeBSD server. when you start Bluetooth on FreeBSD make a note of BD_ADDR. make sure Mac laptop can see this BD_ADDR. FreeBSD BD_ADDR is the "modem" you should connect to. use empty user name and password. again you should use LAN profile *not* DUN because you do not need to "dial a number" to get to the PPP server. > I guess it must be a hard problem to work on, perhaps I need suggestions > from people who know both MAC OS and FreeBSD, but I don't even know which > forum/mailing list where MAC OS gurus usually meet. I googled around > without luck: on google they are mostly talking about MAC OS <-> bluetooth > cell phones. If you can simple guide me to a good MAC OS list that would be > helpful! again it should be pretty straight forward and it is known to work with Mac OS X. thanks, max __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 25 09:42:41 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DF4016A4CE for ; Wed, 25 Feb 2004 09:42:41 -0800 (PST) Received: from smtp-out6.xs4all.nl (smtp-out6.xs4all.nl [194.109.24.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F88043D1D for ; Wed, 25 Feb 2004 09:42:40 -0800 (PST) (envelope-from mcrosland@xs4all.nl) Received: from mojojojo (a80-126-82-35.adsl.xs4all.nl [80.126.82.35]) by smtp-out6.xs4all.nl (8.12.10/8.12.10) with ESMTP id i1PHgbiW054173 for ; Wed, 25 Feb 2004 18:42:39 +0100 (CET) Date: Wed, 25 Feb 2004 18:31:57 +0100 To: freebsd-bluetooth@freebsd.org From: Mike Crosland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera7.23/Win32 M2 build 3227 Subject: Logitech DiNovo Desktop X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 17:42:41 -0000 Hi, I've recently become the proud owner of a Logitech DiNovo Desktop. I have it running fine in Windows 2k and Suse Linux 9.0,but I'm getting some problems with FreeBSD 5.2 Release. It has already been mentioned on freebsd-current somewhere that the mouse refuses to work on freebsd, although the keyboard support (inluding the seperate number pad or so-named 'media pad') is fine provided you disconnect the ps2 plug. The mouse however is recognised and assigned as ums0, but further nothing. On Suse both mouse and keyboard are fine, so I expect this will eventually be sorted in freebsd. In the meantime I'm trying to find a workaround. Owing to the fact that neither FreeBSD or Linux recognise the Logitech hub as a Bluetooth hub, it is necessary to add a BT dongle in a spare usb slot in order to connect to other devices. An ideal workaround to the mouse problem would therefore be to attach the mouse via the dongle. So far I've managed to pair with the mouse, and add an HID sdpchannel, but I don't know where to go from there. Presumably some sort of daemon is needed, but I have no idea how to start writing that, so if anyone ahs suggestions I'd be very grateful. Also, is it possible for the system to recognise the logitech hub as a bluetooth hub? Thanks Mike From owner-freebsd-bluetooth@FreeBSD.ORG Wed Feb 25 09:58:21 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47CF216A4D0 for ; Wed, 25 Feb 2004 09:58:21 -0800 (PST) Received: from web40307.mail.yahoo.com (web40307.mail.yahoo.com [66.218.78.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 23A2843D1F for ; Wed, 25 Feb 2004 09:58:21 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040225175820.19364.qmail@web40307.mail.yahoo.com> Received: from [66.35.239.94] by web40307.mail.yahoo.com via HTTP; Wed, 25 Feb 2004 09:58:20 PST Date: Wed, 25 Feb 2004 09:58:20 -0800 (PST) From: Maksim Yevmenkin To: Mike Crosland , freebsd-bluetooth@freebsd.org In-Reply-To: <403CE076.8090205@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Logitech DiNovo Desktop X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 17:58:21 -0000 Hello Mike, > I've recently become the proud owner of a LoLogitechiDiNovoesktop. [...] > Owing to the fact that neither FrFreeBSDr Linux rerecognisehe LoLogitechub > as a BlBluetoothub, it is necessary to add a BTBTongle in a spare ususblot > in order to connect to other devices. An ideal workaround to the mouse > problem would therefore be to attach the mouse via the dongle. So far I've > managed to pair with the mouse, and add an HID sdsdpchannelbut I don't > know where to go from there. Presumably some sort of daemon is needed, but > I have no idea how to start writing that, so if anyone ahahsuggestions I'd > be very grateful. Also, is it possible for the system to rerecognisehe > lologitechub as a blbluetoothub? actually i have already written most of it :) it just has not been committed yet. i have ms blbluetoothouse/keyboard on loan. the main problem is how to feed HID events into kernel. mouse somewhat easy - i use console ioctl() (sysysmouseand it sort of works (but there are few underwater stones :) keyboard is a real mess. i do not know the way to have two keyboards attached to the same console at the same time. it seems user have to switch between keyboards. it really sucks for wireless keyboard as it may disappear at any time :( i can send my code to you if you'd like. thanks max > > > Thanks > > Mike > > _______________________________________________ > frfreebsdlbluetoothrfreebsdrorgailing list > hthttp/lists.frfreebsdrorgailman/lilistinforfreebsdlbluetooth> To ununsubscribesend any mail to "frfreebsdlbluetoothnunsubscriberfreebsdrorg > __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 1 19:58:46 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A7D716A4CE for ; Mon, 1 Mar 2004 19:58:46 -0800 (PST) Received: from hotmail.com (law11-f43.law11.hotmail.com [64.4.17.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E71F43D1D for ; Mon, 1 Mar 2004 19:58:46 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Mar 2004 19:58:45 -0800 Received: from 218.85.105.232 by lw11fd.law11.hotmail.msn.com with HTTP; Tue, 02 Mar 2004 03:58:45 GMT X-Originating-IP: [218.85.105.232] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: freebsd-bluetooth@freebsd.org Date: Tue, 02 Mar 2004 11:58:45 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 02 Mar 2004 03:58:45.0976 (UTC) FILETIME=[A9173580:01C4000A] Subject: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 03:58:46 -0000 Hello. Thanks for you all helped me all the way in this week, now I have successfully set up a bluetooth LAN access server (on FreeBSD 5.2), I send everybody a bluetooth usb dodges. MAC OS notebook works fine, Windows 2000 dials in with no problem, my FreeBSD notebook works great. Each computer access desktop computers in the LAN no problem, surf the Internet etc. A Linux user is still fighting his way dialing in, but I think he will figure it out very soon. It's the finest day, the sun is shining and we have bluetooth LAN... Thank you everyone who helped me! On my configuration I setup LAN access server listen to channel 1, and everyone dials in on that channel. I'm not sure of the concept of "channels", sometimes when other people are connected, I use "rfcomm_pppd -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. Sometimes (not very frequently) iBook disconnects and cannot connect anymore unless the bluetooth ppp server restart. (Windows notebook no problem.) Is it because we are sharing channel No.1? Should I register LAN service on channel one through channel six? Please give more advices. When the network work fine and I figured out all the problems, I'll write a guide on my homepage. I hope it can be useful thanks to my mixed OS environment. and I hope you can correct my article by then:) _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 2 11:54:30 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91B9A16A4CE for ; Tue, 2 Mar 2004 11:54:30 -0800 (PST) Received: from web40310.mail.yahoo.com (web40310.mail.yahoo.com [66.218.78.89]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E70D43D1D for ; Tue, 2 Mar 2004 11:54:30 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040302195430.58891.qmail@web40310.mail.yahoo.com> Received: from [66.35.239.94] by web40310.mail.yahoo.com via HTTP; Tue, 02 Mar 2004 11:54:30 PST Date: Tue, 2 Mar 2004 11:54:30 -0800 (PST) From: Maksim Yevmenkin To: freebsd-bluetooth@freebsd.org, Zhang Weiwu In-Reply-To: <4044CFB1.90607@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 19:54:30 -0000 Hello, [...] > On my configuration I setup LAN access server listen to channel 1, and > everyone dials in on that channel. I'm not sure of the concept of > "channels", in your case these are RFCOMM channels. a single RFCOMM channel represents a logical connection between two devices using RFCOMM procotol. think of it as a virtual serial cable. you can have up to 62 RFCOMM channels between *the same* pair of devices. if you simplify the picture enough you might find it similar to IP:PORT concept, where IP is a BD_ADDR of the device and PORT is a RFCOMM channel. note: this analogy is not quite correct because there is a L2CAP layer between baseband and RFCOMM. the RFCOMM server is listening on wildcard BD_ADDR (*) and RFCOMM channel 1. so when new connection is accepted from the remote device will spawn new daemon to service the connection and run PPP over it, i.e. *:1 - LISTEN -- main server BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE1:1 -- client (1) BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE2:1 -- client (2) becase BD_ADDR of the remote device is different you can share the same RFCOMM channel between serval devices. > sometimes when other people are connected, I use "rfcomm_pppd > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. hmmm... is that the exact command you using? in client mode (-c) you need to specify the address of the server to connect to (-a) otherwise it will not work. also what does "no socket available" is that the error you are getting? > Sometimes (not very frequently) iBook disconnects and cannot connect > anymore unless the > bluetooth ppp server restart. (Windows notebook no problem.) Is it because that is strange. i'd like to take a look at hcidump output. you will need to download it from http://www.geocities.com/m_evmenkin/ > we are sharing channel No.1? Should I register LAN service on channel one > through channel six? if you only have one bluetooth device attached to the server then you should be fine. you need to register mulitple RFCOMM channels only if you are running multiple RFCOMM servers. you can do it if you have more the one bluetooth device attached to the server. again, keep in mind that a single bluetooth device can only have 8 clients at a time. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 2 21:52:33 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A1C16A4CE for ; Tue, 2 Mar 2004 21:52:33 -0800 (PST) Received: from hotmail.com (law11-f70.law11.hotmail.com [64.4.17.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DB7F43D1D for ; Tue, 2 Mar 2004 21:52:33 -0800 (PST) (envelope-from weiwuzhang@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 2 Mar 2004 21:52:32 -0800 Received: from 218.85.105.146 by lw11fd.law11.hotmail.msn.com with HTTP; Wed, 03 Mar 2004 05:52:31 GMT X-Originating-IP: [218.85.105.146] X-Originating-Email: [weiwuzhang@hotmail.com] X-Sender: weiwuzhang@hotmail.com From: "Zhang Weiwu" To: m_evmenkin@yahoo.com, freebsd-bluetooth@freebsd.org Date: Wed, 03 Mar 2004 13:52:31 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 03 Mar 2004 05:52:32.0809 (UTC) FILETIME=[B89D0190:01C400E3] Subject: Re: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: zhangweiwu@realss.com List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 05:52:33 -0000 Maksim Yevmenkin wrote: > >Hello, > >[...] > > > On my configuration I setup LAN access server listen to channel 1, and > > everyone dials in on that channel. I'm not sure of the concept of > > "channels", > > *:1 - LISTEN -- main server > BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE1:1 -- client (1) > BD_ADDR_LOCAL:1 <-> BD_ADDR_REMOTE2:1 -- client (2) > >becase BD_ADDR of the remote device is different you can share the same >RFCOMM channel between serval devices. Nice. Now I got it. Thank you. > > > sometimes when other people are connected, I use "rfcomm_pppd > > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, then I > > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. > >hmmm... is that the exact command you using? in client mode (-c) you need >to specify the address of the server to connect to (-a) otherwise it will >not work. also what does "no socket available" is that the error you are >getting? Sorry I wasn't clear. Here is the script(1) to produce the problem: thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth rfcomm_pppd: Could not obtain RFCOMM channel: Socket is not connected thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth thinkpad# ifconfig tun0 tun0: flags=8051 mtu 1500 inet 192.168.0.87 --> 192.168.0.120 netmask 0xffffffff Opened by PID 47776 MAC OS and Windows doesn't ask for Channel number. They recognize LAN and connect to channel 1. Linux user always gets refused. (so strange the Linux bluetooth LAN tool pand(1) don't have a parameter to specify what channel to connect to.) > > Sometimes (not very frequently) iBook disconnects and cannot connect > > anymore unless the > > bluetooth ppp server restart. (Windows notebook no problem.) Is it because > >that is strange. i'd like to take a look at hcidump output. you will need >to download it from http://www.geocities.com/m_evmenkin/ Do you mean your homepage? You forgot I am in China I cannot go to geocities. To help me you sent me your sdp package through email a week ago:) Today the iBook problem is (I guess) solved. I found this line in ppp.log: Mar 3 10:59:34 dino ppp[2274]: Phase: deflink: ** Too many ECHO LQR packets lost ** I disabled lqr, the iBook don't have the problem any more. > > we are sharing channel No.1? Should I register LAN service on channel one > > through channel six? > >if you only have one bluetooth device attached to the server then you >should be fine. you need to register mulitple RFCOMM channels only if you >are running multiple RFCOMM servers. you can do it if you have more the >one bluetooth device attached to the server. again, keep in mind that a >single bluetooth device can only have 8 clients at a time. Thank you for the advice. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 3 10:53:56 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFE8116A4CE for ; Wed, 3 Mar 2004 10:53:56 -0800 (PST) Received: from web40312.mail.yahoo.com (web40312.mail.yahoo.com [66.218.78.91]) by mx1.FreeBSD.org (Postfix) with SMTP id E684143D2F for ; Wed, 3 Mar 2004 10:53:56 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040303185356.54129.qmail@web40312.mail.yahoo.com> Received: from [66.35.239.94] by web40312.mail.yahoo.com via HTTP; Wed, 03 Mar 2004 10:53:56 PST Date: Wed, 3 Mar 2004 10:53:56 -0800 (PST) From: Maksim Yevmenkin To: zhangweiwu@realss.com, freebsd-bluetooth@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: bluetooth channels -- not very clear on concept X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 18:53:57 -0000 Hello, [...] > > > sometimes when other people are connected, I use "rfcomm_pppd > > > -c -C LAN -l bluetooth-client" and get "no socket available" prompt, > then I > > > use "rfcomm_pppd -c -C 1 -l bluetooth-client" and it works. > > > >hmmm... is that the exact command you using? in client mode (-c) you need > >to specify the address of the server to connect to (-a) otherwise it will > >not work. also what does "no socket available" is that the error you are > >getting? > > Sorry I wasn't clear. Here is the script(1) to produce the problem: > > thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth > rfcomm_pppd: Could not obtain RFCOMM channel: Socket is not connected > thinkpad# rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth > thinkpad# ifconfig tun0 > tun0: flags=8051 mtu 1500 > inet 192.168.0.87 --> 192.168.0.120 netmask 0xffffffff > Opened by PID 47776 ok. that tells me that you are having a problem with SDP. when you specify -C LAN rfcomm_pppd(8) will try to query remote server from RFCOMM channel. for whatever reason the server did not respond to client's SDP query. when you run rfcomm_pppd(8) with -C 1 it does not use SDP and connects directly to the RFCOMM channel 1. i need to look at hcidump(1) output. > MAC OS and Windows doesn't ask for Channel number. They recognize LAN and > connect to channel 1. Linux user always gets refused. (so strange the Linux > bluetooth LAN tool pand(1) don't have a parameter to specify what channel > to connect to.) well, think about it :) how would MAC OS and Windows would know which RFCOMM channel to use? the only way to find out is to send SDP query to the server and ask if the server provides LAN service. so both MAC OS and Windows *do* ask for RFCOMM channel number. Linux tools do the same. it seems that you have the same problem on FreeBSD and Linux when you try to use SDP. > > > Sometimes (not very frequently) iBook disconnects and cannot connect > > > anymore unless the > > > bluetooth ppp server restart. (Windows notebook no problem.) Is it > because > > > >that is strange. i'd like to take a look at hcidump output. you will need > >to download it from http://www.geocities.com/m_evmenkin/ > > Do you mean your homepage? You forgot I am in China I cannot go to > geocities. To help me you sent me your sdp package through email a week > ago:) ok. i will send you the tarball. compile and intall it. then run as root # hcidump -w rfcomm.dump and in another window try to # rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C LAN -l bluetooth then interrupt (with ^C) hcidump(1) and send me the rfcomm.dump file. BTW Linux users should have hcidump tool. it should be compatible with the one from FreeBSD. it would be nice to have Linux dump as well. > Today the iBook problem is (I guess) solved. I found this line in ppp.log: > Mar 3 10:59:34 dino ppp[2274]: Phase: deflink: ** Too many ECHO LQR > packets lost ** > I disabled lqr, the iBook don't have the problem any more. ok. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 5 09:57:38 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AD8616A4CE for ; Fri, 5 Mar 2004 09:57:38 -0800 (PST) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id E734243D39 for ; Fri, 5 Mar 2004 09:57:29 -0800 (PST) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id i25HvIWj011643 for ; Fri, 5 Mar 2004 09:57:18 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id i25HvDTE011641 for freebsd-bluetooth@freebsd.org; Fri, 5 Mar 2004 09:57:13 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Fri, 5 Mar 2004 09:57:13 -0800 From: "Loren M. Lang" To: freebsd-bluetooth@freebsd.org Message-ID: <20040305175713.GB10889@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: Bluetooth HID support X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 17:57:38 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I am curious on what the state of the bluetooth hid drivers are. We will sortly start some development on developing some bt hid devices and I'm looking to setup a unix workstation of some kind for it. Is there good enough support in FreeBSD 5.x for a bt keyboard or should I use a linux workstation for now. Also, it seems that just about all bt usb dongles use the same protocol looking through the linux bt usb database where they all use the same driver, though some need firmware installed. Is there a good chance then that if linux supports a specific dongle without any firmware requirements with the generic driver that it will work on FreeBSD as Linux's tested hw list is much greater and we've already purchased a belkin adapter. --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFASL95+vN6RuSjKAwRArPlAJ4n3QuwZhhWUUAv3YuiRgNcoJhrKgCgrzeC /KY0P4YxKjeaGmFF1o5HFH8= =NJ93 -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 12 15:05:34 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1659C16A4CE for ; Fri, 12 Mar 2004 15:05:34 -0800 (PST) Received: from web40311.mail.yahoo.com (web40311.mail.yahoo.com [66.218.78.90]) by mx1.FreeBSD.org (Postfix) with SMTP id D8AA143D1F for ; Fri, 12 Mar 2004 15:05:33 -0800 (PST) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20040312230533.64794.qmail@web40311.mail.yahoo.com> Received: from [66.35.239.94] by web40311.mail.yahoo.com via HTTP; Fri, 12 Mar 2004 15:05:33 PST Date: Fri, 12 Mar 2004 15:05:33 -0800 (PST) From: Maksim Yevmenkin To: "Loren M. Lang" , freebsd-bluetooth@freebsd.org In-Reply-To: <4048C017.2090201@cw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Bluetooth HID support X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 23:05:34 -0000 Hello, sorry for the delay :) ENOTIME :) > I am curious on what the state of the bluetooth hid drivers are. We > will sortly start some development on developing some bt hid devices and > I'm looking to setup a unix workstation of some kind for it. Is there > good enough support in FreeBSD 5.x for a bt keyboard or should I use a > linux workstation for now. the code is pretty much ready and working. i just need to clean it up and commit. right now i do not have much time to do this. > Also, it seems that just about all bt usb dongles use the same protocol > looking through the linux bt usb database where they all use the same > driver, though some need firmware installed. Is there a good chance > then that if linux supports a specific dongle without any firmware > requirements with the generic driver that it will work on FreeBSD as > Linux's tested hw list is much greater and we've already purchased a > belkin adapter. ng_ubt(4) driver should support any bluetooth usb dongle that conforms to the bluetooth specification. that is if the device works with linux hci_usb driver it should work with ng_ubt(4). certain belkin, d-link and other adapters use broadcom BCM2033 chip. this chip needs firmware download. FreeBSD supports these devices via ubtbcmfw(4) driver and bcmfw(8) utility. i have belkin F8T001 adapter and it works. thanks, max __________________________________ Do you Yahoo!? Yahoo! Search - Find what you抮e looking for faster http://search.yahoo.com From owner-freebsd-bluetooth@FreeBSD.ORG Mon Mar 22 08:05:23 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AC2216A4D7 for ; Mon, 22 Mar 2004 08:05:23 -0800 (PST) Received: from altair.cifrid.net (altair.cifrid.net [195.136.117.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4859043D5C for ; Mon, 22 Mar 2004 08:05:18 -0800 (PST) (envelope-from apm@cifrid.net) Received: from menkar.cifrid.net ([217.172.244.10]:49220) by altair.cifrid.net with esmtp (Exim 4.30) id 1B5Rwi-0008X4-HA for bluetooth@freebsd.org; Mon, 22 Mar 2004 17:06:36 +0100 To: bluetooth@freebsd.org From: Artur Meski Date: Mon, 22 Mar 2004 17:05:23 +0100 Message-ID: <86y8psvpdo.fsf@menkar.cifrid.net> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: Bluetooth, HCI timeout. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 16:05:23 -0000 --=-=-= [ This is a duplicate of a message sent to current@, because I didn't ] [ notice presence of this mailing list ] I can't make my bluetooth Microstar dongle work neither with FreeBSD -CURRENT (2004/03/22) nor with 5.2.1-RELEASE. As far as I remember it has been working fine with 5.1-RELEASE (but with another PC). I don't know what can have an impact on it. See attached file for 'rc.bluetooth start ubt0' command "output" (http://artur.black.pl/bluetooth.txt). --=-=-= Content-Disposition: inline; filename=bluetooth.txt Content-Description: rc.bluetooth, messages # /usr/local/etc/rc.bluetooth start ubt0 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x3. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x9. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 BD_ADDR: 00:10:dc:4b:b6:64 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x3. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x4 , OCF=0x5. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x1a. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x24. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3 , OCF=0x13. Timeout ubt_request_complete2: ubt0 - Control request failed. TIMEOUT (15) complete_command: ubt0hci - no pending command, state=0x1 Could not execute command "initialize". Device not configured --=-=-= -- // WWW: artur.black.pl // PGP: finger apm@acrux.cifrid.net // --=-=-=-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 23 18:49:23 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A0E916A4CE for ; Tue, 23 Mar 2004 18:49:23 -0800 (PST) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C3743D58 for ; Tue, 23 Mar 2004 18:49:21 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep01-mail.bloor.is.net.cable.rogers.com ESMTP <20040324024843.KRQT138614.fep01-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Tue, 23 Mar 2004 21:48:43 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00011E; 23 Mar 2004 21:50:48 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 23 Mar 2004 21:50:24 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00011D; 23 Mar 2004 21:50:17 -0500 To: freebsd-bluetooth@freebsd.org From: Dmitry Yaitskov Organization: Disorganized Date: Tue, 23 Mar 2004 21:50:17 -0500 Message-ID: <84hdwfvtzq.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Tue, 23 Mar 2004 21:48:42 -0500 Subject: Windows client/FreeBSD server Q. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 02:49:23 -0000 Hi, I have a couple of bluetooth USB dongles (made by BlueGear), and would like to use these to connect my laptop to my home LAN. I went through the basic setup steps described here http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running on FreeBSD. It can also see the other dongle on the laptop, e.g. the # hccontrol -n ubt0hci inquiry returns the other device's BT_ADDR etc. Also, the other device does see the FreeBSD one. My question is, now what? I"d like somehow to let the laptop access the LAN on which the FreeBSD system is, so I need some server on the FreeBSD side (I've downloaded the sdp-1.5 package but I could not find much (any) docs/info on its use unfortunately) and a Windows client on the laptop - any pointers/advice will be much appreciated. Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 03:37:07 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5063216A4D3 for ; Wed, 24 Mar 2004 03:37:07 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D4843D5D for ; Wed, 24 Mar 2004 03:37:06 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [210.34.10.206]) by mail27.cn4e.com (WorldPost) with ESMTP id 0C1C1D3E3BCA; Wed, 24 Mar 2004 20:03:07 +0800 (CST) Message-ID: <4061729F.4010504@realss.com> Date: Wed, 24 Mar 2004 19:35:59 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040227 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dmitry Yaitskov References: <84hdwfvtzq.fsf@nothing.nowhere.com> In-Reply-To: <84hdwfvtzq.fsf@nothing.nowhere.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: Windows client/FreeBSD server Q. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 11:37:07 -0000 Dmitry Yaitskov wrote: >Hi, > >I have a couple of bluetooth USB dongles (made by BlueGear), and would >like to use these to connect my laptop to my home LAN. I went through >the basic setup steps described here >http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running >on FreeBSD. It can also see the other dongle on the laptop, e.g. the > ># hccontrol -n ubt0hci inquiry > >returns the other device's BT_ADDR etc. Also, the other device does >see the FreeBSD one. > >My question is, now what? I"d like somehow to let the laptop access >the LAN on which the FreeBSD system is, so I need some server on the >FreeBSD side (I've downloaded the sdp-1.5 package but I could not find >much (any) docs/info on its use unfortunately) and a Windows client on >the laptop - any pointers/advice will be much appreciated. > You need to run rfcomm_pppd. This tool builds ppp connection on both side. If you ever configured ppp(8) it won't be difficult. You need to run sdpd on server side, sdpd is not necessary on client side. You need to read rfcomm_pppd(8). I'm not in my office, I'll send my real configure file later when I am in my office. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 19:03:34 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6599316A4CE for ; Wed, 24 Mar 2004 19:03:34 -0800 (PST) Received: from fep04-mail.bloor.is.net.cable.rogers.com (fep04-mail.bloor.is.net.cable.rogers.com [66.185.86.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9634443D41 for ; Wed, 24 Mar 2004 19:03:33 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep04-mail.bloor.is.net.cable.rogers.com ESMTP <20040325030245.ZUMO323940.fep04-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Wed, 24 Mar 2004 22:02:45 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO000236; 24 Mar 2004 22:05:00 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 24 Mar 2004 22:04:36 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG000235; 24 Mar 2004 22:04:36 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <4061729F.4010504@realss.com> (Zhang Weiwu's message of "Wed, 24 Mar 2004 19:35:59 +0800") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> From: Dmitry Yaitskov Organization: Disorganized Date: Wed, 24 Mar 2004 22:04:36 -0500 Message-ID: <84lllp1vaz.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep04-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Wed, 24 Mar 2004 22:02:42 -0500 Subject: Re: Windows client/FreeBSD server Q. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 03:03:34 -0000 Zhang Weiwu wrote: > Dmitry Yaitskov wrote: > >>Hi, >> >>I have a couple of bluetooth USB dongles (made by BlueGear), and would >>like to use these to connect my laptop to my home LAN. I went through >>the basic setup steps described here >>http://www.oook.cz/bsd/bluetooth.html and got my gongle up and running >>on FreeBSD. It can also see the other dongle on the laptop, e.g. the >> >># hccontrol -n ubt0hci inquiry >> >>returns the other device's BT_ADDR etc. Also, the other device does >>see the FreeBSD one. >> >>My question is, now what? I"d like somehow to let the laptop access >>the LAN on which the FreeBSD system is, so I need some server on the >>FreeBSD side (I've downloaded the sdp-1.5 package but I could not find >>much (any) docs/info on its use unfortunately) and a Windows client on >>the laptop - any pointers/advice will be much appreciated. >> > You need to run rfcomm_pppd. This tool builds ppp connection on both > side. If you ever configured ppp(8) it won't be difficult. Thanks, I understand more or less what needs to be done on the server side. I am still unclear though about the client - which is WinXP - what do I need to do/run there? > You need to run sdpd on server side, sdpd is not necessary on client side. > > You need to read rfcomm_pppd(8). I'm not in my office, I'll send my > real configure file later when I am in my office. Could you do that? Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 19:20:54 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8959516A4CE for ; Wed, 24 Mar 2004 19:20:54 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 26CFA43D2F for ; Wed, 24 Mar 2004 19:20:53 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 49825 invoked by uid 1000); 25 Mar 2004 03:20:51 -0000 Date: Thu, 25 Mar 2004 13:50:51 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325032051.GD42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d01dLTUuW90fS44H" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Pairing a Sony Ericsson T68i to FreeBSD 5.2.1 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 03:20:54 -0000 --d01dLTUuW90fS44H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I just upgraded a machine to 5.2.1 to do some Bluetooth experimentation. I am trying to communicate with my T68i. My USB dongle is connected: ubt0: vendor 0x0a12 product 0x0001, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: interrupt=3D0x81, bulk-in=3D0x82, bulk-out=3D0= x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=3D0x83, isoc-out=3D0x3; wMaxPacketSize=3D49; nframes=3D6, buffer size=3D294 The phone is discoverable: > hccontrol -n ubt0hci inquiry Inquiry result, num_responses=3D1 Inquiry result #0 BD_ADDR: 00:80:37:79:bf:e9 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:22:04 Clock offset: 0x540 Inquiry complete. Status: No error [00] Now I want to pair with the phone and do some service enquiries. I have this entry in /etc/bluetooth/hcsecd.conf: device { bdaddr 00:80:37:79:bf:e9; name "T68i"; key nokey; pin "1111"; } I run 'hcsecd -d', and try to initiate pairing from the phone. Now the T68i asks for a "Passkey", but I assume it wants the PIN. Upon entering the PIN, it thinks, then reports "Bluetooth connection failed". I get no message from hcsecd. Have I missed a step here? Has anyone else got a T68i working? Further to this, and assuming I get it working at some point, I cannot seem to find the SDP tools---do I still need to download and compile the sdp-1.5 package? Thanks for any help! --=20 Paul. mailto:paulh@logicsquad.net --d01dLTUuW90fS44H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYlAT730Z/jysbzIRAlmMAJ4hLOJwU4kTtaxEXNDfUhKR7jTZIgCfVTic rKP204XnhEWoFeckRbppmS4= =fUeg -----END PGP SIGNATURE----- --d01dLTUuW90fS44H-- From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 20:19:04 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38CCD16A4CF for ; Wed, 24 Mar 2004 20:19:04 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id CF19B43D46 for ; Wed, 24 Mar 2004 20:19:02 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 59337 invoked by uid 1000); 25 Mar 2004 04:18:59 -0000 Date: Thu, 25 Mar 2004 14:48:59 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325041859.GF42893@grover.logicsquad.net> References: <20040325032051.GD42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QXO0/MSS4VvK6f+D" Content-Disposition: inline In-Reply-To: <20040325032051.GD42893@grover.logicsquad.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Pairing a Sony Ericsson T68i to FreeBSD 5.2.1 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 04:19:04 -0000 --QXO0/MSS4VvK6f+D Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 25, 2004 at 01:50:51PM +1030, Paul A. Hoadley wrote: > I run 'hcsecd -d', and try to initiate pairing from the phone. Now > the T68i asks for a "Passkey", but I assume it wants the PIN. Upon > entering the PIN, it thinks, then reports "Bluetooth connection > failed". I get no message from hcsecd. >=20 > Have I missed a step here? Has anyone else got a T68i working? Sorry people, my bad---I didn't read to the bottom of the Handbook page: # hccontrol -n ubt0hci write_node_role_switch 0 It now works. > Further to this, and assuming I get it working at some point, I > cannot seem to find the SDP tools---do I still need to download and > compile the sdp-1.5 package? I have successfully built the binaries from this package. Is this still the way to go? --=20 Paul. mailto:paulh@logicsquad.net --QXO0/MSS4VvK6f+D Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYl2y730Z/jysbzIRApEfAJ9tszSZOwdn5LzE+3fxJN4/7jFnKQCeJuHT EThpkWg5XNvOtU9a+r6qYeU= =cTW6 -----END PGP SIGNATURE----- --QXO0/MSS4VvK6f+D-- From owner-freebsd-bluetooth@FreeBSD.ORG Wed Mar 24 23:03:25 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63EE516A4CE for ; Wed, 24 Mar 2004 23:03:25 -0800 (PST) Received: from fep02-mail.bloor.is.net.cable.rogers.com (fep02-mail.bloor.is.net.cable.rogers.com [66.185.86.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9F5343D1D for ; Wed, 24 Mar 2004 23:03:24 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep02-mail.bloor.is.net.cable.rogers.com ESMTP <20040325070222.SYG39251.fep02-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Thu, 25 Mar 2004 02:02:22 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00025C; 25 Mar 2004 02:04:54 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 25 Mar 2004 02:04:36 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00025B; 25 Mar 2004 02:04:33 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <84lllp1vaz.fsf@nothing.nowhere.com> (Dmitry Yaitskov's message of "Wed, 24 Mar 2004 22:04:36 -0500") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84lllp1vaz.fsf@nothing.nowhere.com> From: Dmitry Yaitskov Organization: Disorganized Date: Thu, 25 Mar 2004 02:04:33 -0500 Message-ID: <84d6711k72.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Thu, 25 Mar 2004 02:02:22 -0500 Subject: Re: Windows client/FreeBSD server Q. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 07:03:25 -0000 Hi again, Ok, I got somewhat closer to where I want to be I think... I found a set of bluetooth tools on the CDs that came with my laptop (Toshiba satellite 5000) and installed them. After some tweaking and following the rfcomm_pppd man pages I got to the point where I can see the BT device on FreeBSD from the laptop, and see the "LAN access over PPP" service on it. I can even "connect' from the laptop to that service. But then nothing happens (on the laptop's network connections panel, there is a "Bluetooth LAN emulation from Toshiba" connection, and it stays in the "network cable unplugged" status)... My guess is that the PPP part on the FreeBSD side is not configured correctly. Using the hcidump I see lots of activity when I connect, here's the last fragment: > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 72 L2CAP(d): cid 0x7a len 68 [psm 3] RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 72 L2CAP(d): cid 0x7a len 68 [psm 3] RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > HCI Event: Number of Completed Packets(0x13) plen 5 < ACL data: handle 0x0028 flags 0x02 dlen 8 L2CAP(d): cid 0x7a len 4 [psm 3] RFCOMM(s): DISC: cr 0 dlci 2 pf 1 ilen 0 fcs 0xd9 > HCI Event: Number of Completed Packets(0x13) plen 5 > ACL data: handle 0x0028 flags 0x02 dlen 8 L2CAP(d): cid 0x5a len 4 [psm 3] RFCOMM(s): UA: cr 0 dlci 2 pf 1 ilen 0 fcs 0xf3 then nothing happens for a while, and finally (after several minutes) this: > ACL data: handle 0x0028 flags 0x02 dlen 12 L2CAP(s): Disconn req: dcid 0x0059 scid 0x0078 < ACL data: handle 0x0028 flags 0x02 dlen 12 L2CAP(s): Disconn rsp: dcid 0x0059 scid 0x0078 > HCI Event: Number of Completed Packets(0x13) plen 5 > HCI Event: Disconn Complete(0x05) plen 4 which I guess means that the connection was terminated for lack of activity: My best guess is that ppp is misconfigured on the server. Here's what my ppp.conf contains (the only part that I changed is rfcomm-server): ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set timeout 180 enable dns set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) rfcomm-server: set timeout 0 set lqrperiod 10 set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 enable lqr accept lqr disable pap deny pap disable chap deny chap papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route Any ideas will be much appreciated. Thanks. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 01:13:30 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4890116A4CE for ; Thu, 25 Mar 2004 01:13:30 -0800 (PST) Received: from grover.logicsquad.net (ppp142-17.lns1.adl2.internode.on.net [150.101.142.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 15B1743D3F for ; Thu, 25 Mar 2004 01:13:29 -0800 (PST) (envelope-from paulh@logicsquad.net) Received: (qmail 69763 invoked by uid 1000); 25 Mar 2004 09:13:27 -0000 Date: Thu, 25 Mar 2004 19:43:27 +1030 From: "Paul A. Hoadley" To: freebsd-bluetooth@freebsd.org Message-ID: <20040325091327.GI42893@grover.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cVp8NMj01v+Em8Se" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: More on T68i X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 09:13:30 -0000 --cVp8NMj01v+Em8Se Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, After conversing with myself on-list earlier, I have now got files going back and forth between my T68i and FreeBSD 5.2.1. (This is using obexapp from the command line. I am yet to succeed with a phone-initiated transfer with sdpd running---phone just bails out with 'Bluetooth connection failed'.) Has anyone progressed any further than this with a T68i? I notice Maksim Yevmenkin refers to testing on a T68i in the obexapp man page---Maksim, are you doing anything more sophisticated than single file transfers using obexapp? I am interested in doing something like maintaining a central vCard database (though probably in a more accessible form, such as RDF, and converting to vCard as required) to which I can sync my T68i, and hopefully my Palm Zire 71. Is anyone doing anything like this? --=20 Paul. mailto:paulh@logicsquad.net --cVp8NMj01v+Em8Se Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAYqK3730Z/jysbzIRAjkrAJ9FwC4GETixlOcW5VOrgRXStfH1pwCfSs9b IGEGCIKx/NnRq5eRER2mLAY= =kvQa -----END PGP SIGNATURE----- --cVp8NMj01v+Em8Se-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 04:42:22 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DA6E16A4CE for ; Thu, 25 Mar 2004 04:42:22 -0800 (PST) Received: from mail27.cn4e.com (unknown [218.107.207.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618CD43D2F for ; Thu, 25 Mar 2004 04:42:21 -0800 (PST) (envelope-from zhangweiwu@realss.com) Received: from realss.com (unknown [218.85.105.169]) by mail27.cn4e.com (WorldPost) with ESMTP id 276F7D6DE6FD; Thu, 25 Mar 2004 21:08:36 +0800 (CST) Message-ID: <4062D379.9020500@realss.com> Date: Thu, 25 Mar 2004 20:41:29 +0800 From: Zhang Weiwu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040227 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: Dmitry Yaitskov References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84lllp1vaz.fsf@nothing.nowhere.com> <84d6711k72.fsf@nothing.nowhere.com> In-Reply-To: <84d6711k72.fsf@nothing.nowhere.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: =?UTF-8?B?546LIOWuh+e/lA==?= Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 12:42:22 -0000 Hi. Dmitry Yaitskov wrote: >Hi again, > >Ok, I got somewhat closer to where I want to be I think... I found a >set of bluetooth tools on the CDs that came with my laptop (Toshiba >satellite 5000) and installed them. After some tweaking and following >the rfcomm_pppd man pages I got to the point where I can see the BT >device on FreeBSD from the laptop, and see the "LAN access over PPP" >service on it. I can even "connect' from the laptop to that service. >But then nothing happens (on the laptop's network connections panel, >there is a "Bluetooth LAN emulation from Toshiba" connection, and it >stays in the "network cable unplugged" status)... My guess is that the >PPP part on the FreeBSD side is not configured correctly. Using the >hcidump I see lots of activity when I connect, here's the last >fragment: > > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 72 > L2CAP(d): cid 0x7a len 68 [psm 3] > RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 72 > L2CAP(d): cid 0x7a len 68 [psm 3] > RFCOMM(d): UIH: cr 0 dlci 2 pf 0 ilen 64 fcs 0x40 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >> >> >< ACL data: handle 0x0028 flags 0x02 dlen 8 > L2CAP(d): cid 0x7a len 4 [psm 3] > RFCOMM(s): DISC: cr 0 dlci 2 pf 1 ilen 0 fcs 0xd9 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >>> ACL data: handle 0x0028 flags 0x02 dlen 8 >> >> > L2CAP(d): cid 0x5a len 4 [psm 3] > RFCOMM(s): UA: cr 0 dlci 2 pf 1 ilen 0 fcs 0xf3 > >then nothing happens for a while, and finally (after several minutes) >this: > > > >>> ACL data: handle 0x0028 flags 0x02 dlen 12 >> >> > L2CAP(s): Disconn req: dcid 0x0059 scid 0x0078 >< ACL data: handle 0x0028 flags 0x02 dlen 12 > L2CAP(s): Disconn rsp: dcid 0x0059 scid 0x0078 > > >>> HCI Event: Number of Completed Packets(0x13) plen 5 >>> HCI Event: Disconn Complete(0x05) plen 4 >> >> > >which I guess means that the connection was terminated for >lack of activity: > >My best guess is that ppp is misconfigured on the server. Here's what >my ppp.conf contains (the only part that I changed is rfcomm-server): > >################################################################# ># PPP Sample Configuration File ># Originally written by Toshiharu OHNO ># Simplified 5/14/1999 by wself@cdrom.com ># ># See /usr/share/examples/ppp/ for some examples ># ># $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ >################################################################# > >default: > set timeout 180 > enable dns > set log Phase Chat LCP IPCP CCP tun command > ident user-ppp VERSION (built COMPILATIONDATE) > > > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set timeout 180 # 3 minute idle timer (the default) > enable dns # request DNS info (for resolv.conf) > >rfcomm-server: > set timeout 0 > set lqrperiod 10 > set ifaddr 10.0.0.1 10.0.0.2 255.255.255.0 > enable lqr > accept lqr > disable pap > deny pap > disable chap > deny chap > >papchap: > # > # edit the next three lines and replace the items in caps with > # the values which have been assigned by your ISP. > # > > set phone PHONE_NUM > set authname USERNAME > set authkey PASSWORD > > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR # Add a (sticky) default route > > >Any ideas will be much appreciated. Thanks. > > -- Cheers, -Dima. > I'm sorry I'm too busy today to give a detailed reply. I copied this email to my friend who has a Windows notebook connecting to my bluetooth server, I think he can help you if he has time:) Here is my ppp configure file, for your reference: == On the client side == thinkpad# cat /etc/ppp/ppp.conf bluetooth: enable lqr accept lqr set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 add default HISADDR enable dns set dial set timeout 0 disable iface-alias deny pap disable pap deny chap disable chap On the client, to connect use /etc/rc.bluetooth start ubt0 rfcomm_pppd -c -a 00:04:61:80:6f:e4 -C 1 -l bluetooth == On server side == dino# cat /etc/ppp/ppp.conf # on dino ppp is *only* used with rfcomm as bluetooth LAN # access server. This ppp.conf is written to fit that purpose. rfcomm-server: set timeout 0 set lqrperiod 10 #enable lqr disabled because Xiaojuan's notebook doesn't support lqr accept lqr set ifaddr 192.168.0.120 192.168.0.53-192.168.0.119 255.255.255.0 accept dns enable proxy #enable proxyall disable pap deny pap disable chap deny chap On the server I copied /etc/rc.bluetooth to /usr/local/etc/rc.d/bluetooth.sh and modified it to let the server start up accepting PPP connection. dino# diff /usr/local/etc/rc.d/bluetooth.sh /etc/rc.bluetooth 32,35d31 < # Zhang Weiwu: modifications --- < ## Usage check is disabled < ## Device is set to ubt0 < ## Call sdpd and rfcomm_pppd 154,157c150,153 < #if [ $# -lt 2 ]; then < # usage $0 < # exit 1 < #fi --- > if [ $# -lt 2 ]; then > usage $0 > exit 1 > fi 161,163c157,158 < #dev=$1 < #shift < dev=ubt0 --- > dev=$1 > shift 236,241d230 < # weiwu added: < hccontrol -n ubt0hci inquiry < sdpd < sdptool add --channel=1 LAN < rfcomm_pppd -s -C 1 -l rfcomm-server < echo -n ' bluetooth' From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 07:03:52 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A879516A4CE for ; Thu, 25 Mar 2004 07:03:52 -0800 (PST) Received: from fep01-mail.bloor.is.net.cable.rogers.com (fep01-mail.bloor.is.net.cable.rogers.com [66.185.86.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DDC443D1D for ; Thu, 25 Mar 2004 07:03:52 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep01-mail.bloor.is.net.cable.rogers.com ESMTP <20040325150132.EWFA138614.fep01-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Thu, 25 Mar 2004 10:01:32 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO0002A8; 25 Mar 2004 10:03:45 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 25 Mar 2004 10:03:40 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG0002A7; 25 Mar 2004 10:03:36 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <4062D379.9020500@realss.com> (Zhang Weiwu's message of "Thu, 25 Mar 2004 20:41:29 +0800") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84d6711k72.fsf@nothing.nowhere.com> <4062D379.9020500@realss.com> From: Dmitry Yaitskov Organization: Disorganized Date: Thu, 25 Mar 2004 10:03:36 -0500 Message-ID: <84vfktynnb.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep01-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Thu, 25 Mar 2004 10:01:32 -0500 Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2004 15:03:52 -0000 Hi Thanks Zhang. Some new info: I d/loaded a new bluetooth stack from Toshiba, and now I am actually able to connect, via a "modem" on the laptop side. The connection stays up, the problem seems to be with the TCP/IP and/or PPP settings. Here's what happens: After connection, ipconfig says the following about the connection on the laptop side: PPP adapter Direct Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface Physical Address. . . . . . . . . : 00-53-45-00-00-00 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.1.53 Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : 192.168.1.53 DNS Servers . . . . . . . . . . . : 192.168.1.1 I'm not sure but the fact that IP addr and the gateway are the same seems wrong to me. On the server, I tried mimicking the config that you posted: rfcomm-server: set timeout 0 set lqrperiod 10 enable lqr accept lqr set ifaddr 192.168.1.120 192.168.1.53-192.168.1.119 255.255.255.0 accept dns enable proxy disable pap deny pap disable chap deny chap Still, the only IP that I can ping from the laptop is the IP address/default gateway one. I guess I'm missing something obvious here... -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Thu Mar 25 21:44:18 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F5A716A4CE for ; Thu, 25 Mar 2004 21:44:18 -0800 (PST) Received: from fep03-mail.bloor.is.net.cable.rogers.com (fep03-mail.bloor.is.net.cable.rogers.com [66.185.86.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED10743D3F for ; Thu, 25 Mar 2004 21:44:17 -0800 (PST) (envelope-from dima@rogers.com) Received: from [24.100.213.250] by fep03-mail.bloor.is.net.cable.rogers.com ESMTP <20040326054417.OPOW396979.fep03-mail.bloor.is.net.cable.rogers.com@[24.100.213.250]> for ; Fri, 26 Mar 2004 00:44:17 -0500 Received: from Spooler by dima@rogers.com (Mercury/32 v4.01a) ID MO00036D; 26 Mar 2004 00:45:50 -0500 Received: from spooler by lumina.dima.componentone.com (Mercury/32 v4.01a); 26 Mar 2004 00:45:26 -0500 Received: from lumina.apexsc.com (127.0.0.1) by lumina.dima.componentone.com (Mercury/32 v4.01a) with ESMTP ID MG00036C; 26 Mar 2004 00:45:22 -0500 To: freebsd-bluetooth@freebsd.org In-Reply-To: <84vfktynnb.fsf@nothing.nowhere.com> (Dmitry Yaitskov's message of "Thu, 25 Mar 2004 10:03:36 -0500") References: <84hdwfvtzq.fsf@nothing.nowhere.com> <4061729F.4010504@realss.com> <84d6711k72.fsf@nothing.nowhere.com> <4062D379.9020500@realss.com> <84vfktynnb.fsf@nothing.nowhere.com> From: Dmitry Yaitskov Organization: Disorganized Date: Fri, 26 Mar 2004 00:45:22 -0500 Message-ID: <84brmkupot.fsf@nothing.nowhere.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, cygwin32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.100.213.250] using ID at Fri, 26 Mar 2004 00:44:17 -0500 Subject: Re: Windows client/FreeBSD server Q. on bluetooth LAN X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 05:44:18 -0000 Ok, here's the bottom line: got it working. The missing link was the gateway_enable="YES" line in rc.conf. After that, it all more or less just worked :) Thanks for the advice Zhang. -- Cheers, -Dima. From owner-freebsd-bluetooth@FreeBSD.ORG Wed Apr 28 02:18:49 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3822916A4CE for ; Wed, 28 Apr 2004 02:18:49 -0700 (PDT) Received: from fuse1.fusemail.net (smtp.fusemail.net [69.31.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABAC43D58 for ; Wed, 28 Apr 2004 02:18:48 -0700 (PDT) (envelope-from zhangweiwu@realss.com) Received: from fusemail.com by fuse1.fusemail.net with asmtp (FuseMail extSMTP) id 1BIlDI-0006AQ-Sq for freebsd-bluetooth@freebsd.org; Wed, 28 Apr 2004 04:18:45 -0500 Received: from phpmailer ([192.168.0.54]) by euler with HTTP (PHPMailer); Wed, 28 Apr 2004 17:29:02 +0800 Date: Wed, 28 Apr 2004 17:29:02 +0800 To: freebsd-bluetooth@freebsd.org From: =?UTF-8?Q?=E9=9F=A1=E6=AD=A6_=E5=BC=B5?= Message-ID: <9f99fea35dc7b79c89767ba0410aac1a@euler> X-Priority: 3 X-Mailer: PHPMailer [version 1.71] X-Mailer: Dawnmail version 0.9.5 Organization: REAL Softservice MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: the BSD sdpd and the GNU sdpd? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 09:18:49 -0000 Hello. I happen to have lots of problems with sdpd. Very frequently my bluetooth LAN access (over ppp) server is not discoverable, and if it is discoverable, other hosts see no service on that host (even sdpd is = running and LAN access service is registered). This happens randomly, so it's hard to debug. To helping me out, one of the author (or the only author?) wrote me long = ago suggesting me to use GNU sdpd rather than native sdpd. I'm sorry I cannot remember his/her name, that name is a bit too strange to me, very hard to remember. I remember he/she is watching this list too. But I cannot tell = the native sdpd from the gnu one. It's likely I'm using a native one, because = my sdpd does not accept option sdpd -h, nor sdpd --help, which gnu tools usually provide.=20 My problem is, if I'm not using GNU sdpd, where & how to get one? I didn't find it in the port tree. Should I get the source from GNU website and = hope it will compile and work fine on my FreeBSD 5.2? And I wonder if FreeBSD project would like to include the tool in future distriubution. I also use FreeBSD 5.2.1, which include all the tools I = need (like rfcomm_pppd and hccontrol) except sdpd. I hope sdpd can also be included:) Thank you. -- =E9=94=90=E4=B8=9A=E8=BD=AF=E6=9C=8D tel:2086411 From owner-freebsd-bluetooth@FreeBSD.ORG Sun May 16 22:44:07 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05B6E16A4CE for ; Sun, 16 May 2004 22:44:07 -0700 (PDT) Received: from goldfish.mallochdigital.com (goldfish.mallochdigital.com [202.46.138.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D03143D1D for ; Sun, 16 May 2004 22:44:06 -0700 (PDT) (envelope-from adrian@mallochdigital.com) Received: (qmail 89280 invoked by uid 0); 17 May 2004 05:44:54 -0000 Received: from unknown (HELO mallochdigital.com) (adrian@mallochdigital.com@192.168.0.72) by goldfish.mallochdigital.com with SMTP; 17 May 2004 05:44:54 -0000 Message-ID: <40A85124.8020607@mallochdigital.com> Date: Mon, 17 May 2004 15:44:04 +1000 From: Adrian Thearle Organization: Malloch Digital Design User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Securing Bluetooth Access X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 05:44:07 -0000 Howdy all I would like to inquire exactly how I would go about making my bluetooth LAN access a little more secure... That is ONLY allowing clients who have paired with me to connect. Thanks Adrian Thearle From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jul 1 10:50:59 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C48A16A4CE for ; Thu, 1 Jul 2004 10:50:59 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id A63A043D3F for ; Thu, 1 Jul 2004 10:50:58 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id B9A3F60; Thu, 1 Jul 2004 12:49:06 +0200 (CEST) Date: Thu, 1 Jul 2004 12:49:06 +0200 From: Guido van Rooij To: freebsd-bluetooth@freebsd.org Message-ID: <20040701104906.GA55892@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: problem pairing with a Sony-Ericsson T610 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 10:50:59 -0000 The subject says it all. I have the following in hcsecd.conf: device { bdaddr 00:0e:07:46:b5:c4; name "Gonz"; key nokey; pin "5449"; } with hcccpontrol I see: beck# hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:0e:07:46:b5:c4 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x1013 Inquiry complete. Status: No error [00] I can create connections with hccontrol: beck# hccontrol -n ubt0hci Create_Connection 00:0e:07:46:b5:c4 BD_ADDR: 00:0e:07:46:b5:c4 Connection handle: 41 Encryption mode: Disabled [0] beck# hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State 00:0e:07:46:b5:c4 41 ACL 0 MAST NONE 0 0 OPEN beck# hccontrol -n ubt0hci disconnect 41 Connection handle: 41 Reason: Connection terminated by local host [0x16] When I try to pair with hcsecd running (with -d, and a small patch that shows if it receives anything at all in the recvfrom() call), I don't see anything at all. During the pairing attempt, hcidump shows: > HCI Event: Connect Request(0x04) plen 10 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > HCI Event: Command Status(0x0f) plen 4 > HCI Event: Connect Complete(0x03) plen 11 and then the mobile phone says that the connection failed. The system I use is 5.2.1-RELEASE-p4. Relevant output: dmesg: ubt0: vendor 0x413c product 0x8000, rev 1.10/5.65, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 rc.bluetooth start ubt0: BD_ADDR: 00:10:c6:1d:33:d9 Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 Any help on how to proceed is highly appreciated. -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jul 1 18:29:21 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 621D116A4CF for ; Thu, 1 Jul 2004 18:29:21 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.248]) by mx1.FreeBSD.org (Postfix) with SMTP id 48AC143D4C for ; Thu, 1 Jul 2004 18:29:21 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so3152955cwb for ; Thu, 01 Jul 2004 11:28:16 -0700 (PDT) Received: by 10.11.99.23 with SMTP id w23mr125781cwb; Thu, 01 Jul 2004 11:21:36 -0700 (PDT) Message-ID: Date: Thu, 1 Jul 2004 11:21:36 -0700 From: Maksim Yevmenkin To: Guido van Rooij , freebsd-bluetooth@freebsd.org In-Reply-To: <40E451EE.7090601@cw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40E451EE.7090601@cw.com> Subject: Re: problem pairing with a Sony-Ericsson T610 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2004 18:29:21 -0000 Hello > I have the following in hcsecd.conf: > device { > bdaddr 00:0e:07:46:b5:c4; > name "Gonz"; > key nokey; > pin "5449"; > } looks fine > with hcccpontrol I see: > beck# hccontrol -n ubt0hci inquiry > Inquiry result, num_responses=1 > Inquiry result #0 > BD_ADDR: 00:0e:07:46:b5:c4 > Page Scan Rep. Mode: 0x1 > Page Scan Period Mode: 00 > Page Scan Mode: 00 > Class: 52:02:04 > Clock offset: 0x1013 > Inquiry complete. Status: No error [00] looks fine too > I can create connections with hccontrol: > beck# hccontrol -n ubt0hci Create_Connection 00:0e:07:46:b5:c4 > BD_ADDR: 00:0e:07:46:b5:c4 > Connection handle: 41 > Encryption mode: Disabled [0] > beck# hccontrol -n ubt0hci read_connection_list > Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State > 00:0e:07:46:b5:c4 41 ACL 0 MAST NONE 0 0 OPEN > beck# hccontrol -n ubt0hci disconnect 41 > Connection handle: 41 > Reason: Connection terminated by local host [0x16] you do not have to do it but it looks fine anyway :) > When I try to pair with hcsecd running (with -d, and a small patch that > shows if it receives anything at all in the recvfrom() call), I don't > see anything at all. you won't see anything unless there is link key/pin code request > During the pairing attempt, hcidump shows: > > HCI Event: Connect Request(0x04) plen 10 > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > > HCI Event: Command Status(0x0f) plen 4 > > HCI Event: Connect Complete(0x03) plen 11 hcidump -x would be more useful :) but it looks like you are trying to initiate connection from the phone, right? by default freebsd will accept any connection without authentication. if you really want to make freebsd authenticate incoming connections then you need to # hccontrol -n ubt0hci write_authentication_enable 1 on the other hand you might pair devices by initiating connection to the phone, i.e. for example try to use obexapp(1) to get phone book. the very first time phone asks if you want to add device to the trusted list. that is how i do it on my t68i. and if i need to push data from my phone to pc i just push it. i do not need to pair devices because freebsd does not ask for it. > and then the mobile phone says that the connection failed. well, it is hard to say its really "failed" because i can not tell what status was returned in "Connect Complete" event. next time please use 'hcidump -x'. you also might need to # hccontrol -n ubt0hci write_node_role_switch 0 if your phone does not support role switch, see "troubleshooting" section at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 09:25:06 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D5E816A4CE for ; Fri, 2 Jul 2004 09:25:06 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF28943D31 for ; Fri, 2 Jul 2004 09:25:05 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id 09FA150; Fri, 2 Jul 2004 11:23:50 +0200 (CEST) Date: Fri, 2 Jul 2004 11:23:49 +0200 From: Guido van Rooij To: Maksim Yevmenkin Message-ID: <20040702092349.GA70090@gvr.gvr.org> References: <40E451EE.7090601@cw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 09:25:06 -0000 On Thu, Jul 01, 2004 at 11:21:36AM -0700, Maksim Yevmenkin wrote: > > > During the pairing attempt, hcidump shows: > > > HCI Event: Connect Request(0x04) plen 10 > > < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 > > > HCI Event: Command Status(0x0f) plen 4 > > > HCI Event: Connect Complete(0x03) plen 11 > > hcidump -x would be more useful :) but it looks like you are trying to > initiate connection from > the phone, right? by default freebsd will accept any connection Yep. > without authentication. if you > really want to make freebsd authenticate incoming connections then you need to > > # hccontrol -n ubt0hci write_authentication_enable 1 Before issuing this command I got: beck# ./hcidump -x HCIDump - HCI packet analyzer ver 1.5 device: any snap_len: 65535 filter: 0xffffffff > HCI Event: Connect Request(0x04) plen 10 C4 B5 46 07 0E 00 04 02 52 01 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 C4 B5 46 07 0E 00 00 > HCI Event: Command Status(0x0f) plen 4 00 01 09 04 > HCI Event: Connect Complete(0x03) plen 11 1A 29 00 C4 B5 46 07 0E 00 01 00 then: < HCI Command: Write Authentication Enable(0x03|0x0020) plen 1 01 > HCI Event: Command Complete(0x0e) plen 4 01 20 0C 00 and after a new attempt: > HCI Event: Connect Request(0x04) plen 10 C4 B5 46 07 0E 00 04 02 52 01 < HCI Command: Accept Connection Request(0x01|0x0009) plen 7 C4 B5 46 07 0E 00 00 > HCI Event: Command Status(0x0f) plen 4 00 01 09 04 > HCI Event: Connect Complete(0x03) plen 11 1A 29 00 C4 B5 46 07 0E 00 01 00 > > on the other hand you might pair devices by initiating connection to > the phone, i.e. for example try to use obexapp(1) to get phone book. > the very first time phone asks if you want to add device to the > trusted list. that is how i do it on my t68i. and if i need to push > data from my phone to pc i just push it. i do not need to pair devices > because freebsd does not ask for it. I am trying to create a situation where my FreeBSD systems starts executing certain commands when the mobile is in range. I think it is more handy that the mobile initiates the connection. > > > and then the mobile phone says that the connection failed. > > well, it is hard to say its really "failed" because i can not tell > what status was returned in "Connect Complete" event. next time please > use 'hcidump -x'. > > you also might need to > > # hccontrol -n ubt0hci write_node_role_switch 0 > > if your phone does not support role switch, see "troubleshooting" section at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html Bingo! That's it! Thanks a lot! -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 09:28:26 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EDA216A4CE for ; Fri, 2 Jul 2004 09:28:26 +0000 (GMT) Received: from gvr.gvr.org (gvr-gw.gvr.org [80.126.103.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB9FF43D41 for ; Fri, 2 Jul 2004 09:28:25 +0000 (GMT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id A1A6750; Fri, 2 Jul 2004 11:26:53 +0200 (CEST) Date: Fri, 2 Jul 2004 11:26:53 +0200 From: Guido van Rooij To: Maksim Yevmenkin Message-ID: <20040702092653.GA70378@gvr.gvr.org> References: <40E451EE.7090601@cw.com> <20040702092349.GA70090@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040702092349.GA70090@gvr.gvr.org> cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 09:28:26 -0000 On Fri, Jul 02, 2004 at 11:23:49AM +0200, Guido van Rooij wrote: > I am trying to create a situation where my FreeBSD systems starts executing > certain commands when the mobile is in range. I think it is more handy > that the mobile initiates the connection. Hmm. It seems there is no 'device out of range' event. Is that correct? -Guido From owner-freebsd-bluetooth@FreeBSD.ORG Fri Jul 2 16:24:37 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F43A16A4E0 for ; Fri, 2 Jul 2004 16:24:37 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.252]) by mx1.FreeBSD.org (Postfix) with SMTP id 69C3943D45 for ; Fri, 2 Jul 2004 16:24:37 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so4307695cwb for ; Fri, 02 Jul 2004 09:23:06 -0700 (PDT) Received: by 10.11.116.64 with SMTP id o64mr89043cwc; Fri, 02 Jul 2004 09:16:26 -0700 (PDT) Message-ID: Date: Fri, 2 Jul 2004 09:16:26 -0700 From: Maksim Yevmenkin To: Guido van Rooij In-Reply-To: <20040702092653.GA70378@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40E451EE.7090601@cw.com> <20040702092349.GA70090@gvr.gvr.org> <20040702092653.GA70378@gvr.gvr.org> cc: freebsd-bluetooth@freebsd.org Subject: Re: problem pairing with a Sony-Ericsson T610 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 16:24:37 -0000 Hello Guido, [...] > > I am trying to create a situation where my FreeBSD systems starts executing > > certain commands when the mobile is in range. I think it is more handy > > that the mobile initiates the connection. > > Hmm. > It seems there is no 'device out of range' event. Is that correct? no, there is not. when device goes out of range, all active connections to the device are terminated by the link manager (firmware). the host (pc) just gets notification on connection termination. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 26 13:35:21 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAA8016A4CE for ; Mon, 26 Jul 2004 13:35:21 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D5F43D5E for ; Mon, 26 Jul 2004 13:35:21 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-169.dsl.onthenet.net [203.144.30.169]) i6QDZJnP064832 for ; Mon, 26 Jul 2004 23:35:20 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41050A2C.3080509@freebsd.org> Date: Mon, 26 Jul 2004 23:42:04 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: BCM2033 bluez 1.0 firmware ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 13:35:22 -0000 Hi, I've just given Bluetooth a whirl on FreeBSD/PPC, and it seems to work fine. However, I couldn't get the 1.0 firmware from bluez to work. The 0.9 version seemed to be fine. Has anyone given the 1.0 f/w a go ? later, Peter. From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 26 17:02:38 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFB0B16A4D0 for ; Mon, 26 Jul 2004 17:02:38 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60CA943D69 for ; Mon, 26 Jul 2004 17:02:38 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id m69so82562rne for ; Mon, 26 Jul 2004 10:02:24 -0700 (PDT) Received: by 10.38.12.79 with SMTP id 79mr764530rnl; Mon, 26 Jul 2004 09:55:44 -0700 (PDT) Message-ID: Date: Mon, 26 Jul 2004 09:55:44 -0700 From: Maksim Yevmenkin To: Peter Grehan , freebsd-bluetooth@freebsd.org In-Reply-To: <41053315.6090906@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41053315.6090906@savvis.net> Subject: Re: BCM2033 bluez 1.0 firmware ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 17:02:38 -0000 Hi Peter, > I've just given Bluetooth a whirl on FreeBSD/PPC, and it seems > to work fine. first, let me thank you for trying this. i'm very glad it worked for you. > However, I couldn't get the 1.0 firmware from bluez to work. > The 0.9 version seemed to be fine. hmm... i'm a bit confused here. what do you mean by "1.0 firmware from bluez"? from what i can see at http://cvs.sourceforge.net/viewcvs.py/bluez/bluefw/firmware/ cvs: bluez/bluefw/firmware/BCM2033-FW.bin - actual firmware Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs] Sat Apr 26 00:33:40 2003 UTC (15 months ago) by maxk Branch: MAIN CVS Tags: REL-1_0, REL-1_2, HEAD Changes since 1.6: +414 -368 lines Diff to previous 1.6 Update BCM firmware to version 2.16. and cvs: bluez/bluefw/firmware/BCM2033-MD.hex - mini-driver Revision 1.3 - (view) (download) (annotate) - [select for diffs] Thu May 23 21:03:15 2002 UTC (2 years, 2 months ago) by maxk Branch: MAIN CVS Tags: REL-1_0, REL-1_2, REL-0_5, REL-0_6, REL-0_7, REL-0_8, HEAD Changes since 1.2: +83 -83 lines Diff to previous 1.2 Upgrade to version 2.13 both files were updated at least year ago. > Has anyone given the 1.0 f/w a go ? i have belkin bluetooth adapter that uses bcm2033 chip and i'm pretty sure i tried the above mentioned files with it and everything worked just fine. 1) could you please clarify what do you mean by "1.0 version f/w"? 2) could you please tell me exactly what adapter do you have? (i.e. d-link, belkin other) 3) could you please point me to the "1.0 version f/w" so i can try it with my adapter? 4) is there any particular reason you would like to use "1.0 f/w" instead of "0.9 f/w"? thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 26 17:12:23 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BF9816A4CE for ; Mon, 26 Jul 2004 17:12:23 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E46E43D49 for ; Mon, 26 Jul 2004 17:12:23 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id m69so82957rne for ; Mon, 26 Jul 2004 10:12:21 -0700 (PDT) Received: by 10.38.75.1 with SMTP id x1mr234337rna; Mon, 26 Jul 2004 10:12:21 -0700 (PDT) Message-ID: Date: Mon, 26 Jul 2004 10:12:21 -0700 From: Maksim Yevmenkin To: Peter Grehan , freebsd-bluetooth@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41053315.6090906@savvis.net> Subject: Re: BCM2033 bluez 1.0 firmware ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 17:12:23 -0000 Hi Peter, i just tried firmware from bluez-bluefw-1.0.tar.gz package (http://www.bluez.org/download.html). it seems to work just fine with my belkin f8t001 bluetooth adapter. beetle# kldload ubtbcmfw beetle# kldload ng_ubt i attached my adapter and (from /var/log/messages) Jul 26 10:02:09 beetle kernel: ubtbcmfw0: Broadcom BCM2033 Bluetooth USB dongle, rev 1.01/0.a0, addr 3 now beetle% pwd /usr/home/max/bluetooth/linux/bluez-bluefw-1.0/firmware beetle% md5 BCM2033-MD.hex MD5 (BCM2033-MD.hex) = 5580317158d07fc4ace90af04f8e1c73 beetle% md5 BCM2033-FW.bin MD5 (BCM2033-FW.bin) = b4e142b3272cfe5a84b32fda6b4b032f beetle% md5 ../../bluez-bluefw-0.9/firmware/BCM2033-MD.hex beetle# bcmfw -f BCM2033-FW.bin -m BCM2033-MD.hex -n ubtbcmfw0 and in /var/log/messages Jul 26 10:04:07 beetle kernel: ubtbcmfw0: at uhub1 port 2 (addr 3) disconnected Jul 26 10:04:07 beetle kernel: ubtbcmfw0: detached Jul 26 10:04:08 beetle kernel: ubt0: Broadcom Corp. BCM2033, rev 1.01/0.a0, addr 3 Jul 26 10:04:08 beetle kernel: ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 Jul 26 10:04:08 beetle kernel: ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 finally beetle# /usr/local/etc/rc.bluetooth start ubt0 BD_ADDR: 00:03:c9:2b:9b:5c Features: 0xff 0xfd 0x5 00 00 00 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 377 bytes Number of ACL packets: 10 Max. SCO packet size: 16 bytes Number of SCO packets: 0 beetle# hccontrol -n ubt0hci read_local_version_information HCI version: v1.1 [0x1] HCI revision: 0x02 LMP version: 0x1 LMP sub-version: 0x1007 Manufacturer: Broadcom Corporation [0x0f] beetle# uname -a FreeBSD beetle.digisle.com 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sat Jul 10 21:10:35 PDT 2004 root@beetle.digisle.com:/usr/obj/usr/src/sys/BEETLE i386 thanks, max On Mon, 26 Jul 2004 09:55:44 -0700, Maksim Yevmenkin wrote: > Hi Peter, > > > I've just given Bluetooth a whirl on FreeBSD/PPC, and it seems > > to work fine. > > first, let me thank you for trying this. i'm very glad it worked for you. > > > However, I couldn't get the 1.0 firmware from bluez to work. > > The 0.9 version seemed to be fine. > > hmm... i'm a bit confused here. what do you mean by "1.0 firmware from > bluez"? from what i can see at > > http://cvs.sourceforge.net/viewcvs.py/bluez/bluefw/firmware/ > > cvs: bluez/bluefw/firmware/BCM2033-FW.bin - actual firmware > > Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs] > Sat Apr 26 00:33:40 2003 UTC (15 months ago) by maxk > Branch: MAIN > CVS Tags: REL-1_0, REL-1_2, HEAD > Changes since 1.6: +414 -368 lines > Diff to previous 1.6 > > Update BCM firmware to version 2.16. > > and > > cvs: bluez/bluefw/firmware/BCM2033-MD.hex - mini-driver > > Revision 1.3 - (view) (download) (annotate) - [select for diffs] > Thu May 23 21:03:15 2002 UTC (2 years, 2 months ago) by maxk > Branch: MAIN > CVS Tags: REL-1_0, REL-1_2, REL-0_5, REL-0_6, REL-0_7, REL-0_8, HEAD > Changes since 1.2: +83 -83 lines > Diff to previous 1.2 > > Upgrade to version 2.13 > > both files were updated at least year ago. > > > Has anyone given the 1.0 f/w a go ? > > i have belkin bluetooth adapter that uses bcm2033 chip and i'm pretty > sure i tried the above mentioned files with it and everything worked > just fine. > > 1) could you please clarify what do you mean by "1.0 version f/w"? > > 2) could you please tell me exactly what adapter do you have? (i.e. > d-link, belkin other) > > 3) could you please point me to the "1.0 version f/w" so i can try it > with my adapter? > > 4) is there any particular reason you would like to use "1.0 f/w" > instead of "0.9 f/w"? > > thanks, > max > From owner-freebsd-bluetooth@FreeBSD.ORG Mon Jul 26 22:58:44 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2016116A4CE for ; Mon, 26 Jul 2004 22:58:44 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 722E543D49 for ; Mon, 26 Jul 2004 22:58:43 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-30-169.dsl.onthenet.net [203.144.30.169]) i6QMwbnP065852; Tue, 27 Jul 2004 08:58:38 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <41058E32.5090309@freebsd.org> Date: Tue, 27 Jul 2004 09:05:22 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <41053315.6090906@savvis.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: BCM2033 bluez 1.0 firmware ? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 22:58:44 -0000 Hi Maksim, > beetle% md5 BCM2033-FW.bin > MD5 (BCM2033-FW.bin) = b4e142b3272cfe5a84b32fda6b4b032f ... which is different than 0.9 (and the man page), hence my original question :-) But, I have to plead finger trouble - I just tried it again and it worked fine ! Thanks for you help. I'll give it more of a test against OSX. later, Peter. From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 05:26:47 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5E1C16A4CF; Mon, 2 Aug 2004 05:26:47 +0000 (GMT) Received: from kimi.asti.dost.gov.ph (kimi.asti.dost.gov.ph [202.90.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42CFF43D5C; Mon, 2 Aug 2004 05:26:46 +0000 (GMT) (envelope-from edwinv@asti.dost.gov.ph) Received: from banao.pregi.net (unknown [10.10.8.3]) by kimi.asti.dost.gov.ph (Postfix) with ESMTP id 76B7223820D; Mon, 2 Aug 2004 13:26:01 +0800 (PHT) From: "Edwin D. Vinas" Organization: DOST-ASTI To: freebsd-questions@freebsd.org Date: Mon, 2 Aug 2004 13:21:31 +0800 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408021321.31329.edwinv@asti.dost.gov.ph> cc: freebsd-bluetooth@freebsd.org Subject: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 05:26:47 -0000 Hi, I recently shifted to FreeBSD-5.2 from Windows XP because I know there is a bluetooh support in these new 5.x versions. I was so glad that FreeBSD have improved a lot! However, I have a problem with installing or making the bluetooth file transfer work. Here are the details below: I followed the documentation by Pav on http://www.oook.cz/bsd/bluetooth.html. I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI bluetooth dongle. I was able to discover other devices, and execute other built-in commands such as hccontrol, l2ping, l2control, sdptool etc. But, I noticed that the the basic file transfer called OBEX was not yet incorporated in the FreeBSD-5.2 and that I have to install an openobex or something. I have succesfully installed openobex from sourceforge, but it doesn't have the "obexapp" command. The i tried installing the "obexapp" from sourceforge too. The problem is that I cant install it. tar -zxvf obexapp-1.2.tar.gz (extracts two directories openobex-1.0.1/ and obexapp/) cd openobex-1.0.1 ./configure /usr/local/bin/make /usr/local/bin/make install cd obexapp (no ./configure and NO README!!!) so i tried, "make" or "/usr/local/bin/make" when i tried "make": banao# make Warning: Object directory not changed from original /usr/home/misoy/EDV/ Bluetooth/src/obexapp cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c main.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c client.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c event.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c sdp.c cc -I/usr/local/include -I/usr/local/include/openobex -g -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c server.c server.c: In function `obexapp_server': server.c:118: error: too many arguments to function `sdp_open_local' *** Error code 1 Stop in /usr/home/misoy/EDV/Bluetooth/src/obexapp. using /usr/local/bin/make: banao# /usr/local/bin/make Makefile:23: *** missing separator. Stop. -Edwin From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 07:40:41 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 890A016A4CE; Mon, 2 Aug 2004 07:40:41 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BB7B43D41; Mon, 2 Aug 2004 07:40:39 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i727eD1u039772 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Aug 2004 08:40:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i727eD8i039771; Mon, 2 Aug 2004 08:40:13 +0100 (BST) (envelope-from matthew) Date: Mon, 2 Aug 2004 08:40:13 +0100 From: Matthew Seaman To: "Edwin D. Vinas" Message-ID: <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Edwin D. Vinas" , freebsd-questions@freebsd.org, freebsd-bluetooth@freebsd.org References: <200408021321.31329.edwinv@asti.dost.gov.ph> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cHMo6Wbp1wrKhbfi" Content-Disposition: inline In-Reply-To: <200408021321.31329.edwinv@asti.dost.gov.ph> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 02 Aug 2004 08:40:13 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 07:40:41 -0000 --cHMo6Wbp1wrKhbfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote: > I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI=20 > bluetooth dongle. I was able to discover other devices, and execute other= =20 > built-in commands such as hccontrol, l2ping, l2control, sdptool etc. But= , I=20 > noticed that the the basic file transfer called OBEX was not yet incorpor= ated=20 > in the FreeBSD-5.2 and that I have to install an openobex or something. I= =20 > have succesfully installed openobex from sourceforge, but it doesn't have= the=20 > "obexapp" command. The i tried installing the "obexapp" from sourceforge = too.=20 > The problem is that I cant install it. >=20 > tar -zxvf obexapp-1.2.tar.gz > (extracts two directories openobex-1.0.1/ and obexapp/) [...] Instead of trying to fix the compilation yourself, you can leverage the work of those who have gone before you by installing the comms/openobex port. In fact, with this software I think that some quite significant patching of code is required: % cd /usr/ports/comms/openobex % ls files/ patch-Makefile.in patch-src-obex.c patch-aclocal.m4 patch-src-obex.h patch-configure.in patch-src-obex_const.h patch-ltmain.sh patch-src-obex_main.c patch-src-btobex.c patch-src-obex_transport.h patch-src-netbuf.h Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --cHMo6Wbp1wrKhbfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBDe/ciD657aJF7eIRAuY5AJ9AK9H4RsKJUsd77ceTKhmYPE+YlwCgsvOM Hh/CyNg6KBSeV5S+KI49VpY= =LySh -----END PGP SIGNATURE----- --cHMo6Wbp1wrKhbfi-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 10:09:26 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D877916A4CE; Mon, 2 Aug 2004 10:09:26 +0000 (GMT) Received: from kimi.asti.dost.gov.ph (kimi.asti.dost.gov.ph [202.90.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id E760643D1F; Mon, 2 Aug 2004 10:09:25 +0000 (GMT) (envelope-from edwinv@asti.dost.gov.ph) Received: from banao.pregi.net (unknown [10.10.8.3]) by kimi.asti.dost.gov.ph (Postfix) with ESMTP id 605502381A2; Mon, 2 Aug 2004 18:08:43 +0800 (PHT) From: "Edwin D. Vinas" Organization: DOST-ASTI To: Matthew Seaman Date: Mon, 2 Aug 2004 18:04:14 +0800 User-Agent: KMail/1.5.4 References: <200408021321.31329.edwinv@asti.dost.gov.ph> <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408021804.14436.edwinv@asti.dost.gov.ph> cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 10:09:27 -0000 On Monday 02 August 2004 03:40 pm, you wrote: > On Mon, Aug 02, 2004 at 01:21:31PM +0800, Edwin D. Vinas wrote: > > I was able to pair my Nokia 3660 with my FreeBSD-5.2 which has an MSI > > bluetooth dongle. I was able to discover other devices, and execute other > > built-in commands such as hccontrol, l2ping, l2control, sdptool etc. > > But, I noticed that the the basic file transfer called OBEX was not yet > > incorporated in the FreeBSD-5.2 and that I have to install an openobex or > > something. I have succesfully installed openobex from sourceforge, but it > > doesn't have the "obexapp" command. The i tried installing the "obexapp" > > from sourceforge too. The problem is that I cant install it. > > > > tar -zxvf obexapp-1.2.tar.gz > > (extracts two directories openobex-1.0.1/ and obexapp/) > > [...] > > Instead of trying to fix the compilation yourself, you can leverage > the work of those who have gone before you by installing the > comms/openobex port. In fact, with this software I think that some > quite significant patching of code is required: > > % cd /usr/ports/comms/openobex > % ls files/ > patch-Makefile.in patch-src-obex.c > patch-aclocal.m4 patch-src-obex.h > patch-configure.in patch-src-obex_const.h > patch-ltmain.sh patch-src-obex_main.c > patch-src-btobex.c patch-src-obex_transport.h > patch-src-netbuf.h > Thanks Matthew for the reply. But, its sad to say that I can't find any "openobex" ports in my machine. banao# ls /usr/ports/comms/openobex ls: /usr/ports/comms/openobex: No such file or directory I thought of actually using this openobex port but do you know how to find the ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. Im actually searching the web for it but some sites dont have a link to the files to be downloaded. In case you know where to find the installer that would really work for FreeBSD-5.2, please send the link to me. Thanks again! -edwin > Cheers, > > Matthew From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 2 12:09:38 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7D8316A4CE; Mon, 2 Aug 2004 12:09:38 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6947A43D1F; Mon, 2 Aug 2004 12:09:37 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i72C9Eir011910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Aug 2004 13:09:14 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i72C9E5d011909; Mon, 2 Aug 2004 13:09:14 +0100 (BST) (envelope-from matthew) Date: Mon, 2 Aug 2004 13:09:14 +0100 From: Matthew Seaman To: "Edwin D. Vinas" Message-ID: <20040802120914.GB11420@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Edwin D. Vinas" , freebsd-bluetooth@freebsd.org, freebsd-questions@freebsd.org References: <200408021321.31329.edwinv@asti.dost.gov.ph> <20040802074013.GD39164@happy-idiot-talk.infracaninophile.co.uk> <200408021804.14436.edwinv@asti.dost.gov.ph> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7ZAtKRhVyVSsbBD2" Content-Disposition: inline In-Reply-To: <200408021804.14436.edwinv@asti.dost.gov.ph> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 02 Aug 2004 13:09:14 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-bluetooth@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Can't file transfer via Bluetooth in FreeBSD X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 12:09:38 -0000 --7ZAtKRhVyVSsbBD2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 02, 2004 at 06:04:14PM +0800, Edwin D. Vinas wrote: =20 > Thanks Matthew for the reply. But, its sad to say that I can't find any= =20 > "openobex" ports in my machine. >=20 > banao# ls /usr/ports/comms/openobex > ls: /usr/ports/comms/openobex: No such file or directory >=20 > I thought of actually using this openobex port but do you know how to fin= d the=20 > ports if its not in the distribution? Im using FreeBSD-5.2 and KDE 3.0. I= m=20 > actually searching the web for it but some sites dont have a link to the= =20 > files to be downloaded. In case you know where to find the installer that= =20 > would really work for FreeBSD-5.2, please send the link to me. > You have an out of date ports tree: openobex has been in ports for some 4 months now: http://www.freebsd.org/ports/comms.html#openobex-1.0.1 You're also running a deprecated version of FreeBSD -- there were some serious bugs in version 5.2 which necessitated the release of 5.2.1 shortly afterwards. I advise you to install cvsup -- # pkg_add -r cvsup-without-gui and then use that to get an up to date copy of the ports tree. While you're at it, also install portupgrade(1) as that will make maintaining your installed ports into a doddle. Instructions from the Handbook are here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.h= tml http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html and a series of articles which give some very useful hints and tips are here: http://www.oreillynet.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html http://www.oreillynet.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html http://www.oreillynet.com/pub/a/bsd/2003/09/18/FreeBSD_Basics.html Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --7ZAtKRhVyVSsbBD2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBDi7qiD657aJF7eIRAiavAJ985aMovpcDJqYB1kPeM91dKko9AgCff+0E WOEwdApm47fODyA82Fkn224= =hv/C -----END PGP SIGNATURE----- --7ZAtKRhVyVSsbBD2-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 23 16:34:13 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A23F916A4CE for ; Mon, 23 Aug 2004 16:34:13 +0000 (GMT) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65FE743D62 for ; Mon, 23 Aug 2004 16:34:13 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 23 Aug 2004 11:34:17 -0500 Received: from savvis.net ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Mon, 23 Aug 2004 11:34:16 -0500 Message-ID: <412A1C7F.9050908@savvis.net> Date: Mon, 23 Aug 2004 09:34:07 -0700 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kirill Bezzubets References: <412964C1.8000108@centtech.com> <20040823092943.GA38275@solaris.ru> In-Reply-To: <20040823092943.GA38275@solaris.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Aug 2004 16:34:16.0849 (UTC) FILETIME=[08460010:01C4892F] cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth and cell phones X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2004 16:34:13 -0000 [moving into freebsd-bluetooth] Kirill Bezzubets wrote: [...] >>(On a side note, I'm trying to get my new Sony Ericsson T637 phone >>connected via bluetooth to my FreeBSD laptop for surfing and such. If >>anyone has a good link, I'm interested). > > /usr/share/examples/netgraph/bluetooth/rc.bluetooth > > man hcsecd > > # cat bt-gprs > #!/bin/sh > rfcomm_sppd -a kaji.nokia -b -c 1 -t /dev/ttypa > sleep 2 > ppp -ddial btgprs > > Feel free to ask me if you need anything more - e.g. config files etc. hmmm... i'm just curious why are you using SP (Serial Port) profile? it is not wrong and it will work but such configuration is prone to errors. basically you have two processes: rfcomm_sppd(8) and ppp(8) and you really want to synchronize them, i.e. ppp(8) should only be started after rfcomm_sppd(8) successfully connected. that is what rfcomm_pppd(8) does. does your phone support DUN profile? if rfcomm_pppd(8) does not work for you, please let me know and i will fix it (if possible). thanks, max > > >>Thanks! >>Eric >> >> >>-- >>------------------------------------------------------------------ >>Eric Anderson Sr. Systems Administrator Centaur Technology >>Talk sense to a fool and he calls you foolish. >>------------------------------------------------------------------ >> >>_______________________________________________ >>freebsd-mobile@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >>To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > From owner-freebsd-bluetooth@FreeBSD.ORG Tue Aug 24 17:07:15 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40EDB16A4CE for ; Tue, 24 Aug 2004 17:07:15 +0000 (GMT) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB72E43D5A for ; Tue, 24 Aug 2004 17:07:14 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 24 Aug 2004 12:07:10 -0500 Received: from savvis.net ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Tue, 24 Aug 2004 12:07:13 -0500 Message-ID: <412B75BC.40803@savvis.net> Date: Tue, 24 Aug 2004 10:07:08 -0700 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031207 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Edwin D. Vinas" References: <20040824015510.24453.qmail@web51101.mail.yahoo.com> In-Reply-To: <20040824015510.24453.qmail@web51101.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 24 Aug 2004 17:07:13.0663 (UTC) FILETIME=[CCF5A0F0:01C489FC] cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth and cell phones X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 17:07:15 -0000 Edwin, > im using Nokia 3660 and FreeBSD-5.2 but I wasn't > successful in setting up file transfer using Obex coz > I can't install the Obex ports. Now, im upgrading to > FreeBSD-5.2.1. Is there anyone here who has > successfully setup bluetooth using a similar Nokia > phone (Symbian Series 60) and FreeBSD-5.2.1 with Obex > file transfer? If there is, please give me some links > to follow. 5.2.1 still would not work, sorry :( the reason is sdp(3) API. i did not want to merge all the fixes from -current into 5.2.x because i was not sure i had a final version of sdp(3) API. why don't you try 5.3-BETA (RELENG_5). the install comms/obexapp port. it should compile. Symbian-based phones should work with obexapp port. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Aug 24 17:57:21 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10E5616A4CE for ; Tue, 24 Aug 2004 17:57:21 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id A168B43D5A for ; Tue, 24 Aug 2004 17:57:20 +0000 (GMT) (envelope-from maksim.yevmenkin@gmail.com) Received: by mproxy.gmail.com with SMTP id 77so104115rnl for ; Tue, 24 Aug 2004 10:57:20 -0700 (PDT) Received: by 10.38.171.20 with SMTP id t20mr1594846rne; Tue, 24 Aug 2004 10:57:19 -0700 (PDT) Received: by 10.38.75.14 with HTTP; Tue, 24 Aug 2004 10:57:19 -0700 (PDT) Message-ID: Date: Tue, 24 Aug 2004 10:57:19 -0700 From: Maksim Yevmenkin To: "Harper, Randi (ISS Atlanta)" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: cc: freebsd-bluetooth@freebsd.org cc: sektie@freebsdgirl.com Subject: Re: Bluetooth questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Maksim Yevmenkin List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 17:57:21 -0000 Randi, > I wasn't entirely certain who I should ask about this but being as how you're listed in the > ng_bt3c man page, I figured you'd be the most qualified to help me out, if you're willing. :) you've got the right person :) > To the best of my knowledge, there are no tools for FreeBSD that will manage any type of > SyncML or mRouter connection to a Bluetooth enabled mobile phone. no, there are not. but i bet you do not need (and want) them :) all that mrouter stuff is a piece of garbage (imo). there are workarounds, for example http://www.bwestermann.privat.t-online.de/3650linux_en.html (linux) and in freebsd -S In the server mode register the Serial Port (SP) service in addi- tion to the LAN Access Using PPP (LAN) service. It appears that some cell phones are using so called ``callback mechanism''. In this scenario the user is trying to connect his cell phone to the Internet, and, user's host computer is acting as the gateway server. It seems that it is not possible to tell the phone to just connect and start using the LAN service. Instead the user's host computer must ``jump start'' the phone by connecting to the phone's SP service. What happens next is the phone kills the existing connection and opens another connection back to the user's host computer. The phone really wants to use LAN service, but for whatever reason it looks for the SP service on the user's host computer. This brain damaged behavior was reported for Nokia 6600 and Sony/Ericsson P900. > This wasn't a big deal to me as I generally used iSync with my PowerBook to manage > synchronization with my Nokia 3650, but after switching to a Motorola V600, things got a lot > more complicated. As a result, I think I've learned a lot more about mobile phone providers > non-conforming implementations of Bluetooth than I ever wanted to know. The Nokia 3650 > uses Symbian OS (a tragedy of Java with an API that makes me shudder), which to my > understanding uses mRouter - some odd TCP/IP connection that I think exists over PPP. it is exactly tcp/ip connection over ppp. there is nothing odd about it. these days pretty much anyone who has a modem and wants to connect to the internet use ppp. even with dsl you still might need to run ppp over ethernet. whats odd about these phones (i though it was only symbian phones) is the brain damaged behavior. basically they use bluetooth LAN access profile in bizarre way. > From what I've been told thus far, Motorola uses an odd Bluetooth implementation with > SyncML, and iSync doesn't support it. iSync 1.5, which was just released last week, finally > included support for SyncML, but it requires a USB cable - pain in the butt. The Apple message > boards surprisingly turned out to be ! a wealth of information. i can not speak about syncml. i've never got this specimen into my lab for dissection. from what i can see there is a way to run syncml over http or wsp. so you could try to establish tcp/ip connection between the host and the phone and run syncml over http or wsp (if the phone supports it). > The point of that rant was that I'm fed up to the point of putting all of my other projects to the > side so I can write a mRouter/SyncML tool for FreeBSD that Doesn't Suck (tm). Most of my > development work in the past has had more to do with GTK and assorted network management > tools, so this is an entirely new ballgame for me. that is great, but i'll say this - do not waste your time with mrouter. syncml sounds more interesting. btw, you should be able to use OBEX. take a look at the comms/obexapp port. it does not support intelligent sync, but it does allow you to get all the information. the man page also describes how one could implement intelligent sync. > I'm not necessarily asking you to hold my hand in this, but any help you could give would be > appreciated. Mainly I'm just looking for recommended documentation on Bluetooth, and any > FreeBSD-specific knowledge I would have to know for this task. Providing I can get adequate > documentation to get started, I'd be willing to pay the development membership fees (which > hopefully won't be necessary) to get the specs I'd need from different mobile phone > manufacturers. feel free to ask me any time :) bluetooth programming (in freebsd) is not that different form network programming (i.e. sockets etc.). i've tried to document as much as i could. every bluetooth tools in freebsd has a man page. - check out freebsd handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html - try 'man -k bluetooth'. - finally look at the source code :) one word of advise - please use freebsd 5.3 (RELENG_5). this would save you some bluetooth related pain :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Aug 27 02:52:42 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6523F16A4CE for ; Fri, 27 Aug 2004 02:52:42 +0000 (GMT) Received: from web51105.mail.yahoo.com (web51105.mail.yahoo.com [206.190.38.147]) by mx1.FreeBSD.org (Postfix) with SMTP id E7B5543D4C for ; Fri, 27 Aug 2004 02:52:41 +0000 (GMT) (envelope-from edwin_vinas@yahoo.com) Message-ID: <20040827013607.36975.qmail@web51105.mail.yahoo.com> Received: from [202.90.128.28] by web51105.mail.yahoo.com via HTTP; Thu, 26 Aug 2004 18:36:07 PDT Date: Thu, 26 Aug 2004 18:36:07 -0700 (PDT) From: "Edwin D. Vinas" To: Maksim Yevmenkin , "Harper, Randi (ISS Atlanta)" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-bluetooth@freebsd.org cc: sektie@freebsdgirl.com Subject: Re: Bluetooth questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 02:52:42 -0000 Hi, I have a new FreeBSD-5.2.1 installed right now in my PC. I want to know if it has Obex file transfer support? Also, how do i install Obex and make it work? Is there ant stable FreeBSD version which performs well with Bluetooth? Thanks, edwin --- Maksim Yevmenkin wrote: > Randi, > > > I wasn't entirely certain who I should ask about > this but being as how you're listed in the > > ng_bt3c man page, I figured you'd be the most > qualified to help me out, if you're willing. :) > > you've got the right person :) > > > To the best of my knowledge, there are no tools > for FreeBSD that will manage any type of > > SyncML or mRouter connection to a Bluetooth > enabled mobile phone. > > no, there are not. but i bet you do not need (and > want) them :) all > that mrouter stuff is a piece of garbage (imo). > there are workarounds, > for example > > http://www.bwestermann.privat.t-online.de/3650linux_en.html > (linux) > > and in freebsd > > > > -S In the server mode register the Serial > Port (SP) service in addi- > tion to the LAN Access Using PPP (LAN) > service. It appears that > some cell phones are using so called > ``callback mechanism''. In > this scenario the user is trying to > connect his cell phone to the > Internet, and, user's host computer is > acting as the gateway > server. It seems that it is not > possible to tell the phone to > just connect and start using the LAN > service. Instead the user's > host computer must ``jump start'' the > phone by connecting to the > phone's SP service. What happens next > is the phone kills the > existing connection and opens another > connection back to the > user's host computer. The phone really > wants to use LAN service, > but for whatever reason it looks for > the SP service on the user's > host computer. This brain damaged > behavior was reported for > Nokia 6600 and Sony/Ericsson P900. > > > > > This wasn't a big deal to me as I generally used > iSync with my PowerBook to manage > > synchronization with my Nokia 3650, but after > switching to a Motorola V600, things got a lot > > more complicated. As a result, I think I've > learned a lot more about mobile phone providers > > non-conforming implementations of Bluetooth than I > ever wanted to know. The Nokia 3650 > > uses Symbian OS (a tragedy of Java with an API > that makes me shudder), which to my > > understanding uses mRouter - some odd TCP/IP > connection that I think exists over PPP. > > it is exactly tcp/ip connection over ppp. there is > nothing odd about > it. these days pretty much anyone who has a modem > and wants to connect > to the internet use ppp. even with dsl you still > might need to run ppp > over ethernet. > > whats odd about these phones (i though it was only > symbian phones) is > the brain damaged behavior. basically they use > bluetooth LAN access > profile in bizarre way. > > > From what I've been told thus far, Motorola uses > an odd Bluetooth implementation with > > SyncML, and iSync doesn't support it. iSync 1.5, > which was just released last week, finally > > included support for SyncML, but it requires a USB > cable - pain in the butt. The Apple message > > boards surprisingly turned out to be ! a wealth > of information. > > i can not speak about syncml. i've never got this > specimen into my lab > for dissection. from what i can see there is a way > to run syncml over > http or wsp. so you could try to establish tcp/ip > connection between > the host and the phone and run syncml over http or > wsp (if the phone > supports it). > > > The point of that rant was that I'm fed up to the > point of putting all of my other projects to the > > side so I can write a mRouter/SyncML tool for > FreeBSD that Doesn't Suck (tm). Most of my > > development work in the past has had more to do > with GTK and assorted network management > > tools, so this is an entirely new ballgame for me. > > that is great, but i'll say this - do not waste your > time with > mrouter. syncml sounds more interesting. btw, you > should be able to > use OBEX. take a look at the comms/obexapp port. it > does not support > intelligent sync, but it does allow you to get all > the information. > the man page also describes how one could implement > intelligent sync. > > > I'm not necessarily asking you to hold my hand in > this, but any help you could give would be > > appreciated. Mainly I'm just looking for > recommended documentation on Bluetooth, and any > > FreeBSD-specific knowledge I would have to know > for this task. Providing I can get adequate > > documentation to get started, I'd be willing to > pay the development membership fees (which > > hopefully won't be necessary) to get the specs I'd > need from different mobile phone > > manufacturers. > > feel free to ask me any time :) bluetooth > programming (in freebsd) is > not that different form network programming (i.e. > sockets etc.). i've > tried to document as much as i could. every > bluetooth tools in freebsd > has a man page. > > - check out freebsd handbook > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html > > - try 'man -k bluetooth'. > > - finally look at the source code :) > > one word of advise - please use freebsd 5.3 > (RELENG_5). this would > save you some bluetooth related pain :) > > thanks, > max > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to > "freebsd-bluetooth-unsubscribe@freebsd.org" > ===== -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------- -Edwin D. Vinas http://www.geocities.com/edwin_vinas2/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------- __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From owner-freebsd-bluetooth@FreeBSD.ORG Fri Aug 27 16:12:26 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3AB116A4CF for ; Fri, 27 Aug 2004 16:12:26 +0000 (GMT) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33BEC43D2F for ; Fri, 27 Aug 2004 16:12:26 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 27 Aug 2004 11:12:29 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 27 Aug 2004 11:12:24 -0500 Message-ID: <412F5D64.6030607@savvis.net> Date: Fri, 27 Aug 2004 09:12:20 -0700 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Edwin D. Vinas" References: <20040827013607.36975.qmail@web51105.mail.yahoo.com> In-Reply-To: <20040827013607.36975.qmail@web51105.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Aug 2004 16:12:24.0538 (UTC) FILETIME=[A3BA3BA0:01C48C50] cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 16:12:26 -0000 Edwin D. Vinas wrote: > Hi, > > I have a new FreeBSD-5.2.1 installed right now in my > PC. I want to know if it has Obex file transfer > support? Also, how do i install Obex and make it work? > Is there ant stable FreeBSD version which performs > well with Bluetooth? didn't you get my first reply? :) http://lists.freebsd.org/pipermail/freebsd-bluetooth/2004-August/000043.html 5.2.1 still would not work, sorry :( the reason is sdp(3) API. i did not want to merge all the fixes from -current into 5.2.x because i was not sure i had a final version of sdp(3) API. why don't you try 5.3-BETA (RELENG_5). the install comms/obexapp port. it should compile. Symbian-based phones should work with obexapp port. and, please, cc'ing to everybody :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Aug 30 01:50:34 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77B1B16A4D0 for ; Mon, 30 Aug 2004 01:50:34 +0000 (GMT) Received: from web51110.mail.yahoo.com (web51110.mail.yahoo.com [206.190.39.131]) by mx1.FreeBSD.org (Postfix) with SMTP id 0715943D48 for ; Mon, 30 Aug 2004 01:50:33 +0000 (GMT) (envelope-from edwin_vinas@yahoo.com) Message-ID: <20040830015031.17504.qmail@web51110.mail.yahoo.com> Received: from [202.90.128.27] by web51110.mail.yahoo.com via HTTP; Sun, 29 Aug 2004 18:50:31 PDT Date: Sun, 29 Aug 2004 18:50:31 -0700 (PDT) From: "Edwin D. Vinas" To: Maksim Yevmenkin In-Reply-To: <412F5D64.6030607@savvis.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 01:50:34 -0000 hi max, yeah i will definitely just wait for FreeBSD-5.3 or the BETA if already available. hope that 5.3 will be able to make obex work. thanks! -edwin --- Maksim Yevmenkin wrote: > Edwin D. Vinas wrote: > > Hi, > > > > I have a new FreeBSD-5.2.1 installed right now in > my > > PC. I want to know if it has Obex file transfer > > support? Also, how do i install Obex and make it > work? > > Is there ant stable FreeBSD version which performs > > well with Bluetooth? > > didn't you get my first reply? :) > > http://lists.freebsd.org/pipermail/freebsd-bluetooth/2004-August/000043.html > > > 5.2.1 still would not work, sorry :( the reason is > sdp(3) API. i did not > want to merge all the fixes from -current into 5.2.x > because i was not > sure i had a final version of sdp(3) API. why don't > you try 5.3-BETA > (RELENG_5). the install comms/obexapp port. it > should compile. > Symbian-based phones should work with obexapp port. > > > and, please, cc'ing to everybody :) > > thanks, > max > ===== -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------- -Edwin D. Vinas http://www.geocities.com/edwin_vinas2/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--------- _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush From owner-freebsd-bluetooth@FreeBSD.ORG Tue Sep 21 07:47:46 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 882DC16A4CE for ; Tue, 21 Sep 2004 07:47:46 +0000 (GMT) Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AB2143D3F for ; Tue, 21 Sep 2004 07:47:45 +0000 (GMT) (envelope-from karthik.bala@samsung.com) Received: from custom-daemon.mailout1.samsung.com by mailout1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) id <0I4D00J4CSBJR8@mailout1.samsung.com> for freebsd-bluetooth@freebsd.org; Tue, 21 Sep 2004 16:47:43 +0900 (KST) Received: from ep_mmp2 (mailout1.samsung.com [203.254.224.24]) by mailout1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0I4D00DOBSBH0I@mailout1.samsung.com> for freebsd-bluetooth@freebsd.org; Tue, 21 Sep 2004 16:47:41 +0900 (KST) Received: from tkarthik ([107.108.89.172]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) with ESMTPA id <0I4D003C7SBC2U@mmp2.samsung.com> for freebsd-bluetooth@freebsd.org; Tue, 21 Sep 2004 16:47:41 +0900 (KST) Date: Tue, 21 Sep 2004 13:26:02 +0530 From: "karthik.bala" To: freebsd-bluetooth@freebsd.org Message-id: <000001c49fb0$73a3ed80$ac596c6b@tkarthik> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: gnubox in freebsd X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 07:47:46 -0000 Hi, Gnubox allows one to configure the smartphone to access the internet through an infrared or Bluetooth access point. In other words, it allows to get the IP connectivity without using the native phone stack(CSD or GPRS). Is there such a tool in freebsd. If there is some tools of such a kind, Kindly give enough info. Thanx & Regards, Karthik bala guru From owner-freebsd-bluetooth@FreeBSD.ORG Fri Oct 22 03:15:33 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9B1516A525 for ; Fri, 22 Oct 2004 03:15:33 +0000 (GMT) Received: from mail.scn.ru (mail.scn.ru [80.255.136.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 285C143D41 for ; Fri, 22 Oct 2004 03:15:32 +0000 (GMT) (envelope-from dikiy@scn.ru) Received: from localhost (localhost.ranetka.ru [127.0.0.1]) by mail.scn.ru (Postfix) with ESMTP id 3DC08176070 for ; Fri, 22 Oct 2004 11:15:20 +0800 (KRAST) Received: from mail.scn.ru ([127.0.0.1]) by localhost (mail.scn.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41841-09 for ; Fri, 22 Oct 2004 11:15:19 +0800 (KRAST) Received: from dikiy.ranetka.ru (dikiy.ranetka.ru [80.255.128.69]) by mail.scn.ru (Postfix) with SMTP id 8EFBB176398 for ; Fri, 22 Oct 2004 11:15:19 +0800 (KRAST) Date: Fri, 22 Oct 2004 11:20:21 +0800 From: Andrew I Baznikin To: freebsd-bluetooth@freebsd.org Message-Id: <20041022112021.56f3f00a@dikiy.ranetka.ru> Organization: ISP "TEL" JSC X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at scn.ru Subject: ngctl problem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 03:15:33 -0000 Hi! @dikiy [11:15 ] /home/dikiy # uname -a FreeBSD dikiy.ranetka.ru 5.3-BETA6 FreeBSD 5.3-BETA6 #2: Wed Sep 29 10:06:49 KRAST 2004 dikiy@dikiy.tel.ten:/usr/obj/usr/src/sys/DIKIY i386 plug in device (USB-dongle Zonet ZUB6100, CSR-based): ubt0: Cambridge Silicon Radio Ltd. Bluetooth USB dongle, rev 1.10/5.25, addr 2 ubt0: Cambridge Silicon Radio Ltd. Bluetooth USB dongle, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 Exec rc.bluetooth: @dikiy [11:18 ] /home/dikiy # /etc/rc.bluetooth start ubt0 ngctl: send msg: Invalid argument It stoped on very first ngctl command: @dikiy [11:19 ] /home/dikiy # ngctl mkpeer ubt0: hci hook drv ngctl: send msg: Invalid argument -- Andrew I Baznikin # /\ ASCII ribbon # \/ campaign # /\ against # / \ HTML email From owner-freebsd-bluetooth@FreeBSD.ORG Fri Oct 22 16:29:50 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B55CA16A4CE for ; Fri, 22 Oct 2004 16:29:50 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B30843D49 for ; Fri, 22 Oct 2004 16:29:50 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])i9MGTG0U013998; Fri, 22 Oct 2004 11:29:16 -0500 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 22 Oct 2004 11:29:13 -0500 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.0); Fri, 22 Oct 2004 11:29:10 -0500 Message-ID: <4179354B.7060502@savvis.net> Date: Fri, 22 Oct 2004 09:28:59 -0700 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew I Baznikin References: <20041022112021.56f3f00a@dikiy.ranetka.ru> In-Reply-To: <20041022112021.56f3f00a@dikiy.ranetka.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 Oct 2004 16:29:10.0435 (UTC) FILETIME=[426BEF30:01C4B854] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: ngctl problem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 16:29:50 -0000 Hello Andrew, > @dikiy [11:15 ] /home/dikiy # uname -a FreeBSD dikiy.ranetka.ru > 5.3-BETA6 FreeBSD 5.3-BETA6 #2: Wed Sep 29 10:06:49 KRAST 2004 > dikiy@dikiy.tel.ten:/usr/obj/usr/src/sys/DIKIY i386 > > plug in device (USB-dongle Zonet ZUB6100, CSR-based): > > ubt0: Cambridge Silicon Radio Ltd. Bluetooth USB dongle, rev > 1.10/5.25, addr 2 ubt0: Cambridge Silicon Radio Ltd. Bluetooth USB > dongle, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: > interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 > (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; > wMaxPacketSize=49; nframes=6, buffer size=294 > > Exec rc.bluetooth: > > @dikiy [11:18 ] /home/dikiy # /etc/rc.bluetooth start ubt0 ngctl: > send msg: Invalid argument > > It stoped on very first ngctl command: @dikiy [11:19 ] /home/dikiy # > ngctl mkpeer ubt0: hci hook drv ngctl: send msg: Invalid argument huh? is your kernel in sync with userspace? how about kldstat -v ngctl li ngctl types after you execute rc.bluetooth max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Oct 25 01:12:05 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFE2F16A4CE for ; Mon, 25 Oct 2004 01:12:05 +0000 (GMT) Received: from mail.scn.ru (mail.scn.ru [80.255.136.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AE1E43D5D for ; Mon, 25 Oct 2004 01:12:05 +0000 (GMT) (envelope-from dikiy@scn.ru) Received: from localhost (localhost.ranetka.ru [127.0.0.1]) by mail.scn.ru (Postfix) with ESMTP id 07C781765D3; Mon, 25 Oct 2004 09:12:03 +0800 (KRAST) Received: from mail.scn.ru ([127.0.0.1]) by localhost (mail.scn.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 44312-04; Mon, 25 Oct 2004 09:12:02 +0800 (KRAST) Received: from dikiy.ranetka.ru (dikiy.ranetka.ru [80.255.128.69]) by mail.scn.ru (Postfix) with SMTP id D6F3917654E; Mon, 25 Oct 2004 09:12:01 +0800 (KRAST) Date: Mon, 25 Oct 2004 09:17:05 +0800 From: Andrew I Baznikin To: Maksim Yevmenkin Message-Id: <20041025091705.37e29824@dikiy.ranetka.ru> In-Reply-To: <4179354B.7060502@savvis.net> References: <20041022112021.56f3f00a@dikiy.ranetka.ru> <4179354B.7060502@savvis.net> Organization: ISP "TEL" JSC X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at scn.ru cc: freebsd-bluetooth@freebsd.org Subject: Re: ngctl problem X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 01:12:05 -0000 On Fri, 22 Oct 2004 09:28:59 -0700 Maksim Yevmenkin wrote: > > It stoped on very first ngctl command: @dikiy [11:19 ] /home/dikiy # > > ngctl mkpeer ubt0: hci hook drv ngctl: send msg: Invalid argument > > huh? is your kernel in sync with userspace? how about > > kldstat -v > ngctl li > ngctl types > > after you execute rc.bluetooth arghhh... My fault. 'make installworld' last time I upgrade system fail, but I doesn't check it... Now all worked just fine! -- Andrew I Baznikin # /\ ASCII ribbon # \/ campaign # /\ against # / \ HTML email From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 15 21:10:17 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBA4016A4CE for ; Mon, 15 Nov 2004 21:10:17 +0000 (GMT) Received: from vbook.fbsd.ru (user142.hovrino.net [82.179.232.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6377643D45 for ; Mon, 15 Nov 2004 21:10:16 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CTo6p-0000Nz-4i for bluetooth@freebsd.org; Tue, 16 Nov 2004 00:09:59 +0300 From: Vladimir Grebenschikov To: bluetooth@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Tue, 16 Nov 2004 00:09:58 +0300 Message-Id: <1100552998.1098.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Subject: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 21:10:17 -0000 Hi Have anybody managed to get bluetooth mouse or/and keyboard work with FreeBSD ? If yes what models/manufacturers supported ? Thank you for answer. -- Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-bluetooth@FreeBSD.ORG Mon Nov 15 22:25:07 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE22316A4D0 for ; Mon, 15 Nov 2004 22:25:07 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BD9343D1D for ; Mon, 15 Nov 2004 22:25:07 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id iAFMOuYs008100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Nov 2004 14:25:03 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id iAFMOtdw008098 for freebsd-bluetooth@freebsd.org; Mon, 15 Nov 2004 14:24:55 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Mon, 15 Nov 2004 14:24:55 -0800 From: "Loren M. Lang" To: freebsd-bluetooth@freebsd.org Message-ID: <20041115222455.GA5468@alzatex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C Subject: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 22:25:08 -0000 So... how is the bluetooth hid driver coming along that I heard was being worked on back in January. He said he was making good progress, but I still don't see any program to enable hid support in FreeBSD 5.3. My bt keyboard shows up as a bt device, but that's about it. --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 16:58:55 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F40C816A4CE for ; Wed, 17 Nov 2004 16:58:54 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B24E43D31 for ; Wed, 17 Nov 2004 16:58:54 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iAHGwHw1018988; Wed, 17 Nov 2004 10:58:17 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 10:58:12 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 10:58:00 -0600 Message-ID: <419B8314.3080306@savvis.net> Date: Wed, 17 Nov 2004 08:57:56 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Loren M. Lang" References: <20041115222455.GA5468@alzatex.com> In-Reply-To: <20041115222455.GA5468@alzatex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 16:58:00.0607 (UTC) FILETIME=[986CBAF0:01C4CCC6] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 16:58:55 -0000 Loren M. Lang wrote: > So... how is the bluetooth hid driver coming along that I heard was > being worked on back in January. He said he was making good progress, > but I still don't see any program to enable hid support in FreeBSD 5.3. > My bt keyboard shows up as a bt device, but that's about it. it is coming along. i finally started to commit bits and pieces (i.e. vkbd(4)) max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 16:59:17 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D8C016A4CE for ; Wed, 17 Nov 2004 16:59:17 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2791943D2F for ; Wed, 17 Nov 2004 16:59:17 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iAHGx6w1019072; Wed, 17 Nov 2004 10:59:06 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 10:59:02 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 10:59:03 -0600 Message-ID: <419B8353.7040908@savvis.net> Date: Wed, 17 Nov 2004 08:58:59 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> In-Reply-To: <1100552998.1098.5.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 16:59:03.0759 (UTC) FILETIME=[BE10F5F0:01C4CCC6] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 16:59:17 -0000 Vladimir Grebenschikov wrote: > Hi > > Have anybody managed to get bluetooth mouse or/and keyboard work with not yet > FreeBSD ? If yes what models/manufacturers supported ? any model that conforms to bluetooth hid spec will be supported. max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 17:14:20 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDDA916A4CE for ; Wed, 17 Nov 2004 17:14:20 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B3C43D46 for ; Wed, 17 Nov 2004 17:14:20 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CUTNr-000046-88; Wed, 17 Nov 2004 20:14:19 +0300 From: Vladimir Grebenschikov To: Maksim Yevmenkin In-Reply-To: <419B8353.7040908@savvis.net> References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Wed, 17 Nov 2004 20:14:19 +0300 Message-Id: <1100711659.47346.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 17:14:20 -0000 =F7 =D3=D2, 17/11/2004 =D7 08:58 -0800, Maksim Yevmenkin =D0=C9=DB=C5=D4: Hi again > > Have anybody managed to get bluetooth mouse or/and keyboard work with >=20 > not yet Good news, is there any estimations or like ? =20 I am going to get such mouse but if it will not be supported for years it has no sense. > max --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 17:37:42 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8B6C16A4CE for ; Wed, 17 Nov 2004 17:37:42 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99BE643D46 for ; Wed, 17 Nov 2004 17:37:42 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iAHHbF7g022489; Wed, 17 Nov 2004 11:37:15 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 11:37:10 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 11:37:00 -0600 Message-ID: <419B8C3A.6030003@savvis.net> Date: Wed, 17 Nov 2004 09:36:58 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100711659.47346.11.camel@localhost> In-Reply-To: <1100711659.47346.11.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 17:37:00.0282 (UTC) FILETIME=[0AFACDA0:01C4CCCC] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 17:37:43 -0000 >>> Have anybody managed to get bluetooth mouse or/and keyboard work >>> with >> >> not yet > > Good news, is there any estimations or like ? no. life with 8 months old son can not be predicted easily :) (come to think about it life in general can not be predicted easily :) > I am going to get such mouse but if it will not be supported for > years it has no sense. you can always write support yourself :) max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 18:47:45 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50B5916A4CE for ; Wed, 17 Nov 2004 18:47:45 +0000 (GMT) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC10643D2F for ; Wed, 17 Nov 2004 18:47:44 +0000 (GMT) (envelope-from miketmp@xs4all.nl) Received: from mail.xs4all.nl (a80-126-82-35.adsl.xs4all.nl [80.126.82.35]) by smtp-vbr1.xs4all.nl (8.12.11/8.12.11) with ESMTP id iAHIlNLa028919 for ; Wed, 17 Nov 2004 19:47:38 +0100 (CET) (envelope-from miketmp@xs4all.nl) To: bluetooth@freebsd.org References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> Message-ID: Date: Wed, 17 Nov 2004 19:47:19 +0100 From: "Mike Crosland" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <419B8353.7040908@savvis.net> User-Agent: Opera M2/7.54 (Win32, build 3865) X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: miketmp@xs4all.nl List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 18:47:45 -0000 My current setup allows me to use my Logitech di Novo keyboard/mouse on my dual-boot machine. FreeBSD just sees it as being a usb hub. However I did have to do some patching and a kernel rebuild to do it. Also FreeBSD doesn't recognise the bt hub, which means if you want to link to other bt devices you need to have a seperate dongle. What would be decidedly cool was if the usb bt chip AND extra dongle(s) ie multiple devices could be recognised, in much the same way that the system can handle several network cards. Mike PS Max - congratulations to your enlarging user base - er I mean family :) On Wed, 17 Nov 2004 08:58:59 -0800, Maksim Yevmenkin wrote: > Vladimir Grebenschikov wrote: >> Hi >> Have anybody managed to get bluetooth mouse or/and keyboard work with > > not yet > >> FreeBSD ? If yes what models/manufacturers supported ? > > any model that conforms to bluetooth hid spec will be supported. > > max > > > > > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to > "freebsd-bluetooth-unsubscribe@freebsd.org" > From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 18:57:19 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED0EB16A4CE for ; Wed, 17 Nov 2004 18:57:19 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8143D43D55 for ; Wed, 17 Nov 2004 18:57:19 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iAHIvFJn029100; Wed, 17 Nov 2004 12:57:15 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 12:57:09 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 12:56:47 -0600 Message-ID: <419B9EF8.2090401@savvis.net> Date: Wed, 17 Nov 2004 10:56:56 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: miketmp@xs4all.nl References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 18:56:47.0768 (UTC) FILETIME=[308B3180:01C4CCD7] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 18:57:20 -0000 Mike Crosland wrote: > My current setup allows me to use my Logitech di Novo keyboard/mouse on > my dual-boot machine. FreeBSD just sees it as being a usb hub. However > I did have to do some patching and a kernel rebuild to do it. Also > FreeBSD doesn't recognise the bt hub, which means if you want to link > to other bt devices you need to have a seperate dongle. this is so called 'bluetooth hid proxy' feature of CSR BlueCore chipset. basically when you activate 'hid proxy' bluetooth dongle start acting as usb hub and pretends that is has usb keyboard and mouse plugged in. this is just a compatibility hack, so one can use bluetooth keyboard/mouse on a systems that do not support bluetooth. note that os must have support for usb. > What would be decidedly cool was if the usb bt chip AND extra > dongle(s) ie multiple devices could be recognised, in much the same way > that the system can handle several network cards. it is possible to turn 'hid proxy' feature off. in this case you have regular bluetooth dongle. if os supports bluetooth hid then use can use then same dongle to talk to your keyboard, mount, cell phone etc. there is only one limitation you can have up to 8 active bluetooth connection s at a time. keyboard and mouse will use one each, so you still can have up to 6 other bluetooth devices. > PS Max - congratulations to your enlarging user base - er I mean family > :) thanks! max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 19:23:26 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B726816A4CE for ; Wed, 17 Nov 2004 19:23:26 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF7D43D55 for ; Wed, 17 Nov 2004 19:23:25 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id iAHJNBYs030468 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Nov 2004 11:23:14 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id iAHJNARn030466; Wed, 17 Nov 2004 11:23:10 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Wed, 17 Nov 2004 11:23:10 -0800 From: "Loren M. Lang" To: Maksim Yevmenkin Message-ID: <20041117192310.GA30137@alzatex.com> References: <20041115222455.GA5468@alzatex.com> <419B8314.3080306@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <419B8314.3080306@savvis.net> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 19:23:26 -0000 On Wed, Nov 17, 2004 at 08:57:56AM -0800, Maksim Yevmenkin wrote: > Loren M. Lang wrote: > >So... how is the bluetooth hid driver coming along that I heard was > >being worked on back in January. He said he was making good progress, > >but I still don't see any program to enable hid support in FreeBSD 5.3. > >My bt keyboard shows up as a bt device, but that's about it. >=20 > it is coming along. i finally started to commit bits and pieces (i.e.=20 > vkbd(4)) I actually ran across vkbd, it looks like a generic way to insert keyboard events into the kernel, but not specific to any technology like bluetooth. I'm assuming you also have a user-land daemon that uses sockets to talk on bluetooth then pass the event to vkbd. Is there a place to find the userland daemon source at the moment or do you just have a private copy? I would like to help with this project since I've had my bluetooth keyboard sitting on the shelf for months waiting for support in freebsd and I have been doing some other work in bluetooth recently. >=20 > max --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C =20 From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 19:24:45 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182E516A4CE for ; Wed, 17 Nov 2004 19:24:45 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0080443D49 for ; Wed, 17 Nov 2004 19:24:44 +0000 (GMT) (envelope-from hvalentim@gmx.net) Received: (qmail 10018 invoked by uid 65534); 17 Nov 2004 19:24:40 -0000 Received: from unknown (EHLO robur.agsoft) (81.193.150.184) by mail.gmx.net (mp010) with SMTP; 17 Nov 2004 20:24:40 +0100 X-Authenticated: #13992909 From: "Hugo D. Valentim" Date: Wed, 17 Nov 2004 19:24:20 +0000 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Disposition: inline To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200411171924.20835.hvalentim@gmx.net> Subject: dongle recognized as keyboard (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 19:24:45 -0000 Hi all, My bluetooth dongle is automatically being recognized has a keyboard (a /dev/ukbd0 is created but NO /dev/ubt0), whereas I want to use it to connect to a mobile phone (see log bellow). This is a real nag since I am left without keyboard and have no way to type whenever I plug the dongle. I am using 5.3-release. In 5.2.1 this did not happen. Any ideas, please? Am I am missing something? Thanks, Hugo I have two USB plugs (Compaq laptop): one has a Tecom BT3033A dongle, the other has nothing: uhci0: port 0x1800-0x181f irq 5 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Broadcom product 0x3535, class 9/0, rev 2.00/1.00, addr 2 uhub1: 3 ports with 0 removable, bus powered ubt0: Broadcom Corp Bluetooth Transceiver, rev 1.10/1.00, addr 3 ubt0: Broadcom Corp Bluetooth Transceiver, rev 1.10/1.00, addr 3 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 ukbd0: Broadcom product 0x0099, rev 1.10/1.00, addr 4, iclass 3/1 kbd1 at ukbd0 ums0: Broadcom product 0x0097, rev 1.10/1.00, addr 5, iclass 3/1 ums0: 3 buttons From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 19:55:17 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60EFD16A4CE for ; Wed, 17 Nov 2004 19:55:17 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F46643D41 for ; Wed, 17 Nov 2004 19:55:17 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iAHJt1Jn001227; Wed, 17 Nov 2004 13:55:01 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 13:54:58 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 13:54:47 -0600 Message-ID: <419BAC86.9040706@savvis.net> Date: Wed, 17 Nov 2004 11:54:46 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Hugo D. Valentim" References: <200411171924.20835.hvalentim@gmx.net> In-Reply-To: <200411171924.20835.hvalentim@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 19:54:47.0893 (UTC) FILETIME=[4ADC2050:01C4CCDF] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: dongle recognized as keyboard (?) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 19:55:17 -0000 Hi, > My bluetooth dongle is automatically being recognized has a keyboard > (a /dev/ukbd0 is created but NO /dev/ubt0), whereas I want to use > it to connect to a mobile phone (see log bellow). > > This is a real nag since I am left without keyboard and have no way > to type whenever I plug the dongle. > > I am using 5.3-release. In 5.2.1 this did not happen. > > Any ideas, please? Am I am missing something? well, for once adjust your /etc/devd.conf (or /etc/usbd.conf if you are running usbd(8)) to NOT activate usb keyboard by default. you should be looking for lines like # When a USB keyboard arrives, attach it as the console keyboard attach 100 { device-name "ukbd0"; action "test -c /dev/kbd1 && kbdcontrol -k /dev/kbd1 < /dev/console"; }; detach 100 { device-name "ukbd0"; action "kbdcontrol -k /dev/kbd0 < /dev/console"; }; same for the usb mouse # The entry below starts moused when a mouse is plugged in. Moused # stops automatically (actually it bombs :) when the device disappears. device "Mouse" devname "ums[0-9]+" attach "/etc/rc.d/moused start ${DEVNAME}" > I have two USB plugs (Compaq laptop): one has a Tecom BT3033A dongle, > the other has nothing: > > uhci0: port 0x1800-0x181f irq 5 at device > 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: > on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, > rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ok that is hub on motherboard > uhub1: Broadcom product 0x3535, class 9/0, rev 2.00/1.00, addr 2 > uhub1: 3 ports with 0 removable, bus powered ubt0: Broadcom Corp ok that is hub(!) on your dongle > Bluetooth Transceiver, rev 1.10/1.00, addr 3 > ubt0: Broadcom Corp Bluetooth Transceiver, rev 1.10/1.00, addr 3 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 > ubt0: Interface 1 (alt.config 4) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=64; nframes=5, buffer size=320 ok that looks like normal bluetooth dongle > ukbd0: Broadcom product 0x0099, rev 1.10/1.00, addr 4, iclass 3/1 kbd1 at ukbd0 whoa! that looks like usb keyboard! > ums0: Broadcom product 0x0097, rev 1.10/1.00, addr 5, iclass 3/1 ums0: 3 buttons whoa! that looks like usb mouse! well, i got to have this specimen in my lab. from what i can see the dongle gives 3 (!) interfaces. 1) bluetooth usb dongle (ubt0) 2) bluetooth keyboard (ukbd0) 3) bluetooth mouse (ums0) all 3 appears active at the same time. this dongle has 'bluetooh hid proxy' feature active by default *and* at the same time is still accessible via hci. i've never seen anything like this before. from what i can see all 3 interfaces are recognized, so everything should work. and, btw there is no /dev/ubt0, so dont worry about it. try to run # ngctl li and you should see ubt0 netgraph node. if you do then just run # rc.bluetooth start ubt0 everything should be working. your keyboard is switched to ukbd0 (by default) and that is why you have to change /etc/devd.conf and/or /etc/usbd.conf. if you had bluetooth keyboard then it would work just like usb keyboard. hope that helps, max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 20:01:25 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CDDA16A4CE for ; Wed, 17 Nov 2004 20:01:25 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29DED43D49 for ; Wed, 17 Nov 2004 20:01:25 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iAHK10Jn001690; Wed, 17 Nov 2004 14:01:00 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 14:00:57 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 14:00:53 -0600 Message-ID: <419BADF3.5060704@savvis.net> Date: Wed, 17 Nov 2004 12:00:51 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Loren M. Lang" References: <20041115222455.GA5468@alzatex.com> <419B8314.3080306@savvis.net> <20041117192310.GA30137@alzatex.com> In-Reply-To: <20041117192310.GA30137@alzatex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 20:00:53.0460 (UTC) FILETIME=[24C13940:01C4CCE0] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 20:01:25 -0000 Loren M. Lang wrote: > On Wed, Nov 17, 2004 at 08:57:56AM -0800, Maksim Yevmenkin wrote: > >>Loren M. Lang wrote: >> >>>So... how is the bluetooth hid driver coming along that I heard was >>>being worked on back in January. He said he was making good progress, >>>but I still don't see any program to enable hid support in FreeBSD 5.3. >>>My bt keyboard shows up as a bt device, but that's about it. >> >>it is coming along. i finally started to commit bits and pieces (i.e. >>vkbd(4)) > > I actually ran across vkbd, it looks like a generic way to insert > keyboard events into the kernel, but not specific to any technology like > bluetooth. I'm assuming you also have a user-land daemon that uses > sockets to talk on bluetooth then pass the event to vkbd. Is there a correct > place to find the userland daemon source at the moment or do you just > have a private copy? there is somewhat old version is in cvs, but it is not connected to the build /usr/src/usr.sbin/bluetooth/bthidcontrol /usr/src/usr.sbin/bluetooth/bthidd you can read the code and try to get the idea. bthidcontrol(8) should just work. bthidd(8) has very simple support for bluetooth mouse and no support for the keyboard. > I would like to help with this project since I've had my bluetooth > keyboard sitting on the shelf for months waiting for support in freebsd > and I have been doing some other work in bluetooth recently. sure. i'll be glad to review and commit your patches. max From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 21:38:02 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0AD116A4CE for ; Wed, 17 Nov 2004 21:38:02 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3D9343D2F for ; Wed, 17 Nov 2004 21:38:01 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id iAHLboYs002349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 17 Nov 2004 13:37:53 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id iAHLbnuD002346; Wed, 17 Nov 2004 13:37:49 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Wed, 17 Nov 2004 13:37:49 -0800 From: "Loren M. Lang" To: Maksim Yevmenkin Message-ID: <20041117213749.GB30137@alzatex.com> References: <20041115222455.GA5468@alzatex.com> <419B8314.3080306@savvis.net> <20041117192310.GA30137@alzatex.com> <419BADF3.5060704@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <419BADF3.5060704@savvis.net> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 21:38:03 -0000 On Wed, Nov 17, 2004 at 12:00:51PM -0800, Maksim Yevmenkin wrote: > Loren M. Lang wrote: > >On Wed, Nov 17, 2004 at 08:57:56AM -0800, Maksim Yevmenkin wrote: > > > >>Loren M. Lang wrote: > >> > >>>So... how is the bluetooth hid driver coming along that I heard was > >>>being worked on back in January. He said he was making good progress, > >>>but I still don't see any program to enable hid support in FreeBSD 5.3. > >>>My bt keyboard shows up as a bt device, but that's about it. > >> > >>it is coming along. i finally started to commit bits and pieces (i.e. > >>vkbd(4)) > > > >I actually ran across vkbd, it looks like a generic way to insert > >keyboard events into the kernel, but not specific to any technology like > >bluetooth. I'm assuming you also have a user-land daemon that uses > >sockets to talk on bluetooth then pass the event to vkbd. Is there a > > correct > > >place to find the userland daemon source at the moment or do you just > >have a private copy? > > there is somewhat old version is in cvs, but it is not connected to the > build > > /usr/src/usr.sbin/bluetooth/bthidcontrol > /usr/src/usr.sbin/bluetooth/bthidd > > you can read the code and try to get the idea. bthidcontrol(8) should > just work. bthidd(8) has very simple support for bluetooth mouse and no > support for the keyboard. I tried compiling both bthidd and bthidcontrol, but they are complaining about a missing header and a missing type, report_desc_t. I'm assuming report_desc_t is supposed to be defined in libusbhid.h, but that does not seem to be on my system anywhere according to locate. Is that in some port or just an old file since I'd think nothing under /usr/src should depend on a port. > > >I would like to help with this project since I've had my bluetooth > >keyboard sitting on the shelf for months waiting for support in freebsd > >and I have been doing some other work in bluetooth recently. > > sure. i'll be glad to review and commit your patches. How old is the cvs version, I'd hate to be fixing old bugs or writing code that is no longer useful. > > max -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C From owner-freebsd-bluetooth@FreeBSD.ORG Wed Nov 17 21:51:33 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF3316A4CE for ; Wed, 17 Nov 2004 21:51:33 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F97D43D2D for ; Wed, 17 Nov 2004 21:51:33 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iAHLpRJn010033; Wed, 17 Nov 2004 15:51:27 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 15:51:20 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Wed, 17 Nov 2004 15:51:16 -0600 Message-ID: <419BC7D6.1060700@savvis.net> Date: Wed, 17 Nov 2004 13:51:18 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Loren M. Lang" References: <20041115222455.GA5468@alzatex.com> <419B8314.3080306@savvis.net> <20041117192310.GA30137@alzatex.com> <419BADF3.5060704@savvis.net> <20041117213749.GB30137@alzatex.com> In-Reply-To: <20041117213749.GB30137@alzatex.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2004 21:51:16.0348 (UTC) FILETIME=[904DBBC0:01C4CCEF] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: Bluetooth Keyboard X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 21:51:33 -0000 >>>>>So... how is the bluetooth hid driver coming along that I heard was >>>>>being worked on back in January. He said he was making good progress, >>>>>but I still don't see any program to enable hid support in FreeBSD 5.3. >>>>>My bt keyboard shows up as a bt device, but that's about it. >>>> >>>>it is coming along. i finally started to commit bits and pieces (i.e. >>>>vkbd(4)) >>> >>>I actually ran across vkbd, it looks like a generic way to insert >>>keyboard events into the kernel, but not specific to any technology like >>>bluetooth. I'm assuming you also have a user-land daemon that uses >>>sockets to talk on bluetooth then pass the event to vkbd. Is there a >> >>correct >> >>>place to find the userland daemon source at the moment or do you just >>>have a private copy? >> >>there is somewhat old version is in cvs, but it is not connected to the >>build >> >>/usr/src/usr.sbin/bluetooth/bthidcontrol >>/usr/src/usr.sbin/bluetooth/bthidd >> >>you can read the code and try to get the idea. bthidcontrol(8) should >>just work. bthidd(8) has very simple support for bluetooth mouse and no >>support for the keyboard. > > I tried compiling both bthidd and bthidcontrol, but they are complaining > about a missing header and a missing type, report_desc_t. I'm assuming > report_desc_t is supposed to be defined in libusbhid.h, but that does > not seem to be on my system anywhere according to locate. Is that in > some port or just an old file since I'd think nothing under /usr/src > should depend on a port. hmmm, it appears that libusbhid.h was renamed to usbhid.h. no bthidd does not depend on any port. just on libusbhid (see usbhid(3) for details). just apply this patch in /usr/src/usr.sbin/bluetooth/bthidd --- parser.y Fri Apr 9 17:18:00 2004 +++ /tmp/parser.y Wed Nov 17 13:49:04 2004 @@ -33,10 +33,10 @@ #include #include #include -#include #include #include #include +#include #include >>>I would like to help with this project since I've had my bluetooth >>>keyboard sitting on the shelf for months waiting for support in freebsd >>>and I have been doing some other work in bluetooth recently. >> >>sure. i'll be glad to review and commit your patches. > > How old is the cvs version, I'd hate to be fixing old bugs or writing > code that is no longer useful. well, its old. give me a couple of days and i will update the bluetooth hid stuff in cvs. in the mean time the current code is a good starting reference. max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 04:30:52 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 314ED16A4D5 for ; Thu, 18 Nov 2004 04:30:52 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id D6C1243D41 for ; Thu, 18 Nov 2004 04:30:50 +0000 (GMT) (envelope-from hvalentim@gmx.net) Received: (qmail 10726 invoked by uid 65534); 18 Nov 2004 04:30:48 -0000 Received: from unknown (EHLO robur.agsoft) (81.193.150.184) by mail.gmx.net (mp009) with SMTP; 18 Nov 2004 05:30:48 +0100 X-Authenticated: #13992909 From: "Hugo D. Valentim" To: freebsd-bluetooth@freebsd.org Date: Thu, 18 Nov 2004 04:30:27 +0000 User-Agent: KMail/1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200411180430.27711.hvalentim@gmx.net> Subject: TECOM BT3033A. Problem Solved! X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 04:30:52 -0000 Recapitulating the problem and the solution, for future reference. THE PROBLEM: I first complained because when I plugged my bluetooth dongle (wishing to=20 connect to a mobile phone) the OS assumed it to be a usb/bluetooth keyboard= ;=20 created a /dev/uskbo and assigned it to be the console keyboard, thus leavi= ng=20 me with no way to type. THE HARDWARE: I am using a TECOM BT3033A dongle with a Compaq Presario 1215EA (it has two= =20 USB plugs, the first has the dongle, the second a USB a4Tech mouse - but th= e=20 mouse part is relevant for the issue). The mobile phone is a SonyEricsson=20 K700i. I am running FBSD 5.3-release. THE SOLUTION: A - Following Maksim's suggestion, I commented out the following lines=20 from /etc/dev.conf # When a USB keyboard arrives, attach it as the console keyboard # attach 100 { # device-name "ukbd0"; # action "test -c /dev/kbd1 && kbdcontrol -k /dev/kbd1 < /dev/console"; # }; # detach 100 { # device-name "ukbd0"; # action "kbdcontrol -k /dev/kbd0 < /dev/console"; # }; B - Now, with ng_ubt_load=3D"YES" in /boot/load.conf I get at startup the i= nfo=20 bellow (the following devs are created: ukbd0, kb1, ums0, ums1. ukbd0, kb1= =20 and ums1 dissapear as soon as I type =AB/etc/rc.bluetooth start ubt0=BB. As= far=20 as I can understand this means a bluetooth mouse and or bluetooth keyboard= =20 could work if I had them); since the ukbd0 is no longer automatically=20 assigned as console keyboard (step A) my problem dissapeared: Nov 18 01:55:35 kernel: uhci0: port 0x1800-0x1= 81f=20 irq 5 at device 7.2 on pci0 Nov 18 01:55:35 kernel: uhci0: [GIANT-LOCKED] Nov 18 01:55:35 kernel: usb0: on uhci0 Nov 18 01:55:35 kernel: usb0: USB revision 1.0 Nov 18 01:55:35 kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00= ,=20 addr 1 Nov 18 01:55:35 kernel: uhub0: 2 ports with 2 removable, self powered Nov 18 01:55:35 kernel: ums0: A4Tech USB Optical Mouse, rev 1.10/0.01, add= r=20 2, iclass 3/1 Nov 18 01:55:35 kernel: ums0: 7 buttons and Z dir. Nov 18 01:55:35 kernel: uhub1: Broadcom product 0x3535, class 9/0, rev=20 2.00/1.00, addr 3 Nov 18 01:55:35 kernel: uhub1: 3 ports with 0 removable, bus powered Nov 18 01:55:35 kernel: ubt0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 4 Nov 18 01:55:35 kernel: ubt0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 4 Nov 18 01:55:35 kernel: ubt0: Interface 0 endpoints: interrupt=3D0x81,=20 bulk-in=3D0x82, bulk-out=3D0x2 Nov 18 01:55:35 kernel: ubt0: Interface 1 (alt.config 4) endpoints:=20 isoc-in=3D0x83, isoc-out=3D0x3; wMaxPacketSize=3D64; nframes=3D5, buffer si= ze=3D320 Nov 18 01:55:35 kernel: ukbd0: Broadcom product 0x0099, rev 1.10/1.00, add= r=20 5, iclass 3/1 Nov 18 01:55:35 kernel: kbd1 at ukbd0 Nov 18 01:55:35 kernel: ums1: Broadcom product 0x0097, rev 1.10/1.00, addr= 6,=20 iclass 3/1 Nov 18 01:55:35 kernel: ums1: 3 buttons C - usbdevs -v -d shows: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),=20 VIA(0x0000),rev 1.00 uhub0 port 1 addr 2: low speed, power 100 mA, config 1, USB Optical Mouse(0x0006= ),=20 A4Tech(0x09da), rev 0.01 ums0 port 2 addr 3: full speed, power 100 mA, config 1, product 0x3535(0x3535),= =20 Broadcom(0x0a5c), rev 1.00 uhub1 port 1 addr 4: full speed, self powered, config 1, Bluetooth=20 Transceiver(0x200a), Broadcom Corp(0x0a5c), rev 1.00 ubt0 port 2 addr 5: full speed, self powered, config 1, product 0x0099(0x0099)= ,=20 Broadcom(0x0a5c), rev 1.00 ukbd0 port 3 addr 6: full speed, self powered, config 1, product 0x0097(0x0097)= ,=20 Broadcom(0x0a5c), rev 1.00 ums1 AFTER =AB/etc/rc.bluetooth start ubt0=BB that TURNS INTO: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),=20 VIA(0x0000),rev 1.00 uhub0 port 1 addr 2: low speed, power 100 mA, config 1, USB Optical Mouse(0x0006= ),=20 A4Tech(0x09da), rev 0.01 ums0 port 2 addr 3: full speed, power 100 mA, config 1, product 0x3535(0x3535),= =20 Broadcom(0x0a5c), rev 1.00 uhub1 port 1 addr 4: full speed, self powered, config 1, Bluetooth=20 Transceiver(0x200a), Broadcom Corp(0x0a5c), rev 1.00 ubt0 port 2 powered port 3 powered =20 ********************************* Just for the sake of argument and because eventually it might be helpful to= =20 someone, this is what I did next following the instructions found here: and here: ********************************* D - Started the stack and found my dongle address to be 00:03:c9:34:d1:f5: # /etc/rc.bluetooth start ubt0 BD_ADDR: 00:03:c9:34:d1:f5 =46eatures: 0xff 0xff 0xd 0x38 0x8 0x8 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 377 bytes Number of ACL packets: 10 Max. SCO packet size: 16 bytes Number of SCO packets: 0 E - With bluetooth on on the mobile, set to be in =ABreceptive mode=BB, I found the mobile phone address to be 00:0e:07:e4:55:f7: # hccontrol -n ubt0hci inquiry Inquiry result, num_responses=3D1 Inquiry result #0 BD_ADDR: 00:0e:07:e4:55:f7 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x4756 Inquiry complete. Status: No error [00] =46 - Checked that the PC was able to get the name the phone was reporting # hccontrol -n ubt0hci remote_name_request 00:0e:07:e4:55:f7 BD_ADDR: 00:0e:07:e4:55:f7 Name: K700i G - Checked that the PC was able to connect to the mobile # hccontrol -n ubt0hci create_connection 00:0e:07:e4:55:f7 BD_ADDR: 00:0e:07:e4:55:f7 Connection handle: 6 Encryption mode: Disabled [0] H - Checked that the connection was properly listed # hccontrol -n ubt0hci read_connection_list Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State 00:0e:07:e4:55:f7 6 ACL 0 MAST NONE 0 0 OPEN I - Tested the quality of the connection # hccontrol -n ubt0hci get_link_quality 6 Connection handle: 6 Link quality: 255 =46 - Checked the PC was able to terminate the connection # hccontrol -n ubt0hci disconnect 6 Connection handle: 6 Reason: Connection terminated by local host [0x16] G - Pinged the phone just for the sake of it. # l2ping -a 00:0e:07:e4:55:f7 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D0 time=3D30164.356 ms result=3D0x22 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D1 time=3D5142.148 ms result=3D0x4 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D2 time=3D2678.448 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D3 time=3D23.042 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D4 time=3D21.016 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D5 time=3D19.766 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D6 time=3D27.627 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D7 time=3D27.354 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D8 time=3D21.189 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D9 time=3D20.949 ms result=3D0 0 bytes from 00:0e:07:e4:55:f7 seq_no=3D10 time=3D19.870 ms result=3D0 H - I then made sure the addresses were translated to easier to use names b= y=20 editing: /etc/bluetooth/hosts 00:03:c9:34:d1:f5 PCNAME # Localhost 00:0e:07:e4:55:f7 K700i # K700i I - And made sure hcsecd would know about the phone /etc/bluetooth/hcsecd.conf device { bdaddr 00:0e:07:e4:55:f7; name "K700i"; key nokey; pin "1234"; } J - Started hcsecd with =ABverbose=BB mode in console # hcsecd -d K - I then paired the devices (from phone). The following info showed up: hcsecd[1406]: Got PIN_Code_Request event from 'ubt0hci', remote bdaddr=20 00:0e:07:e4:55:f7 hcsecd[1406]: Found matching entry, remote bdaddr 00:0e:07:e4:55:f7, name=20 'K700i', PIN code exists hcsecd[1406]: Sending PIN_Code_Reply to 'ubt0hci' for remote bdaddr=20 00:0e:07:e4:55:f7 hcsecd[1406]: Got Link_Key_Notification event from 'ubt0hci', remote bdaddr= =20 00:0e:07:e4:55:f7 hcsecd[1406]: Updating link key for the entry, remote bdaddr=20 00:0e:07:e4:55:f7,name 'K700i', link key exists I - The phone shows the PC reporting Push Object support. J - Finaly I checked the services available in the phone from the PC: # sdpcontrol -a K700i browse Record Handle: 0x00010000 Service Class ID List: Dial-Up Networking (0x1103) Generic Networking (0x1201) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 1 Bluetooth Profile Descriptor List: Dial-Up Networking (0x1103) ver. 1.0 Record Handle: 0x00010002 Service Class ID List: Headset Audio Gateway (0x1112) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 4 Bluetooth Profile Descriptor List: Headset (0x1108) ver. 1.0 Record Handle: 0x00010003 Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 2 Record Handle: 0x00010004 Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 3 Record Handle: 0x00010005 Service Class ID List: OBEX Object Push (0x1105) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 6 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX Object Push (0x1105) ver. 1.0 Record Handle: 0x00010006 Service Class ID List: IrMC Sync (0x1104) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 8 OBEX (0x0008) Bluetooth Profile Descriptor List: IrMC Sync (0x1104) ver. 1.0 Record Handle: 0x0001000a Service Class ID List: Imaging Responder (0x111b) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 9 OBEX (0x0008) Bluetooth Profile Descriptor List: Imaging (0x111a) ver. 1.0 Record Handle: 0x0001000d Service Class ID List: OBEX File Transfer (0x1106) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 7 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX File Transfer (0x1106) ver. 1.0 Record Handle: 0x0001000e Service Class ID List: Handsfree Audio Gateway (0x111f) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 5 Bluetooth Profile Descriptor List: Handsfree (0x111e) ver. 1.1 Record Handle: 0x00010018 Service Class ID List: 0xee000058-0002-8000-1000-000000000002 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 15 OBEX (0x0008) Record Handle: 0x0001001b Service Class ID List: PNP Information (0x1200) Record Handle: 0x0001001c Service Class ID List: Human Interface Device (0x1124) Protocol Descriptor List: L2CAP (0x0100) Protocol specific parameter #1: u/int/uuid16 17 HIDP (0x0011) Bluetooth Profile Descriptor List: Human Interface Device (0x1124) ver. 1.0 I have yet to try the rest of the stuff. ***************************************************************** EXTRA INFO (shown at boot time with different scenarios): *****************************************************************=20 I - With NO ng_ubt_load=3D"YES" in /boot/load.conf and with USB mouse plugg= ed=20 in: Nov 18 00:52:56 kernel: uhci0: port 0x1800-0x1= 81f=20 irq 5 at device 7.2 on pci0 Nov 18 00:52:56 kernel: uhci0: [GIANT-LOCKED] Nov 18 00:52:56 kernel: usb0: on uhci0 Nov 18 00:52:56 kernel: usb0: USB revision 1.0 Nov 18 00:52:56 kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00= ,=20 addr 1 Nov 18 00:52:56 kernel: uhub0: 2 ports with 2 removable, self powered Nov 18 00:52:56 kernel: ums0: A4Tech USB Optical Mouse, rev 1.10/0.01, add= r=20 2, iclass 3/1 Nov 18 00:52:56 kernel: ums0: 7 buttons and Z dir. Nov 18 00:52:56 kernel: uhub1: Broadcom product 0x3535, class 9/0, rev=20 2.00/1.00, addr 3 Nov 18 00:52:56 kernel: uhub1: 3 ports with 0 removable, bus powered Nov 18 00:52:56 kernel: ugen0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 4 Nov 18 00:52:56 kernel: ukbd0: Broadcom product 0x0099, rev 1.10/1.00, add= r=20 5, iclass 3/1 Nov 18 00:52:56 kernel: kbd1 at ukbd0 Nov 18 00:52:56 kernel: ums1: Broadcom product 0x0097, rev 1.10/1.00, addr= 6,=20 iclass 3/1 Nov 18 00:52:56 kernel: ums1: 3 buttons II - With NO ng_ubt_load=3D"YES" in /boot/load.conf and no USB mouse plugge= d in =20 Nov 18 01:09:31 kernel: uhci0: port 0x1800-0x1= 81f=20 irq 5 at device 7.2 on pci0 Nov 18 01:09:31 kernel: uhci0: [GIANT-LOCKED] Nov 18 01:09:31 kernel: usb0: on uhci0 Nov 18 01:09:31 kernel: usb0: USB revision 1.0 Nov 18 01:09:31 kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00= ,=20 addr 1 Nov 18 01:09:31 kernel: uhub0: 2 ports with 2 removable, self powered Nov 18 01:09:31 kernel: uhub1: Broadcom product 0x3535, class 9/0, rev=20 2.00/1.00, addr 2 Nov 18 01:09:31 kernel: uhub1: 3 ports with 0 removable, bus powered Nov 18 01:09:31 kernel: ugen0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 3 Nov 18 01:09:31 kernel: ukbd0: Broadcom product 0x0099, rev 1.10/1.00, add= r=20 4, iclass 3/1 Nov 18 01:09:31 kernel: kbd1 at ukbd0 Nov 18 01:09:31 kernel: ums0: Broadcom product 0x0097, rev 1.10/1.00, addr= 5,=20 iclass 3/1 com product 0x3535, class 9/0, rev 2.00/1.00, addr 2 Nov 18 01:09:31 kernel: uhub1: 3 ports with 0 removable, bus powered Nov 18 01:09:31 kernel: ugen0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 3 Nov 18 01:09:31 kernel: ukbd0: Broadcom product 0x0099, rev 1.10/1.00, add= r=20 4, iclass 3/1 Nov 18 01:09:31 kernel: kbd1 at ukbd0 Nov 18 01:09:31 kernel: ums0: Broadcom product 0x0097, rev 1.10/1.00, addr= 5,=20 iclass 3/1 Nov 18 01:09:31 kernel: ums0: 3 buttons III - WITH ng_ubt_load=3D"YES" in /boot/load.conf and NO USB mouse Nov 18 01:16:19 kernel: uhci0: port 0x1800-0x1= 81f=20 irq 5 at device 7.2 on pci0 Nov 18 01:16:19 kernel: uhci0: [GIANT-LOCKED] Nov 18 01:16:19 kernel: usb0: on uhci0 Nov 18 01:16:19 kernel: usb0: USB revision 1.0 Nov 18 01:16:19 kernel: uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00= ,=20 addr 1 Nov 18 01:16:19 kernel: uhub0: 2 ports with 2 removable, self powered Nov 18 01:16:19 kernel: uhub1: Broadcom product 0x3535, class 9/0, rev=20 2.00/1.00, addr 2 Nov 18 01:16:19 kernel: uhub1: 3 ports with 0 removable, bus powered Nov 18 01:16:19 kernel: ubt0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 3 Nov 18 01:16:19 kernel: ubt0: Broadcom Corp Bluetooth Transceiver, rev=20 1.10/1.00, addr 3 Nov 18 01:16:19 kernel: ubt0: Interface 0 endpoints: interrupt=3D0x81,=20 bulk-in=3D0x82, bulk-out=3D0x2 Nov 18 01:16:19 kernel: ubt0: Interface 1 (alt.config 4) endpoints:=20 isoc-in=3D0x83, isoc-out=3D0x3; wMaxPacketSize=3D64; nframes=3D5, buffer si= ze=3D320 Nov 18 01:16:19 kernel: ukbd0: Broadcom product 0x0099, rev 1.10/1.00, add= r=20 4, iclass 3/1 Nov 18 01:16:19 kernel: kbd1 at ukbd0 Nov 18 01:16:19 kernel: ums0: Broadcom product 0x0097, rev 1.10/1.00, addr= 5,=20 iclass 3/1 Nov 18 01:16:19 kernel: ums0: 3 buttons From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 07:26:41 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EB2416A4CE for ; Thu, 18 Nov 2004 07:26:41 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C853E43D41 for ; Thu, 18 Nov 2004 07:26:40 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CUggh-0000T6-5C; Thu, 18 Nov 2004 10:26:39 +0300 From: Vladimir Grebenschikov To: Maksim Yevmenkin In-Reply-To: <419B8C3A.6030003@savvis.net> References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100711659.47346.11.camel@localhost> <419B8C3A.6030003@savvis.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 18 Nov 2004 10:26:38 +0300 Message-Id: <1100762798.1069.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 07:26:41 -0000 =F7 =D3=D2, 17/11/2004 =D7 09:36 -0800, Maksim Yevmenkin =D0=C9=DB=C5=D4: > > Good news, is there any estimations or like ? >=20 > no. life with 8 months old son can not be predicted easily :) (come to=20 > think about it life in general can not be predicted easily :) I know, frankly speaking I just want to be sure that there is some activity in this direction, I, probably, will get any comments trying to get it works myself. It is a bit challenging to buy unsupported hardware but interesting anyway. > > I am going to get such mouse but if it will not be supported for > > years it has no sense. >=20 > you can always write support yourself :) Yes, this option is always available with BSD :) I have another question about vkbd. Is it really requires userland connector ? Probably it is not a bad idea to have kernel hook for vkbd also ? I mean to make syscons ability to use in-kernel mixer of keyboard events. So after that one can connect to that mixer some keyboards (usb, at, bt) Frankly speaking I afraid case when with syscons pointing to vkbd DDB will be called, and what happens ?=20 Another option is to use special binding for DDB keyboard, but I did not like it. > max --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 07:37:27 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 185B816A4CE for ; Thu, 18 Nov 2004 07:37:27 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2B5A43D41 for ; Thu, 18 Nov 2004 07:37:26 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CUgr7-0000Ua-Jz; Thu, 18 Nov 2004 10:37:25 +0300 From: Vladimir Grebenschikov To: bluetooth@freebsd.org In-Reply-To: References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 18 Nov 2004 10:37:25 +0300 Message-Id: <1100763445.1069.20.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: miketmp@xs4all.nl Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 07:37:27 -0000 =F7 =D3=D2, 17/11/2004 =D7 19:47 +0100, Mike Crosland =D0=C9=DB=C5=D4: > My current setup allows me to use my Logitech di Novo keyboard/mouse on m= y =20 > dual-boot machine. FreeBSD just sees it as being a usb hub. However I did= =20 > have to do some patching and a kernel rebuild to do it. Also FreeBSD =20 > doesn't recognise the bt hub, which means if you want to link to other bt= =20 > devices you need to have a seperate dongle. >=20 > What would be decidedly cool was if the usb bt chip AND extra dongle(s)= =20 > ie multiple devices could be recognised, in much the same way that the =20 > system can handle several network cards. Ok, please advise,=20 As I understand BT mouses often shipped with BT USB dongle, But is it safe to buy mouse with that type ? Is protocol between this dongle and BT mouse is BTHID - complaint ? I simple do not want to get mouse that will not work without that dongle. > Mike >=20 > PS Max - congratulations to your enlarging user base - er I mean family > :) Max thank you for excellent BT support ! --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 17:37:15 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEC916A4CE for ; Thu, 18 Nov 2004 17:37:15 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CBBE43D1F for ; Thu, 18 Nov 2004 17:37:15 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iAIHZcIr009837; Thu, 18 Nov 2004 11:35:39 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 11:35:31 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 11:35:12 -0600 Message-ID: <419CDD47.7000108@savvis.net> Date: Thu, 18 Nov 2004 09:35:03 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100711659.47346.11.camel@localhost> <419B8C3A.6030003@savvis.net> <1100762798.1069.13.camel@localhost> In-Reply-To: <1100762798.1069.13.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Nov 2004 17:35:12.0224 (UTC) FILETIME=[F4FC3600:01C4CD94] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 17:37:15 -0000 Vladimir, >>>Good news, is there any estimations or like ? >> >>no. life with 8 months old son can not be predicted easily :) (come to >>think about it life in general can not be predicted easily :) > > I know, frankly speaking I just want to be sure that there is some > activity in this direction, I, probably, will get any comments trying to > get it works myself. It is a bit challenging to buy unsupported hardware > but interesting anyway. i'm working on this, but very very slowly :) [...] > I have another question about vkbd. > > Is it really requires userland connector ? > Probably it is not a bad idea to have kernel hook for vkbd also ? > > I mean to make syscons ability to use in-kernel mixer of keyboard > events. > > So after that one can connect to that mixer some keyboards (usb, at, bt) this was beaten to death on cvs-src, src-committers and cvs-all. please look for the huge discussion followed by my vkbd commit Re: cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h src/sys/modules/vkbd Makefile > Frankly speaking I afraid case when with syscons pointing to vkbd DDB > will be called, and what happens ? when people learn to read man pages? :) that is what they are for! :) vkbd(4) is just a way to feed key events into the kernel. key events have to be obtained somehow. in case of bluetooth all key codes passed through the rest of the stack. obviously bluetooth stack does not work when you are at ddb prompt. > Another option is to use special binding for DDB keyboard, but I did not > like it. i do not understand why this keeps poping up :( if it is required to support wireless keyboards under ddb then support must be impemented on lower lever, i.e. in bios. max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 17:42:27 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAF8216A4CE for ; Thu, 18 Nov 2004 17:42:27 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6368943D4C for ; Thu, 18 Nov 2004 17:42:27 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iAIHgNIr010309; Thu, 18 Nov 2004 11:42:23 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 11:42:19 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 11:42:14 -0600 Message-ID: <419CDEF5.4090005@savvis.net> Date: Thu, 18 Nov 2004 09:42:13 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100763445.1069.20.camel@localhost> In-Reply-To: <1100763445.1069.20.camel@localhost> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 18 Nov 2004 17:42:14.0160 (UTC) FILETIME=[F07A8900:01C4CD95] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org cc: miketmp@xs4all.nl Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 17:42:27 -0000 Vladimir Grebenschikov wrote: > 右, 17/11/2004 19:47 +0100, Mike Crosland 猩叟: > >>My current setup allows me to use my Logitech di Novo keyboard/mouse on my >>dual-boot machine. FreeBSD just sees it as being a usb hub. However I did >>have to do some patching and a kernel rebuild to do it. Also FreeBSD >>doesn't recognise the bt hub, which means if you want to link to other bt >>devices you need to have a seperate dongle. >> >> What would be decidedly cool was if the usb bt chip AND extra dongle(s) >>ie multiple devices could be recognised, in much the same way that the >>system can handle several network cards. > > Ok, please advise, > > As I understand BT mouses often shipped with BT USB dongle, > But is it safe to buy mouse with that type ? Is protocol between this > dongle and BT mouse is BTHID - complaint ? what Mike has is a bluetooth receiver that implements 'hid proxy' feature. basically the bluetooth receiver implements bluetooth hid protocol and pretends to be hub with usb keyboard and mouse attached. in this case *no* bluetooth support is required from os. again, from os point of view it looks like regular usb keyboard and mouse. that also mean that it is *not possible* to use bluetooth receiver to talk to other devices. that is unless you turn 'hid proxy' feature off, but in this case os *must* implement bluetooth hid protocol. > I simple do not want to get mouse that will not work without that > dongle. if it is a bluetooth mouse and it has been certified (which is usually the case) then in *must* work with any certified bluetooth dongle. max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 18:37:59 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40B8B16A4CE for ; Thu, 18 Nov 2004 18:37:59 +0000 (GMT) Received: from vbook.fbsd.ru (user142.hovrino.net [82.179.232.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40BF143D1F for ; Thu, 18 Nov 2004 18:37:57 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.43 (FreeBSD)) id 1CUrAJ-0000YW-46; Thu, 18 Nov 2004 21:37:55 +0300 From: Vladimir Grebenschikov To: Maksim Yevmenkin In-Reply-To: <419CDD47.7000108@savvis.net> References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100711659.47346.11.camel@localhost> <419B8C3A.6030003@savvis.net> <1100762798.1069.13.camel@localhost> <419CDD47.7000108@savvis.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Thu, 18 Nov 2004 21:37:54 +0300 Message-Id: <1100803074.1347.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 18:37:59 -0000 =F7 =DE=D4, 18/11/2004 =D7 09:35 -0800, Maksim Yevmenkin =D0=C9=DB=C5=D4: > > I have another question about vkbd. > >=20 > > Is it really requires userland connector ? > > Probably it is not a bad idea to have kernel hook for vkbd also ? > >=20 > > I mean to make syscons ability to use in-kernel mixer of keyboard > > events. > >=20 > > So after that one can connect to that mixer some keyboards (usb, at, bt= ) >=20 > this was beaten to death on cvs-src, src-committers and cvs-all. please=20 > look for the huge discussion followed by my vkbd commit >=20 > Re: cvs commit: src/sys/dev/vkbd vkbd.c vkbd_var.h src/sys/modules/vkbd=20 > Makefile Looks like I should subscribe again to cvs-all, ok, will read. > > Frankly speaking I afraid case when with syscons pointing to vkbd DDB > > will be called, and what happens ?=20 >=20 > when people learn to read man pages? :) that is what they are for! :)=20 > vkbd(4) is just a way to feed key events into the kernel. key events=20 > have to be obtained somehow. in case of bluetooth all key codes passed=20 > through the rest of the stack. obviously bluetooth stack does not work=20 > when you are at ddb prompt. I do read man-page before. Actually, I don't want bt kbd work under dbb, But I don't want to loose at keyboard for DDB when I use bt keyboard for other (not DDB) input. This was my point. As I understand valid (and only) usage of vkbd is=20 1. start user-land software feeding vkbd with events (probably from different sources atkbd, ukbd, btkbd) 2. change syscons input to vkbd in this case any enter to DDB will stop keyboard processing at all. my idea was just have hook (probably ng) to be able shortcut vkbd and atkbd without user-land software.=20 > > Another option is to use special binding for DDB keyboard, but I did no= t > > like it. >=20 > i do not understand why this keeps poping up :( if it is required to=20 > support wireless keyboards under ddb then support must be impemented on=20 > lower lever, i.e. in bios. No, as I said before I just want be able to enter DDB with at keyboard when I have use bt keyboard. > max PS: I do not try to flame at all, just supply ideas. --=20 Vladimir B. Grebenchikov vova@fbsd.ru From owner-freebsd-bluetooth@FreeBSD.ORG Thu Nov 18 19:48:33 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B353016A4CE for ; Thu, 18 Nov 2004 19:48:33 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E30F43D46 for ; Thu, 18 Nov 2004 19:48:33 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iAIJj3Ir020970; Thu, 18 Nov 2004 13:45:03 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 13:44:55 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Nov 2004 13:44:47 -0600 Message-ID: <419CFBAE.7040500@savvis.net> Date: Thu, 18 Nov 2004 11:44:46 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <1100552998.1098.5.camel@localhost> <419B8353.7040908@savvis.net> <1100711659.47346.11.camel@localhost> <419B8C3A.6030003@savvis.net> <1100762798.1069.13.camel@localhost> <419CDD47.7000108@savvis.net> <1100803074.1347.12.camel@localhost> In-Reply-To: <1100803074.1347.12.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Nov 2004 19:44:47.0719 (UTC) FILETIME=[0F8A9770:01C4CDA7] X-ECS-MailScanner: No virus is found cc: bluetooth@freebsd.org Subject: Re: Bluetooth mouse X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 19:48:33 -0000 [...] >>>Frankly speaking I afraid case when with syscons pointing to vkbd DDB >>>will be called, and what happens ? >> >>when people learn to read man pages? :) that is what they are for! :) >>vkbd(4) is just a way to feed key events into the kernel. key events >>have to be obtained somehow. in case of bluetooth all key codes passed >>through the rest of the stack. obviously bluetooth stack does not work >>when you are at ddb prompt. > > I do read man-page before. > Actually, I don't want bt kbd work under dbb, But I don't want to loose > at keyboard for DDB when I use bt keyboard for other (not DDB) input. > This was my point. the problem is that you can only have one keyboard active at a time. vkbd(4) is *NOT* trying to solve this problem. at least not in its current form. it is *NOT* a keyboard mux. it is a *kludge* to work around bigger problem. > As I understand valid (and only) usage of vkbd is > 1. start user-land software feeding vkbd with events (probably from > different sources atkbd, ukbd, btkbd) > 2. change syscons input to vkbd > > in this case any enter to DDB will stop keyboard processing at all. > my idea was just have hook (probably ng) to be able shortcut vkbd and > atkbd without user-land software. will you please stop with atkbd, ukbd, ddb etc. wireless keyboards *CAN* and *WILL* come and go. it is their nature. so it is up to the userspace daemon to detect when wireless keyboard comes online/offline and switch from/to wired keyboard accordingly. that is what i tried to do in bthidd(8). if your system has panic'ed or you hit ctrl-alt-esc thats too bad for you. you just have lost your keyboard. >>>Another option is to use special binding for DDB keyboard, but I did not >>>like it. >> >>i do not understand why this keeps poping up :( if it is required to >>support wireless keyboards under ddb then support must be impemented on >>lower lever, i.e. in bios. > > No, as I said before I just want be able to enter DDB with at keyboard > when I have use bt keyboard. you *CANNOT* have two or more keyboards active at the same time. period. at least not now. it has been a problem for a while. you have to live with this. vkbd(4) is *NOT* going to help you. at least not in its current form. now it *CAN* be changed to implement many-to-one mux. hell, you can even make it many-to-many mux if you want. the only problem is that syscons will accept input from one keyboard at a time. if you fix syscons, then you do not need vkbd at all. > I do not try to flame at all, just supply ideas. i understand, i just think that vkbd is the wrong place to fix it, thats it. max From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 17:06:24 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0257E16A4CE for ; Sat, 4 Dec 2004 17:06:24 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B5FE43D69 for ; Sat, 4 Dec 2004 17:06:23 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB4H6NFR073550 for ; Sat, 4 Dec 2004 12:06:23 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB4H6MbP013458 for ; Sat, 4 Dec 2004 12:06:22 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB4H6ME2013457 for freebsd-bluetooth@freebsd.org; Sat, 4 Dec 2004 12:06:22 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-bluetooth@freebsd.org Date: Sat, 4 Dec 2004 12:06:22 -0500 (EST) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 17:06:24 -0000 Hi, Brand new Bluetooth user. I'm running : FreeBSD himinbjorg.tucs-beachin-obx-house.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #7: Tue Oct 12 15:07:09 EDT 2004 root@himinbjorg.tucs-beachin-obx-house.com:/usr/obj/usr/src/sys/HIMINBJORG i386 with a new D-Link BT-120.B4 . I'm trying to follow all the examples according to: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bluetooth.html I do the kldload, and I get: ubt0: vendor 0x0a12 product 0x0001, rev 1.10/5.25, addr 2 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294 And the rc.bluetooth: BD_ADDR: 00:11:95:00:39:15 Features: 0xff 0xff 0xf 00 00 00 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 192 bytes Number of ACL packets: 8 Max. SCO packet size: 64 bytes Number of SCO packets: 8 So far, I think I'm doing well. So I turn on my Palm Treo 650 and make it discoverable. I've already put in /etc/bluetooth/hosts : 00:07:e0:02:16:16 TucTreo650.tucs-beachin-obx-house.com So I do the hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: TucTreo650.tucs-beachin-obx-house.com Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 50:02:0c Clock offset: 0x1ac Inquiry complete. Status: No error [00] So far so good. And the hccontrol -n ubt0hci remote_name_request TucTreo650.tucs-beachin-obx-house.com returned : BD_ADDR: TucTreo650.tucs-beachin-obx-house.com Name: palmOne Device So I went on to hccontrol -n ubt0hci read_connection_list , which came up empty. I'm not sure that this should really show anything. So I skipped down to the l2ping -a TucTreo650.tucs-beachin-obx-house.com and all of a sudden on the Treo I get some tones and it tells me a connection is in progress. The results of the ping are : 20 bytes from 00:07:e0:02:16:16 seq_no=0 time=2081.812 ms result=0 20 bytes from 00:07:e0:02:16:16 seq_no=1 time=31.914 ms result=0 20 bytes from 00:07:e0:02:16:16 seq_no=2 time=45.864 ms result=0 20 bytes from 00:07:e0:02:16:16 seq_no=3 time=27.612 ms result=0 20 bytes from 00:07:e0:02:16:16 seq_no=4 time=30.311 ms result=0 20 bytes from 00:07:e0:02:16:16 seq_no=5 time=33.280 ms result=0 (The treo had timed out so the first one I had to turn it back on.) Just for giggles, I went back to the hccontrol -n ubt0hci read_connection_list and saw : Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State TucTreo650.tucs-b 41 ACL 0 MAST NONE 0 0 OPEN So it looks pretty good. I try the l2control -a himinbjorg.tucs-beachin-obx-house.com read_channel_list (I already put my BD_ADDR in the /etc/bluetooth/hosts as : 00:11:95:00:39:15 himinbjorg.tucs-beachin-obx-house.com ) And it comes up empty. So does the read_connection_list, unless I do the l2ping and quickly go back. Then I get : L2CAP connections: Remote BD_ADDR Handle Flags Pending State TucTreo650.tucs-b 42 O D 0 OPEN I go on to a btsockstat, and get : Active raw HCI sockets Socket PCB Flags Recv-Q Send-Q Local address c891c960 c7f01280 000002 0 0 * So now I skip down to section 24.4.6 . My first question is how should I be starting hcsecd on a regular basis? I don't see anything in the /etc/rc.bluetooth to do it. So in the /etc/bluetooth/hcsecd.conf I put : device { bdaddr 00:07:e0:02:16:16; name "palmOne Device"; key nokey; pin "1234"; } and after realizing the default file has some sort of error on line 44, I have to comment it out : #device { # bdaddr 00:1:2:3:4:5; # name "Dummy"; # key nokey; # pin "0000"; #} I run it, and tell the Palm to trust my laptop. The debug is : hcsecd[12989]: Got PIN_Code_Request event from 'ubt0hci', remote bdaddr 00:07:e0:02:16:16 hcsecd[12989]: Found matching entry, remote bdaddr 00:07:e0:02:16:16, name 'palmOne Device', PIN code exists hcsecd[12989]: Sending PIN_Code_Reply to 'ubt0hci' for remote bdaddr 00:07:e0:02:16:16 hcsecd[12989]: Got Link_Key_Notification event from 'ubt0hci', remote bdaddr 00:07:e0:02:16:16 So that looks good too. I tell it to background so it'll continue to run. I move on to the next section, and this is where things start to go bad. I do a sdpcontrol -a TucTreo650.tucs-beachin-obx-house.com browse and I get: Could not execute command "browse". Input/output error I did a search of all the options, each come up as Input/output error. I then try to start sdpd, and it doesn't exist. I drop down to sdpcontrol -l browse and I get it as an illegal option. So, I'm a tad stuck, don't want to go much farther..... Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 17:38:38 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDA5516A4CE for ; Sat, 4 Dec 2004 17:38:38 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE27143D31 for ; Sat, 4 Dec 2004 17:38:37 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB4HcaOo039386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Dec 2004 18:38:36 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB4HcaDt039385; Sat, 4 Dec 2004 18:38:36 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Tuc at Beach House In-Reply-To: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> References: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-DA95kU/h/V7MrdGjm1PK" Date: Sat, 04 Dec 2004 18:38:35 +0100 Message-Id: <1102181915.30304.10.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 17:38:38 -0000 --=-DA95kU/h/V7MrdGjm1PK Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Tuc at Beach House p=ED=B9e v so 04. 12. 2004 v 12:06 -0500: > My first question is how should I be starting hcsecd on a regular > basis? I don't see anything in the /etc/rc.bluetooth to do it. Pairing is one-time operation. Once your palm have your computer's dongle in list of trusted devices, everything will be fine. FreeBSD does not really care :) > I do a sdpcontrol -a TucTreo650.tucs-beachin-obx-house.com browse =20 > and I get: >=20 > Could not execute command "browse". Input/output error >=20 > I did a search of all the options, each come up as Input/output error. >=20 > I then try to start sdpd, and it doesn't exist. >=20 > I drop down to sdpcontrol -l browse and I get it as an illegal=20 > option.=20 Palm devices are known to not implement service browsing. Mine Tungsten T3 can't be browsed, either. You will want to query for channels of services you want to use, with 'sdcontrol search' command.=20 --=20 Pav Lucistnik - Hocumms Razor states that the most obvious, though possible not conceviab= le, answer to a problem is most likely the correct one. - unless you are playing zelda. --=-DA95kU/h/V7MrdGjm1PK Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBsfYbntdYP8FOsoIRAvOIAJ9RJkn4jqHHFyZ3b6HWzpQyncPtmgCdFKtZ OftTAx65+60P5LJWRtKD/hc= =e4bI -----END PGP SIGNATURE----- --=-DA95kU/h/V7MrdGjm1PK-- From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 17:54:22 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ACE416A4CE; Sat, 4 Dec 2004 17:54:22 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id F25F443D46; Sat, 4 Dec 2004 17:54:21 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB4HsLFR074971; Sat, 4 Dec 2004 12:54:21 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB4HsLbP014736; Sat, 4 Dec 2004 12:54:21 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB4HsLYc014735; Sat, 4 Dec 2004 12:54:21 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412041754.iB4HsLYc014735@himinbjorg.tucs-beachin-obx-house.com> To: pav@FreeBSD.org Date: Sat, 4 Dec 2004 12:54:21 -0500 (EST) In-Reply-To: <1102181915.30304.10.camel@hood.oook.cz> from "Pav Lucistnik" at Dec 04, 2004 06:38:35 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@FreeBSD.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 17:54:22 -0000 > > My first question is how should I be starting hcsecd on a regular > > basis? I don't see anything in the /etc/rc.bluetooth to do it. > > Pairing is one-time operation. Once your palm have your computer's > dongle in list of trusted devices, everything will be fine. FreeBSD does > not really care :) > Gotcha. Thank you. > > > I do a sdpcontrol -a TucTreo650.tucs-beachin-obx-house.com browse > > and I get: > > > > Could not execute command "browse". Input/output error > > > > I did a search of all the options, each come up as Input/output error. > > > > I then try to start sdpd, and it doesn't exist. > > > > I drop down to sdpcontrol -l browse and I get it as an illegal > > option. > > Palm devices are known to not implement service browsing. > Ok. Thank you. I wasn't aware of that. > > Mine > Tungsten T3 can't be browsed, either. You will want to query for > channels of services you want to use, with 'sdcontrol search' command. > I assume you mean sdpcontrol. I tried to do the whole list, and got nothing for each of them. I also wanted to start offering services from my FreeBSD laptop, and wanted to start sdpd, but I don't find it on my laptop. Is there a ports package I need to install? The document mentions the use of "sdpcontrol -l browse", and "-l" is an invalid option. Is my sdpcontrol a wrong version that it does not have this option? Thanks, Tuc. (PS - I loaded a Winderz box with the BT-120.B4 software and put a different dongle on that, and I can see services on it.... Now I want it to see services on my FreeBSD, but I don't think I can offer it without the sdpd program which I can't find) From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 17:57:45 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F24116A4CE for ; Sat, 4 Dec 2004 17:57:45 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3618943D41 for ; Sat, 4 Dec 2004 17:57:44 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB4HvhXp039507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Dec 2004 18:57:43 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB4Hvgnt039506; Sat, 4 Dec 2004 18:57:42 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Tuc at Beach House In-Reply-To: <200412041754.iB4HsLYc014735@himinbjorg.tucs-beachin-obx-house.com> References: <200412041754.iB4HsLYc014735@himinbjorg.tucs-beachin-obx-house.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-C9eQz6RUEz7YBmVmuABv" Date: Sat, 04 Dec 2004 18:57:42 +0100 Message-Id: <1102183062.30304.13.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 17:57:45 -0000 --=-C9eQz6RUEz7YBmVmuABv Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Tuc at Beach House p=ED=B9e v so 04. 12. 2004 v 12:54 -0500: > > Mine > > Tungsten T3 can't be browsed, either. You will want to query for > > channels of services you want to use, with 'sdcontrol search' command. > >=20 > I assume you mean sdpcontrol. I tried to do the whole list, and > got nothing for each of them.=20 Yes, sdpcontrol, typo. I was copying it from Handbook, by hand. > I also wanted to start offering services from my FreeBSD laptop, > and wanted to start sdpd, but I don't find it on my laptop. Is there a po= rts > package I need to install? >=20 > The document mentions the use of "sdpcontrol -l browse", and "-l" > is an invalid option. Is my sdpcontrol a wrong version that it does not h= ave > this option? You may want to upgrade your system to FreeBSD 5.3, which have these utilities. I think 5.2.1 does not yet have them. PS please don't take this conversation offlist, others may be interested too. --=20 Pav Lucistnik 42.7 percent of all statistics are made up on the spot. --=-C9eQz6RUEz7YBmVmuABv Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBsfqWntdYP8FOsoIRArS7AKDDtM4wc1ugf+qUHfvEc10hjZD/XQCgsrAC aNRehARpEFsYhAdAKzn3NTg= =686X -----END PGP SIGNATURE----- --=-C9eQz6RUEz7YBmVmuABv-- From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 18:04:12 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E58516A4CE; Sat, 4 Dec 2004 18:04:12 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2273243D5C; Sat, 4 Dec 2004 18:04:12 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB4I4BFR075396; Sat, 4 Dec 2004 13:04:11 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB4I4BbP015258; Sat, 4 Dec 2004 13:04:11 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB4I4BjY015257; Sat, 4 Dec 2004 13:04:11 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412041804.iB4I4BjY015257@himinbjorg.tucs-beachin-obx-house.com> To: pav@FreeBSD.org Date: Sat, 4 Dec 2004 13:04:10 -0500 (EST) In-Reply-To: <1102183062.30304.13.camel@hood.oook.cz> from "Pav Lucistnik" at Dec 04, 2004 06:57:42 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@FreeBSD.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 18:04:12 -0000 > Yes, sdpcontrol, typo. I was copying it from Handbook, by hand. > Ok, great. > > > The document mentions the use of "sdpcontrol -l browse", and "-l" > > is an invalid option. Is my sdpcontrol a wrong version that it does not have > > this option? > > You may want to upgrade your system to FreeBSD 5.3, which have these > utilities. I think 5.2.1 does not yet have them. > Oh. :-/ Ok. Didn't want to go to 5.3 because I heard alot of bad things about it....... > > PS please don't take this conversation offlist, others may be interested > too. > Um, not sure why your saying this. I've cc'd the list both times. In elm I see : T)o: pav@FreeBSD.org C)c: tuc@ttsg.com (Tuc at Beach House), freebsd-bluetooth@FreeBSD.org Is there a mistype somewhere? Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 19:04:23 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99B8416A4CE for ; Sat, 4 Dec 2004 19:04:23 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00FD043D60 for ; Sat, 4 Dec 2004 19:04:23 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [24.52.242.150]) by mta10.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041204190422.NGST18426.mta10.adelphia.net@[192.168.1.254]>; Sat, 4 Dec 2004 14:04:22 -0500 Message-ID: <41B20A3D.4030008@savvis.net> Date: Sat, 04 Dec 2004 11:04:29 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 19:04:23 -0000 Hello, > FreeBSD himinbjorg.tucs-beachin-obx-house.com 5.2.1-RELEASE FreeBSD > 5.2.1-RELEASE #7: Tue Oct 12 15:07:09 EDT 2004 > root@himinbjorg.tucs-beachin-obx-house.com:/usr/obj/usr/src/sys/HIMINBJORG > i386 bluetooth in 5.2.1 is not very user frilendly. please upgrade your system to 5.3 or 5-stable. [snip - all output looks good to me] > So I went on to hccontrol -n ubt0hci read_connection_list , which > came up empty. I'm not sure that this should really show anything. it will if you have open baseband connection. please note that stack will shutdown inactive baseband connections after few seconds of inactivity. > So I skipped down to the l2ping -a > TucTreo650.tucs-beachin-obx-house.com and all of a sudden on the Treo > I get some tones and it tells me a connection is in progress. The > results of the ping are : > > 20 bytes from 00:07:e0:02:16:16 seq_no=0 time=2081.812 ms result=0 20 > bytes from 00:07:e0:02:16:16 seq_no=1 time=31.914 ms result=0 20 > bytes from 00:07:e0:02:16:16 seq_no=2 time=45.864 ms result=0 20 > bytes from 00:07:e0:02:16:16 seq_no=3 time=27.612 ms result=0 20 > bytes from 00:07:e0:02:16:16 seq_no=4 time=30.311 ms result=0 20 > bytes from 00:07:e0:02:16:16 seq_no=5 time=33.280 ms result=0 > > (The treo had timed out so the first one I had to turn it back on.) > Just for giggles, I went back to the hccontrol -n ubt0hci > read_connection_list and saw : > > Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State > TucTreo650.tucs-b 41 ACL 0 MAST NONE 0 0 OPEN > > So it looks pretty good. yep, that is exactly what it should look like. l2ping will open baseband connection for you. if you stop l2ping and wait few seconds then baseband connection will be terminated due to inactivity. > I try the l2control -a himinbjorg.tucs-beachin-obx-house.com > read_channel_list (I already put my BD_ADDR in the > /etc/bluetooth/hosts as : 00:11:95:00:39:15 > himinbjorg.tucs-beachin-obx-house.com ) > > And it comes up empty. So does the read_connection_list, unless I do > the l2ping and quickly go back. Then I get : > > L2CAP connections: Remote BD_ADDR Handle Flags Pending State > TucTreo650.tucs-b 42 O D 0 OPEN that is fine to. read_connection_list command in both l2control and hcicontrol should have similar output. if they do then everything is fine - hci and l2cap have consistent information. if they dont then something is bad. > I go on to a btsockstat, and get : > > Active raw HCI sockets Socket PCB Flags Recv-Q Send-Q Local > address c891c960 c7f01280 000002 0 0 * thats fine too. you do not have yet open any _logical_ connections on top of baseband connections, i.e. you do not have l2cap or rfcomm channels open. > So now I skip down to section 24.4.6 . > > My first question is how should I be starting hcsecd on a regular > basis? I don't see anything in the /etc/rc.bluetooth to do it. So in > the /etc/bluetooth/hcsecd.conf I put : > > device { bdaddr 00:07:e0:02:16:16; name "palmOne Device"; key > nokey; pin "1234"; } > > and after realizing the default file has some sort of error on line > 44, I have to comment it out : > > #device { # bdaddr 00:1:2:3:4:5; # name "Dummy"; # > key nokey; # pin "0000"; #} > > I run it, and tell the Palm to trust my laptop. The debug is : > > hcsecd[12989]: Got PIN_Code_Request event from 'ubt0hci', remote > bdaddr 00:07:e0:02:16:16 hcsecd[12989]: Found matching entry, remote > bdaddr 00:07:e0:02:16:16, name 'palmOne Device', PIN code exists > hcsecd[12989]: Sending PIN_Code_Reply to 'ubt0hci' for remote bdaddr > 00:07:e0:02:16:16 hcsecd[12989]: Got Link_Key_Notification event from > 'ubt0hci', remote bdaddr 00:07:e0:02:16:16 yes, thats looks good to me. i will verify the default (example) section in /etc/bluetooth/hcsecd.conf. > I move on to the next section, and this is where things start to go > bad. > > I do a sdpcontrol -a TucTreo650.tucs-beachin-obx-house.com browse and > I get: > > Could not execute command "browse". Input/output error > > I did a search of all the options, each come up as Input/output > error. well, i will double check, but i think thats because of endianess bug in sdpcontrol. it was fixed later. > I then try to start sdpd, and it doesn't exist. sdpd was not included in 5.2.1. you _do_not_ need to run sdpd unless you want to provide bluetooth services to remote clients, i.e. act as a server > I drop down to sdpcontrol -l browse and I get it as an illegal > option. '-l' option appeared later when sdpd was added. it means browse _local_ sdpd database. again you _do_not_ need this unless host provides bluetoth services. i'd strongly recommend to upgrade the system to 5.3 or 5-stable. you could so source upgreade (cvsup/buildworld) if you have time. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 19:38:37 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E70E16A4CE for ; Sat, 4 Dec 2004 19:38:37 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B25F43D5D for ; Sat, 4 Dec 2004 19:38:36 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB4JcZFu040015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Dec 2004 20:38:35 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB4JcYpE040014; Sat, 4 Dec 2004 20:38:34 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Tuc at Beach House In-Reply-To: <200412041804.iB4I4BjY015257@himinbjorg.tucs-beachin-obx-house.com> References: <200412041804.iB4I4BjY015257@himinbjorg.tucs-beachin-obx-house.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-O52z3ZdlaQDT/voYaB9q" Date: Sat, 04 Dec 2004 20:38:34 +0100 Message-Id: <1102189114.39934.2.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 19:38:37 -0000 --=-O52z3ZdlaQDT/voYaB9q Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Tuc at Beach House p=ED=B9e v so 04. 12. 2004 v 13:04 -0500: > > PS please don't take this conversation offlist, others may be intereste= d > > too. > >=20 > Um, not sure why your saying this. I've cc'd the list both times. > In elm I see : >=20 > T)o: pav@FreeBSD.org >=20 >=20 > C)c: tuc@ttsg.com (Tuc at Beach House), freebsd-bluetooth@FreeBSD.org Sorry, you're right. Missed it first time and noticed after when I sent my reply. --=20 Pav Lucistnik ... the obese drugged penguin used by Linux. -- Scott Long --=-O52z3ZdlaQDT/voYaB9q Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBshI6ntdYP8FOsoIRAtTxAJ9NVb9z92Wa1SVpUSpBdUCnCdZdGQCgqaMY QREto+sZP9dPMK8RfGjZROk= =LS4t -----END PGP SIGNATURE----- --=-O52z3ZdlaQDT/voYaB9q-- From owner-freebsd-bluetooth@FreeBSD.ORG Sat Dec 4 21:59:48 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E912216A4CE for ; Sat, 4 Dec 2004 21:59:48 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 650EF43D31 for ; Sat, 4 Dec 2004 21:59:48 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [24.52.242.150]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041204215947.IGOD14438.mta9.adelphia.net@[192.168.1.254]>; Sat, 4 Dec 2004 16:59:47 -0500 Message-ID: <41B23359.8010907@savvis.net> Date: Sat, 04 Dec 2004 13:59:53 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412041706.iB4H6ME2013457@himinbjorg.tucs-beachin-obx-house.com> <41B20A3D.4030008@savvis.net> In-Reply-To: <41B20A3D.4030008@savvis.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2004 21:59:49 -0000 [...] >> I do a sdpcontrol -a TucTreo650.tucs-beachin-obx-house.com browse and >> I get: >> >> Could not execute command "browse". Input/output error >> >> I did a search of all the options, each come up as Input/output >> error. > > well, i will double check, but i think thats because of endianess bug in > sdpcontrol. it was fixed later. actually, i was wrong. sdpcontrol and libsdp did not change that much, so it should have worked. could you please get hcidump from http://geocities.com/m_evmenkin/hcidump-1.5.tar.gz compile and install it. then as root run # hcidump -w sdp.dump (this will block) and then in another window try to run % sdpcontrol -a treo_bd_addr browse % sdpcontrol -a treo_bd_addr search then hit ^C and terminate hcidump and send me the sdp.dump file. max From owner-freebsd-bluetooth@FreeBSD.ORG Sun Dec 5 04:37:00 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC6316A4CF for ; Sun, 5 Dec 2004 04:37:00 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F3E343D5E for ; Sun, 5 Dec 2004 04:37:00 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB54axFR095430; Sat, 4 Dec 2004 23:36:59 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB54axbP033355; Sat, 4 Dec 2004 23:36:59 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB54aw9i033354; Sat, 4 Dec 2004 23:36:58 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412050436.iB54aw9i033354@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Sat, 4 Dec 2004 23:36:58 -0500 (EST) In-Reply-To: <41B20A3D.4030008@savvis.net> from "Maksim Yevmenkin" at Dec 04, 2004 11:04:29 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 04:37:00 -0000 > > bluetooth in 5.2.1 is not very user frilendly. please upgrade your > system to 5.3 or 5-stable. > I'm not sure what the official version number of 5-stable is, but I've heard alot of people saying that 5.3 has issues, especially in the TCP stack and its speed. Is this true still? > > yes, thats looks good to me. i will verify the default (example) section > in /etc/bluetooth/hcsecd.conf. > Ok, thanks. > > well, i will double check, but i think thats because of endianess bug in > sdpcontrol. it was fixed later. > (Output of the requested debug sent to you directly, off list) > > > I then try to start sdpd, and it doesn't exist. > > sdpd was not included in 5.2.1. you _do_not_ need to run sdpd unless you > want to provide bluetooth services to remote clients, i.e. act as a server > I was hoping to allow the Treo to use the net connectivity of my laptop before I activate it on Verizon, so I knew I could get rid of my 600 and have the 650 running all the necessary apps. > > i'd strongly recommend to upgrade the system to 5.3 or 5-stable. you > could so source upgreade (cvsup/buildworld) if you have time. > (See comment up top) Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Sun Dec 5 13:54:39 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0771616A4CE for ; Sun, 5 Dec 2004 13:54:39 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5C7143D5D for ; Sun, 5 Dec 2004 13:54:38 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB5DsbUF012129; Sun, 5 Dec 2004 08:54:38 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB5DsbbO048577; Sun, 5 Dec 2004 08:54:37 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB5DsbrY048576; Sun, 5 Dec 2004 08:54:37 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412051354.iB5DsbrY048576@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Sun, 5 Dec 2004 08:54:37 -0500 (EST) In-Reply-To: <41B23359.8010907@savvis.net> from "Maksim Yevmenkin" at Dec 04, 2004 01:59:53 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 13:54:39 -0000 > actually, i was wrong. sdpcontrol and libsdp did not change that much, > so it should have worked. could you please get hcidump from > > http://geocities.com/m_evmenkin/hcidump-1.5.tar.gz > I happened to peek inside the directory and there was a sdpd. So for giggles I decided to get it, compile it and run it. I've run it, and added DUN. I then went to my Winderz PC and told it to discover services on this, and it comes back with nothing. I do attempt to access it from the Treo, and it seems to trigger sdpd, but I'm not sure what the next step its supposed to do is. Am I pushing my luck? Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Sun Dec 5 16:02:11 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 463EA16A4CE for ; Sun, 5 Dec 2004 16:02:11 +0000 (GMT) Received: from web52604.mail.yahoo.com (web52604.mail.yahoo.com [206.190.39.142]) by mx1.FreeBSD.org (Postfix) with SMTP id CA28D43D1D for ; Sun, 5 Dec 2004 16:02:10 +0000 (GMT) (envelope-from gsobalvarro@yahoo.com) Received: (qmail 9538 invoked by uid 60001); 5 Dec 2004 16:02:10 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=kIvMNiiaIdfbaerA5FeL26RxHmOdWIBdz1+MXJVS5/DGGWv1GpT9uPjmKcPZofDuLcyoNVDk+zR8MVX8+SjEFvT1nwZpNOhr6RZ6jfLmoxsjw26InAf3gE8H1gNYsmU5F+BPRL04nazeYbiwk5GGjU9LlR8EHYXUoQIQ4VMVymg= ; Message-ID: <20041205160210.9536.qmail@web52604.mail.yahoo.com> Received: from [200.30.79.126] by web52604.mail.yahoo.com via HTTP; Sun, 05 Dec 2004 08:02:10 PST Date: Sun, 5 Dec 2004 08:02:10 -0800 (PST) From: Guillermo Sobalvarro To: freebsd-bluetooth@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: BT Serial X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 16:02:11 -0000 Hello list. I have AirCable USB and AirCable USB Serial dongles that are BT technology, to implement what is know as a "wireless clable" to, for example, configure serial devices from a PC or laptop without using a cable. On my setup the BT USB device connects to a USB port on my laptop. The serial dongle (DB-9 Female) connects to a DB-9 serial port on my router. I have paired both devices. Under Linux with a simple: cu -l /dev/ttyUSB0 -s 115200 I get an instant connection to my router and am able to configure it. I can also use Minicomm with the same results. It all works. Under FreeBSD I have not been able to find what device to use. When connected, the USB device appears as ugen0. I've tried doing a cu (replacing ttyUSB0 with ugen0) to that but I first a "Connected" message; then something about not being able to write to the device. Anyone know how I could get these to work under FreeBSD? Thanks in advance. Guillermo From owner-freebsd-bluetooth@FreeBSD.ORG Sun Dec 5 16:19:14 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DF1216A4CE for ; Sun, 5 Dec 2004 16:19:14 +0000 (GMT) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6114043D5E for ; Sun, 5 Dec 2004 16:19:13 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [24.52.242.150]) by mta10.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041205161806.YMUV18426.mta10.adelphia.net@[192.168.1.254]>; Sun, 5 Dec 2004 11:18:06 -0500 Message-ID: <41B334C5.1030003@savvis.net> Date: Sun, 05 Dec 2004 08:18:13 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412051354.iB5DsbrY048576@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412051354.iB5DsbrY048576@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Dec 2004 16:19:14 -0000 Tuc at Beach House wrote: >>actually, i was wrong. sdpcontrol and libsdp did not change that much, >>so it should have worked. could you please get hcidump from >> >>http://geocities.com/m_evmenkin/hcidump-1.5.tar.gz >> > > I happened to peek inside the directory and there was a sdpd. So > for giggles I decided to get it, compile it and run it. yes, that is the code from linux-bluez that i ported long time ago. it should have both sdpd and spdtool. these are similar to sdpd(8) and sdpcontrol(8). > I've run it, and added DUN. I then went to my Winderz PC and told > it to discover services on this, and it comes back with nothing. how about add LAN, OPUSH etc. i.e. more services? stacks generally do not use 'browse' command, but rather looking for a specific service. btw did you try to use 'sdptool' (from sdp-1.5 package) command against treo? did it work? > I do attempt to access it from the Treo, and it seems to trigger > sdpd, but I'm not sure what the next step its supposed to do is. the way it should work is: 1) client (treo) discovers server (laptop) 2) client makes a sdp request to figure out what services host provides 3) client gets parameters for the desired service via sdp 4) client starts using the service. > Am I pushing my luck? no, it should work thanks max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 02:59:11 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 930C616A4CE for ; Mon, 6 Dec 2004 02:59:11 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id B937443D39 for ; Mon, 6 Dec 2004 02:59:10 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB62xAUF037365 for ; Sun, 5 Dec 2004 21:59:10 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB62x9bO081431 for ; Sun, 5 Dec 2004 21:59:09 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB62x9QM081430 for freebsd-bluetooth@freebsd.org; Sun, 5 Dec 2004 21:59:09 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412060259.iB62x9QM081430@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Sun, 5 Dec 2004 21:58:43 -0500 (EST) In-Reply-To: <41B35462.5040202@savvis.net> from "Maksim Yevmenkin" at Dec 05, 2004 10:33:06 AM X-Mailer: ELM [version 2.5 PL6] Sender: tuc@tucs-beachin-obx-house.com cc: freebsd-bluetooth@freebsd.or cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 02:59:11 -0000 > > so, the problem could be > > 1) in my sdp code. there is something about sdp request that treo does > not like. that is somewhat strange because the same code known to work > with variety of cell phones and other palm handhelds. you could try > sdptool (from sdp-1.5 package) and see if it works with treo. anyway, > i'm going to double check my code anyway. > Nope, tried browse and each search, nada. > > 2) in treo sdp implementation. again that's unlikely because they put > bluetooth logo and (i assume) someone has certified their bluetooth > stack (including sdp). > You read : http://kb.palmone.com/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=985,E=0000000000101816738,K=4141,Sxi=15,useTemplate=Case.tem,CASE=18358 > > 3) in treo setup. there might be some sort of bluetooth related security > settings. if there are such settings try to set them to the least secure > setup (initially) and see if this helps. > Not that I can see. :-/ > > in treo's description they mention spp and goep profiles so i think treo > should be able to _offer_ bluetooth services and therefor should answer > sdp requests. i noticed that page _does_not_ lists sdp profile, but it > probably does not mean anything. > > is there windows software that came with treo? can you make bluetooth > work on windows? > It did, and I've loaded it, and it can't see anything either. Once I had sdpd running on my FreeBSD and added DUN, the PC can see it. So it seems the Treo is just not being very outgoing! I've tried things that people say should be doing it, but so far nada. Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 03:01:22 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1531316A4CE for ; Mon, 6 Dec 2004 03:01:22 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF90E43D2F for ; Mon, 6 Dec 2004 03:01:21 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB631LUF037465; Sun, 5 Dec 2004 22:01:21 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB631KbO081540; Sun, 5 Dec 2004 22:01:20 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB631KIe081539; Sun, 5 Dec 2004 22:01:20 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412060301.iB631KIe081539@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Sun, 5 Dec 2004 22:01:20 -0500 (EST) In-Reply-To: <41B334C5.1030003@savvis.net> from "Maksim Yevmenkin" at Dec 05, 2004 08:18:13 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 03:01:22 -0000 > yes, that is the code from linux-bluez that i ported long time ago. it > should have both sdpd and spdtool. these are similar to sdpd(8) and > sdpcontrol(8). > Seems to be. :) > > how about add LAN, OPUSH etc. i.e. more services? stacks generally do > not use 'browse' command, but rather looking for a specific service. btw > did you try to use 'sdptool' (from sdp-1.5 package) command against > treo? did it work? > Now Winderz sees it. Maybe it was a bit SLOW. But against the Treo is nothing. > > > I do attempt to access it from the Treo, and it seems to trigger > > sdpd, but I'm not sure what the next step its supposed to do is. > > the way it should work is: > > 1) client (treo) discovers server (laptop) > 2) client makes a sdp request to figure out what services host provides > 3) client gets parameters for the desired service via sdp > 4) client starts using the service. > I had to configure pppd and rfcomm_pppd and a few other things, and its been running all day. > > > Am I pushing my luck? > > no, it should work > And now it does via the FreeBSD, thank you Max! Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 16:36:07 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1922316A4D3 for ; Mon, 6 Dec 2004 16:36:07 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF5EC43D1F for ; Mon, 6 Dec 2004 16:36:06 +0000 (GMT) (envelope-from amracks@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so188517wra for ; Mon, 06 Dec 2004 08:36:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Frcz14uiwApKsRWdGAbsYTo86mNiB74VeWIPWw0RqIwH6Qw0SgvMkjdscZwe0JdteOA8Y8cTGUknBBI32/w7jPKfcWARrZBB0O+FFLvmBrTg0QU/1/RYVh5uu3ZBNNY+4GvbrvZS1rh1qkIF0jBKMruD0PEc95oKs5L8WO4FXtM= Received: by 10.54.44.73 with SMTP id r73mr354792wrr; Mon, 06 Dec 2004 08:36:06 -0800 (PST) Received: by 10.54.27.41 with HTTP; Mon, 6 Dec 2004 08:36:06 -0800 (PST) Message-ID: <4415e9c104120608363dd3d45@mail.gmail.com> Date: Mon, 6 Dec 2004 08:36:06 -0800 From: Andrew Marks To: freebsd-bluetooth@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: USB Bluetooth Adapter Purchase X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Marks List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 16:36:07 -0000 Hey, I am looking to buy a usb bluetooth adapter or two, and I want them to work with FreeBSD. Do I have to get one of these? o 3Com 3CREB96 o AIPTEK BR0R02 o EPoX BT-DG02 o Mitsumi Bluetooth USB adapter o MSI MS-6967 o TDK Bluetooth USB adapter or when the man page says: The ng_ubt driver supports all Bluetooth USB devices that conform with the Bluetooth specification v1.1, including: does that mean I can just pick up a cheap, v1.1 conforming, $10 usb bluetooth device and it will work? -Andrew FYI: I am running 5.3-Release From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 16:41:41 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C05CB16A4CE for ; Mon, 6 Dec 2004 16:41:41 +0000 (GMT) Received: from e0-a11.b1.lan.prg.vol.cz (e0-a11.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AEC43D66 for ; Mon, 6 Dec 2004 16:41:40 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1])iB6Gfdlp042777; Mon, 6 Dec 2004 17:41:39 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.1/8.13.1/Submit) id iB6Gfd7S042776; Mon, 6 Dec 2004 17:41:39 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Andrew Marks In-Reply-To: <4415e9c104120608363dd3d45@mail.gmail.com> References: <4415e9c104120608363dd3d45@mail.gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-l7z5y4/mT7IgS6+kA8w+" Date: Mon, 06 Dec 2004 17:41:38 +0100 Message-Id: <1102351298.37712.16.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: USB Bluetooth Adapter Purchase X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 16:41:41 -0000 --=-l7z5y4/mT7IgS6+kA8w+ Content-Type: text/plain; charset=ISO8859-2 Content-Transfer-Encoding: quoted-printable Andrew Marks p=ED=B9e v po 06. 12. 2004 v 08:36 -0800: > Hey, >=20 > I am looking to buy a usb bluetooth adapter or two, and I want > them to work with FreeBSD. Do I have to get one of these? >=20 > o 3Com 3CREB96 > o AIPTEK BR0R02 > o EPoX BT-DG02 > o Mitsumi Bluetooth USB adapter > o MSI MS-6967 > o TDK Bluetooth USB adapter >=20 > or when the man page says: >=20 > The ng_ubt driver supports all Bluetooth USB devices that conform wi= th > the Bluetooth specification v1.1, including: >=20 > does that mean I can just pick up a cheap, v1.1 conforming, $10 usb > bluetooth device and it will work? Yes. :) --=20 Pav Lucistnik Ah I don't know what you mean, so I'll just sit here and smile at you :) --=-l7z5y4/mT7IgS6+kA8w+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBtIvCntdYP8FOsoIRAiTUAKDHGqQ0s1HfzQAp/uIWIIVAxTr3EACguJt5 pEsLGoLnuVRUJHinUoeENEY= =tOa4 -----END PGP SIGNATURE----- --=-l7z5y4/mT7IgS6+kA8w+-- From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 17:31:58 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44D5E16A4CE; Mon, 6 Dec 2004 17:31:58 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC37F43D41; Mon, 6 Dec 2004 17:31:57 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iB6HVbLU020858; Mon, 6 Dec 2004 11:31:37 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:31:14 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:31:05 -0600 Message-ID: <41B4976A.1080306@savvis.net> Date: Mon, 06 Dec 2004 09:31:22 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Marks References: <4415e9c104120608363dd3d45@mail.gmail.com> <1102351298.37712.16.camel@pav.hide.vol.cz> In-Reply-To: <1102351298.37712.16.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Dec 2004 17:31:05.0831 (UTC) FILETIME=[5D8F1F70:01C4DBB9] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: USB Bluetooth Adapter Purchase X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:31:58 -0000 Hello, >> I am looking to buy a usb bluetooth adapter or two, and I want >>them to work with FreeBSD. Do I have to get one of these? >> >> o 3Com 3CREB96 >> o AIPTEK BR0R02 >> o EPoX BT-DG02 >> o Mitsumi Bluetooth USB adapter >> o MSI MS-6967 >> o TDK Bluetooth USB adapter >> >>or when the man page says: >> >> The ng_ubt driver supports all Bluetooth USB devices that conform with >> the Bluetooth specification v1.1, including: >> >>does that mean I can just pick up a cheap, v1.1 conforming, $10 usb >>bluetooth device and it will work? > > Yes. :) well, in general yes, but there are few exception. i always recommend to check the following page http://www.holtmann.org/linux/bluetooth/devices.html if the driver column has 'hci_usb' then the usb device will work. thanks, max p.s. it would be nice to have similar page for FreeBSD, anyone? From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 17:56:01 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C3516A4CE for ; Mon, 6 Dec 2004 17:56:01 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEF8D43D55 for ; Mon, 6 Dec 2004 17:56:00 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB6HtlLU023224; Mon, 6 Dec 2004 11:55:47 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:55:15 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 11:54:29 -0600 Message-ID: <41B49CF8.8030405@savvis.net> Date: Mon, 06 Dec 2004 09:55:04 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412060301.iB631KIe081539@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412060301.iB631KIe081539@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Dec 2004 17:54:29.0683 (UTC) FILETIME=[A251F030:01C4DBBC] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 17:56:01 -0000 Tuc at Beach House wrote: >>yes, that is the code from linux-bluez that i ported long time ago. it >>should have both sdpd and spdtool. these are similar to sdpd(8) and >>sdpcontrol(8). >> > Seems to be. :) >>how about add LAN, OPUSH etc. i.e. more services? stacks generally do >>not use 'browse' command, but rather looking for a specific service. btw >>did you try to use 'sdptool' (from sdp-1.5 package) command against >>treo? did it work? > > Now Winderz sees it. Maybe it was a bit SLOW. But against the > Treo is nothing. fine. well, at this point i'm starting to suspect treo sdp implementation. sdpcontrol(8) and sdptool are two different pieces of code. i'm very interested in hcidump output when you use sdptool to query treo. >>> I do attempt to access it from the Treo, and it seems to trigger >>>sdpd, but I'm not sure what the next step its supposed to do is. >> >>the way it should work is: >> >>1) client (treo) discovers server (laptop) >>2) client makes a sdp request to figure out what services host provides >>3) client gets parameters for the desired service via sdp >>4) client starts using the service. > > I had to configure pppd and rfcomm_pppd and a few other things, and > its been running all day. ah, ok. so, you are saying treo *can* connect to your laptop via bluetooth and you can browse on treo? or you can connect windows box to your laptop via bluetooth and can browse on windows? another thing about sdp-1.5 - its not integrated with other tools (rfcomm_pppd for example) and thus you have to *manually* add sdp records into the database (via 'sdptool register'). you also have to run service daemon (such as rfcomm_pppd) with the parameters you put into the sdp database. for example if you register lan service on rfcomm channel 1 then you *must* run rfcomm_pppd on rfcomm channel 1. in 5.3 and later sdp(8) is integrated with all tools, so all you need to do is to run sdp(8) in background and then all tools will register service automatically as they start. you do not have to add/delete records manually anymore. >>> Am I pushing my luck? >> >>no, it should work >> > And now it does via the FreeBSD, thank you Max! good :) thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Mon Dec 6 18:08:29 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C08016A4CE for ; Mon, 6 Dec 2004 18:08:29 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FD6B43D4C for ; Mon, 6 Dec 2004 18:08:29 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB6I8GLU024523; Mon, 6 Dec 2004 12:08:16 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 12:08:10 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Mon, 6 Dec 2004 12:08:09 -0600 Message-ID: <41B49FFF.4090607@savvis.net> Date: Mon, 06 Dec 2004 10:07:59 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Guillermo Sobalvarro References: <20041205160210.9536.qmail@web52604.mail.yahoo.com> In-Reply-To: <20041205160210.9536.qmail@web52604.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Dec 2004 18:08:09.0818 (UTC) FILETIME=[8B289BA0:01C4DBBE] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: BT Serial X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 18:08:29 -0000 Hello, > Hello list. I have AirCable USB and AirCable USB > Serial dongles that are BT technology, to implement > what is know as a "wireless clable" to, for example, > configure serial devices from a PC or laptop without > using a cable. > > On my setup the BT USB device connects to a USB port > on my laptop. The serial dongle (DB-9 Female) > connects to a DB-9 serial port on my router. I have > paired both devices. > > Under Linux with a simple: > > cu -l /dev/ttyUSB0 -s 115200 are you using bluetooth stack in linux? in other words is you usb device recognized as usb serial port or as bluetooth dongle? > I get an instant connection to my router and am able > to configure it. I can also use Minicomm with the > same results. It all works. > > Under FreeBSD I have not been able to find what device > to use. When connected, the USB device appears as > ugen0. I've tried doing a cu (replacing ttyUSB0 with > ugen0) to that but I first a "Connected" message; then > something about not being able to write to the device. ugen(4) is a *generic* usb device. ugen(4) driver is attached to the device when no other driver claims it. usb serial ports, modems etc. are implemeted with ucom(4), uftdi(4), umct(4) and umodem(4) drivers. > Anyone know how I could get these to work under > FreeBSD? Thanks in advance. if your device present itself as usb serial port then try to load appropriate drivers (see above). if device presents itself as bluetooth dongle then you need to run bluetooth stack and rfcomm_sppd(1). thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 00:28:40 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E681F16A4CE for ; Tue, 7 Dec 2004 00:28:40 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D29143D60 for ; Tue, 7 Dec 2004 00:28:40 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB70Sdid080567; Mon, 6 Dec 2004 19:28:39 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB70Sdun019729; Mon, 6 Dec 2004 19:28:39 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB70Scuq019728; Mon, 6 Dec 2004 19:28:38 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412070028.iB70Scuq019728@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Mon, 6 Dec 2004 19:28:38 -0500 (EST) In-Reply-To: <41B49DFD.4050003@savvis.net> from "Maksim Yevmenkin" at Dec 06, 2004 09:59:25 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 00:28:41 -0000 > > Nope, tried browse and each search, nada. > > thanks for checking this. looks like treo problem to me. like i said i > would like to have hcidump output. > Starting to think it is. > > > It did, and I've loaded it, and it can't see anything either. Once I > > had sdpd running on my FreeBSD and added DUN, the PC can see it. So > > it seems the Treo is just not being very outgoing! I've tried things > > that people say should be doing it, but so far nada. > > hmm... strange. why they even bother to put bluetooth logo on it, if it > does not work :( do you know if your service provider (verizon?) had > flashed treo and disabled bluetooth features? perhaps you need to flash > latest firmware in your treo? > I bought it directly from PalmOne. I have to do this because I buy it as a "replacement Sprint phone", and then use some special software to get the radio part to work on Verizon. So Sprint I don't think its been disabled. It seems Palm is still a little green in this area, since it seems they have a "DUN" setting, but its not showing unless you twiddle 2 bits in the .prc file. I'm going to follow this up with the TreoCentral.COM people and see if they have any thoughts on it. Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 00:48:07 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 646FA16A4CE for ; Tue, 7 Dec 2004 00:48:07 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125FD43D64 for ; Tue, 7 Dec 2004 00:48:07 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB70m6id081448; Mon, 6 Dec 2004 19:48:06 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB70m6un020524; Mon, 6 Dec 2004 19:48:06 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB70m6WY020523; Mon, 6 Dec 2004 19:48:06 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412070048.iB70m6WY020523@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Mon, 6 Dec 2004 19:48:06 -0500 (EST) In-Reply-To: <41B49CF8.8030405@savvis.net> from "Maksim Yevmenkin" at Dec 06, 2004 09:55:04 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 00:48:07 -0000 > > I had to configure pppd and rfcomm_pppd and a few other things, and > > its been running all day. > > ah, ok. so, you are saying treo *can* connect to your laptop via > bluetooth and you can browse on treo? or you can connect windows box to > your laptop via bluetooth and can browse on windows? > Treo is using DUN on FreeBSD for its connectivity. FreeBSD can see all services Windows offers. Windows can see DUN on FreeBSD. Otherwise, the only thing I *CANT* do so far is find any services on the Treo. > > another thing about sdp-1.5 - its not integrated with other tools > (rfcomm_pppd for example) and thus you have to *manually* add sdp > records into the database (via 'sdptool register'). you also have to run > service daemon (such as rfcomm_pppd) with the parameters you put into > the sdp database. for example if you register lan service on rfcomm > channel 1 then you *must* run rfcomm_pppd on rfcomm channel 1. > Yup, that I am. > in 5.3 and later sdp(8) is integrated with all tools, so all you need to > do is to run sdp(8) in background and then all tools will register > service automatically as they start. you do not have to add/delete > records manually anymore. > Its not enough of a pain to cause me to go to 5.3 yet. Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 12:16:56 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5442016A4FE for ; Tue, 7 Dec 2004 12:16:56 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id B739743D6D for ; Tue, 7 Dec 2004 12:16:55 +0000 (GMT) (envelope-from root@himinbjorg.tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB7CGsDm005709; Tue, 7 Dec 2004 07:16:54 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB7CGsWU050824; Tue, 7 Dec 2004 07:16:54 -0500 (EST) (envelope-from root@himinbjorg.tucs-beachin-obx-house.com) Received: (from root@localhost)iB7CGrLZ050823; Tue, 7 Dec 2004 07:16:53 -0500 (EST) (envelope-from root) From: Charlie Root Message-Id: <200412071216.iB7CGrLZ050823@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Tue, 7 Dec 2004 07:16:53 -0500 (EST) In-Reply-To: <41B23359.8010907@savvis.net> from "Maksim Yevmenkin" at Dec 04, 2004 01:59:53 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 12:16:56 -0000 Hi, Its got to be something with my Treo.. :-/ Everyone says I should be seeing stuff on it..... I'm trying to get more information. Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 12:43:44 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E6F316A4CE for ; Tue, 7 Dec 2004 12:43:44 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1D8D43D2D for ; Tue, 7 Dec 2004 12:43:43 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB7ChhDm006362; Tue, 7 Dec 2004 07:43:43 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB7ChgWU051468; Tue, 7 Dec 2004 07:43:42 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB7ChgeW051467; Tue, 7 Dec 2004 07:43:42 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412071243.iB7ChgeW051467@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net Date: Tue, 7 Dec 2004 07:43:42 -0500 (EST) In-Reply-To: <200412071216.iB7CGrLZ050823@himinbjorg.tucs-beachin-obx-house.com> from "Charlie Root" at Dec 07, 2004 07:16:53 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 12:43:44 -0000 Hi, Oops. Sent accidentally from my root acct. Well, got some good news. I now have it advertising atleast OPUSH, but only with sdptool: himinbjorg# ./sdptool search --bdaddr gjallar OPUSH Searching for OPUSH on 00:07:e0:02:16:16 ... Service Name: OBEX Object Push Service RecHandle: 0x10001 Service Class ID List: "OBEX Object Push" (0x1105) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 1 "OBEX" (0x0008) Language Base Attr List: code_ISO639: 0x656e encoding: 0x8cc base_offset: 0x100 and not sdpcontrol : himinbjorg# sdpcontrol -a gjallar search OPUSH Could not execute command "search". Input/output error Thanks, Tuc > > Hi, > > Its got to be something with my Treo.. :-/ Everyone says I should be > seeing stuff on it..... I'm trying to get more information. > > Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 16:48:54 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF5216A4CE for ; Tue, 7 Dec 2004 16:48:54 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E7B43D5A for ; Tue, 7 Dec 2004 16:48:53 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.254] (really [24.52.242.150]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041207164002.MIBV19338.mta11.adelphia.net@[192.168.1.254]>; Tue, 7 Dec 2004 11:40:02 -0500 Message-ID: <41B5DCE9.1070801@savvis.net> Date: Tue, 07 Dec 2004 08:40:09 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412071243.iB7ChgeW051467@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412071243.iB7ChgeW051467@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 16:48:54 -0000 Hello, > Oops. Sent accidentally from my root acct. > > Well, got some good news. I now have it advertising atleast OPUSH, > but only with sdptool: > > himinbjorg# ./sdptool search --bdaddr gjallar OPUSH > Searching for OPUSH on 00:07:e0:02:16:16 ... > Service Name: OBEX Object Push > Service RecHandle: 0x10001 > Service Class ID List: > "OBEX Object Push" (0x1105) > Protocol Descriptor List: > "L2CAP" (0x0100) > "RFCOMM" (0x0003) > Channel: 1 > "OBEX" (0x0008) > Language Base Attr List: > code_ISO639: 0x656e > encoding: 0x8cc > base_offset: 0x100 ok. this looks good. could you please run as root 'hcidump -w sdptool.dump', perform another '/sdptool search --bdaddr gjallar OPUSH' and send me the sdptool.dump file? thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 20:39:48 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0958016A4CE for ; Tue, 7 Dec 2004 20:39:48 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83CC743D4C for ; Tue, 7 Dec 2004 20:39:47 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iB7KdTkV001228; Tue, 7 Dec 2004 14:39:29 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 14:39:27 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 14:39:18 -0600 Message-ID: <41B614F4.4070009@savvis.net> Date: Tue, 07 Dec 2004 12:39:16 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412070048.iB70m6WY020523@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412070048.iB70m6WY020523@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Dec 2004 20:39:18.0325 (UTC) FILETIME=[D2D2B650:01C4DC9C] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 20:39:48 -0000 Tuc at Beach House wrote: >>> I had to configure pppd and rfcomm_pppd and a few other things, and >>>its been running all day. >> >>ah, ok. so, you are saying treo *can* connect to your laptop via >>bluetooth and you can browse on treo? or you can connect windows box to >>your laptop via bluetooth and can browse on windows? > > Treo is using DUN on FreeBSD for its connectivity. FreeBSD > can see all services Windows offers. Windows can see DUN on FreeBSD. > Otherwise, the only thing I *CANT* do so far is find any services on the > Treo. ok. i think i have an idea why it does not work. a colleague of mine has audiovox smartphone (running windows-something) but it gives similar error on sdp requests. apparently sdp server chokes when attribute range has exactly one attribute, i.e. range specified as 0x0004 - 0x0004, meaning return only attribute id 0x0004. could you please try the following: 1) edit /usr/src/usr.sbin/bluetooth/sdpcontrol/search.c file and replace the following lines 39: /* List of the attributes we are looking for */ 40: static u_int32_t attrs[] = 41: { 42: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, 43: SDP_ATTR_SERVICE_RECORD_HANDLE), 44: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, 45: SDP_ATTR_SERVICE_CLASS_ID_LIST), 46: SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, 47: SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), 48: SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, 49: SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) 50: }; with /* List of the attributes we are looking for */ static uint32_t attrs[] = { SDP_ATTR_RANGE( 0, 1 ), SDP_ATTR_RANGE( 3, 4 ), SDP_ATTR_RANGE( 8, 9 ), /* SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, SDP_ATTR_SERVICE_RECORD_HANDLE), SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, SDP_ATTR_SERVICE_CLASS_ID_LIST), SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) */ }; 2) re-compile sdpcontrol(8) 3) try to search for the services again. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 22:44:28 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2C2B16A4CE for ; Tue, 7 Dec 2004 22:44:28 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 587B443D5A for ; Tue, 7 Dec 2004 22:44:28 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB7MiOkV012153 for ; Tue, 7 Dec 2004 16:44:24 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 16:44:20 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 16:44:13 -0600 Message-ID: <41B63238.8050209@savvis.net> Date: Tue, 07 Dec 2004 14:44:08 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: multipart/mixed; boundary="------------010207060106030207040500" X-OriginalArrivalTime: 07 Dec 2004 22:44:13.0771 (UTC) FILETIME=[467501B0:01C4DCAE] X-ECS-MailScanner: No virus is found Subject: [patch] libsdp(3) - please test. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 22:44:29 -0000 This is a multi-part message in MIME format. --------------010207060106030207040500 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, please try attached patch for libsdp(3). this patch adds workaround for devices that cannot handle sdp query with attribute id range that has only one attribute id. currently i know of one such device - audiovox smt5600. i suspect that palm treo 650 might have the same problem. if your device worked before it should continue to work. there should be no visible changes. if you have problems then please send me hcidump(1) binary dump (can be created with -w option). thanks, max --------------010207060106030207040500 Content-Type: text/plain; name="libsdp.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libsdp.patch.txt" Index: search.c =================================================================== RCS file: /usr/local/cvs/lib/libsdp/search.c,v retrieving revision 1.6 diff -u -r1.6 search.c --- search.c 23 Aug 2004 17:52:46 -0000 1.6 +++ search.c 7 Dec 2004 22:22:58 -0000 @@ -55,7 +55,8 @@ sdp_session_p ss = (sdp_session_p) xss; uint8_t *req = NULL, *rsp = NULL, *rsp_tmp = NULL; - int32_t type, len; + int32_t t, len; + uint16_t lo, hi; if (ss == NULL) return (-1); @@ -66,11 +67,29 @@ return (-1); } - /* Calculate length of the request */ req = ss->req; + + /* Calculate ServiceSearchPattern length */ plen = plen * (sizeof(pp[0]) + 1); - alen = alen * (sizeof(ap[0]) + 1); + /* Calculate AttributeIDList length */ + for (len = 0, t = 0; t < alen; t ++) { + lo = (uint16_t) (ap[t] >> 16); + hi = (uint16_t) (ap[t]); + + if (lo > hi) { + ss->error = EINVAL; + return (-1); + } + + if (lo != hi) + len += (sizeof(ap[t]) + 1); + else + len += (sizeof(lo) + 1); + } + alen = len; + + /* Calculate length of the request */ len = plen + sizeof(uint8_t) + sizeof(uint16_t) + /* ServiceSearchPattern */ sizeof(uint16_t) + @@ -97,9 +116,21 @@ /* Put AttributeIDList */ SDP_PUT8(SDP_DATA_SEQ16, req); SDP_PUT16(alen, req); - for (; alen > 0; ap ++, alen -= (sizeof(ap[0]) + 1)) { - SDP_PUT8(SDP_DATA_UINT32, req); - SDP_PUT32(*ap, req); + for (; alen > 0; ap ++) { + lo = (uint16_t) (*ap >> 16); + hi = (uint16_t) (*ap); + + if (lo != hi) { + /* Put attribute range */ + SDP_PUT8(SDP_DATA_UINT32, req); + SDP_PUT32(*ap, req); + alen -= (sizeof(ap[0]) + 1); + } else { + /* Put attribute */ + SDP_PUT8(SDP_DATA_UINT16, req); + SDP_PUT16(lo, req); + alen -= (sizeof(lo) + 1); + } } /* Submit ServiceSearchAttributeRequest and wait for response */ @@ -241,8 +272,8 @@ rsp_tmp = ss->rsp; /* Skip the first SEQ */ - SDP_GET8(type, rsp_tmp); - switch (type) { + SDP_GET8(t, rsp_tmp); + switch (t) { case SDP_DATA_SEQ8: SDP_GET8(len, rsp_tmp); break; @@ -263,8 +294,8 @@ for (; rsp_tmp < rsp && vlen > 0; ) { /* Get set of attributes for the next record */ - SDP_GET8(type, rsp_tmp); - switch (type) { + SDP_GET8(t, rsp_tmp); + switch (t) { case SDP_DATA_SEQ8: SDP_GET8(len, rsp_tmp); break; @@ -286,8 +317,8 @@ /* Now rsp_tmp points to list of (attr,value) pairs */ for (; len > 0 && vlen > 0; vp ++, vlen --) { /* Attribute */ - SDP_GET8(type, rsp_tmp); - if (type != SDP_DATA_UINT16) { + SDP_GET8(t, rsp_tmp); + if (t != SDP_DATA_UINT16) { ss->error = ENOATTR; return (-1); } --------------010207060106030207040500-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 23:01:09 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA31E16A4CE for ; Tue, 7 Dec 2004 23:01:09 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1CCD43D6D for ; Tue, 7 Dec 2004 23:01:08 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB7N17bF034070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Dec 2004 00:01:07 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB7N17Hv034069; Wed, 8 Dec 2004 00:01:07 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41B63238.8050209@savvis.net> References: <41B63238.8050209@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-kdzUIvYI9Hm+4K1zUPjS" Date: Wed, 08 Dec 2004 00:01:06 +0100 Message-Id: <1102460467.29917.0.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: [patch] libsdp(3) - please test. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 23:01:10 -0000 --=-kdzUIvYI9Hm+4K1zUPjS Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=ED=B9e v =FAt 07. 12. 2004 v 14:44 -0800: > Hello, >=20 > please try attached patch for libsdp(3). this patch adds workaround for=20 > devices that cannot handle sdp query with attribute id range that has=20 > only one attribute id. currently i know of one such device - audiovox=20 > smt5600. i suspect that palm treo 650 might have the same problem. >=20 > if your device worked before it should continue to work. there should be=20 > no visible changes. if you have problems then please send me hcidump(1)=20 > binary dump (can be created with -w option). This patch does not make my Palm Tungsten T3 browsable. --=20 Pav Lucistnik It also explains why paper clips just lie there while you look at them, but as soon as you turn your back, they run away, giggling wildly, and transform themselves into coat hangers. --=-kdzUIvYI9Hm+4K1zUPjS Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBtjYyntdYP8FOsoIRAs/KAJ9mtlOYWPigGIk33g8UQ3dB1qqXGwCgzcia 5j74PGS/w3Ou9CsjNiAsqFk= =l16e -----END PGP SIGNATURE----- --=-kdzUIvYI9Hm+4K1zUPjS-- From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 23:10:46 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DF5716A4CE; Tue, 7 Dec 2004 23:10:46 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E11DD43D6A; Tue, 7 Dec 2004 23:10:45 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB7NAEkV013924; Tue, 7 Dec 2004 17:10:14 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 17:10:06 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Tue, 7 Dec 2004 17:09:58 -0600 Message-ID: <41B63845.4030203@savvis.net> Date: Tue, 07 Dec 2004 15:09:57 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <41B63238.8050209@savvis.net> <1102460467.29917.0.camel@hood.oook.cz> In-Reply-To: <1102460467.29917.0.camel@hood.oook.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Dec 2004 23:09:59.0005 (UTC) FILETIME=[DF7D00D0:01C4DCB1] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@FreeBSD.org Subject: Re: [patch] libsdp(3) - please test. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 23:10:46 -0000 Pav, >>please try attached patch for libsdp(3). this patch adds workaround for >>devices that cannot handle sdp query with attribute id range that has >>only one attribute id. currently i know of one such device - audiovox >>smt5600. i suspect that palm treo 650 might have the same problem. >> >>if your device worked before it should continue to work. there should be >>no visible changes. if you have problems then please send me hcidump(1) >>binary dump (can be created with -w option). > > This patch does not make my Palm Tungsten T3 browsable. do you get an error, or just no answer at all? this patch *will not* make palm browsable if it was not browsable before. the important thing is that you should *not* get any errors. basically, everything should work exactly the same as before. the problem device i mentioned before returns error and the patch should (i hope) fix it. max From owner-freebsd-bluetooth@FreeBSD.ORG Tue Dec 7 23:14:45 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E1C016A4CE for ; Tue, 7 Dec 2004 23:14:45 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8359143D58 for ; Tue, 7 Dec 2004 23:14:44 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB7NEhu1054815 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Dec 2004 00:14:43 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB7NEh9v054814; Wed, 8 Dec 2004 00:14:43 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41B63845.4030203@savvis.net> References: <41B63238.8050209@savvis.net> <41B63845.4030203@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ELErCWBCJcwk0t6V77tC" Date: Wed, 08 Dec 2004 00:14:42 +0100 Message-Id: <1102461282.29917.2.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: [patch] libsdp(3) - please test. X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 23:14:45 -0000 --=-ELErCWBCJcwk0t6V77tC Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=ED=B9e v =FAt 07. 12. 2004 v 15:09 -0800: > Pav, >=20 > >>please try attached patch for libsdp(3). this patch adds workaround for= =20 > >>devices that cannot handle sdp query with attribute id range that has=20 > >>only one attribute id. currently i know of one such device - audiovox=20 > >>smt5600. i suspect that palm treo 650 might have the same problem. > >> > >>if your device worked before it should continue to work. there should b= e=20 > >>no visible changes. if you have problems then please send me hcidump(1)= =20 > >>binary dump (can be created with -w option). > >=20 > > This patch does not make my Palm Tungsten T3 browsable. >=20 > do you get an error, or just no answer at all? this patch *will not*=20 > make palm browsable if it was not browsable before. the important thing=20 > is that you should *not* get any errors. basically, everything should=20 > work exactly the same as before. the problem device i mentioned before=20 > returns error and the patch should (i hope) fix it. Ah, sure, no output at all, no errors before or now. Well at least there are no regressions. :) --=20 Pav Lucistnik Fufie> snow should be on the tv and in the mountains, not here --=-ELErCWBCJcwk0t6V77tC Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBtjlintdYP8FOsoIRAt4lAJsFJWCeBF+6LttYLJJtcjTWeWwLdwCgrbG3 tpXrWjfrla6pv/RYp5WHtNA= =CL8v -----END PGP SIGNATURE----- --=-ELErCWBCJcwk0t6V77tC-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 17:20:01 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 233E216A4CE for ; Thu, 9 Dec 2004 17:20:01 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CFF043D60 for ; Thu, 9 Dec 2004 17:19:59 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB9HJw4J019459; Thu, 9 Dec 2004 12:19:58 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB9HJweW013174; Thu, 9 Dec 2004 12:19:58 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB9HJwt9013173; Thu, 9 Dec 2004 12:19:58 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412091719.iB9HJwt9013173@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Thu, 9 Dec 2004 12:19:58 -0500 (EST) In-Reply-To: <41B5DCE9.1070801@savvis.net> from "Maksim Yevmenkin" at Dec 07, 2004 08:40:09 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="%--multipart-mixed-boundary-1.1789.1102612798--%" cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 17:20:01 -0000 --%--multipart-mixed-boundary-1.1789.1102612798--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > himinbjorg# ./sdptool search --bdaddr gjallar OPUSH > > Searching for OPUSH on 00:07:e0:02:16:16 ... > > Service Name: OBEX Object Push > > Service RecHandle: 0x10001 > > Service Class ID List: > > "OBEX Object Push" (0x1105) > > Protocol Descriptor List: > > "L2CAP" (0x0100) > > "RFCOMM" (0x0003) > > Channel: 1 > > "OBEX" (0x0008) > > Language Base Attr List: > > code_ISO639: 0x656e > > encoding: 0x8cc > > base_offset: 0x100 > > ok. this looks good. could you please run as root 'hcidump -w > sdptool.dump', perform another '/sdptool search --bdaddr gjallar OPUSH' > and send me the sdptool.dump file? > Included. Thanks, Tuc --%--multipart-mixed-boundary-1.1789.1102612798--% Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Description: data Content-Disposition: attachment; filename="sdptool.dump" EQAAAPWIuEEhGgoAAQUEDRYWAuAHABjMAAAAAAEHAAEA9Yi4QQAvCgAEDwQAAQUEDgABAPiI uEF2uggABAMLACkAFhYC4AcAAQAIAAAA+Ii4QX+6CAABDQgEKQAPABEAAAD4iLhBg7oIAAIp IAwACAABAAIBBAABAEAACAABAPiIuEGJ0QgABBMFASkAAQAGAAEA+Ii4QQnpCAAEGwMpAAUJ AAEA+Ii4QcTwCAAEDgYBDQgAKQAVAAEA+Ii4QTMQCQACKSAQAAwAAQADAQgAQABAAAAAAAAR AAAA+Ii4QWUQCQACKSAMAAgAAQAEAgQAQAAAAAgAAQD4iLhBYysJAAQTBQEpAAEAEwABAPiI uEEQOwkAAikgDgAKAAEABQIGAEAAAAAAABEAAQD4iLhB10IJAAIpIAwACAABAAQBBABAAAAA EwAAAPiIuEEGQwkAAikgDgAKAAEABQEGAEAAAAAAAB0AAAD4iLhBBkwJAAIpIBgAFABAAAYA AAAPNQMZEQX//zUFCgAA//8ACAABAPiIuEFIWgkABBMFASkAAQAIAAEA+Ii4QdVpCQAEEwUB KQABAHUAAQD4iLhBS4UJAAIpIHAAbABAAAcAAABnAGQ2AGE2AF4JAAAKAAEAAQkAATUDGREF CQACCgDIeiYJAAQ1ETUDGQEANQUZAAMIATUDGQAICQAGNQkJZW4JCMwJAQAJAQAlEE9CRVgg T2JqZWN0IFB1c2gJAwM1CAgBCAIIAwj/ABEAAAD4iLhBQLkJAAIpIAwACAABAAYDBABAAEAA CAABAPiIuEGvywkABBMFASkAAQARAAEA+Ii4QfnmCQACKSAMAAgAAQAHAwQAQABAAA== --%--multipart-mixed-boundary-1.1789.1102612798--%-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 17:26:35 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 325A716A4CE for ; Thu, 9 Dec 2004 17:26:35 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE4C743D41 for ; Thu, 9 Dec 2004 17:26:34 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB9HQY4J019778; Thu, 9 Dec 2004 12:26:34 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB9HQXeW013477; Thu, 9 Dec 2004 12:26:33 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB9HQXsQ013476; Thu, 9 Dec 2004 12:26:33 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412091726.iB9HQXsQ013476@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Thu, 9 Dec 2004 12:26:33 -0500 (EST) In-Reply-To: <41B614F4.4070009@savvis.net> from "Maksim Yevmenkin" at Dec 07, 2004 12:39:16 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 17:26:35 -0000 > ok. i think i have an idea why it does not work. a colleague of mine has > audiovox smartphone (running windows-something) but it gives similar > error on sdp requests. > > apparently sdp server chokes when attribute range has exactly one > attribute, i.e. range specified as 0x0004 - 0x0004, meaning return only > attribute id 0x0004. > > could you please try the following: > > 1) edit /usr/src/usr.sbin/bluetooth/sdpcontrol/search.c file and replace > the following lines > > 39: /* List of the attributes we are looking for */ > 40: static u_int32_t attrs[] = > 41: { > 42: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, > 43: SDP_ATTR_SERVICE_RECORD_HANDLE), > 44: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, > 45: SDP_ATTR_SERVICE_CLASS_ID_LIST), > 46: SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, > 47: SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), > 48: SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, > 49: SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) > 50: }; > > with > > /* List of the attributes we are looking for */ > static uint32_t attrs[] = > { > SDP_ATTR_RANGE( 0, 1 ), > SDP_ATTR_RANGE( 3, 4 ), > SDP_ATTR_RANGE( 8, 9 ), > /* > SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, > SDP_ATTR_SERVICE_RECORD_HANDLE), > SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, > SDP_ATTR_SERVICE_CLASS_ID_LIST), > SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, > SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), > SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, > SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) > > */ > }; > > 2) re-compile sdpcontrol(8) > > 3) try to search for the services again. > Same thing. himinbjorg# ls -l /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol -rwxr-xr-x 1 root wheel 16826 Dec 9 12:21 /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol himinbjorg# /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol -a gjallar browse Could not execute command "browse". Input/output error himinbjorg# /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol -a gjallar search OPUSH Could not execute command "search". Input/output error Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 17:30:54 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53CD516A4CE for ; Thu, 9 Dec 2004 17:30:54 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D677043D46 for ; Thu, 9 Dec 2004 17:30:53 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB9HUjsH004065; Thu, 9 Dec 2004 11:30:45 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 11:30:38 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 11:30:27 -0600 Message-ID: <41B88BAE.30807@savvis.net> Date: Thu, 09 Dec 2004 09:30:22 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412091726.iB9HQXsQ013476@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412091726.iB9HQXsQ013476@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Dec 2004 17:30:27.0502 (UTC) FILETIME=[C5F3D4E0:01C4DE14] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 17:30:54 -0000 could you please attach hcidump? Tuc at Beach House wrote: >>ok. i think i have an idea why it does not work. a colleague of mine has >>audiovox smartphone (running windows-something) but it gives similar >>error on sdp requests. >> >>apparently sdp server chokes when attribute range has exactly one >>attribute, i.e. range specified as 0x0004 - 0x0004, meaning return only >>attribute id 0x0004. >> >>could you please try the following: >> >>1) edit /usr/src/usr.sbin/bluetooth/sdpcontrol/search.c file and replace >>the following lines >> >>39: /* List of the attributes we are looking for */ >>40: static u_int32_t attrs[] = >>41: { >>42: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, >>43: SDP_ATTR_SERVICE_RECORD_HANDLE), >>44: SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, >>45: SDP_ATTR_SERVICE_CLASS_ID_LIST), >>46: SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, >>47: SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), >>48: SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, >>49: SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) >>50: }; >> >>with >> >>/* List of the attributes we are looking for */ >>static uint32_t attrs[] = >>{ >> SDP_ATTR_RANGE( 0, 1 ), >> SDP_ATTR_RANGE( 3, 4 ), >> SDP_ATTR_RANGE( 8, 9 ), >>/* >> SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, >> SDP_ATTR_SERVICE_RECORD_HANDLE), >> SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, >> SDP_ATTR_SERVICE_CLASS_ID_LIST), >> SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, >> SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), >> SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, >> SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) >> >>*/ >>}; >> >>2) re-compile sdpcontrol(8) >> >>3) try to search for the services again. >> > > Same thing. > > himinbjorg# ls -l /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol > -rwxr-xr-x 1 root wheel 16826 Dec 9 12:21 /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol > himinbjorg# /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol -a gjallar browse > Could not execute command "browse". Input/output error > himinbjorg# /usr/obj/usr/src/usr.sbin/bluetooth/sdpcontrol/sdpcontrol -a gjallar search OPUSH > Could not execute command "search". Input/output error > > Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 17:38:34 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E646316A4CE for ; Thu, 9 Dec 2004 17:38:34 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9695643D4C for ; Thu, 9 Dec 2004 17:38:34 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB9HcX4J020524; Thu, 9 Dec 2004 12:38:34 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB9HcXeW014011; Thu, 9 Dec 2004 12:38:33 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB9HcXUV014010; Thu, 9 Dec 2004 12:38:33 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412091738.iB9HcXUV014010@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Thu, 9 Dec 2004 12:38:33 -0500 (EST) In-Reply-To: <41B88BAE.30807@savvis.net> from "Maksim Yevmenkin" at Dec 09, 2004 09:30:22 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="%--multipart-mixed-boundary-2.1789.1102613913--%" cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 17:38:35 -0000 --%--multipart-mixed-boundary-2.1789.1102613913--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > > could you please attach hcidump? > Sorry. Thanks, Tuc --%--multipart-mixed-boundary-2.1789.1102613913--% Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Description: data Content-Disposition: attachment; filename="modsdp.dump" EQAAALqMuEF7UgkAAQUEDRYWAuAHABjMAAAAAAEHAAEAuoy4Qd1sCQAEDwQAAQUEDgABAL+M uEH3TQsABAMLBAAAFhYC4AcAAQARAAAAxYy4Qe54AQABBQQNFhYC4AcAGMwAAAAAAQcAAQDF jLhBRI4BAAQPBAABBQQOAAEAyoy4QZFzAwAEAwsEAAAWFgLgBwABABEAAADOjLhBHNkKAAEF BA0WFgLgBwAYzAAAAAABBwABAM6MuEGo7goABA8EAAEFBA4AAQDUjLhBBa0IAAQDCxApABYW AuAHAAEAEQAAANWMuEHhjg4AAQUEDRYWAuAHABjMAAAAAAEHAAEA1Yy4QVmnDgAEDwQAAQUE DgABANyMuEHJmAYABAMLECoAFhYC4AcAAQARAAAA4oy4QW00BgABBQQNFhYC4AcAGMwAAAAA AQcAAQDijLhBPV4GAAQPBAABBQQOAAEA54y4QaA/CAAEAwsEAAAWFgLgBwABABEAAADojLhB 81QIAAEFBA0WFgLgBwAYzAAAAAABBwABAOiMuEEIaggABA8EAAEFBA4AAQDpjLhBv0AHAAQD CwApABYWAuAHAAEACAAAAOmMuEHJQAcAAQ0IBCkADwANAAAA6Yy4Qc5ABwACKSAIAAQAAQAI AQAACAABAOmMuEHWUwcABBMFASkAAQAGAAEA6Yy4QTZzBwAEGwMpAAUJAAEA6Yy4QcV6BwAE DgYBDQgAKQANAAEA6Yy4QcCCBwACKSAIAAQAAQAJAQAADQAAAOqMuEHqkAcAAikgCAAEAAEA CAIAAAgAAQDqjLhB6qwHAAQTBQEpAAEADQABAOqMuEE6/wcAAikgCAAEAAEACQIAAA0AAADr jLhBLwYIAAIpIAgABAABAAgDAAAIAAEA64y4QQ41CAAEEwUBKQABAA0AAQDrjLhBK4MIAAIp IAgABAABAAkDAAANAAAA7Iy4QYSiCAACKSAIAAQAAQAIBAAACAABAOyMuEGg1AgABBMFASkA AQANAAEA7Iy4QYwqCQACKSAIAAQAAQAJBAAADQAAAO2MuEE5PwkAAikgCAAEAAEACAUAAAgA AQDtjLhBjocJAAQTBQEpAAEADQABAO2MuEHJ1QkAAikgCAAEAAEACQUAAA0AAADujLhBVtsJ AAIpIAgABAABAAgGAABNAAAA/oy4QdAdDQACKSBIAEQAAQAIB0AAAAAAADU2Nzg5MC0xMjM0 NTY3ODkwLTEyMzQ1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkwLTEyMzQ1Njc4OQcAAQAC jbhBaFUBAAQFBAApAAgRAAAAA424QSR5AQABBQQNFhYC4AcAGMwAAAAAAQcAAQADjbhBdY8B AAQPBAABBQQOAAEACI24QaZ0AwAEAwsEAAAWFgLgBwABABEAAAAJjbhBgZwDAAEFBA0WFgLg BwAYzAAAAAABBwABAAmNuEE2sgMABA8EAAEFBA4AAQArjbhB0l0LAAQDCyIqABYWAuAHAAEA EQAAACyNuEFCaAsAAQUEDRYWAuAHABjMAAAAAAEHAAEALI24QSCACwAEDwQAAQUEDgABAC2N uEF1SA0ABAMLACkAFhYC4AcAAQAIAAAALY24QX1IDQABDQgEKQAPAA0AAAAtjbhBgkgNAAIp IAgABAABAAgBAAAIAAEALY24QWBfDQAEEwUBKQABAAYAAQAtjbhBunoNAAQbAykABQkAAQAt jbhBhYINAAQOBgENCAApAA0AAQAtjbhBiIoNAAIpIAgABAABAAkBAAANAAAALo24QXqyDQAC KSAIAAQAAQAIAgAACAABAC6NuEFs8w0ABBMFASkAAQANAAEALo24QdpFDgACKSAIAAQAAQAJ AgAADQAAAC+NuEFkTw4AAikgCAAEAAEACAMAAAgAAQAvjbhBcaYOAAQTBQEpAAEADQABAC+N uEHh+A4AAikgCAAEAAEACQMAAA0AAAAwjbhBPxMPAAIpIAgABAABAAgEAAAIAAEAMY24QUEX AAAEEwUBKQABAA0AAQAxjbhBPG0AAAIpIAgABAABAAkEAAANAAAAMo24QT6TAAACKSAIAAQA AQAIBQAACAABADKNuEHO6QAABBMFASkAAQANAAEAMo24QZlDAQACKSAIAAQAAQAJBQAATQAA ADONuEFquQAAAikgSABEAAEACAZAAAAAAAA1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkw LTEyMzQ1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkIAAEAM424QXsAAQAEEwUBKQABACEA AQAzjbhBOloBAAIpIBwAGAABAAkGFAAAAAAANTY3ODkwLTEyMzQ1Njc4OSEAAAA0jbhBlX0B AAIpIBwAGAABAAgHFAAAAAABNTY3ODkwLTEyMzQ1Njc4OQgAAQA0jbhBu9IBAAQTBQEpAAEA IQABADSNuEH/KAIAAikgHAAYAAEACQcUAAAAAAE1Njc4OTAtMTIzNDU2Nzg5BwAAADmNuEFu GgIAAQYEAykAEwcAAQA5jbhBny0CAAQPBAABBgQHAAEAOY24QfFMAgAEBQQAKQAWEQAAADqN uEGJ6AcAAQUEDRYWAuAHABjMAAAAAAEHAAEAOo24QdwECAAEDwQAAQUEDgABAD+NuEH84QkA BAMLBAAAFhYC4AcAAQARAAAAUY24QRKzCQABBQQNFhYC4AcAGMwAAAAAAQcAAQBRjbhBCscJ AAQPBAABBQQOAAEAU424QbYpCwAEAwsAKQAWFgLgBwABAAgAAABTjbhBwSkLAAENCAQpAA8A EQAAAFONuEHFKQsAAikgDAAIAAEAAgEEAAEAUgAIAAEAU424QbNECwAEEwUBKQABAAYAAQBT jbhBZVwLAAQbAykABQkAAQBTjbhBM2QLAAQOBgENCAApABUAAQBTjbhBz6ILAAIpIBAADAAB AAMBCABAAFIAAAAAABEAAABTjbhBF6MLAAIpIAwACAABAAQCBABAAAAACAABAFONuEGxvQsA BBMFASkAAQATAAEAU424QUzdCwACKSAOAAoAAQAFAgYAUgAAAAAAEQABAFONuEGk6AsAAikg DAAIAAEABAEEAFIAAAATAAAAU424QefoCwACKSAOAAoAAQAFAQYAQAAAAAAAPQAAAFONuEHU 6QsAAikgOAA0AEAABgAAAC82AAMZEAL//zYAIwoAAAABCgADAAQKAAgACQoAAAAACgABAAEK AAQABAoACQAJAAgAAQBTjbhBFAAMAAQTBQEpAAEACAABAFONuEHhFwwABBMFASkAAQAQAAEA U424QQkzDAACKSALAAcAUgABAAAAAgADEQAAAFONuEG4NQwAAikgDAAIAAEABgMEAEAAUgAI AAEAU424QYhODAAEEwUBKQABABEAAQBTjbhBumkMAAIpIAwACAABAAcDBABAAFIABwAAAFiN uEFwVgwAAQYEAykAEwcAAQBYjbhBLW4MAAQPBAABBgQHAAEAWI24QaCNDAAEBQQAKQAWEQAA AFuNuEHB+QoAAQUEDRYWAuAHABjMAAAAAAEHAAEAW424QeAUCwAEDwQAAQUEDgABAF2NuEFY 6AwABAMLACoAFhYC4AcAAQAIAAAAXY24QWDoDAABDQgEKgAPABEAAABdjbhBZegMAAIqIAwA CAABAAIBBAABAFMACAABAF2NuEFv/wwABBMFASoAAQAGAAEAXY24QdgWDQAEGwMqAAUJAAEA XY24Qa8eDQAEDgYBDQgAKgAVAAEAXY24QdZFDQACKiAQAAwAAQADAQgAQABTAAAAAAARAAAA XY24QQVGDQACKiAMAAgAAQAEAgQAQAAAAAgAAQBdjbhBDWENAAQTBQEqAAEAEwABAF2NuEF9 fA0AAiogDgAKAAEABQIGAFMAAAAAABEAAQBdjbhBQ4QNAAIqIAwACAABAAQBBABTAAAAEwAA AF2NuEFyhA0AAiogDgAKAAEABQEGAEAAAAAAAD0AAABdjbhBMoUNAAIqIDgANABAAAYAAAAv NgADGREF//82ACMKAAAAAQoAAwAECgAIAAkKAAAAAAoAAQABCgAEAAQKAAkACQAIAAEAXY24 QcyfDQAEEwUBKgABAAgAAQBdjbhBQqsNAAQTBQEqAAEAEAABAF2NuEHJwg0AAiogCwAHAFMA AQAAAAIAAxEAAABdjbhBHccNAAIqIAwACAABAAYDBABAAFMACAABAF2NuEFI2g0ABBMFASoA AQARAAEAXY24Qc/tDQACKiAMAAgAAQAHAwQAQABTAA== --%--multipart-mixed-boundary-2.1789.1102613913--%-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 18:10:19 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BCDC16A4CE for ; Thu, 9 Dec 2004 18:10:19 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36AC943D1F for ; Thu, 9 Dec 2004 18:10:19 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iB9IA4sH007130; Thu, 9 Dec 2004 12:10:04 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 12:09:58 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 12:09:48 -0600 Message-ID: <41B894EB.5000908@savvis.net> Date: Thu, 09 Dec 2004 10:09:47 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412091738.iB9HcXUV014010@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412091738.iB9HcXUV014010@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Dec 2004 18:09:48.0769 (UTC) FILETIME=[45609510:01C4DE1A] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:10:19 -0000 Tuc at Beach House wrote: >>could you please attach hcidump? >> > Sorry. no problem. but,i think, you did not comment out original code, i.e you just added SDP_ATTR_RANGE( 0, 1 ), SDP_ATTR_RANGE( 3, 4 ), SDP_ATTR_RANGE( 8, 9 ), on top. you *need* to *comment out* (or remove) the following part SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, SDP_ATTR_SERVICE_RECORD_HANDLE), SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, SDP_ATTR_SERVICE_CLASS_ID_LIST), SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) the dump shows < ACL data: handle 0x002a flags 0x02 dlen 56 L2CAP(d): cid 0x40 len 52 [psm 1] SDP SSA Req: tid 0x0 len 0x2f pat uuid-16 0x1105 (OBEXObjPush) max 0xffff aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009 0x0000 - 0x0000 0x0001 - 0x0001 0x0004 - 0x0004 0x0009 - 0x0009 cont 00 i.e. sdpcontrol(8) still sends attribute id ranges that consist of only one attribute - the problem still there. i want to see something like < ACL data: handle 0x002a flags 0x02 dlen 56 L2CAP(d): cid 0x40 len 52 [psm 1] SDP SSA Req: tid 0x0 len 0x2f pat uuid-16 0x1105 (OBEXObjPush) max 0xffff aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009 cont 00 thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 18:31:19 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9514916A4CE for ; Thu, 9 Dec 2004 18:31:19 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AFCF43D2D for ; Thu, 9 Dec 2004 18:31:19 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB9IVI4J022786; Thu, 9 Dec 2004 13:31:18 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB9IVIeW016238; Thu, 9 Dec 2004 13:31:18 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB9IVIDY016237; Thu, 9 Dec 2004 13:31:18 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412091831.iB9IVIDY016237@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Thu, 9 Dec 2004 13:31:17 -0500 (EST) In-Reply-To: <41B894EB.5000908@savvis.net> from "Maksim Yevmenkin" at Dec 09, 2004 10:09:47 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="%--multipart-mixed-boundary-4.1789.1102617077--%" cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:31:19 -0000 --%--multipart-mixed-boundary-4.1789.1102617077--% Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > no problem. but,i think, you did not comment out original code, i.e you > just added > > SDP_ATTR_RANGE( 0, 1 ), > SDP_ATTR_RANGE( 3, 4 ), > SDP_ATTR_RANGE( 8, 9 ), > > on top. you *need* to *comment out* (or remove) the following part > > SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, > SDP_ATTR_SERVICE_RECORD_HANDLE), > SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, > SDP_ATTR_SERVICE_CLASS_ID_LIST), > SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, > SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), > SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, > SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) > I *THOUGHT* I did...... I didn't. :-/ > > i.e. sdpcontrol(8) still sends attribute id ranges that consist of only > one attribute - the problem still there. i want to see something like > > < ACL data: handle 0x002a flags 0x02 dlen 56 > L2CAP(d): cid 0x40 len 52 [psm 1] > SDP SSA Req: tid 0x0 len 0x2f > pat uuid-16 0x1105 (OBEXObjPush) > max 0xffff > aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009 > cont 00 > Do you see it here? One thing that has happened is after doing some of these I've had random full lockups of the Treo. Tuc --%--multipart-mixed-boundary-4.1789.1102617077--% Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Description: data Content-Disposition: attachment; filename="modsdp.dump" EQAAALqMuEF7UgkAAQUEDRYWAuAHABjMAAAAAAEHAAEAuoy4Qd1sCQAEDwQAAQUEDgABAL+M uEH3TQsABAMLBAAAFhYC4AcAAQARAAAAxYy4Qe54AQABBQQNFhYC4AcAGMwAAAAAAQcAAQDF jLhBRI4BAAQPBAABBQQOAAEAyoy4QZFzAwAEAwsEAAAWFgLgBwABABEAAADOjLhBHNkKAAEF BA0WFgLgBwAYzAAAAAABBwABAM6MuEGo7goABA8EAAEFBA4AAQDUjLhBBa0IAAQDCxApABYW AuAHAAEAEQAAANWMuEHhjg4AAQUEDRYWAuAHABjMAAAAAAEHAAEA1Yy4QVmnDgAEDwQAAQUE DgABANyMuEHJmAYABAMLECoAFhYC4AcAAQARAAAA4oy4QW00BgABBQQNFhYC4AcAGMwAAAAA AQcAAQDijLhBPV4GAAQPBAABBQQOAAEA54y4QaA/CAAEAwsEAAAWFgLgBwABABEAAADojLhB 81QIAAEFBA0WFgLgBwAYzAAAAAABBwABAOiMuEEIaggABA8EAAEFBA4AAQDpjLhBv0AHAAQD CwApABYWAuAHAAEACAAAAOmMuEHJQAcAAQ0IBCkADwANAAAA6Yy4Qc5ABwACKSAIAAQAAQAI AQAACAABAOmMuEHWUwcABBMFASkAAQAGAAEA6Yy4QTZzBwAEGwMpAAUJAAEA6Yy4QcV6BwAE DgYBDQgAKQANAAEA6Yy4QcCCBwACKSAIAAQAAQAJAQAADQAAAOqMuEHqkAcAAikgCAAEAAEA CAIAAAgAAQDqjLhB6qwHAAQTBQEpAAEADQABAOqMuEE6/wcAAikgCAAEAAEACQIAAA0AAADr jLhBLwYIAAIpIAgABAABAAgDAAAIAAEA64y4QQ41CAAEEwUBKQABAA0AAQDrjLhBK4MIAAIp IAgABAABAAkDAAANAAAA7Iy4QYSiCAACKSAIAAQAAQAIBAAACAABAOyMuEGg1AgABBMFASkA AQANAAEA7Iy4QYwqCQACKSAIAAQAAQAJBAAADQAAAO2MuEE5PwkAAikgCAAEAAEACAUAAAgA AQDtjLhBjocJAAQTBQEpAAEADQABAO2MuEHJ1QkAAikgCAAEAAEACQUAAA0AAADujLhBVtsJ AAIpIAgABAABAAgGAABNAAAA/oy4QdAdDQACKSBIAEQAAQAIB0AAAAAAADU2Nzg5MC0xMjM0 NTY3ODkwLTEyMzQ1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkwLTEyMzQ1Njc4OQcAAQAC jbhBaFUBAAQFBAApAAgRAAAAA424QSR5AQABBQQNFhYC4AcAGMwAAAAAAQcAAQADjbhBdY8B AAQPBAABBQQOAAEACI24QaZ0AwAEAwsEAAAWFgLgBwABABEAAAAJjbhBgZwDAAEFBA0WFgLg BwAYzAAAAAABBwABAAmNuEE2sgMABA8EAAEFBA4AAQArjbhB0l0LAAQDCyIqABYWAuAHAAEA EQAAACyNuEFCaAsAAQUEDRYWAuAHABjMAAAAAAEHAAEALI24QSCACwAEDwQAAQUEDgABAC2N uEF1SA0ABAMLACkAFhYC4AcAAQAIAAAALY24QX1IDQABDQgEKQAPAA0AAAAtjbhBgkgNAAIp IAgABAABAAgBAAAIAAEALY24QWBfDQAEEwUBKQABAAYAAQAtjbhBunoNAAQbAykABQkAAQAt jbhBhYINAAQOBgENCAApAA0AAQAtjbhBiIoNAAIpIAgABAABAAkBAAANAAAALo24QXqyDQAC KSAIAAQAAQAIAgAACAABAC6NuEFs8w0ABBMFASkAAQANAAEALo24QdpFDgACKSAIAAQAAQAJ AgAADQAAAC+NuEFkTw4AAikgCAAEAAEACAMAAAgAAQAvjbhBcaYOAAQTBQEpAAEADQABAC+N uEHh+A4AAikgCAAEAAEACQMAAA0AAAAwjbhBPxMPAAIpIAgABAABAAgEAAAIAAEAMY24QUEX AAAEEwUBKQABAA0AAQAxjbhBPG0AAAIpIAgABAABAAkEAAANAAAAMo24QT6TAAACKSAIAAQA AQAIBQAACAABADKNuEHO6QAABBMFASkAAQANAAEAMo24QZlDAQACKSAIAAQAAQAJBQAATQAA ADONuEFquQAAAikgSABEAAEACAZAAAAAAAA1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkw LTEyMzQ1Njc4OTAtMTIzNDU2Nzg5MC0xMjM0NTY3ODkIAAEAM424QXsAAQAEEwUBKQABACEA AQAzjbhBOloBAAIpIBwAGAABAAkGFAAAAAAANTY3ODkwLTEyMzQ1Njc4OSEAAAA0jbhBlX0B AAIpIBwAGAABAAgHFAAAAAABNTY3ODkwLTEyMzQ1Njc4OQgAAQA0jbhBu9IBAAQTBQEpAAEA IQABADSNuEH/KAIAAikgHAAYAAEACQcUAAAAAAE1Njc4OTAtMTIzNDU2Nzg5BwAAADmNuEFu GgIAAQYEAykAEwcAAQA5jbhBny0CAAQPBAABBgQHAAEAOY24QfFMAgAEBQQAKQAWEQAAADqN uEGJ6AcAAQUEDRYWAuAHABjMAAAAAAEHAAEAOo24QdwECAAEDwQAAQUEDgABAD+NuEH84QkA BAMLBAAAFhYC4AcAAQARAAAAUY24QRKzCQABBQQNFhYC4AcAGMwAAAAAAQcAAQBRjbhBCscJ AAQPBAABBQQOAAEAU424QbYpCwAEAwsAKQAWFgLgBwABAAgAAABTjbhBwSkLAAENCAQpAA8A EQAAAFONuEHFKQsAAikgDAAIAAEAAgEEAAEAUgAIAAEAU424QbNECwAEEwUBKQABAAYAAQBT jbhBZVwLAAQbAykABQkAAQBTjbhBM2QLAAQOBgENCAApABUAAQBTjbhBz6ILAAIpIBAADAAB AAMBCABAAFIAAAAAABEAAABTjbhBF6MLAAIpIAwACAABAAQCBABAAAAACAABAFONuEGxvQsA BBMFASkAAQATAAEAU424QUzdCwACKSAOAAoAAQAFAgYAUgAAAAAAEQABAFONuEGk6AsAAikg DAAIAAEABAEEAFIAAAATAAAAU424QefoCwACKSAOAAoAAQAFAQYAQAAAAAAAPQAAAFONuEHU 6QsAAikgOAA0AEAABgAAAC82AAMZEAL//zYAIwoAAAABCgADAAQKAAgACQoAAAAACgABAAEK AAQABAoACQAJAAgAAQBTjbhBFAAMAAQTBQEpAAEACAABAFONuEHhFwwABBMFASkAAQAQAAEA U424QQkzDAACKSALAAcAUgABAAAAAgADEQAAAFONuEG4NQwAAikgDAAIAAEABgMEAEAAUgAI AAEAU424QYhODAAEEwUBKQABABEAAQBTjbhBumkMAAIpIAwACAABAAcDBABAAFIABwAAAFiN uEFwVgwAAQYEAykAEwcAAQBYjbhBLW4MAAQPBAABBgQHAAEAWI24QaCNDAAEBQQAKQAWEQAA AFuNuEHB+QoAAQUEDRYWAuAHABjMAAAAAAEHAAEAW424QeAUCwAEDwQAAQUEDgABAF2NuEFY 6AwABAMLACoAFhYC4AcAAQAIAAAAXY24QWDoDAABDQgEKgAPABEAAABdjbhBZegMAAIqIAwA CAABAAIBBAABAFMACAABAF2NuEFv/wwABBMFASoAAQAGAAEAXY24QdgWDQAEGwMqAAUJAAEA XY24Qa8eDQAEDgYBDQgAKgAVAAEAXY24QdZFDQACKiAQAAwAAQADAQgAQABTAAAAAAARAAAA XY24QQVGDQACKiAMAAgAAQAEAgQAQAAAAAgAAQBdjbhBDWENAAQTBQEqAAEAEwABAF2NuEF9 fA0AAiogDgAKAAEABQIGAFMAAAAAABEAAQBdjbhBQ4QNAAIqIAwACAABAAQBBABTAAAAEwAA AF2NuEFyhA0AAiogDgAKAAEABQEGAEAAAAAAAD0AAABdjbhBMoUNAAIqIDgANABAAAYAAAAv NgADGREF//82ACMKAAAAAQoAAwAECgAIAAkKAAAAAAoAAQABCgAEAAQKAAkACQAIAAEAXY24 QcyfDQAEEwUBKgABAAgAAQBdjbhBQqsNAAQTBQEqAAEAEAABAF2NuEHJwg0AAiogCwAHAFMA AQAAAAIAAxEAAABdjbhBHccNAAIqIAwACAABAAYDBABAAFMACAABAF2NuEFI2g0ABBMFASoA AQARAAEAXY24Qc/tDQACKiAMAAgAAQAHAwQAQABTABEAAACymbhBtREHAAEFBA0WFgLgBwAY zAAAAAABBwABALKZuEFeKQcABA8EAAEFBA4AAQCzmbhBU18JAAQDCwApABYWAuAHAAEACAAA ALOZuEFbXwkAAQ0IBCkADwARAAAAs5m4QWBfCQACKSAMAAgAAQACAQQAAQBbAAgAAQCzmbhB fnIJAAQTBQEpAAEACQABALOZuEEEhgkABA4GAQ0IACkABgABALOZuEHOjQkABBsDKQAFFQAB ALOZuEFBuQkAAikgEAAMAAEAAwEIAEAAWwAAAAAAEQAAALOZuEF7uQkAAikgDAAIAAEABAIE AEAAAAAIAAEAs5m4QW/UCQAEEwUBKQABABMAAQCzmbhBKeAJAAIpIA4ACgABAAUCBgBbAAAA AAARAAEAs5m4Qe3rCQACKSAMAAgAAQAEAQQAWwAAABMAAACzmbhBLuwJAAIpIA4ACgABAAUB BgBAAAAAAAApAAAAs5m4QfzsCQACKSAkACAAQAAGAAAAGzYAAxkQAv//NgAPCgAAAAEKAAMA BAoACAAJAAgAAQCzmbhBcgcKAAQTBQEpAAEACAABALOZuEH9DgoABBMFASkAAQAUAAEAs5m4 QbEeCgACKSAPAAsAWwAHAAAABgADNgAAABEAAACzmbhBdx8KAAIpIAwACAABAAYDBABAAFsA CAABALOZuEEHNgoABBMFASkAAQARAAEAs5m4QbNFCgACKSAMAAgAAQAHAwQAQABbABEAAAC2 mbhB7VkJAAIpIAwACAABAAIEBAABAFwACAABALaZuEE4swkABBMFASkAAQAVAAEAtpm4QRUR CgACKSAQAAwAAQADBAgAQABcAAAAAAARAAAAtpm4QVIRCgACKSAMAAgAAQAEBQQAQAAAAAgA AQC2mbhBBDQKAAQTBQEpAAEAEwABALaZuEHQyAoAAikgDgAKAAEABQUGAFwAAAAAABEAAQC2 mbhB6eMKAAIpIAwACAABAAQCBABcAAAAEwAAALaZuEEs5AoAAikgDgAKAAEABQIGAEAAAAAA ACkAAAC2mbhBKuUKAAIpICQAIABAAAYAAAAbNgADGREF//82AA8KAAAAAQoAAwAECgAIAAkA CAABALaZuEEp/woABBMFASkAAQAIAAEAtpm4QeUKCwAEEwUBKQABAD0AAQC2mbhBsB4LAAIp IDgANABcAAcAAAAvACw2ACk2ACYJAAAKAAEAAQkAATUDGREFCQAENRE1AxkBADUFGQADCAE1 AxkACAARAAAAtpm4QdchCwACKSAMAAgAAQAGBgQAQABcAAgAAQC2mbhB/jkLAAQTBQEpAAEA EQABALaZuEH1jwsAAikgDAAIAAEABwYEAEAAXAAHAAAAu5m4QQ2NCwABBgQDKQATBwABALuZ uEEVoAsABA8EAAEGBAcAAQC7mbhBb78LAAQFBAApABY= --%--multipart-mixed-boundary-4.1789.1102617077--%-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 18:45:15 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 796D416A4CE for ; Thu, 9 Dec 2004 18:45:15 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A0D243D2D for ; Thu, 9 Dec 2004 18:45:15 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iB9Ij3sH009655; Thu, 9 Dec 2004 12:45:03 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 12:44:55 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 12:44:45 -0600 Message-ID: <41B89D1C.2050601@savvis.net> Date: Thu, 09 Dec 2004 10:44:44 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tuc at Beach House References: <200412091831.iB9IVIDY016237@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <200412091831.iB9IVIDY016237@himinbjorg.tucs-beachin-obx-house.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Dec 2004 18:44:45.0306 (UTC) FILETIME=[2702BDA0:01C4DE1F] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:45:15 -0000 Tuc at Beach House wrote: >>no problem. but,i think, you did not comment out original code, i.e you >>just added >> >>SDP_ATTR_RANGE( 0, 1 ), >>SDP_ATTR_RANGE( 3, 4 ), >>SDP_ATTR_RANGE( 8, 9 ), >> >>on top. you *need* to *comment out* (or remove) the following part >> >> SDP_ATTR_RANGE( SDP_ATTR_SERVICE_RECORD_HANDLE, >> SDP_ATTR_SERVICE_RECORD_HANDLE), >> SDP_ATTR_RANGE( SDP_ATTR_SERVICE_CLASS_ID_LIST, >> SDP_ATTR_SERVICE_CLASS_ID_LIST), >> SDP_ATTR_RANGE( SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST, >> SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST), >> SDP_ATTR_RANGE( SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST, >> SDP_ATTR_BLUETOOTH_PROFILE_DESCRIPTOR_LIST) >> > > I *THOUGHT* I did...... I didn't. :-/ > >>i.e. sdpcontrol(8) still sends attribute id ranges that consist of only >>one attribute - the problem still there. i want to see something like >> >>< ACL data: handle 0x002a flags 0x02 dlen 56 >> L2CAP(d): cid 0x40 len 52 [psm 1] >> SDP SSA Req: tid 0x0 len 0x2f >> pat uuid-16 0x1105 (OBEXObjPush) >> max 0xffff >> aid(s) 0x0000 - 0x0001 0x0003 - 0x0004 0x0008 - 0x0009 >> cont 00 >> > > Do you see it here? yep, thanks. thats it. here is the response to your 'search opush' command. 1102617014.728752 > ACL data: handle 0x0029 flags 0x02 dlen 56 L2CAP(d): cid 0x5c len 52 [psm 1] SDP SSA Rsp: tid 0x0 len 0x2f cnt 0x2c srv rec #0 aid 0x0000 (SrvRecHndl) uint 0x10001 aid 0x0001 (SrvClassIDList) < uuid-16 0x1105 (OBEXObjPush) > aid 0x0004 (ProtocolDescList) < < uuid-16 0x0100 (L2CAP) > < uuid-16 0x0003 (RFCOMM) uint 0x1 > < uuid-16 0x0008 (OBEX) > > cont 00 i noticed that you also did 'browse' but you got nothing, right? that's normal, as long as you are not getting any errors from sdpcontrol(8). i will commit a bit different patch (to libsdp(3)) that will work around this problem. for now please undo all the changes to the sdpcontrol(8). i will send you libsdp(3) patch to apply in separate email. sigh.. some smartphones are not so smart after all :( > One thing that has happened is after doing some of these I've had > random full lockups of the Treo. i'd say this has nothing to do with this. all we are doing is opening bluetooth connection and sending some data. this should not cause any lockups on any side. if it does then i'd say its treo's fault. thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 19:00:55 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA88716A4CE for ; Thu, 9 Dec 2004 19:00:55 +0000 (GMT) Received: from vjofn.tucs-beachin-obx-house.com (vjofn.tucs-beachin-obx-house.com [204.107.90.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D01E43D1D for ; Thu, 9 Dec 2004 19:00:55 +0000 (GMT) (envelope-from tuc@tucs-beachin-obx-house.com) Received: from himinbjorg.tucs-beachin-obx-house.com (ool-44c09852.dyn.optonline.net [68.192.152.82]) (authenticated bits=128)iB9J0s4J024119; Thu, 9 Dec 2004 14:00:54 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])id iB9J0seW017444; Thu, 9 Dec 2004 14:00:54 -0500 (EST) (envelope-from tuc@tucs-beachin-obx-house.com) Received: (from tucobx@localhost)iB9J0sfc017443; Thu, 9 Dec 2004 14:00:54 -0500 (EST) (envelope-from tucobx) From: Tuc at Beach House Message-Id: <200412091900.iB9J0sfc017443@himinbjorg.tucs-beachin-obx-house.com> To: maksim.yevmenkin@savvis.net (Maksim Yevmenkin) Date: Thu, 9 Dec 2004 14:00:54 -0500 (EST) In-Reply-To: <41B89D1C.2050601@savvis.net> from "Maksim Yevmenkin" at Dec 09, 2004 10:44:44 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-bluetooth@freebsd.org cc: Tuc at Beach House Subject: Re: sdpcontrol issues (LONG) X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 19:00:55 -0000 > yep, thanks. thats it. here is the response to your 'search opush' command. > > 1102617014.728752 > ACL data: handle 0x0029 flags 0x02 dlen 56 > L2CAP(d): cid 0x5c len 52 [psm 1] > SDP SSA Rsp: tid 0x0 len 0x2f > cnt 0x2c > srv rec #0 > aid 0x0000 (SrvRecHndl) > uint 0x10001 > aid 0x0001 (SrvClassIDList) > < uuid-16 0x1105 (OBEXObjPush) > > aid 0x0004 (ProtocolDescList) > < < uuid-16 0x0100 (L2CAP) > < > uuid-16 0x0003 (RFCOMM) uint 0x1 > < > uuid-16 0x0008 (OBEX) > > > > cont 00 > > i noticed that you also did 'browse' but you got nothing, right? > Right, but atleast it didn't input/output error. > > that's > normal, as long as you are not getting any errors from sdpcontrol(8). i > will commit a bit different patch (to libsdp(3)) that will work around > this problem. for now please undo all the changes to the sdpcontrol(8). > i will send you libsdp(3) patch to apply in separate email. > Great, thanks. > > sigh.. some smartphones are not so smart after all :( > I think they threw in BT to make people happy. There is known issues of items they TRIED to implement, didn't get to work, so put it out anyway. > > > One thing that has happened is after doing some of these I've had > > random full lockups of the Treo. > > i'd say this has nothing to do with this. all we are doing is opening > bluetooth connection and sending some data. this should not cause any > lockups on any side. if it does then i'd say its treo's fault. > Yea, just wondering if we are some how tickling an issue in their implementation. Thanks, Tuc From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 22:52:10 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6929916A4CE for ; Thu, 9 Dec 2004 22:52:10 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D93F843D48 for ; Thu, 9 Dec 2004 22:52:09 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iB9MpflS029168 for ; Thu, 9 Dec 2004 16:51:41 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 16:51:13 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 16:51:03 -0600 Message-ID: <41B8D6D5.6090801@savvis.net> Date: Thu, 09 Dec 2004 14:51:01 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-bluetooth@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Dec 2004 22:51:03.0486 (UTC) FILETIME=[8F7E0DE0:01C4DE41] X-ECS-MailScanner: No virus is found Subject: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 22:52:10 -0000 Hello, please help me with testing of obexapp v1.4. it can be downloaded from http://www.geocities.com/m_evmenkin/obexapp-1.4.tar.gz the main feature is readline(3) support. it is now possible to repeat and edit commands in interactive mode. the command parser also has been changed. it is now possible to enter command parameters together with commands (for example "cd /" or "get foo bar"). thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 23:28:54 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A7D116A4CE for ; Thu, 9 Dec 2004 23:28:54 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB44843D45 for ; Thu, 9 Dec 2004 23:28:53 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iB9NSqkF039762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Dec 2004 00:28:52 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iB9NSqg2039761; Fri, 10 Dec 2004 00:28:52 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41B8D6D5.6090801@savvis.net> References: <41B8D6D5.6090801@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OMnFJx3pva6gquD39lT/" Date: Fri, 10 Dec 2004 00:28:51 +0100 Message-Id: <1102634931.90683.9.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 23:28:54 -0000 --=-OMnFJx3pva6gquD39lT/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=C3=AD=C5=A1e v =C4=8Dt 09. 12. 2004 v 14:51 -0800: > Hello, >=20 > please help me with testing of obexapp v1.4. it can be downloaded from >=20 > http://www.geocities.com/m_evmenkin/obexapp-1.4.tar.gz >=20 > the main feature is readline(3) support. it is now possible to repeat=20 > and edit commands in interactive mode. the command parser also has been=20 > changed. it is now possible to enter command parameters together with=20 > commands (for example "cd /" or "get foo bar"). obex> get Soul.mp3 Soul.mp3 Success, response: OK, Success (0x20) obex> get Wazzup.mp3 Failure, response: Unautorized (0x41) When I write get with single argument, could obexapp assume it as both remote and local filename? ---------- There's some odity with line breaks, it seems, on my terminal: +--------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------+ | obex> get Soul.mp3 Soul.mp3 = = Success, response: OK, Succes= s (0x20) | | obex> get Wazzup.mp3 | Failure, response: Unautorized (0x41) +------------------------------------- Should there be so many spaces and shouldn't there be line break before "Success" ? ---------- What about autocompletion, like in shell? ---------- What about unicode characters? My cell phones have czech localisation and name of directories visible over OBEX are with czech characters, coded in Unicode. Accessible for me with obexapp but in latin2 charset: obex> ls Access Owner Group Size Modified Name n/a n/a n/a n/a Obr=C3=83=C2=A1zky/ n/a n/a n/a n/a Zvuky/ n/a n/a n/a n/a Sch=C3=83=C2=A9mata= / n/a n/a n/a n/a Videosoubory/ n/a n/a n/a n/a Jin=C3=83=C2=A9/ Success, response: OK, Success (0x20) obex> cd Jin=C3=83=C2=A9 Failure, response: Not found (0x44) obex> cd Jin=C3=A9 Success, response: OK, Success (0x20) ---------- It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted to pair. ---------- Otherwise it works very nice, big step forward in usability. --=20 Pav Lucistnik On real UNIX, /usr/bin/more prints -More-. --=-OMnFJx3pva6gquD39lT/ Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBuN+zntdYP8FOsoIRAqkuAKCg0JT86U9DNeuOo3f2TjKJyizt3ACgqzh2 KwrowBH4RKaKOcWSv9+ZjMw= =qagx -----END PGP SIGNATURE----- --=-OMnFJx3pva6gquD39lT/-- From owner-freebsd-bluetooth@FreeBSD.ORG Thu Dec 9 23:53:40 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4348616A4CE; Thu, 9 Dec 2004 23:53:40 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D0F443D54; Thu, 9 Dec 2004 23:53:39 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iB9NrU2f000408; Thu, 9 Dec 2004 17:53:30 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 17:53:28 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 17:53:18 -0600 Message-ID: <41B8E56C.6050409@savvis.net> Date: Thu, 09 Dec 2004 15:53:16 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <41B8D6D5.6090801@savvis.net> <1102634931.90683.9.camel@hood.oook.cz> In-Reply-To: <1102634931.90683.9.camel@hood.oook.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 09 Dec 2004 23:53:18.0154 (UTC) FILETIME=[41872AA0:01C4DE4A] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 23:53:40 -0000 Pav Lucistnik wrote: > Maksim Yevmenkin p铆拧e v 膷t 09. 12. 2004 v 14:51 -0800: > >>Hello, >> >>please help me with testing of obexapp v1.4. it can be downloaded from >> >>http://www.geocities.com/m_evmenkin/obexapp-1.4.tar.gz >> >>the main feature is readline(3) support. it is now possible to repeat >>and edit commands in interactive mode. the command parser also has been >>changed. it is now possible to enter command parameters together with >>commands (for example "cd /" or "get foo bar"). > > > obex> get Soul.mp3 Soul.mp3 > Success, response: OK, Success (0x20) > > obex> get Wazzup.mp3 > Failure, response: Unautorized (0x41) > > When I write get with single argument, could obexapp assume it as both > remote and local filename? well, it could. right now i opted for non-intuitive version :) that is 'get foo' means get default vcard object and save it locally as foo :) funky, huh? :) i do not like it myself, and i'm not sure how often one wants to pull default vcard object. i like your idea better, i.e. 'get foo' should mean 'get foo foo'. perhaps adding another command to get default object would be better? > There's some odity with line breaks, it seems, on my terminal: > > +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ > | obex> get Soul.mp3 Soul.mp3 Success, response: OK, Success (0x20) | > | obex> get Wazzup.mp3 > | Failure, response: Unautorized (0x41) > +------------------------------------- > > Should there be so many spaces and shouldn't there be line break before > "Success" ? i'm not really sure what do you mean. could you please provide a sample of what you would like output to be? > What about autocompletion, like in shell? autocompletion for the remote filenames would be tricky to do. directory listing is required for that. not all devices support 'ls' command. > What about unicode characters? My cell phones have czech localisation > and name of directories visible over OBEX are with czech characters, > coded in Unicode. Accessible for me with obexapp but in latin2 charset: > > obex> ls > Access Owner Group Size Modified Name > n/a n/a n/a n/a Obr脙隆zky/ > n/a n/a n/a n/a Zvuky/ > n/a n/a n/a n/a Sch脙漏mata/ > n/a n/a n/a n/a Videosoubory/ > n/a n/a n/a n/a Jin脙漏/ > Success, response: OK, Success (0x20) > obex> cd Jin脙漏 > Failure, response: Not found (0x44) > obex> cd Jin茅 > Success, response: OK, Success (0x20) well, directory listing is a xml document. i just get it and parse/print it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump to actually see xml :) unicode input is a completely different beast. you actually have to switch your console to unicode. > It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted > to pair. obexapp does not care about piring. if you want to authenticate incoming connection on freebsd you have to use hccontrol(8). right now there is no way to turn authentication on individual connections. its all or none. > Otherwise it works very nice, big step forward in usability. thanks for feedback. max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 00:48:18 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41FAE16A4CE; Fri, 10 Dec 2004 00:48:18 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3C6543D39; Fri, 10 Dec 2004 00:48:17 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out002.email.savvis.net (out002.apptix.savvis.net [216.91.32.45])iBA0mF2f003065; Thu, 9 Dec 2004 18:48:16 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out002.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 18:48:11 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Thu, 9 Dec 2004 18:48:00 -0600 Message-ID: <41B8F23F.6050807@savvis.net> Date: Thu, 09 Dec 2004 16:47:59 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maksim Yevmenkin References: <41B8D6D5.6090801@savvis.net> <1102634931.90683.9.camel@hood.oook.cz> <41B8E56C.6050409@savvis.net> In-Reply-To: <41B8E56C.6050409@savvis.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 10 Dec 2004 00:48:01.0039 (UTC) FILETIME=[E647A9F0:01C4DE51] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 00:48:18 -0000 updated version http://www.geocities.com/m_evmenkin/obexapp-1.4.1.tar.gz added 'getdefault' command. changed 'get', 'getdefault' and 'put' behavior to match their non-interactive versions. max Maksim Yevmenkin wrote: > Pav Lucistnik wrote: > >> Maksim Yevmenkin p铆拧e v 膷t 09. 12. 2004 v 14:51 -0800: >> >>> Hello, >>> >>> please help me with testing of obexapp v1.4. it can be downloaded from >>> >>> http://www.geocities.com/m_evmenkin/obexapp-1.4.tar.gz >>> >>> the main feature is readline(3) support. it is now possible to repeat >>> and edit commands in interactive mode. the command parser also has >>> been changed. it is now possible to enter command parameters together >>> with commands (for example "cd /" or "get foo bar"). >> >> >> >> obex> get Soul.mp3 Soul.mp3 >> Success, response: OK, Success (0x20) >> >> obex> get Wazzup.mp3 >> Failure, response: Unautorized (0x41) >> >> When I write get with single argument, could obexapp assume it as both >> remote and local filename? > > > well, it could. right now i opted for non-intuitive version :) that is > 'get foo' means get default vcard object and save it locally as foo :) > funky, huh? :) > > i do not like it myself, and i'm not sure how often one wants to pull > default vcard object. i like your idea better, i.e. 'get foo' should > mean 'get foo foo'. perhaps adding another command to get default object > would be better? > > > There's some odity with line breaks, it seems, on my terminal: > >> >> +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ >> >> | obex> get Soul.mp3 >> Soul.mp3 >> Success, response: OK, Success (0x20) | >> | obex> get Wazzup.mp3 >> | Failure, response: Unautorized (0x41) >> +------------------------------------- >> >> Should there be so many spaces and shouldn't there be line break before >> "Success" ? > > > i'm not really sure what do you mean. could you please provide a sample > of what you would like output to be? > >> What about autocompletion, like in shell? > > > autocompletion for the remote filenames would be tricky to do. directory > listing is required for that. not all devices support 'ls' command. > >> What about unicode characters? My cell phones have czech localisation >> and name of directories visible over OBEX are with czech characters, >> coded in Unicode. Accessible for me with obexapp but in latin2 charset: >> >> obex> ls >> Access Owner Group Size Modified Name >> n/a n/a n/a n/a Obr脙隆zky/ >> n/a n/a n/a n/a Zvuky/ >> n/a n/a n/a n/a Sch脙漏mata/ >> n/a n/a n/a n/a Videosoubory/ >> n/a n/a n/a n/a Jin脙漏/ >> Success, response: OK, Success (0x20) >> obex> cd Jin脙漏 >> Failure, response: Not found (0x44) >> obex> cd Jin茅 >> Success, response: OK, Success (0x20) > > > well, directory listing is a xml document. i just get it and parse/print > it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump > to actually see xml :) > > unicode input is a completely different beast. you actually have to > switch your console to unicode. > >> It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted >> to pair. > > > obexapp does not care about piring. if you want to authenticate incoming > connection on freebsd you have to use hccontrol(8). right now there is > no way to turn authentication on individual connections. its all or none. > >> Otherwise it works very nice, big step forward in usability. > > > thanks for feedback. > > max > > > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to > "freebsd-bluetooth-unsubscribe@freebsd.org" From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 08:46:14 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02DFE16A4CE for ; Fri, 10 Dec 2004 08:46:14 +0000 (GMT) Received: from e0-a11.b1.lan.prg.vol.cz (e0-a11.b1.lan.prg.vol.cz [195.122.204.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C2CF43D1D for ; Fri, 10 Dec 2004 08:46:13 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from pav.hide.vol.cz (localhost [127.0.0.1])iBA8kB6n035424; Fri, 10 Dec 2004 09:46:11 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by pav.hide.vol.cz (8.13.1/8.13.1/Submit) id iBA8kBau035423; Fri, 10 Dec 2004 09:46:11 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: pav.hide.vol.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41B8E56C.6050409@savvis.net> References: <41B8D6D5.6090801@savvis.net> <41B8E56C.6050409@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-F0hVVwTnspcwGGPQ+ubS" Date: Fri, 10 Dec 2004 09:46:10 +0100 Message-Id: <1102668370.34937.7.camel@pav.hide.vol.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 08:46:14 -0000 --=-F0hVVwTnspcwGGPQ+ubS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=C3=AD=C5=A1e v =C4=8Dt 09. 12. 2004 v 15:53 -0800: > > obex> get Soul.mp3 Soul.mp3 > > Success, response: OK, Success (0x20) > >=20 > > obex> get Wazzup.mp3 > > Failure, response: Unautorized (0x41) > >=20 > > When I write get with single argument, could obexapp assume it as both > > remote and local filename? >=20 > well, it could. right now i opted for non-intuitive version :) that is=20 > 'get foo' means get default vcard object and save it locally as foo :)=20 > funky, huh? :) >=20 > i do not like it myself, and i'm not sure how often one wants to pull=20 > default vcard object. i like your idea better, i.e. 'get foo' should=20 > mean 'get foo foo'. perhaps adding another command to get default object=20 > would be better? Exactly. I see you already implemented this, I will test 1.4.1 in the evening (I have my bluetooth dongle at home). > > There's some odity with line breaks, it seems, on my terminal: > >=20 > > +----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------+ > > | obex> get Soul.mp3 Soul.mp3 = = Success, response: OK, Su= ccess (0x20) | > > | obex> get Wazzup.mp3 > > | Failure, response: Unautorized (0x41) > > +------------------------------------- > >=20 > > Should there be so many spaces and shouldn't there be line break before > > "Success" ? >=20 > i'm not really sure what do you mean. could you please provide a sample=20 > of what you would like output to be? Well, I would expect it to print Success on the new line, not on the same line as get Soul.mp3 Soul.mp3 with 200 spaces inbetween. > > What about autocompletion, like in shell? >=20 > autocompletion for the remote filenames would be tricky to do. directory=20 > listing is required for that. not all devices support 'ls' command. Perhaps it could try to do 'ls' on first 'tab' keypress, as lftp does it. I understand this would be a lot of work, probably. > > What about unicode characters? My cell phones have czech localisation > > and name of directories visible over OBEX are with czech characters, > > coded in Unicode. Accessible for me with obexapp but in latin2 charset: > >=20 > > obex> ls > > Access Owner Group Size Modified Name > > n/a n/a n/a n/a Obr=C3=83=C2=A1= zky/ > > n/a n/a n/a n/a Zvuky/ > > n/a n/a n/a n/a Sch=C3=83=C2=A9= mata/ > > n/a n/a n/a n/a Videosoubory/ > > n/a n/a n/a n/a Jin=C3=83=C2=A9= / > > Success, response: OK, Success (0x20) > > obex> cd Jin=C3=83=C2=A9 > > Failure, response: Not found (0x44) > > obex> cd Jin=C3=A9 > > Success, response: OK, Success (0x20) >=20 > well, directory listing is a xml document. i just get it and parse/print=20 > it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump=20 > to actually see xml :) > unicode input is a completely different beast. you actually have to=20 > switch your console to unicode. What's interesting is that listing is printed in Unicode, but 'cd' command reacted on 'iso-8859-2' encoded name, but not on Unicode encoded name. I will check with hcidump in the evening. > > It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted > > to pair. >=20 > obexapp does not care about piring. if you want to authenticate incoming=20 > connection on freebsd you have to use hccontrol(8). right now there is=20 > no way to turn authentication on individual connections. its all or none. It's more about that phone suddenly wanted to pair with my computer. With obexapp-1.3, it just allowed computer to connect, but did not allowed to browse any directories, only to upload files into root. With obexapp-1.4, it want to pair, otherwise it drop the connection, but now it allows browsing subdirectories and getting files from/to them. I'm not sure if I dislike the new way, I'm just reporting difference. --=20 Pav Lucistnik On real UNIX, /usr/bin/more prints -More-. --=-F0hVVwTnspcwGGPQ+ubS Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBuWJSntdYP8FOsoIRAhg3AKCutt58rVOY8/gItxUs1MX2IuaD9ACgnCJ3 ItKL5Eepx79GPVZrrnujTEk= =XSr1 -----END PGP SIGNATURE----- --=-F0hVVwTnspcwGGPQ+ubS-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 17:51:40 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B06516A4CE; Fri, 10 Dec 2004 17:51:40 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id C07B543D5A; Fri, 10 Dec 2004 17:51:36 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iBAHpUwR032212; Fri, 10 Dec 2004 11:51:30 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 11:51:25 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 11:51:15 -0600 Message-ID: <41B9E211.8050005@savvis.net> Date: Fri, 10 Dec 2004 09:51:13 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <41B8D6D5.6090801@savvis.net> <1102634931.90683.9.camel@hood.oook.cz> <41B8E56C.6050409@savvis.net> <1102668370.34937.7.camel@pav.hide.vol.cz> In-Reply-To: <1102668370.34937.7.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 10 Dec 2004 17:51:15.0288 (UTC) FILETIME=[D81A9D80:01C4DEE0] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 17:51:40 -0000 Pav, >>>obex> get Soul.mp3 Soul.mp3 >>>Success, response: OK, Success (0x20) >>> >>>obex> get Wazzup.mp3 >>>Failure, response: Unautorized (0x41) >>> >>>When I write get with single argument, could obexapp assume it as both >>>remote and local filename? >> >>well, it could. right now i opted for non-intuitive version :) that is >>'get foo' means get default vcard object and save it locally as foo :) >>funky, huh? :) >> >>i do not like it myself, and i'm not sure how often one wants to pull >>default vcard object. i like your idea better, i.e. 'get foo' should >>mean 'get foo foo'. perhaps adding another command to get default object >>would be better? > > Exactly. I see you already implemented this, I will test 1.4.1 in the > evening (I have my bluetooth dongle at home). yep, thats done 1.4.1 >> > There's some odity with line breaks, it seems, on my terminal: >> >>>+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ >>>| obex> get Soul.mp3 Soul.mp3 Success, response: OK, Success (0x20) | >>>| obex> get Wazzup.mp3 >>>| Failure, response: Unautorized (0x41) >>>+------------------------------------- >>> >>>Should there be so many spaces and shouldn't there be line break before >>>"Success" ? >> >>i'm not really sure what do you mean. could you please provide a sample >>of what you would like output to be? > > Well, I would expect it to print Success on the new line, not on the > same line as get Soul.mp3 Soul.mp3 with 200 spaces inbetween. hmmm... that is how it works on my system. you have to hit enter after 'get Soul.mp3 Soul.mp3' command, right? :) thats the newline right here. so 'success etc.' should be printed on new line. are you using attached console, ssh/telnet or serial console? >>>What about autocompletion, like in shell? >> >>autocompletion for the remote filenames would be tricky to do. directory >>listing is required for that. not all devices support 'ls' command. > > Perhaps it could try to do 'ls' on first 'tab' keypress, as lftp does > it. I understand this would be a lot of work, probably. i need to think about that. the problem is that there is no way of knowing if device supports 'ls' other then actually trying 'ls' :) >>>What about unicode characters? My cell phones have czech localisation >>>and name of directories visible over OBEX are with czech characters, >>>coded in Unicode. Accessible for me with obexapp but in latin2 charset: >>> >>>obex> ls >>>Access Owner Group Size Modified Name >>> n/a n/a n/a n/a Obr脙隆zky/ >>> n/a n/a n/a n/a Zvuky/ >>> n/a n/a n/a n/a Sch脙漏mata/ >>> n/a n/a n/a n/a Videosoubory/ >>> n/a n/a n/a n/a Jin脙漏/ >>>Success, response: OK, Success (0x20) >>>obex> cd Jin脙漏 >>>Failure, response: Not found (0x44) >>>obex> cd Jin茅 >>>Success, response: OK, Success (0x20) >> >>well, directory listing is a xml document. i just get it and parse/print >>it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump >>to actually see xml :) > >>unicode input is a completely different beast. you actually have to >>switch your console to unicode. > > What's interesting is that listing is printed in Unicode, but 'cd' > command reacted on 'iso-8859-2' encoded name, but not on Unicode encoded > name. names of obex objects (obex name header) *are* in unicode. that is when you type 'get foo', obexapp(1) takes 'foo' and creates obex name header in request that has 'foo' translated to unicode. i think your device sends back entries in the directory listing in unicode and obexapp(1) have to translate it back. thats why i need to see xml encoding (if any). > I will check with hcidump in the evening. > >>>It wanted to pair my cell phone on connect, obexapp-1.3 does not wanted >>>to pair. >> >>obexapp does not care about piring. if you want to authenticate incoming >>connection on freebsd you have to use hccontrol(8). right now there is >>no way to turn authentication on individual connections. its all or none. > > It's more about that phone suddenly wanted to pair with my computer. > With obexapp-1.3, it just allowed computer to connect, but did not > allowed to browse any directories, only to upload files into root. > With obexapp-1.4, it want to pair, otherwise it drop the connection, but > now it allows browsing subdirectories and getting files from/to them. > > I'm not sure if I dislike the new way, I'm just reporting difference. hmmm.... that's weird. *nothing* in obexapp(1) could have caused this. one thing you can try is to get rid of your phone key in '/var/db/hcsecd.keys' file, restart hcsecd(8) and then re-pair. also there is a difference between 'opush' and 'ftrn'. opush will only let you work with 'inbox', that is no ls, cd etc. ftrn will let you do all these things, but you might need to specify '-f' switch to obexapp(1) - connect to file browsing service. i'm still somewhat confused about 'file browsing sevice (-f switch)' and when one must use it :( thanks, max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 19:32:53 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9151D16A4CE for ; Fri, 10 Dec 2004 19:32:53 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F65A43D3F for ; Fri, 10 Dec 2004 19:32:53 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 433225DC for ; Fri, 10 Dec 2004 14:32:52 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 4BACB327; Fri, 10 Dec 2004 14:32:34 -0500 (EST) Date: Fri, 10 Dec 2004 14:32:34 -0500 From: "Michael W. Oliver" To: freebsd-bluetooth@freebsd.org Message-ID: <20041210193234.GB59246@gargantuan.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" Content-Disposition: inline X-WWW-Site: http://michael.gargantuan.com X-PGP-Public-Key: $X-WWW-Site/gnupg/pubkey.asc X-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Home-Address0: 8008 Apache Lane X-Home-Address1: Lakeland, FL X-Home-Address2: 33810-2172 X-Home-Address3: United States of America X-Good-Question-Guide: http://www.catb.org/~esr/faqs/smart-questions.html X-Netiquette-Guidelines: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.6i X-Spam-DCC: sonic.net: phoenix.gargantuan.com 1156; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-105.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Pyzor: Reported 0 times. Subject: billionton adapter support? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 19:32:53 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey guys, I am on the verge of picking up a Sager 4750-V laptop, and the reseller is telling me that it comes with a 'billionton' bluetooth adapter. Any chance that this is supported? Links to list(s) of supported devices are welcome. Thanks. --=20 Michael W. Oliver [see complete headers for contact information] --ibTvN161/egqYuK8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBufnSsWv7q8X6o8kRAmytAKCkQ9lC93jK7xWkT4lKvx5aevKA5QCgxl0j Cf+9CWC2gCBEwioI9byXTrY= =mYrd -----END PGP SIGNATURE----- --ibTvN161/egqYuK8-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 20:19:14 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C65B16A4CE for ; Fri, 10 Dec 2004 20:19:14 +0000 (GMT) Received: from hood.oook.cz (hood.oook.cz [212.27.205.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BB0743D54 for ; Fri, 10 Dec 2004 20:19:13 +0000 (GMT) (envelope-from pav@FreeBSD.org) Received: from hood.oook.cz (localhost.oook.cz [127.0.0.1]) by hood.oook.cz (8.13.1/8.13.1) with ESMTP id iBAKJCCg063415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Dec 2004 21:19:12 +0100 (CET) (envelope-from pav@FreeBSD.org) Received: (from pav@localhost) by hood.oook.cz (8.13.1/8.13.1/Submit) id iBAKJB5W063414; Fri, 10 Dec 2004 21:19:11 +0100 (CET) (envelope-from pav@FreeBSD.org) X-Authentication-Warning: hood.oook.cz: pav set sender to pav@FreeBSD.org using -f From: Pav Lucistnik To: Maksim Yevmenkin In-Reply-To: <41B9E211.8050005@savvis.net> References: <41B8D6D5.6090801@savvis.net> <41B8E56C.6050409@savvis.net><41B9E211.8050005@savvis.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-5V1iNfHAGBFV/QZ1QFAu" Date: Fri, 10 Dec 2004 21:19:11 +0100 Message-Id: <1102709951.60420.9.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 20:19:14 -0000 --=-5V1iNfHAGBFV/QZ1QFAu Content-Type: multipart/mixed; boundary="=-9Zhm/FJNOtuOdSJ5M61Q" --=-9Zhm/FJNOtuOdSJ5M61Q Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin p=ED=A8e v p=E1 10. 12. 2004 v 09:51 -0800: > >> > There's some odity with line breaks, it seems, on my terminal: > >> > >>>+---------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------------+ > >>>| obex> get Soul.mp3 Soul.mp3 = = Success, response: OK, S= uccess (0x20) | > >>>| obex> get Wazzup.mp3 > >>>| Failure, response: Unautorized (0x41) > >>>+------------------------------------- > >>> > >>>Should there be so many spaces and shouldn't there be line break befor= e > >>>"Success" ? > >> > >>i'm not really sure what do you mean. could you please provide a sample= =20 > >>of what you would like output to be? > >=20 > > Well, I would expect it to print Success on the new line, not on the > > same line as get Soul.mp3 Soul.mp3 with 200 spaces inbetween. >=20 > hmmm... that is how it works on my system. you have to hit enter after=20 > 'get Soul.mp3 Soul.mp3' command, right? :) thats the newline right here.=20 > so 'success etc.' should be printed on new line. are you using attached=20 > console, ssh/telnet or serial console? Actually, there is a new line when I press enter, but then the string "Success..." is printed four characters before, on previous line four characters before the right border of terminal. This is bash in screen in aterm. In bash in aterm without screen it's three characters before window border. Resizing aterm does not change anything. On real text console it prints on new line as designed. In xterm it works as designed. So it looks like a bad interaction of obexapp with aterm. > >>>What about autocompletion, like in shell? > >> > >>autocompletion for the remote filenames would be tricky to do. director= y=20 > >>listing is required for that. not all devices support 'ls' command. > >=20 > > Perhaps it could try to do 'ls' on first 'tab' keypress, as lftp does > > it. I understand this would be a lot of work, probably. >=20 > i need to think about that. the problem is that there is no way of=20 > knowing if device supports 'ls' other then actually trying 'ls' :) Is there any problem sending 'ls' command to unsupporting device? You could just try and see. > >>>What about unicode characters? My cell phones have czech localisation > >>>and name of directories visible over OBEX are with czech characters, > >>>coded in Unicode. Accessible for me with obexapp but in latin2 charset= : > >>> > >>>obex> ls > >>>Access Owner Group Size Modified Name > >>> n/a n/a n/a n/a Obr=C3=A1zky/ > >>> n/a n/a n/a n/a Zvuky/ > >>> n/a n/a n/a n/a Sch=C3=A9mata/ > >>> n/a n/a n/a n/a Videosoubory/ > >>> n/a n/a n/a n/a Jin=C3=A9/ > >>>Success, response: OK, Success (0x20) > >>>obex> cd Jin=C3=A9 > >>>Failure, response: Not found (0x44) > >>>obex> cd Jin=E9 > >>>Success, response: OK, Success (0x20) > >> > >>well, directory listing is a xml document. i just get it and parse/prin= t=20 > >>it with bsdxml(3). does your phone sets xml charset? (hint: use hcidump= =20 > >>to actually see xml :) > >=20 > >>unicode input is a completely different beast. you actually have to=20 > >>switch your console to unicode. > >=20 > > What's interesting is that listing is printed in Unicode, but 'cd' > > command reacted on 'iso-8859-2' encoded name, but not on Unicode encode= d > > name. >=20 > names of obex objects (obex name header) *are* in unicode. that is when=20 > you type 'get foo', obexapp(1) takes 'foo' and creates obex name header=20 > in request that has 'foo' translated to unicode. i think your device=20 > sends back entries in the directory listing in unicode and obexapp(1)=20 > have to translate it back. thats why i need to see xml encoding (if any). According to hcidump, directory listing is sent from mobile in UTF-8, as specified in header: I can't recognize 'cd' command with my unskilled eye. Raw data are attached. > > I will check with hcidump in the evening. > >=20 > >>>It wanted to pair my cell phone on connect, obexapp-1.3 does not wante= d > >>>to pair. > >> > >>obexapp does not care about piring. if you want to authenticate incomin= g=20 > >>connection on freebsd you have to use hccontrol(8). right now there is=20 > >>no way to turn authentication on individual connections. its all or non= e. > >=20 > > It's more about that phone suddenly wanted to pair with my computer. > > With obexapp-1.3, it just allowed computer to connect, but did not > > allowed to browse any directories, only to upload files into root. > > With obexapp-1.4, it want to pair, otherwise it drop the connection, bu= t > > now it allows browsing subdirectories and getting files from/to them. > >=20 > > I'm not sure if I dislike the new way, I'm just reporting difference. >=20 > hmmm.... that's weird. *nothing* in obexapp(1) could have caused this.=20 > one thing you can try is to get rid of your phone key in=20 > '/var/db/hcsecd.keys' file, restart hcsecd(8) and then re-pair. also=20 > there is a difference between 'opush' and 'ftrn'. opush will only let=20 > you work with 'inbox', that is no ls, cd etc. ftrn will let you do all=20 > these things, but you might need to specify '-f' switch to obexapp(1) -=20 > connect to file browsing service. i'm still somewhat confused about=20 > 'file browsing sevice (-f switch)' and when one must use it :( I goofed here. It depends on RFCOMM channel I use, if I use OPUSH it works without pairing, if I use IRMC it want to pair. obexapp-1.3 behaves exactly same, I verified. Sorry for confusion. --=20 Pav Lucistnik Define universe and tell me three examples. --=-9Zhm/FJNOtuOdSJ5M61Q-- --=-5V1iNfHAGBFV/QZ1QFAu Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBugS/ntdYP8FOsoIRAkrHAKCPuDJ1zxzXtHuXO61rq+m7W0+58QCgrrb+ VvWl94sa39SepGnwPObctTE= =YhxF -----END PGP SIGNATURE----- --=-5V1iNfHAGBFV/QZ1QFAu-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 20:27:37 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 668EB16A4CE for ; Fri, 10 Dec 2004 20:27:37 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED7DB43D49 for ; Fri, 10 Dec 2004 20:27:36 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iBAKRNZb010989; Fri, 10 Dec 2004 14:27:23 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 14:27:18 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 14:27:07 -0600 Message-ID: <41BA0699.1080506@savvis.net> Date: Fri, 10 Dec 2004 12:27:05 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael W. Oliver" References: <20041210193234.GB59246@gargantuan.com> In-Reply-To: <20041210193234.GB59246@gargantuan.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Dec 2004 20:27:07.0138 (UTC) FILETIME=[9E3DAE20:01C4DEF6] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: billionton adapter support? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 20:27:37 -0000 Michael, > Hey guys, I am on the verge of picking up a Sager 4750-V laptop, and the > reseller is telling me that it comes with a 'billionton' bluetooth > adapter. Any chance that this is supported? Links to list(s) of > supported devices are welcome. unfortunately, there is no way of telling if its supported or not. it all depends what kind of adapter it is. if it looks like a usb dognle to the system then there is a very good chance it will work. if it looks like as standard serial port then it will work, but not very well (sio(4) interrupt latency problem). max From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 20:51:43 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF8FF16A4CE for ; Fri, 10 Dec 2004 20:51:43 +0000 (GMT) Received: from phoenix.gargantuan.com (phoenix.gargantuan.com [24.73.171.238]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83FF143D1F for ; Fri, 10 Dec 2004 20:51:43 +0000 (GMT) (envelope-from michael@gargantuan.com) Received: from localhost (localhost.gargantuan.com [127.0.0.1]) by spamassassin-injector (Postfix) with SMTP id 9F5AF32F; Fri, 10 Dec 2004 15:51:42 -0500 (EST) Received: by phoenix.gargantuan.com (Postfix, from userid 1001) id 0FFE42F7; Fri, 10 Dec 2004 15:51:21 -0500 (EST) Date: Fri, 10 Dec 2004 15:51:20 -0500 From: "Michael W. Oliver" To: Maksim Yevmenkin Message-ID: <20041210205120.GD59246@gargantuan.com> References: <20041210193234.GB59246@gargantuan.com> <41BA0699.1080506@savvis.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w7PDEPdKQumQfZlR" Content-Disposition: inline In-Reply-To: <41BA0699.1080506@savvis.net> X-WWW-Site: http://michael.gargantuan.com X-PGP-Public-Key: $X-WWW-Site/gnupg/pubkey.asc X-PGP-Fingerprint: 2694 0179 AE3F BFAE 0916 0BF5 B16B FBAB C5FA A3C9 X-Home-Phone: +1-863-816-8091 X-Mobile-Phone: +1-863-738-2334 X-Home-Address0: 8008 Apache Lane X-Home-Address1: Lakeland, FL X-Home-Address2: 33810-2172 X-Home-Address3: United States of America X-Good-Question-Guide: http://www.catb.org/~esr/faqs/smart-questions.html X-Netiquette-Guidelines: http://www.ietf.org/rfc/rfc1855.txt User-Agent: Mutt/1.5.6i X-Spam-DCC: sonic.net: phoenix.gargantuan.com 1156; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on phoenix.gargantuan.com X-Spam-Level: X-Spam-Status: No, score=-105.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=ham version=3.0.1 X-Spam-Pyzor: Reported 0 times. cc: freebsd-bluetooth@freebsd.org Subject: Re: billionton adapter support? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 20:51:43 -0000 --w7PDEPdKQumQfZlR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2004-12-10T12:27:05-0800, Maksim Yevmenkin wrote: > Michael, >=20 > >Hey guys, I am on the verge of picking up a Sager 4750-V laptop, and the > >reseller is telling me that it comes with a 'billionton' bluetooth > >adapter. Any chance that this is supported? Links to list(s) of > >supported devices are welcome. >=20 > unfortunately, there is no way of telling if its supported or not. it=20 > all depends what kind of adapter it is. if it looks like a usb dognle to= =20 > the system then there is a very good chance it will work. if it looks=20 > like as standard serial port then it will work, but not very well=20 > (sio(4) interrupt latency problem). OK, I found a link from Max pointing to: http://www.holtmann.org/linux/bluetooth/devices.html and there is indeed a Billionton USB dongle listed out there with a CSR chip, and hci_usb driver. Maybe my luck is changing for the better! I will post a full doc on this machine to Lukas Ertl's FreeBSD laptop page ( http://gerda.univie.ac.at/freebsd-laptops/ ). Thanks again Max! --=20 Michael W. Oliver [see complete headers for contact information] --w7PDEPdKQumQfZlR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBugxIsWv7q8X6o8kRAn3yAJ9yqyZRKi9tqbqnz3tbf7dM12Gg4QCgsDAz 4k6gDsgFTvNkLUr53ivzQjw= =neoP -----END PGP SIGNATURE----- --w7PDEPdKQumQfZlR-- From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 21:46:34 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F3C16A4CE for ; Fri, 10 Dec 2004 21:46:34 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB18743D48 for ; Fri, 10 Dec 2004 21:46:33 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iBALkSZb019606; Fri, 10 Dec 2004 15:46:29 -0600 Received: from s228130hz1ew03.apptix-01.savvis.net ([10.146.4.28]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 15:46:26 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew03.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 15:46:17 -0600 Message-ID: <41BA1928.50009@savvis.net> Date: Fri, 10 Dec 2004 13:46:16 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Michael W. Oliver" References: <20041210193234.GB59246@gargantuan.com> <41BA0699.1080506@savvis.net> <20041210205120.GD59246@gargantuan.com> In-Reply-To: <20041210205120.GD59246@gargantuan.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Dec 2004 21:46:17.0209 (UTC) FILETIME=[AD80FE90:01C4DF01] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: billionton adapter support? X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 21:46:34 -0000 Michael W. Oliver wrote: > On 2004-12-10T12:27:05-0800, Maksim Yevmenkin wrote: > >> Michael, >> >> >>> Hey guys, I am on the verge of picking up a Sager 4750-V laptop, >>> and the reseller is telling me that it comes with a 'billionton' >>> bluetooth adapter. Any chance that this is supported? Links to >>> list(s) of supported devices are welcome. >> >> unfortunately, there is no way of telling if its supported or not. >> it all depends what kind of adapter it is. if it looks like a usb >> dognle to the system then there is a very good chance it will work. >> if it looks like as standard serial port then it will work, but not >> very well (sio(4) interrupt latency problem). > > > OK, I found a link from Max pointing to: > > http://www.holtmann.org/linux/bluetooth/devices.html > > and there is indeed a Billionton USB dongle listed out there with a > CSR chip, and hci_usb driver. Maybe my luck is changing for the > better! > > I will post a full doc on this machine to Lukas Ertl's FreeBSD laptop > page ( http://gerda.univie.ac.at/freebsd-laptops/ ). > > Thanks again Max! sure thing. let me know if you have any problems. one thing - some laptops with built-in bluetooth do not have a physical button that will turn it on/off (for example sony, toshiba). in this case you might need an extra piece of software that will do it for you. thanks, max > From owner-freebsd-bluetooth@FreeBSD.ORG Fri Dec 10 22:50:15 2004 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFD3716A4CE; Fri, 10 Dec 2004 22:50:15 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B1DA43D39; Fri, 10 Dec 2004 22:50:15 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])iBAMoCZb025795; Fri, 10 Dec 2004 16:50:12 -0600 Received: from s228130hz1ew17.apptix-01.savvis.net ([10.146.4.29]) by out001.email.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 16:50:09 -0600 Received: from [10.254.186.111] ([66.35.239.94]) by s228130hz1ew17.apptix-01.savvis.net with Microsoft SMTPSVC(6.0.3790.211); Fri, 10 Dec 2004 16:49:59 -0600 Message-ID: <41BA2816.9000908@savvis.net> Date: Fri, 10 Dec 2004 14:49:58 -0800 From: Maksim Yevmenkin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040822 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <41B8D6D5.6090801@savvis.net> <1102634931.90683.9.camel@hood.oook.cz> <41B8E56C.6050409@savvis.net> <1102668370.34937.7.camel@pav.hide.vol.cz> <41B9E211.8050005@savvis.net> <1102709951.60420.9.camel@hood.oook.cz> In-Reply-To: <1102709951.60420.9.camel@hood.oook.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Dec 2004 22:49:59.0904 (UTC) FILETIME=[9401F600:01C4DF0A] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@FreeBSD.org Subject: Re: obexapp-1.4 X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 22:50:16 -0000 Pav, >>> Well, I would expect it to print Success on the new line, not on >>> the same line as get Soul.mp3 Soul.mp3 with 200 spaces inbetween. >>> >> >> hmmm... that is how it works on my system. you have to hit enter >> after 'get Soul.mp3 Soul.mp3' command, right? :) thats the newline >> right here. so 'success etc.' should be printed on new line. are >> you using attached console, ssh/telnet or serial console? > > Actually, there is a new line when I press enter, but then the string > "Success..." is printed four characters before, on previous line > four characters before the right border of terminal. > > This is bash in screen in aterm. > > In bash in aterm without screen it's three characters before window > border. > > Resizing aterm does not change anything. > > On real text console it prints on new line as designed. > > In xterm it works as designed. > > So it looks like a bad interaction of obexapp with aterm. hmm... this does not happen in obexapp-1.3 does it? perhaps readline(3) uses some control codes that confuse aterm? >>>>> What about autocompletion, like in shell? >>>> >>>> autocompletion for the remote filenames would be tricky to do. >>>> directory listing is required for that. not all devices support >>>> 'ls' command. >>> >>> Perhaps it could try to do 'ls' on first 'tab' keypress, as lftp >>> does it. I understand this would be a lot of work, probably. >> >> i need to think about that. the problem is that there is no way of >> knowing if device supports 'ls' other then actually trying 'ls' :) > > Is there any problem sending 'ls' command to unsupporting device? You > could just try and see. well, the thing is unsupported/unexpected command might just send device to a coma :) or worse. i *can* crash my nokia 6820 by just asking for default vcard when i'm connected to ftrn service :) my wife's se t68 starts returning error on any command after i ask it to do something it cant. it just pathetic. >>> What's interesting is that listing is printed in Unicode, but >>> 'cd' command reacted on 'iso-8859-2' encoded name, but not on >>> Unicode encoded name. >> >> names of obex objects (obex name header) *are* in unicode. that is >> when you type 'get foo', obexapp(1) takes 'foo' and creates obex >> name header in request that has 'foo' translated to unicode. i >> think your device sends back entries in the directory listing in >> unicode and obexapp(1) have to translate it back. thats why i need >> to see xml encoding (if any). > > According to hcidump, directory listing is sent from mobile in UTF-8, > as specified in header: > > I can't recognize 'cd' command with my unskilled eye. Raw data are > attached. < ACL data: handle 0x0029 flags 0x02 dlen 41 L2CAP(d): cid 0x00ae len 37 [psm 3] RFCOMM(d): UIH: cr 1 dlci 16 pf 0 ilen 33 fcs 0x24 OBEX: Get cmd(f): len 33 Name (0x01) = Unicode length 2 . . Type (0x42) = Sequence length 22 x - o b e x / f o l d e r - l i s t i n g . > HCI Event: Number of Completed Packets (0x13) plen 5 . ) . . . > ACL data: handle 0x0029 flags 0x02 dlen 136 L2CAP(d): cid 0x0066 len 132 [psm 3] RFCOMM(d): UIH: cr 0 dlci 16 pf 1 ilen 126 fcs 0xe2 credits 1 OBEX: Get rsp(f): status 200 len 390 Connection ID (0xcb) = 28 End of Body (0x49) = Sequence length 379 < ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " U T F - 8 " ? > . . < ! D O C T Y P E f o l d e r - l i s t i n g S Y S T E M " o b e x - f o l d e r - l i s t i n g . d t d " > . . < ! - - . . X M L C o d e > ACL data: handle 0x0029 flags 0x02 dlen 136 L2CAP(d): cid 0x0066 len 132 [psm 3] RFCOMM(d): UIH: cr 0 dlci 16 pf 1 ilen 126 fcs 0xe2 credits 0 OBEX: Get rsp(c): status 702 len 11296 Session Sequence Number (0x53) = Sequence length 25965 2 1 2 0 0 4 , 2 2 : 5 0 : 1 0 , ( C ) 2 0 0 1 S o n y E r i c s s o n M o b i l e C o m m u n i c a t i o n s A B . . - - > . . < f o l d e r - l i s t i n g v e r s i o n = " 1 . 0 " > < f o l