Juergen Beisert <jbe@...> writes: > > Hi Dave, > > Dave Festing wrote: > > I can echo and cat /dev/ttyACM0 on my desktop installation of Ubuntu > > 10.02TLS, but there must be a different way of doing in on the mini2440! > > > > Doing cat /dev/ttyACMO just results in a long period of "thinking" before I > > hit CTRL C to get back to the prompt. > > Hmm, are you sure your external device sends some data which you can receive > via the 'cat' command?
Yes, the external device sends back a response to the right commands. I have got it working now, after using the right functions in PHP. Only anomaly now with echo, discovered when I tried to do a strace, is: strace echo PB0=1 > /dev/ttyACMO 2> out.txt works (turns an LED on), but echo PB0=1 > /dev/ttyACM0 doesn't work. Thanks again for the troubleshooting hints. Dave
