Ask Your Question
0

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 http://www.isep.ipp.pt/roswiki/hokuyo_node%282f%29Tutorials%282f%29UsingTheHokuyoNode.html. 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
3

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
0

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

Hi all. Thank you for your advice! I have solved the problem by following: http://mirror.umd.edu/roswiki/hokuyo_node%282f%29Tutorials%282f%29UsingTheHokuyoNode.html

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

Comments

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 imagedornhege ( 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

Stats

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

Seen: 21,714 times

Last updated: Dec 16 '13