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

Permission problem with testusbserial.py #38

Open
eadmaster opened this issue Jun 29, 2017 · 1 comment
Open

Permission problem with testusbserial.py #38

eadmaster opened this issue Jun 29, 2017 · 1 comment

Comments

@eadmaster
Copy link

eadmaster commented Jun 29, 2017

I am trying to run testusbserial.py on my Android 4 smartphone running sl4a via the QPython app.

The script runs fine until line 63, then a permission dialog shows up and after i confirm it keeps looping "waiting for connect...".

(I have a CH340 Arduino Nano connected to the USB OTG port, so i changed the lines 45 and 53 with the correct IDs.)

@kuri65536
Copy link
Owner

Sorry too late, I'm no longer use USBHostSerialFacade.
Above is for another users want to use CH340.

My USBHostSerialFacade is for limited serial devices.
Android USB Host programing is very low level and My USBHostSerialFacade is not created for various devices.

Maybe this proglem is caused by difference of USB commands among my PL3404, RL78 and your CH340.
CH340 users will need to change USBHostSerialFacade program.

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

No branches or pull requests

2 participants