Ask Your Question

ls: cannot access /dev/ttyACM0: No such file or directory

asked 2012-08-08 15:10:20 -0500

Hi, I have installed the Hokuyo UTM-30LX driver as followed by And then I typed $ls -l /dev/ttyACM0 in the terminal, but it displayed that ls: cannot access /dev/ttyACM0: No such file or directory. Why? Any help is appreciated!!!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-08-08 23:08:20 -0500

dornhege gravatar image

There is no device. Is it plugged in and powered up properly?

The device might also be any like /dev/ttyACM*.

Are there any error messages when you type dmesg? To check what is relevant, unplug the device, dmesg, replug it, dmesg, and see what changes. There should be either some messages reported the new device (also giving the device) or error messages.

edit flag offensive delete link more

answered 2013-12-16 07:38:53 -0500

Hi all. Thank you for your advice! I have solved the problem by following:

I think the main problem is that the port permission is denied, and we could get access by typing the

$ sudo chmod a+rw /dev/ttyACM0

to get access.

Hopefully it also works to you guys:)

edit flag offensive delete link more



This doesn't solve the original problem. If it was a permission problem you would have seen an error message similar to: Permission denied, not No such file or directory.

dornhege gravatar image dornhege  ( 2013-12-16 07:40:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-08-08 15:10:20 -0500

Seen: 30,722 times

Last updated: Dec 16 '13