Crouton Arduino USB To Serial Driver Success

I recently bought a cheap Arduino Board on eBay that came with a CH34x USB to Serial Chip. The eBay seller offered a link and instructions for the drivers for Linux, Mac and Windows. Installing/loading this in Crouton was not straightforward however.

Connecting the board and opening ide shows the lack of connection as expected.  Note the grayed-out ‘Port’ Selector.

Screenshot 2015-05-30 at 7.33.08 AM

If you are in this spot, a few issues are against you.  First, the Linux driver has to be built and loaded in Crouton.  Second, the Linux Kernel (3.10.18 for me) included with Crouton lacks linux-headers and linux-image, both needed to be able to load modules.  Lastly, Crouton does not allow outside modules to be loaded.

The solution proved hard to come by but easy to apply.  I found this page,  https://github.com/divx118/crouton-packages/blob/master/README.md which includes all goodies missing from kernel needed to load module.

After following those directions, I was able to follow the directions that came from the driver.  I used this one without issues.

I was then able to  pick port on Arduino IDE and make those lights blink.

Screenshot 2015-05-30 at 6.04.37 PM

Congratulations, have fun with Arduino Programming on your Crouton!

Advertisements

One thought on “Crouton Arduino USB To Serial Driver Success

  1. THANK YOU!
    (assuming it works)
    Its not publicised that crouton ubuntu is missing so much and the far reaching headaches that most forums will mislead you saying ‘dont worry, that module is loaded’

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s