geekhack
geekhack Projects => Making Stuff Together! => Topic started by: nandop on Thu, 13 November 2014, 18:52:17
-
The pin layouts are all 2 digit numbers (https://www.pjrc.com/teensy/pinout.html), when laying out the DDR, PORT manipulation, how would I do it? (DDR2 (1<<2) for port 22?)
-
The pin layouts are all 2 digit numbers (https://www.pjrc.com/teensy/pinout.html), when laying out the DDR, PORT manipulation, how would I do it? (DDR2 (1<<2) for port 22?)
Are you talking about hasu's TMK firmware, something else, or what? AFAIK, TMK is only for the ATmega32U4 (including Teensy 2.0), and wouldn't work with the ARM processor of the 3.1.
-
The pin layouts are all 2 digit numbers (https://www.pjrc.com/teensy/pinout.html), when laying out the DDR, PORT manipulation, how would I do it? (DDR2 (1<<2) for port 22?)
Are you talking about hasu's TMK firmware, something else, or what? AFAIK, TMK is only for the ATmega32U4 (including Teensy 2.0), and wouldn't work with the ARM processor of the 3.1.
Thank you, jdcarpe. Yes, I'm talking about Hasu's TMK firmware. It's a shame because I keep buying the wrong stuff. No more will I suffer though. :D
-
I think the Kiibohd firmware would work with a 3.0:
https://github.com/kiibohd/controller
If that's too much work I'll buy it from you :)
-
Well, there you go. I had no idea that the Kiibohd firmware supported Teensy 3.0/3.1.
-
I wasn't aware that the teensy 3/3.1 had firmwares supporting keyboards. kiibohd is the first i've seen myself. what keyboards does this fw support?
-
I wasn't aware that the teensy 3/3.1 had firmwares supporting keyboards. kiibohd is the first i've seen myself. what keyboards does this fw support?
Just from browsing the code in the github repo, it looks like quite a few older keyboards. But I'm sure it can be configured for any matrix combination, I just need to figure that out. Not quite as intuitive as TMK was for me, but it looks pretty comprehensive.
-
I think the Kiibohd firmware would work with a 3.0:
https://github.com/kiibohd/controller
If that's too much work I'll buy it from you :)
So many hours of looking, and looking, and here it is! Let me give it a try. Thank you so much! :D
-
do let us know if this works for you and what keyboard you're using it on.
-
kiibohd is the keyboard module HaaTa uses to convert things, that's why it's so modular, so he can configure a dedicated read / scan module for the KB in question, and compile the rest of everything to work.
I think he's re-writing everything for the new massdrop infinity keyboard and other stuff.
So that's why you see a lot of old/rare stuff in the current repo.
-
I'm trying to understand what to do, and like TMK, I'm looking for a matrix to modify so I can input mine. But all I can find is a matrix_scan.c/h inside "controller-master/Scan/matrix/~". But that's fine, because he said I'll only need to modify the CMakeLists.txt: "Look at each module individually for it's requirements. There is chip/architecture dependency checking but some permutations of modules may not be tested/compile."
*Does that mean don't worry about it, or a starting point to check if there is an error?(I'm such a noob... :confused: I wish I could download information to my brain like the Matrix :cool:)
I changed the CMakeList.txt so that the "mk20dx256" # Teensy 3.1 (arm) is selected (my chip). "WARNING: Not all modules are compatible, and some modules may have dependencies on other modules." This refers back to my initial concern, but I haven no idea how this may affect me in the future.
I have Mac/Windows and the Mac directions are so simple:
----------------------
Mac OS X Building
----------------------
From this directory.
mkdir build
cd build
cmake ..
make
----------------------
Mac OS X Loading Firmware
----------------------
First place the keyboard into re-flash mode.
This can be done either by pressing the re-flash button on the PCB/Teensy.
Or by entering the Kiibohd Virtual Serial Port and using the 'reload' command.
The 'load' script that is created during the build can load the firmware over USB.
To load the newly built firmware:
./load
**What is this though?:
----------------------
**Virtual Serial Port - CLI
----------------------
Rather than use a special program that can interpret Raw HID, this controller exposes a USB Serial CDC endpoint.
This allows for you to use a generic serial terminal to debug/control the keyboard firmware (e.g. Tera Term, minicom, screen)
----------
| Mac OS X |
----------
I recommend **screen (can be installed via Macports).
screen /dev/tty.<usb something>
Why is he recommending this? What exactly is he recommending?
I'm sorry for all of these questions, I just don't want to solder everything, run into a fatal error and put myself in a predicament of not being able to return the teensy 3.1. I have the 2.0 on the way and I'd be damned if I can't get that to work with Matt3o's guide.
-
I'm trying to understand what to do, and like TMK, I'm looking for a matrix to modify so I can input mine. But all I can find is a matrix_scan.c/h inside "controller-master/Scan/matrix/~". But that's fine, because he said I'll only need to modify the CMakeLists.txt: "Look at each module individually for it's requirements. There is chip/architecture dependency checking but some permutations of modules may not be tested/compile."
*Does that mean don't worry about it, or a starting point to check if there is an error?(I'm such a noob... :confused: I wish I could download information to my brain like the Matrix :cool:)
I changed the CMakeList.txt so that the "mk20dx256" # Teensy 3.1 (arm) is selected (my chip). "WARNING: Not all modules are compatible, and some modules may have dependencies on other modules." This refers back to my initial concern, but I haven no idea how this may affect me in the future.
I have Mac/Windows and the Mac directions are so simple:
----------------------
Mac OS X Building
----------------------
From this directory.
mkdir build
cd build
cmake ..
make
----------------------
Mac OS X Loading Firmware
----------------------
First place the keyboard into re-flash mode.
This can be done either by pressing the re-flash button on the PCB/Teensy.
Or by entering the Kiibohd Virtual Serial Port and using the 'reload' command.
The 'load' script that is created during the build can load the firmware over USB.
To load the newly built firmware:
./load
**What is this though?:
----------------------
**Virtual Serial Port - CLI
----------------------
Rather than use a special program that can interpret Raw HID, this controller exposes a USB Serial CDC endpoint.
This allows for you to use a generic serial terminal to debug/control the keyboard firmware (e.g. Tera Term, minicom, screen)
----------
| Mac OS X |
----------
I recommend **screen (can be installed via Macports).
screen /dev/tty.<usb something>
Why is he recommending this? What exactly is he recommending?
I'm sorry for all of these questions, I just don't want to solder everything, run into a fatal error and put myself in a predicament of not being able to return the teensy 3.1. I have the 2.0 on the way and I'd be damned if I can't get that to work with Matt3o's guide.