From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 09:54:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7840916A41C for ; Mon, 13 Jun 2005 09:54:45 +0000 (GMT) (envelope-from freebsd.nospam@mekanix.dk) Received: from mail.aaq.bolignet.dk (cpe.atm2-0-1021060.0x50a5f3f2.boanxx12.customer.tele.dk [80.165.243.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 206B043D48 for ; Mon, 13 Jun 2005 09:54:44 +0000 (GMT) (envelope-from freebsd.nospam@mekanix.dk) Received: from desktop.home (unknown [10.10.3.10]) by mail.aaq.bolignet.dk (Postfix) with ESMTP id E7165205FA3 for ; Mon, 13 Jun 2005 11:53:33 +0200 (CEST) From: Bjarne Wichmann Petersen To: freebsd-questions@freebsd.org Date: Mon, 13 Jun 2005 11:55:42 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506131155.42759.freebsd.nospam@mekanix.dk> Subject: attaching an usb mp3-player to a device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 09:54:45 -0000 Hi I'm trying to attach a mp3-player (usb) to /dev/mp3player but usbd wont "play ball". The mp3-player gets attached to /dev/da0. This is what I've done. # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 addr 2: full speed, power 500 mA, config 1, MP3 PLAYER(0x0301), ICSI(0x0dda), rev 2.1c port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 powered editing /etc/usbd.conf and inserting: #MP3 Player device "MP3 Player" devname "da[0-9]+" product 0x0301 attach "rm -f /dev/mp3player; chmod 666 /dev/${DEVNAME}; ln -s /dev/${DEVNAME} /dev/mp3player" detach "rm -f /dev/mp3player" before the bottomline: device "USB device" detaching the mp3player, run: #/etc/rc.d/usbd restart Attach the mp3player again and it only gets attached to /dev/da0 What am I doing wrong? Bjarne