From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 9 21:09:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30A1116A41F for ; Fri, 9 Sep 2005 21:09:34 +0000 (GMT) (envelope-from viktor@rbg.informatik.tu-darmstadt.de) Received: from ultra02.rbg.informatik.tu-darmstadt.de (ultra02.rbg.informatik.tu-darmstadt.de [130.83.160.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A2D043D48 for ; Fri, 9 Sep 2005 21:09:32 +0000 (GMT) (envelope-from viktor@rbg.informatik.tu-darmstadt.de) Received: from rbg.informatik.tu-darmstadt.de (ultra18.rbg.informatik.tu-darmstadt.de [130.83.160.108]) by ultra02.rbg.informatik.tu-darmstadt.de (8.11.7p1+Sun/8.11.6) with SMTP id j89L9Um20032 for ; Fri, 9 Sep 2005 23:09:31 +0200 (MEST) Received: by rbg.informatik.tu-darmstadt.de (sSMTP sendmail emulation); Fri, 9 Sep 2005 23:09:42 +0200 Date: Fri, 9 Sep 2005 23:09:42 +0200 From: Viktor Vasilev To: freebsd-hackers@freebsd.org Message-ID: <20050909210941.GA5943@ilium.0xdeadc0de.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.4-RELEASE i386 User-Agent: mutt-ng devel (FreeBSD) Subject: NetBSD irframe and ustir port to FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 21:09:34 -0000 Hello fellow hackers, I'm porting the NetBSD IrDA frame level driver irframe[1] to FreeBSD. The port also, for now, includes a driver for one of the USB-IrDA bridges supported by NetBSD - ustir[2] and a modified version of the comms/birda suite. The initial work is done and both drivers compile and load without problems under FreeBSD 5.4. Due to lack of hardware I haven't been able to test it properly. The ustir driver works for dongles with the Sigmatel 4200 USB-IrDA chip. I have one with a Sigmatel 4210 chip (which has a GPL linux driver) and am trying to make it work. Sigmatel haven't been very cooperative in supplying datasheets, but I guess I'll keep trying/bugging them. So, if there is anyone interested in testing the driver and has the time and the hardware (the man page says, that a Mars II 740 USB IrDA Adapter should do the work), I'll be very pleased to hear from him. The next step will be to port the uirda[3] driver, which supports more devices, and also to get a piece of hardware that's supported and make it actually work :-) If you're still wondering what's this all about, the irframe and device drivers will make it, for example, possible to use your mobile phone and an USB-IrDA dongle for dial-up or synchronisation. At the moment this is only possible if you have an IrDA transceiver masked as a serial port in your laptop/desktop. Or if you use bluetooth. Instructions on patching the source are available here: http://0xdeadc0de.net/v/usb-irda/ Hats off to Lennart Augustsson, David Sainty, Tommy Bohlin and the other NetBSD hackers for writing the code. Cheers, Viktor [1] http://netbsd.gw.com/cgi-bin/man-cgi?irframe++NetBSD-current [2] http://netbsd.gw.com/cgi-bin/man-cgi?ustir+4+NetBSD-current [3] http://netbsd.gw.com/cgi-bin/man-cgi?uirda+4+NetBSD-current -- I have great faith in fools; self-confidence, my friends call it. -- Edgar Allan Poe