<div dir="ltr"><div>Hello Kevin,</div><div><br></div><div>I'm working on porting the CDC Serial device driver to beagle. <br></div><div>(RTEMS is the device and Linux as host)<br></div><div>I see you have ported USB Serial drivers some time back. <br></div><div>I hope that you can help me clear my doubts.</div><div><br></div><div>In your case how did you use a USB Serial adapter and how did you start a shell <br></div><div>on that device?</div><div>Do USB Serial adapters need special handling?</div><br>I used the umodem driver with the usb modem template.<br><div>Isn't umodem for host and device?<br><br></div><div>Linux host: sees a ttyACM0 and serial programs can open it.<br></div><div>RTEMS device: ttyU0 and cuaU0 devices are created. (But can't communicate.)<br><div>ttyU0.lock, ttyU0.init, cuaU0, ... files are also there. <br></div><div>What do these files do?<br><br></div></div><div>Github branch: <a href="https://github.com/drac98/rtems-libbsd/commits/usb-serial" target="_blank">https://github.com/drac98/rtems-libbsd/commits/usb-serial</a><br></div><div><br></div><div>If someone can help me out with any clue that'll be really helpful.<br></div><br><div>Best regards,</div><div>Husni.<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 24, 2021 at 3:32 PM Ahamed Husni <<a href="mailto:ahamedhusni73@gmail.com" target="_blank">ahamedhusni73@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div><br></div><div>In phase one of the GSoC I ported the usb template driver and the CDC Ethernet template (Template for Ethernet over USB) to the RTEMS LibBSD. The driver was tested in the 6-freebsd-12 and the master branch. I have prepared a report for phase one.</div><div><a href="https://drac98.github.io/2021/07/13/gsoc-2021-mid-report.html" target="_blank">https://drac98.github.io/2021/07/13/gsoc-2021-mid-report.html</a></div><div><br></div><div>RTEMS LibBSD doesn't have any documentation in the RTEMS Documentation Project. So I documented the driver by creating a frame for the LibBSD. Please have a look and give me your feedback.</div><div><a href="https://github.com/drac98/rtems-docs/commits/libbsd" target="_blank">https://github.com/drac98/rtems-docs/commits/libbsd</a></div><div><br></div><div>I'm working on TTCP benchmarking for the USB Ethernet.<br></div><div><br></div><div>For phase two first I'll port the USB Serial template.</div><div><br></div><div>Thank you,</div><div>Husni.</div></div>
</blockquote></div>