Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 13:26:08 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org, andrew@invisiblerival.com
Subject:   Re: USB detection problems
Message-ID:  <200511111326.09320.hselasky@c2i.net>
In-Reply-To: <43743CDE.80107@invisiblerival.com>
References:  <43743CDE.80107@invisiblerival.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511111326.09320.hselasky>