Modify

Opened 4 years ago

Last modified 4 years ago

#14287 new defect

USB Serial Converter (cdc_acm) not working on WBMR-HP-G300H

Reported by: rjenster@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Attitude Adjustment 12.09
Keywords: Cc: rjenster@…

Description

Hi,

I'm trying to get my router WBMR-HP-G300H talking to my arduino uno through the onboard USB port. The arduino uno is attached through its builtin USB-To-Serial converter to /dev/ttyACM0 and uses the cdc_acm driver. Unfortunately I cat get no serial output from the arduino. The following is a simple loopback sketch for the arduino that echoes input. This works fine on another machine (thinkpad x40, with arch linux).

void setup() {
  Serial.begin(9600);
}

void loop() {
  int available = Serial.available();
  for(int i = 0; i < available; i++) {
    Serial.write(Serial.read());
  }
}

To isolate the problem I've attached another USB-To-Serial converter using the pl2303 driver with a loopback cable. This converter is working as expected. I get the the input echoed back as expected.

listen for output

stty -F /dev/ttyUSB0 -echo -onlcr
cat /dev/ttyUSB0

write something

echo "C" > /dev/ttyUSB0

I wonder if it's worth building the package kmod-usb-acm with debugging enabled? Can someone please help me here what is best to do nex? Since the kernel is rather old 3.3.8 mips GNU/Linux I wonder if a newer kernel fixes this problems because there are a lot of changes concerning the cdc_acm driver?

Cheers,
Ruben

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.