jamesbowman / spidriver

SPI driver public repo
https://spidriver.com/
BSD 3-Clause "New" or "Revised" License
178 stars 56 forks source link

Under WSL, no serial device appears #11

Open jamesbowman opened 5 years ago

jamesbowman commented 5 years ago

Reported by @gojimmypi:

Device is not currently supported in WSL, as no device appears in /dev/

jamesbowman commented 5 years ago

This blog entry explains their naming conventions:

https://blogs.msdn.microsoft.com/wsl/2017/04/14/serial-support-on-the-windows-subsystem-for-linux/

So I would expect COM16 to appear under WSL as /dev/ttyS16 - does this make sense?

gojimmypi commented 5 years ago

Yes, that's appropriate, thanks.

In any case, it is not working for me: lsusb returns an error code = 1 and no devices at all listed. That command used to work. (lsusb -V returns lsusb (usbutils) 007).

Perhaps this is more of a WSL issue. I do have an outstanding issue https://github.com/Microsoft/WSL/issues/2185 that I should revisit. I'll keep poking around to see if I can get this working.

In any case - the SPIdriver is really quite cool. Thanks for creating and sharing! :)

shana321 commented 5 years ago

I'm so sad to know that this problem has not been solved yet.I meet this problem this day and I search for serveral hours for solutions.I use WSL in this day too when I feel so comfortable but now I think I start to hate it. It seems not many people pay attention to it,I tried to use my mother language (Chinese) to find solutions and I failed. Thank you for your studies,at any rate I get the answer.