Go Down

Topic: Can Yun USB talk to Mega 2560 USB? (Read 1 time) previous topic - next topic

mdoan7

Hi,

I want to control an Ultimaker2 via the usb connection. UM2's usb port is supposedly an Arduino Mega 2560. When I plug a Yun usb to the UM2... I can see the usb device via lsusb:

Code: [Select]

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 007: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader


But looking at /dev/tty* doesn't show any new ports.

Any ideas?

jessemonroy650

#1
May 06, 2015, 12:18 am Last Edit: May 06, 2015, 12:25 am by jessemonroy650
Hi,

I want to control an Ultimaker2 via the usb connection. UM2's usb port is supposedly an Arduino Mega 2560. When I plug a Yun usb to the UM2... I can see the usb device via lsusb:

Code: [Select]

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 007: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader


But looking at /dev/tty* doesn't show any new ports.

Any ideas?
@mdoan7,

I don't know, but you may need a driver.  Try dmesg and see what was installed.

also goggle Arduino SA Mega 2560

This showed up in the search

http://www.ladyada.net/learn/arduino/lesson0-lin.html

Remember, this is an OpenWrt kernel, not a stock or standard kernel. Meaning, it is unlikely you have any drivers installed - beyond the minimum.

If you need a driver, these links might help.

arduino/openwrt-packages-yun
https://github.com/arduino/openwrt-packages-yun

Yún Software Packages
http://codesnippets.altervista.org/documentation/yun/packages/packages.html

The Yún CLI Tools
http://codesnippets.altervista.org/documentation/yun/CLI_tools/CLItools.html

Jesse

sonnyyu

Code: [Select]
opkg update
opkg install kmod-usb-acm


Code: [Select]
ls -al /dev/ttyACM0
crw-rw-rw-    1 root     root      166,   0 May  6 01:20 /dev/ttyACM0







mdoan7

I found the kmod-usb-acm shortly after posting the question and it's working nicely now. Thanks everyone for the detailed responses. Awesome forum never fails.

Go Up