Pololu A-Star

Hi,

I have bought a couple of the above from you and would like to find out some further details.

My project are supposed to collect system info from my Linux box (Ubuntu 12.04) and display on the LCD attached to the A-Star. I have no trouble uploading my codes to the board in windows. When I attached it to the Linux box, I see /dev/ttyACM0 created. When dmesg I see the following:-

[707505.458869] usb 2-1.5: new full-speed USB device number 37 using ehci_hcd
[707505.552461] usb 2-1.5: New USB device found, idVendor=1ffb, idProduct=0101
[707505.552467] usb 2-1.5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[707505.552469] usb 2-1.5: Product: Pololu A-Star 32U4 Bootloader
[707505.552471] usb 2-1.5: Manufacturer: Pololu Corporation
[707505.552930] cdc_acm 2-1.5:1.0: ttyACM0: USB ACM device
[707513.415696] usb 2-1.5: USB disconnect, device number 37
[707513.614578] usb 2-1.5: new full-speed USB device number 38 using ehci_hcd
[707513.709936] usb 2-1.5: New USB device found, idVendor=1ffb, idProduct=2300
[707513.709940] usb 2-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[707513.709943] usb 2-1.5: Product: Pololu A-Star 32U4
[707513.709945] usb 2-1.5: Manufacturer: Pololu Corporation
[707513.710333] cdc_acm 2-1.5:1.0: This device cannot do calls on its own. It is not a modem.
[707513.710350] cdc_acm 2-1.5:1.0: ttyACM0: USB ACM device
[707513.711964] input: Pololu Corporation Pololu A-Star 32U4 as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2/input/input26
[707513.712234] hid-generic 0003:1FFB:2300.0010: input,hidraw1: USB HID v1.01 Mouse [Pololu Corporation Pololu A-Star 32U4] on usb-0000:00:1d.0-1.5/input2

The problem I am facing is that the /dev/ttyACM0 seems only activated as a HID input device and I am not able to open /dev/ttyACM0 as an usb serial. Am I missing some steps? Please advice

Regards
Beh

Hello, Beh.

By default, the A-Star is a composite device with one virtual COM port and one HID. This is true in both Windows and Linux, and there are more details about it in the section entitled “The A-Star 32U4 USB Interface” in the A-Star 32U4 Micro user’s guide. The dmesg output you provided looks normal. Is there something preventing you from programming the A-Star? Since you are using Ubuntu, be sure to follow the extra instructions in README.txt of the A-Star Software and Drivers download.

–David

Hi,

Noted on the notes on USB as suggested by you.
It was my mistake as in one of my code I was still opening /dev/ttyUSB0 instead of /dev/ttyACM0. That was my issue as I was not able to communicate thru the virtual com and I thought it was related to the HID input class.

Thanks.

Regards
Beh