From owner-freebsd-questions Tue Feb 11 20: 5:51 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B08137B401 for ; Tue, 11 Feb 2003 20:05:49 -0800 (PST) Received: from goliath.rri-usa.org (goliath.rri-usa.org [208.247.65.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 370DA43F85 for ; Tue, 11 Feb 2003 20:05:48 -0800 (PST) (envelope-from wgnadt@goliath.rri-usa.org) Received: (from wgnadt@localhost) by goliath.rri-usa.org (8.11.6/8.11.6) id h1C45lk84389; Tue, 11 Feb 2003 23:05:47 -0500 (EST) (envelope-from wgnadt) From: wgnadt Message-Id: <200302120405.h1C45lk84389@goliath.rri-usa.org> Subject: 'ufm' device - failed USB FM Radio configuration To: freebsd-questions@freebsd.org Date: Tue, 11 Feb 2003 23:05:46 -0500 (EST) Cc: wgnadt@goliath.rri-usa.org (wgnadt) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I've many years of experience with FreeBSD, Linux and Unix. However, when it comes to getting a D-link USB FM radio working, I'm stumped. I'm appealing to anyone on this list for help! I'm running FreeBSD-4.7-stable -- uname output: FreeBSD delta.local.net 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #0: Tue Feb 11 15:45:59 EST 2003 root@delta.local.net:/usr/src/sys/compile/SERVER i386 I've added the requisite kernel option in my kernel config - standard usb options plus: # radio device ufm And a line in rc.conf to start usbd: usbd_enable="YES" # Run the usbd daemon. At boot time, the device is recognized -- dmesg output: ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2 Next, I found a patch for MAKEDEV, to create the proper device (cd /dev ; sh MAKEDEV ufm0): crw-rw---- 1 root operator 200, 0 Feb 11 20:16 /dev/ufm0 Finally, I found and compiled three different utilities to control the radio. Unfortunately, all three fail: 1. 'ufmctl' by M. Warner Losh (2001) 2. a patched version of 'ufmctl' by David Yeske (2002) example: delta# ufmctl -d sets device, default is "/dev/ufm0". -f sets freq -h help -i info -m mutes the radio -s unmutes the radio delta# ufmctl -f 92.9 -s ufmctl: FM_START: Input/output error Tuner /dev/ufm0 at 92.90MHz status off 3. a slick 'ufmcontrol' package available from sourceforge.net example: delta# ufmcontrol USB Radio Control utility, version 0.1 Type `?' for command list ufmcontrol> verbose yes ufmcontrol> set 92.9 ufmcontrol> get FM 92.90 MHz ufmcontrol> play ufmcontrol: Input/output error ufmcontrol> Why am I getting these I/O errors? Any thoughts? Thanks, Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message