From owner-freebsd-usb@FreeBSD.ORG Fri Nov 11 12:24:57 2005 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0A9216A41F for ; Fri, 11 Nov 2005 12:24:57 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CF7A43D4C for ; Fri, 11 Nov 2005 12:24:56 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-216-87-55.daxnet.no ([193.216.87.55] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.0.1) with ESMTP id 8444456; Fri, 11 Nov 2005 13:24:54 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, andrew@invisiblerival.com Date: Fri, 11 Nov 2005 13:26:08 +0100 User-Agent: KMail/1.7 References: <43743CDE.80107@invisiblerival.com> In-Reply-To: <43743CDE.80107@invisiblerival.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511111326.09320.hselasky@c2i.net> Cc: Subject: Re: USB detection problems X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 12:24:57 -0000 On Friday 11 November 2005 07:40, Andrew Kilpatrick wrote: > Hi, > > I'm having some USB problems with an embedded system that I'm building. > The system uses a VIA Mini-ITX CLE266-based board running FreeBSD 5.4 It > has two USB devices: > > - internal to serial interface - using uftdi/ucom > - external port for USB mass storage (flash keychain) > > Problem #1: > > - When the USB mass storage device is plugged in before the system is > powered on, the internal serial interface doesn't get detected, causing > the system to not work. > > - If the mass storage device is plugged in after the system is booted, > it works fine and so does the serial interface. > > > Problem #2: > > - When the system is booted with both devices installed, neither device > gets detected. I need the mass storage device to be detected during > startup because it is used for providing software updates to the system, > and this will hopefully happen in rc.local. > > It seems like these two problems are related, but I'm not sure. All I > have in my /boot/loader.conf is: > > uftdi_load="YES" > > I've tried usb_load, umass_load, etc. with no change. I don't have any > entries for the mass storage device (which appears on da0) in my fstab > as I am using mtools to access the raw device. > > Please help! > Maybe you want to try: Download the three files below into a new directory and type "make install" (to uninstall type "make deinstall") http://home.c2i.net/hselasky/isdn4bsd/privat/usb/Makefile http://home.c2i.net/hselasky/isdn4bsd/privat/usb/new_usb_1_5_4.diff.bz2 http://home.c2i.net/hselasky/isdn4bsd/privat/usb/new_usb_1_5_4.tar.bz2 Type "make help" to get more help. My USB driver will automatically re-probe all USB drivers when you load a new USB module. Be aware that you have to rebuild the kernel and all USB modules after the install. --HPS