-
Notifications
You must be signed in to change notification settings - Fork 836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no usb devices; lsusb returns error code 1; /sys/bus/usb/devices: No such file or directory #3745
Comments
thanks for the prompt reply. respectfully, I don't think this is a duplicate of the other issues regarding specialized USB hardware (such as my Olimex JTAG debugger in #2185) I'm also not getting the same I believe this used to work for me, and in fact - appears to work for others as noted here. Note that no USB devices are now working in WSL for me. Not even basic serial COM ports. |
From your strace:
No,
I wouldn't know about that. Either way those are not USB devices they are RS232 ( If your problem is with |
@therealkenc well, you are (of course) quite right; apparently the tinyFPGA board can use either serial or USB drivers - and I was chasing the wrong problem assuming it was the USB issues. In any case - thanks for your prompt replies. I believe there's still something weird with the serial drivers in WSL. Explicitly naming the serial port to program the board does work: Also, sending command to exit bootloader to the device with Other command that should work (and do in DOS prompt), do not work in WSL:
I'm still fairly certain that this previously worked - that all the commands worked without needed to explicitly name the serial port. But until I have more concrete evidence, I will hold off on opening a new WSL GitHub issue. If anyone else comes here looking, I wrote a blog about it here and in particular lawrie.griffiths pointed out key information in the tinyFPGA discourse forum. |
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.194]
I'm trying to list USB devices from within WSL; No devices are listed, despite being visible in Windows.
In WSL,
lsusb
command returns error code 1. Usinglsbusb -t
returns more information indicating that:This used to work as of a few months ago (I believe prior to my Windows 1809 update). I had used the WSL to successfully program the tinyFPGA as noted here.
All the latest Windows updates have been applied; Also ran
sudo apt-get update
in WSL and rebooted.Note the tinyFPGA usb device is otherwise visible and operational from a CMD/DOS prompt:
I'm also able to see and use other COM port devices in Windows with putty, just not in WSL. The problem appears to be isolated to WSL.
Further, I've tried to:
The lsusb command should not return an error; instead a list of usb devices should be displayed
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).Please see https://gist.github.com/gojimmypi/eee6efbb4092ccc55178717adcafccbe
I do not believe this a WSL launch problem.
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: