Skip to content
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

TWI Recovery in WSL2 #333

Open
Sarikano opened this issue Dec 11, 2023 · 2 comments
Open

TWI Recovery in WSL2 #333

Sarikano opened this issue Dec 11, 2023 · 2 comments

Comments

@Sarikano
Copy link

Hey guys,

do you think its possible to access TWI recovery over Windows somehow?

I tried to access via WSL2 and switchtec kernel. I needed to bind the USB-I2C device to the WSL2 but cannot get a connection to the device.
image
Do you think there is a possible workaround ?

@lsgunth
Copy link
Collaborator

lsgunth commented Dec 13, 2023

I don't have any experience with WSL2 but it sounds like the kernel doesn't have I2C support, or the I2c module is not loaded. You could try 'modprobe i2c-dev', failing that you may have to compile a kernel with CONFIG_I2C_CHARDEV set and possibly also a driver for the I2C device you are using.

I wouldn't be surprised if the WSL2 kernel has no I2C built in, but I have no idea.

@Sarikano
Copy link
Author

Sarikano commented Dec 13, 2023

Hey,

Thanks for your comment.
Meanwhile i found out that the wsl2 kernel does indeed not have the i2c module. So this is something i can confirm.

Currently trying to build my own kernel with it.

Will keep you on track

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants