From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <05b6b99b5eb2895b34e7d17339a743db@hamnavoe.com> References: <05b6b99b5eb2895b34e7d17339a743db@hamnavoe.com> From: =?UTF-8?B?0J7Qu9C10LMg0JHQsNGF0LDRgNC10LI=?= Date: Tue, 14 Aug 2018 14:09:35 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary="000000000000d0f6100573633ec2" Subject: Re: [9fans] How read data from USB-device ? Topicbox-Message-UUID: da030914-ead9-11e9-9d60-3106f5b1d025 --000000000000d0f6100573633ec2 Content-Type: text/plain; charset="UTF-8" Thank you very much, Richard! You correctly understood about the adapter. Tell me, please, how to perform the installation (there is no Internet on Raspberry Pi, but I can transfer files via drawterm)? And how do I read data (if possible, not through C)? 2018-08-14 12:46 GMT+03:00 Richard Miller <9fans@hamnavoe.com>: > > usb/probe result: > > ep5.0 255 csp 0x0000ff csp 0x0201ff vid 0x1a86 did 0x7523 none > dwcotg > > That's a CH341 adapter. I have a driver which should work. You can fetch > an > updated usb/serial command from http://www.hamnavoe.com/usbserial (use > hget). > If you want to build from source, updates to /sys/src/cmd/usb/serial are in > http://www.hamnavoe.com/serial.tar > > I would put a patch on sources but the Bell Labs server is unresponsive > at present. > > > --000000000000d0f6100573633ec2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much, Richard! You corr=
ectly understood about the adapter. Tell me, please, how to perform the ins=
tallation (there is no Internet on Raspberry Pi, but I can transfer files v=
ia drawterm)? And how do I read data (if possible, not through C)?


2018-08-14 12:46 GMT+03:00 Richard Miller <9fans@hamnavo= e.com>:
&g= t; usb/probe result:
> ep5.0 255 csp 0x0000ff csp 0x0201ff vid 0x1a86 did 0x7523 none <nil= > dwcotg

That's a CH341 adapter.=C2=A0 I have a driver which should work.= =C2=A0 You can fetch an
updated usb/serial command from http://www.hamnavoe.com/usbser= ial (use hget).
If you want to build from source, updates to /sys/src/cmd/usb/serial are in=
http://www.hamnavoe.com/serial.tar

I would put a patch on sources but the Bell Labs server is unresponsive
at present.



--000000000000d0f6100573633ec2--