Re: read repeats data ACM device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2 Dec 2010 20:03:48 +0000, "Alan Cox" said:
> > The following is the result of a single
> > 
> > $ (cat /dev/ttyACM0 | od -c) &
> > $ echo \#VER > /dev/ttyACM0
> > 
> > c787f500 1382722508 S Bo:1:002:4 -115 4 = 23564552
> > c787f580 1382722635 S Bo:1:002:4 -115 2 = 0d0a		; end of "#VER"
> > c787f500 1382722747 C Bo:1:002:4 0 4 >
> > c787f580 1382724760 C Bo:1:002:4 0 2 >
> > c787f480 1382725766 C Bi:1:002:3 0 4 = 23564552
> > c787f480 1382725832 S Bi:1:002:3 -115 32 <
> > c787f400 1382726758 C Bi:1:002:3 0 32 = 0d0d0a4f 4b0d0a53 575f5645 5253494f 4e3a2053 54554946 43205631 2e302e30
> > c787f400 1382726807 S Bi:1:002:3 -115 32 <
> > c787f380 1382727766 C Bi:1:002:3 0 2 = 0a20		: end of response
> > c787f380 1382727819 S Bi:1:002:3 -115 32 <
> > c787f500 1382728763 S Bo:1:002:4 -115 1 = 23		; WHO SENDS THIS?
> 
> At a guess you have echo enabled on the port ?

I feel really dumb now...

A 'stty -echo' fixed it.  Don't tell anybody ;-)

OK, back to the real problem.

Thank you for your help!
  Vitus
-- 
Vitus Jensen, Germany, Earth, Universe (current)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux