Can't open ttyacm0

Dear Sir
I have a device with USB interface. When it attached to Raspberry Pi,
Raspberry identify it and open /dev/ttyacm0 successfully.
dmesg | tail
[  263.469323] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[  263.574846] usb 1-1.4: New USB device found, idVendor=2008,
[  263.574867] usb 1-1.4: New USB device strings: Mfr=1, Product=2,
[  263.574880] usb 1-1.4: Product: M6EM0714347028953018
[  263.574893] usb 1-1.4: Manufacturer: ThingMagic, Inc.
[  263.603336] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device
[  263.604324] usbcore: registered new interface driver cdc_acm
[  263.604335] cdc_acm: USB Abstract Control Model driver for USB modems
and ISDN adapters
But it is not working when it attached to nanopi M1. dmesg message as
[  601.504464] ehci_irq: highspeed device disconnect
[  668.494785] ehci_irq: highspeed device connect
[  668.700136] ehci_irq: highspeed device disconnect
[  668.700186] ohci_irq: fullspeed or lowspeed device connect
[  669.120158] usb 6-1: new full-speed USB device number 3 using sunxi-ohci
Could you help to solve this problem and open ttyacm0 . Thanks!

When I wanted to use a Teensy USB board on my mini2440 (as ttyacm0) I had
enable in the kernel:


and re-compile.

Might be your problem.

Hey thank you for the hint. Can you elaborate a bit more on how to do that?
I have the same problem with the NanoPi

Keywords < kernel compilation > 

On the command line in your linux-4.x.y directory that you are using for
the NanoPi type:

    make menuconfig

search for the entry CONFIG_USB_ACM

   say "y"

   make or sudo make

Find your new uImage and fuse that to the microSD card.

Hope your host is set up for cross-compiling.


eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number: 2 3 1 6