04-17-2016, 03:26 AM
(04-16-2016, 09:42 PM)Hart Wrote: I was trying to compile a module also. It was for CH34x driver, the usb serial converter on the Chinese Arduino clones so I could use the Arduino IDE. I got the same problem. The make compiler is looking for a directory that does not exist. You will need to create it and you will need SU or root privelege to do so. Go into your terminal and type 'sudo bash', then enter password 'ubuntu'. You will have a terminal with all root priveleges and file system ownership.
Create the directory build where the compiler is seeking it and place the makefile and any libraries in the build directory and then try the make command from there. It will at least try to compile. That was as far as I got because my particular example froze at like line 4700 or so in the compile. I am pretty rusty at this and not sure if I have all the required dependancies in the install or what the problem is. But it took me quite a while to figure out that the compiler wanted the build files in the build directory and that I had to create it myself. Maybe you will have better luck with your module.
This driver is on my wish list (together with USB to RS232 converters based on Prolific pl2303 and FTDI FT232R chips).
USB to RS232 converters based on CH34x chips are super cheap (~1.5 EUR/pcs on ebay) but doesn't work with some devices.
I tested them with following devices:
Works like charm with
- Cisco 2950 switches,
- Cisco 3550 switches,
- Cisco 1721 routers,
- Cisco 1751 routers
- Cisco 1760 routers
Doesn't work with
- Cisco Aironet 1131ag AP
- Zyxel ES2108G switch.
There is seen output but only garbage characters.
Converters based on pl2303 and FT232R chips (the real ones not the fakes) works in all cases (but are several times more expensive then these cheap ones).
I think the best way would be if Longsleep would compile these modules and bundle them with kernel provided by himself so others can benefit from this in the future.
I have seen some thread where somebody else created a request for some driver and longsleep compiled it.
I'm going to find it and follow the instructions.