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