Hi;
Using Kamakazi R9656 (2.6).
cypress_m8 is compiled as a module
Code:
insmod usbserial (OK)
insmod cypress_m8 debug=1
Fail:
insmod: cannot insert '/lib/modules/2.6.23.1/cypress_m8.ko': invalid parameters (8): Invalid argument
I suspect that this is because /sys/module (RO filesystem) is lacking the entries required for cypress_m8
eg: (for usbserial)
root@OpenWrt:~# ls -l /sys/module
drwxr-xr-x 3 root root 0 Jan 1 00:26 8250
drwxr-xr-x 3 root root 0 Jan 1 00:26 aes
drwxr-xr-x 3 root root 0 Jan 1 00:26 arc4
drwxr-xr-x 5 root root 0 Jan 1 00:26 b43
drwxr-xr-x 2 root root 0 Jan 1 00:26 b44
drwxr-xr-x 3 root root 0 Jan 1 00:26 blkcipher
drwxr-xr-x 3 root root 0 Jan 1 00:26 cbc
drwxr-xr-x 3 root root 0 Jan 1 00:26 cfg80211
drwxr-xr-x 3 root root 0 Jan 1 00:26 crc_ccitt
drwxr-xr-x 3 root root 0 Jan 1 00:26 crypto_algapi
drwxr-xr-x 3 root root 0 Jan 1 00:26 crypto_hash
drwxr-xr-x 3 root root 0 Jan 1 00:26 cryptomgr
drwxr-xr-x 3 root root 0 Jan 1 00:26 deflate
drwxr-xr-x 4 root root 0 Jan 1 00:26 diag
drwxr-xr-x 3 root root 0 Jan 1 00:26 ecb
drwxr-xr-x 5 root root 0 Jan 1 00:26 ehci_hcd
drwxr-xr-x 2 root root 0 Jan 1 00:26 iptable_filter
drwxr-xr-x 4 root root 0 Jan 1 00:26 mac80211
drwxr-xr-x 3 root root 0 Jan 1 00:26 nf_conntrack
drwxr-xr-x 4 root root 0 Jan 1 00:26 nf_conntrack_ftp
drwxr-xr-x 4 root root 0 Jan 1 00:26 nf_conntrack_irc
drwxr-xr-x 4 root root 0 Jan 1 00:26 nf_conntrack_tftp
drwxr-xr-x 3 root root 0 Jan 1 00:26 nf_nat_ftp
drwxr-xr-x 3 root root 0 Jan 1 00:26 nf_nat_irc
drwxr-xr-x 3 root root 0 Jan 1 00:26 nf_nat_tftp
drwxr-xr-x 4 root root 0 Jan 1 00:26 ohci_hcd
drwxr-xr-x 3 root root 0 Jan 1 00:26 ppp_async
drwxr-xr-x 3 root root 0 Jan 1 00:26 ppp_generic
drwxr-xr-x 3 root root 0 Jan 1 00:26 printk
drwxr-xr-x 2 root root 0 Jan 1 00:26 rcupdate
drwxr-xr-x 3 root root 0 Jan 1 00:26 slhc
drwxr-xr-x 3 root root 0 Jan 1 00:26 switch_core
drwxr-xr-x 3 root root 0 Jan 1 00:26 switch_robo
drwxr-xr-x 3 root root 0 Jan 1 00:26 tcp_vegas
drwxr-xr-x 5 root root 0 Jan 1 00:26 uhci_hcd
drwxr-xr-x 5 root root 0 Jan 1 00:26 usbcore
drwxr-xr-x 5 root root 0 Jan 1 00:29 usbserial
root@OpenWrt:~# ls -l /sys/module/usbserial
drwxr-xr-x 2 root root 0 Jan 1 00:37 drivers
drwxr-xr-x 2 root root 0 Jan 1 00:37 holders
-r--r--r-- 1 root root 4096 Jan 1 00:37 initstate
drwxr-xr-x 2 root root 0 Jan 1 00:29 parameters
-r--r--r-- 1 root root 4096 Jan 1 00:37 refcnt
Question: Can someone try to replicate this and help to get this module working. Ie; how to create sys/module entries, if that is the problem.
Thanks;
Bill