-
Notifications
You must be signed in to change notification settings - Fork 5
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
Have the script interactively ask for the correct FTDI device #5
Comments
To get you unstuck, you can explicitly set a device by setting COM_OVERRIDE to the name of your preferred device near the top of tinkup.py (line 11 at the moment). This will prevent the automatic device enumeration from occurring and always attempt to use the device you prefer. An interactive selector could be a nice-to-have feature so I'll take a look at some point. Thanks for the feedback. |
@rmull I am also having this issue. I have tried every possible name for my device but I can not get it to work. Do you have more details on how to use COM_OVERRIDE? here's the info on my device: FT232R USB UART: Product ID: 0x6001 which piece should I use for the "device name"? |
If you open a terminal and run:
It should print a list of all of the serial ports currently recognized by your OS. You will need to identify which one belongs to your RetroTINK - try running the command with and without the device plugged in to see what changes. Set COM_OVERRIDE equal to that serial port name wrapped in single quotes. |
upon running /dev/cu.Bluetooth-Incoming-Port I tried adding "AB0NLFM4" to the python script but then I got an error "Could not open device at AB0NLFM4" |
I just got it to work by adding "/dev/cu.usbserial-AB0NLFM4" to the python script. thank you so much! I have been struggling with this forever! |
Happy to help, glad to hear it's working now. |
I know you have the script abort when there is more than one device but I just tried it on my Mac and I only had one device connected and it still says there are multiple devices. Is there any way to have the script prompt to select the correct device?
The text was updated successfully, but these errors were encountered: