Hi All, I have to replace an old wl-500g which is parallel printer server, wanted to get OpenWRT trunk built with MOS7715 support. Here are the problems I ran into:
1. Although mainline kernel has support for the MOS7715 since 2.6.35, there is no option to select it in the OpenWRT menuconfig. The attached patch created for 27172 solves that. The MOS7715 is a variant of the MOS7720 with a parallel port, so in the kernel config CONFIG_USB_SERIAL_MOS7720 has to be defined optionally with CONFIG_USB_SERIAL_MOS7715_PARPORT whether you want the parallel port support or not. Of course lp has to be compiled in also for the additional parport. 2. Sometime between 27153 and 27172 somebody messed up the kernel config so that CONFIG_USB_SERIAL_MOS7715_PARPORT=n is defined nowhere, so the build asks for its value twice when building. 3. In trunk for brcm47xx kernel 2.6.37.6 works only, when using 2.6.38 or 2.6.39 the bridge is messed up, it does not get an IPv4 address, so you can't log in from LAN side, only from WAN after opening telnet and ssh ports. There is also a patch for 2.6.38 in the generic 2.6.38 directory which cannot be applied on 2.6.38.8. 4. The build mos7720.ko inserts fine, but the parallel port does not work correctly. The log is full with error messages stating that usb_bulk_msg returns with error value -145. I can't seem to solve this issue. The fact is that working for me on an x86 pc, so this seems to be MIPS related. Did somebody solve this sometime? Bye, Gyalokay
mos7715forrev27172.patch
Description: Binary data
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel