You are here

Inappropriate ioctl

1 post / 0 new
Roger Wolff
Last seen: 2 weeks 4 days ago
VESC FreeVESC Original
Joined: 2017-05-24 12:27
Posts: 202
Inappropriate ioctl

I am working on my motor controller.... Suddenly I get "inappropriate ioctl for device"  when pointing vesc_tool at my VESC device. I strace-ed vesc tool and: 

fcntl(13, F_SETFD, FD_CLOEXEC)          = 0
ioctl(13, TIOCEXCL)                     = -1 ENOTTY (Inappropriate ioctl for device)

ioctl(13, TCGETS, 0x7ffc165712a0)       = -1 ENOTTY (Inappropriate ioctl for device)

What could cause this? Kermit the communication program seems to be getting a similar error. Unplugging or powercycling has no effect. 



edit: Hmm. A reboot of my workstation fixed it.