我买了一个Arduino Uno并安装了Arduino IDE 1.6.5,但是当我想将一个skecht上传到Arduino开发板时,会出现以下错误:
avrdude: ser_open(): can't open device "COM1": No such file or directory
ioctl(“ TIOCMGET”):设备不正确的ioctl
我正在使用Ubuntu 14.04LTS
hakan@hakan-pc:~$ ls -l /dev/ttyUSB0
ls: /dev/ttyUSB0'e erişilemedi: Böyle bir dosya ya da dizin yok(In English: No such a file like this)
hakan@hakan-pc:~$ ls -l /dev/ttyS0
crw-rw-rw- 1 root dialout 4, 64 Tem 8 22:40 /dev/ttyS0
Arduino插入计算机dmesg时| 尾巴 :
hakan@hakan-pc:~$ dmesg | tail
[ 21.784795] sound hdaudioC1D3: hda-codec: out of range cmd 3:5:707:ffffffff
[ 21.784969] sound hdaudioC1D3: hda-codec: out of range cmd 3:5:707:ffffffbf
[ 21.786110] sound hdaudioC1D0: hda-codec: out of range cmd 0:5:707:ffffffff
[ 21.792705] sound hdaudioC1D0: hda-codec: out of range cmd 0:5:707:ffffffff
[ 26.849759] sound hdaudioC1D0: hda-codec: out of range cmd 0:5:707:ffffffbf
[ 27.515096] init: Failed to spawn nvidia-persistenced main process: unable to execute: No such file or directory
[ 43.647261] audit: type=1400 audit(1436384452.263:72): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2246 comm="apparmor_parser"
[ 43.647270] audit: type=1400 audit(1436384452.263:73): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2246 comm="apparmor_parser"
[ 43.647654] audit: type=1400 audit(1436384452.267:74): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2246 comm="apparmor_parser"
[ 87.513268] systemd-hostnamed[2572]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
我怎么解决这个问题?
dmesg
代码不包含有关插入arduino板的信息...请使用相关的arduino板进行更改。顺便说一句,LANG=C
在命令前添加英文错误消息。