Hi friends, I'm trying to connect Arduino board directly to the RD-PQ via USB, but I had no success to communicate with it. Tizen identifies Arduino, but I need Arduino board as a serial device to be able to send and receive instructions by its port.
This is the output of lsusb (Arduino part): -sh-4.1# lsusb -v > Bus 002 Device 004: ID 2341:0043 > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 1.10 > bDeviceClass 2 Communications > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 8 > idVendor 0x2341 > idProduct 0x0043 > bcdDevice 0.01 > iManufacturer 1 Arduino (www.arduino.cc) > iProduct 2 > iSerial 220 8533931323335141F1A0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 62 > bNumInterfaces 2 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xc0 > Self Powered > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 2 Communications > bInterfaceSubClass 2 Abstract (modem) > bInterfaceProtocol 1 AT-commands (v.25ter) > iInterface 0 > CDC Header: > bcdCDC 10.01 > CDC ACM: > bmCapabilities 0x06 > sends break > line coding and serial state > CDC Union: > bMasterInterface 0 > bSlaveInterface 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0008 1x 8 bytes > bInterval 255 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 10 CDC Data > bInterfaceSubClass 0 Unused > bInterfaceProtocol 0 > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x04 EP 4 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > Device Status: 0x0000 > (Bus Powered) Tizen identifies Arduino as the Device 004, and place it at /dev/usbdev2.4. I need that Arduino be located at /dev/ttyACM# or /dev/ttyUSB#. I've tried to run insmod (as informed here: http://www.linux-usb.org/USB-guide/x356.html), but the module usb-serial.o wasn't found. I found the follow documentations about it: https://wiki.tizen.org/wiki/USB/Linux_USB_Layers/Configfs_Composite_Gadget/Usage_eq._to_g_serial.ko https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/io/serial_port_comm.htm But I'm still unable to communicate with Arduino. It's a simple test that I want to run now: send 'H' to put the LED ON and 'L' to take it OFF. The code to recognize it was already uploaded to the board. I'm working hard to integrate both, and if someone have an idea about what's going on I would appreciate. Thank you friends. -- *Edgar Eler*
_______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
