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 <[EMAIL PROTECTED]> wrote:
>  > >  [EMAIL PROTECTED] ~]$ 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.
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to