Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't get serial to work #42

Closed
unphased opened this issue May 31, 2015 · 2 comments
Closed

Can't get serial to work #42

unphased opened this issue May 31, 2015 · 2 comments

Comments

@unphased
Copy link

Hi, I built my infinity keyboard today and I'm on a Mac trying to receive serial output. I figured I want to get debug output working first before diving into KLL and other things!

I do have a /dev/tty.usbmodem1423 that exists whenever the keyboard is plugged in, and also the keyboard does work when plugged in, the orange LED does light if I press the flash button, and indeed ./load works at this point.

But I am unable to receive any output when I run screen /dev/tty.usbmodem1423.

In the wiki, TODO: Add a summary of useful commands one might want to use in the serial console. I was wondering maybe someone can elaborate on that? I read somewhere I should be able to make the LED come on if i type led into the serial, but this does not happen. So it seems like I have not actually been able to establish a serial connection here.

@haata
Copy link
Member

haata commented May 31, 2015

When the orange LED is on the keyboard is in "Bootloader Mode" so the USB serial port wont function.

Just in case there are issues with the default image that may have been fixed. I would suggest going to the configurator and just click on download firmware without changing anything. That will give you a basic layout.

Once you connect to the USB serial port press enter a few times and you should get a prompt.
The help command should give you all the basics (for more detailed command info you'll have to look into the code).
If you want to test to see if the serial port is working (but can't see what you are typing), type led then press Enter. The led should toggle.

@unphased
Copy link
Author

Aha. I was attempting to do this from within tmux, and I guess there are issues with this, I am now able to get the serial working fine once attempt to use screen from a regular terminal instead of a tmux hosted pseudoterminal. led command indeed does work! Sweet. The serial prompt indeed looks self-explanatory, and it even provides color.

Thanks for the tips. I already know that the configurator will not satisfy me, I intend to customize the snot out of this thing.

this fixes the tmux issue, btw.

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

No branches or pull requests

2 participants