Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 10:52:34 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: USB CDC-ACM device under FreeBSD and HPS stack
Message-ID:  <200804281052.35658.hselasky@c2i.net>
In-Reply-To: <18451.35663.21335.553446@gromit.timing.com>
References:  <a276da400804260051h4f5eb13ew92a13cd91457c703@mail.gmail.com> <a276da400804260116g2f3249f5q9e8c2f506efc387f@mail.gmail.com> <18451.35663.21335.553446@gromit.timing.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <xiaofanc@gmail.com> 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




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