>Mark Stodola wrote: >> If the vendor doesn't supply a driver, you might try the following. >> >> One could try grabbing the source from 2.6.10 and extracting the >> driver. It should be in source/drivers/usb/serial/ >> Probably a .c and .h file, check the makefile for any compiling >> specifics. >> Copy the source files to your 2.6.9-67 source tree, update the >> Makefile (and probably the Kconfig). >> The compile it like: make -C /lib/modules/`uname -r`/build >> CONFIG_USB_SERIAL_CYPRESS_M8 SUBDIRS=$PWD modules >> I think that would do it, but haven't tried. Might be some quirks in >> there I missed. >> >> Other than that, kernel upgrade or purchasing a supported product >> might be the best route. Personally, I've been using the Digi >> Edgeport 4m for my 4 port serial adapters and Easy Sync LTD for my 16 >> ports. Both work fine under SL 4.1 for me. >> >> Hope that helps. >> >> Cheers, >> Mark >> >Oops, there should be an '=m' after the CONFIG_USB_SERIAL_CYPRESS_M8.
Using the source code from kernel 2.6.10 I was able to compile the module s cypress_m8 and usbserial (it needed for cypress_m8). Then I installed the m with: install -m 644 NAMEMODULE.ko /lib/modules/`uname -r`/kernel/drivers/usb/s erial depmod -a And if I send the command modprobe cypress_m8 It loads the driver without any problem. But if I check the device in /proc/bus/usb/devices the driver for USB to serial is still "usbhid" inst ead of "cypress_m8" How can I choose the right driver?
