I'm currently using the Arduino board for this, though once I'm done prototyping my project I hope to switch to the Mini breakout board. I'm assuming that it'll work the same way on both boards, putting the Edison in USB host mode.
Yeah when I referred to the "unofficial opkg repos" I was talking about AlexT_Intel's awesome repos, I haven't been able to find a CP2102 driver in there.
I'm sorry, I should have known that you alredy had AlexT's repos.
Since you're using the Arduino Expansion Board, did you change the micro-switch to host mode? ( I know you probably have since it's recognizing the device, but I just wanted to check).
Just out of curiosity, what are you trying to connect to your Edison?
If you're still not able to see your device, maybe you should use udev, "udev is the device manager for the Linux kernel. Primarily, it manages device nodes in /dev. It is the successor of devfs and hotplug, which means that it handles the /dev directory and all user space actions when adding/removing devices, including firmware load."
You can learn how to use udev following this link, there's examples and libraries you might need.
Not at all, I appreciate the help, and I'm pretty new at this stuff so it's good to double check my assumptions.
As you suspect, yes, I have the switch set to host mode, so the device is showing up fine in dmesg. I'm trying to connect this Z-Wave control device: Amazon.com: Aeon Labs DSA02203-ZWUS Z-Wave Z-Stick Series 2 USB Dongle: Computers & Accessories with the end-goal of using the open-zwave project to control it. I've got everything working on my linux desktop, so it's hopefully just a matter of getting my Edison set up properly.
I was under the impression that a missing kernel module was the issue, similar to how you need to install the ftdi_sio module from the opkg repo in order to use that virtual serial device. Maybe that's a bad assumption though, I'll try out the udev stuff tonight and see if it just needs to be explicitly told to mount the virtual serial interface. Thanks!
OK, I've figured it out. I started googling things related to the udev page you linked, and ran across this post by AlexT_Intel explaining how to compile a new kernel module for the Galileo: Reconfiguring Linux kernel and adding drivers into Galileo's Linux image . That was super helpful, after experimenting with it a bit I was able to compile the Edison Yocto kernel with the cp210x USB serial driver enabled, generating the package I need: kernel-module-cp210x_3.10.17+git0+6ad20f049a_c03195ed6e-r0_edison.ipk
I copied that over to my Edison, opkg install'd it, and now my device is immediately attached as /dev/ttyUSB0 when I plug it in, no further configuration required. Hooray!
Is there a procedure for getting the module added to the unofficial opkg repos? I'm sure others will want it too.
I'm building the module right now and will upload it to the repo later today.
...and the module is now in the repo.
Oh cool, thanks AlexT
You are welcome.
Please mark this question as answered as I guess it actually is That would help those looking for similar information and give the hint to Intel support team that the help is no longer required in this thread.
I'd like to install the CP2102 driver on my ww05-15 Edison Arduino board using the driver in your repository. This is what happens:
Installing kernel-module-cp210x (3.10.17+git0+6ad20f049a_c03195ed6e-r0) to root...
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kernel-module-cp210x:
* kernel-3.10.17-yocto-standard *
* opkg_install_cmd: Cannot install package kernel-module-cp210x.
root@Max:~# uname -r
I'm not a Linux expert, it seems me that the kernel name is different. I hope I don't need to make a custom image.
Can you please help me?
You need to install the dependencies (kernel-image and kernel packages):
After that Cp210x package will install correctly.
Please note it seems (@intel any light on this?) you can ignore the following error installing the first package:
ln: //boot/bzImage: Operation not permitted
* copy_file_chunk: write: No space left on device.
thank you for your answer I'll try it tomorrow.
About the error message, you probably refer to this thread: FTDI USB Driver "kernel-module-ftdi-sio" Edison does not assign ttyUSBx to a USB - RS422 FTDI cable