From owner-freebsd-bluetooth@FreeBSD.ORG Thu Jan 13 00:26:31 2005 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 7227B16A4CE for ; Thu, 13 Jan 2005 00:26:31 +0000 (GMT) Received: from mailgate1b.savvis.net (mailgate1b.savvis.net [216.91.182.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC6CC43D1D for ; Thu, 13 Jan 2005 00:26:30 +0000 (GMT) (envelope-from Maksim.Yevmenkin@savvis.net) Received: from out001.email.savvis.net (out001.apptix.savvis.net [216.91.32.44])j0D0PsLE026542; Wed, 12 Jan 2005 18:26:06 -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, 12 Jan 2005 18:25:47 -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, 12 Jan 2005 18:25:40 -0600 Message-ID: <41E5C005.1040506@savvis.net> Date: Wed, 12 Jan 2005 16:25:41 -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: =?ISO-8859-1?Q?Ren=E9_Scholz?= References: <1105515411.41e4d393d2c5b@webmail.wewitro.net> <1105531775.7961.46.camel@pegasus> <41E57004.8070201@savvis.net> <798814BF-64DD-11D9-BFF9-000A95688814@fantastici.de> In-Reply-To: <798814BF-64DD-11D9-BFF9-000A95688814@fantastici.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 13 Jan 2005 00:25:41.0024 (UTC) FILETIME=[699D1A00:01C4F906] X-ECS-MailScanner: No virus is found cc: freebsd-bluetooth@freebsd.org Subject: Re: HID Proxy switching 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, 13 Jan 2005 00:26:31 -0000 René, >> what driver attaches to the device? ugen(4), uhid(4) or other? can >> you tell what endpoints are available? hint: look in >> /var/log/messages and /dev. > > I had uhid, ums and ukbd compiled into my kernel, so ukbd und ums > take the device. Your hints were the right ones ;-) just compiled > hid2hci.c with libusb, changed the kernel to use uhid, ums and ukbd > as modules so that ugen attached to the device. Then I loaded ubt_ng > and used hid2hci to switch the modes, hid2hci gave an error > "Switching device 0a12:1000 to HCI mode failed (Input/output error)" > but the switch was successfully done and voila ubt_ng found my > bluetooh device. hmm... ok. does device stay in hci mode? or do you have to switch it every time after you re-connect it? > If I'd have a bt mouse and/or keyboard there might be some hassle to > load and unload the modules in the right order to use the hid or the > hci part, but I have neither of them so it's okay. it would be real hassle if you had wired usb keyboard :) > So thank you and Marcel for giving me the right input and yes > hid2hci.c has no dependencies on the Linux USB stack. i've got to get me one of these dongles :) so i can write bsd version of hid2hci. max