From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9dd7dcc8bad9e422d7d6e8d8f6dc20c3@hamnavoe.com> To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Tue, 14 Aug 2018 13:16:56 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] How read data from USB-device ? Topicbox-Message-UUID: da0b4700-ead9-11e9-9d60-3106f5b1d025 > mk: don't know how to make 'acm.h' in directory /sys/src/cmd/usb/serial Sorry, I thought that was already in the distributed version. I've updated the serial.tar file, so it should be complete now if you try again. > And how do I read data (if possible, not through C)? Set the baud rate with echo b9600 >/dev/eiaU?/eiaUctl and then you can receive data with cat /dev/eiaU?/eiaU or set up an interactive conversation, as Steve Simon suggested, with con /dev/eiaU?/eiaU More information is in the manual - uart(3), usb(4), con(3)