From owner-freebsd-usb@FreeBSD.ORG Mon Apr 28 08:51:17 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 672F71065672 for ; Mon, 28 Apr 2008 08:51:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 0107A8FC21 for ; Mon, 28 Apr 2008 08:51:16 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [62.113.132.156] (account mc467741@c2i.net [62.113.132.156] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 815504519; Mon, 28 Apr 2008 10:51:15 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 28 Apr 2008 10:52:34 +0200 User-Agent: KMail/1.9.7 References: <18451.35663.21335.553446@gromit.timing.com> In-Reply-To: <18451.35663.21335.553446@gromit.timing.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804281052.35658.hselasky@c2i.net> Cc: Subject: Re: USB CDC-ACM device under FreeBSD and HPS stack X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 08:51:17 -0000 On Saturday 26 April 2008, John E Hein wrote: > Xiaofan Chen wrote at 16:16 +0800 on Apr 26, 2008: > > On Sat, Apr 26, 2008 at 3:51 PM, Xiaofan Chen wrote: > > > [mcuee@freebsd7 ~]$ sudo kldload ucycom > > > kldload: can't load ucycom: No such file or directory > > Sometimes you'll get that message not becuase /boot/kernel/ucycom.ko > doesn't exist but because it's trying to reference external symbols defined > in other modules or the kernel that aren't there for whatever reason, or > that a module dependency can't be loaded. > > Look in /var/log/messages or dmesg. > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" I found it: Edit /sys/dev/usb/ucycom.c and change: --- src/sys/dev/usb/ucycom.c (revision 711) +++ src/sys/dev/usb/ucycom.c (working copy) @@ -167,8 +167,8 @@ }; DRIVER_MODULE(ucycom, uhub, ucycom_driver, ucycom_devclass, usbd_driver_load, 0); -MODULE_VERSION(ucycom, 1); MODULE_DEPEND(ucycom, usb, 1, 1, 1); +MODULE_DEPEND(ucycom, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER); Then recompile the ucycom module. --HPS