Author Topic: GH60 prototype betatesting [Call for layouts, GUI testing]  (Read 183621 times)

0 Members and 1 Guest are viewing this topic.

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #450 on: Thu, 16 May 2013, 17:14:26 »
I want to make
FN + Esc = ~
Shift + Esc = `
You can't really do this, because ~ and ` is one code. If you're holding shift, your OS will interpret ~/` as ~, not `...
You can do the opposite though.
Set fn to go to layer 1 on press and layer 0 on release, set shift the same. On layer 1 inherit all the keys from layer 0 and redefine esc to be ~/`
On layer 1 inherit all keys from layer 0 and redefine esc ti

Thanks komar!

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #451 on: Tue, 28 May 2013, 15:36:51 »
Could the gh60 software have a option added to export the generated hex file?
This way we could make backups of the firmware and flash it manually and/or share the completed firmware with others?

Offline engicoder

  • Posts: 721
  • Location: North Carolina
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #452 on: Tue, 28 May 2013, 16:23:03 »
Komar already created a version that does this...

http://geekhack.org/index.php?topic=37570.msg827049#msg827049
   

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #453 on: Tue, 28 May 2013, 17:50:28 »
Komar already created a version that does this...

http://geekhack.org/index.php?topic=37570.msg827049#msg827049

Thanks! I do not know how I missed that. :(

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #454 on: Sat, 06 July 2013, 13:41:12 »
komar does your firmware have a debug mode?

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #455 on: Sat, 06 July 2013, 13:48:01 »
No, it doesn't. What would the debug mode do? I was thinking about implementing one where it sends the current layer number to the GUI and the GUI presents the actual keycodes on this layer. Any other ideas?
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Tranquilite

  • Posts: 144
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #456 on: Sat, 06 July 2013, 14:22:19 »
The most useful keyboard debug feature for me is in hasu's firmware where you can enable debug print statements. Very useful for making sure the parts of code you are working on are executing as expected.

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #457 on: Sat, 06 July 2013, 14:38:12 »
Oh, you mean for development. It can be done, sure.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #458 on: Sat, 06 July 2013, 17:31:13 »
The most useful keyboard debug feature for me is in hasu's firmware where you can enable debug print statements. Very useful for making sure the parts of code you are working on are executing as expected.

this is what I was thinking of.

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #459 on: Sun, 07 July 2013, 10:32:04 »

GH60 rev. B prototype dimensions


EDIT: I decided to move this to the original GH60 development thread: http://geekhack.org/index.php?topic=34959.msg954124#msg954124
« Last Edit: Mon, 08 July 2013, 12:48:20 by komar007 »
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline TheSoulhunter

  • Posts: 1169
  • Location: Euroland
  • Thorpelicious!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #460 on: Tue, 09 July 2013, 14:42:00 »
I will go with this layout...



It fixes most things I didn't like on the Poker or on standard keyboards:

1. Capslock
As most other people I never really used Capslock, so I replaced it with "DEL" on my Poker, but on my GH60 layout I will use it as secondary Layer modifier -> It's easy to locate and doesn't interfere much with the assigned 3rd layer buttons (most important the arrow buttons which would be used with the right hand while left presses the layer button).

2. Right Winkey
I never used the right winkey (right "ALT" and "CTRL" not that much either) so I removed the key, put "MENU" and "CTRL" one position to the left, and used the rightmost key as Layer button. Again, it's location is easy to find and it doesn't infer much with the assigned 2nd layer buttons (most important the WASD nav cluster which would be used with the left hand while the right presses the layer button).

3. Arrow keys
These are placed bottom right (as supposed to be) displaced one button to the left so they don't use the shift for "UP" as on the poker. They can be used by either by pressing Layer2 with the right pinky (while the other fingers press the arrow keys) or by pressing Layer3 with the left hand, whatever fits the situation best (single quick taps or continuous presses like when cycling through something).

4. Nav keys
I put these on WASD, mainly because it's position is easy to locate (if you game... and don't use one of the less common gaming key bindings). Also it's possible to use these keys along with the arrow keys without much interference.

5. Delete key and Backspace
I never liked that "\|" is assigned to a non 1x1 key which is also in a relative prominent position (outer edge between enter and backspace, wtf!?), also I really liked how the HKKB uses its position for "DEL/Backspace" (takes just some hours getting used to it) so I picked up that idea but gave delete a separate key (by splitting backspace) and put it top right, left to it I put the tilde/grave key (its imo a much better position for it than on FN+Esc as all other "signs" are on the num row and right side of the board as well). Considered putting backspace on the top right corner and "DEL" where "\|" was, but I think that backspace should get the bigger key and that "DEL" should be on the other end of "ESC".

6. Numberpad keys
On Layer3 I put the numpad numbers in the numrow (what a sentence, huh?) simply because some applications I use demand numpad inputs (numrow keys wont work).

7. Umlauts and Add-Ons
As I'm from Euroland I sometimes need Umlauts, so I put em on appropriate keys on Layer3. I also added Pause/Print on "P" and a taskmanager shortcut on "TAB".
« Last Edit: Tue, 09 July 2013, 14:48:39 by TheSoulhunter »

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #461 on: Fri, 13 September 2013, 03:08:09 »
Hello,guys! I made that PCB on my country. depend on pcbcart_gh60_rev_b_v2 version. when I received the PCB and SMT components and I assembled all together. I flash the  ukbdc_gh60-0.2_rc2.hex and  ukbdc_gh60-0.1.hex firmwares and it does't work... And the ukbdc_gh60-0.2_rc2_std_layout.hex firmware I flashed it can work but the "8, I. K, M"(col9) key can't work. Can any one help me ?
sorry for my poor english  :)
« Last Edit: Fri, 13 September 2013, 03:49:49 by Kdash »

Offline jen1982

  • Posts: 1
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #462 on: Fri, 13 September 2013, 03:34:03 »
I also met upstairs this problem.!!!!

Offline hasu

  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #463 on: Fri, 13 September 2013, 04:11:38 »
Checked rev B schematic and found its pin configuration diffesr from rev A! Firmware of rev A is incompatibile to rev B PCB.
RevB use PB7 for col9(8,I,K,M) instead of PB0 of RevA. You need to change source and build firmware.

Rev A PCB won't be supported by future release of firmware anymore?
« Last Edit: Fri, 13 September 2013, 04:16:47 by hasu »

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #464 on: Fri, 13 September 2013, 04:26:39 »
Checked rev B schematic and found its pin configuration diffesr from rev A! Firmware of rev A is incompatibile to rev B PCB.
RevB use PB7 for col9(8,I,K,M) instead of PB0 of RevA. You need to change source and build firmware.

Rev A PCB won't be supported by future release of firmware anymore?
thank you for your reply! So i need to modify the source code and build my own version of firmware? I did the rev B PCB.
« Last Edit: Fri, 13 September 2013, 05:06:24 by Kdash »

Offline hasu

  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #465 on: Fri, 13 September 2013, 05:36:34 »
Kdash,
Right.

I think you got rev B gerber files from this komar's blog page. I downloaded, checked the gerbers and confirmed it uses PB7 for col9.
http://blog.komar.be/projects/gh60-programmable-keyboard/


I guess you need change this line, replace B0 with B7.
https://github.com/komar007/ukbdc/blob/master/platforms.c#L49

Offline domoaligato

  • * Exquisite Elder
  • Posts: 1672
  • Location: USA
  • All your base are belong to us!
    • All your base are belong to us!
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #466 on: Fri, 13 September 2013, 08:46:10 »
Checked rev B schematic and found its pin configuration diffesr from rev A! Firmware of rev A is incompatibile to rev B PCB.
RevB use PB7 for col9(8,I,K,M) instead of PB0 of RevA. You need to change source and build firmware.

Rev A PCB won't be supported by future release of firmware anymore?

Can rev a be copied to a new folder so that development of rev b doesn't overwrite it? Please :D
« Last Edit: Mon, 16 September 2013, 12:29:09 by domoaligato »

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #467 on: Fri, 13 September 2013, 11:50:41 »
Kdash,
Right.

I think you got rev B gerber files from this komar's blog page. I downloaded, checked the gerbers and confirmed it uses PB7 for col9.
http://blog.komar.be/projects/gh60-programmable-keyboard/


I guess you need change this line, replace B0 with B7.
https://github.com/komar007/ukbdc/blob/master/platforms.c#L49
Thank you! hasu~ I fix it, and it works correctly.  I can't build the komar's version ,so I modify your source code I find it and change it.
 Yes! It works!

Offline metalliqaz

  • * Maker
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #468 on: Fri, 13 September 2013, 11:52:46 »
The Rev B design is the final design?

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #469 on: Fri, 13 September 2013, 13:22:38 »
IN the GB thread, WFD did say he wanted to make a few changes, I'll wait for the team to reply.

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #470 on: Thu, 19 September 2013, 03:02:45 »
Hi,
sorry for the delays, I've just come back from holidays.
I'm slowly catching up with life, so bear with me.
As you've correctly noticed, the topology of the board has changed slightly, so the firmware needs an update.
Of course the old rev. A will still be supported by the official firmware.
It's also good to hear people are producing rev. B boards themselves

Rev. B is the final design (electrically speaking), only minor mechanical changes will be made, so rev. C will be firmware-compatible.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline The_Beast

  • * Maker
  • Posts: 3964
  • Location: Wisconsin
  • I like wood ಠ_๏
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #471 on: Thu, 19 September 2013, 09:10:44 »
Hi,
sorry for the delays, I've just come back from holidays.
I'm slowly catching up with life, so bear with me.
As you've correctly noticed, the topology of the board has changed slightly, so the firmware needs an update.
Of course the old rev. A will still be supported by the official firmware.
It's also good to hear people are producing rev. B boards themselves

Rev. B is the final design (electrically speaking), only minor mechanical changes will be made, so rev. C will be firmware-compatible.

Very good news! I can't want to test Rev B!
Vendor Status: Sadly, not taking any orders/pre-orders at this time

Vendor Quick Links: | Vendor Forum | Hardwood Wrist Rests | Hardwood 60% Cases | Customer Gallery | Giveaway |

Offline MOZ

  • KING OF THE NEWBIES
  • * Maker
  • Posts: 3981
  • Location: Jo'burg
  • Busy making stuff
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #472 on: Thu, 19 September 2013, 10:13:00 »
I will shamelessly ask if anyone has extra PCB with/without components.

Offline gropingmantis

  • Posts: 77
  • Location: United Kingdom
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #473 on: Thu, 19 September 2013, 17:39:00 »
In the GUI how do us funny ISO types work out which numbers apply to which positions? For example |\ and ~# and split backspace.
I mean I've modified the .xml but what switch numbers should relate to which keys?
« Last Edit: Thu, 19 September 2013, 18:32:00 by gropingmantis »

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #474 on: Fri, 20 September 2013, 06:27:40 »
Good question.
The layouts have a few levels of indirection.
First of all every switch is connected to some row and some column. These correspond to inputs and outputs of the microcontroller.
In the firmware, the lowest I/O layer handles these hardware pins by assigning numbers to them. Next, the matrix scanning module is configured by passing a list of pin numbers for columns and a list for rows, so each switch is represented by the column and row numbers (which can be converted to particular pin numbers and later to microcontroller ports). In order to simplify things and provide compatibility of layouts between different revisions of the board, the keys are assigned numbers (so each row-col pair becomes a simple number).
You can see the matrix number to col-row pairs assignment and row and column list to pin numbers assignment here: https://github.com/komar007/ukbdc/blob/master/main_gh60.c#L20-L29 (this is for rev. A)
As you can compare with the GUI, between the left shift and the next key, I left one number (43), so that the order is kept sensible for ISO, and also there is one number omitted between right shift and the preceding key and between enter and preceding key.
As for split backspace, the extra key will have to have a higher number (64 I suppose, since the last one is 63 so far), because it wasn't taken into account before. This is not available in the firmware yet, because I don't have the rev. B board yet;)
This way the old layouts will be compatible with the new revision and it's possible to create an ISO/ANSI combo layout which works correctly on both physical layouts.
I hope this clears things a bit.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline hasu

  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #475 on: Fri, 20 September 2013, 12:40:51 »
Of course the old rev. A will still be supported by the official firmware.

It is good news for betatesters with their Rev A PCB!
Thank you, komar.

Offline gropingmantis

  • Posts: 77
  • Location: United Kingdom
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #476 on: Fri, 20 September 2013, 13:49:27 »
Yes that makes it much clearer. Thanks kormar.

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #477 on: Fri, 20 September 2013, 19:20:07 »
 :thumb: Well done!
I modified the tmk_keyboard's source code,and build the rev B version's firmware. I tested it  and it works very fine. Thank you~
and  I will test your layout programming GUI in another day ~

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #478 on: Tue, 24 September 2013, 10:24:44 »
Hi komar, My friend wired the leds himself, but he found the blacklight dose not work and he also found the lcol14 connected with the GPIO2  in your PCB design. so he can't simply wired the leds, he cut the connection, the blacklight works fine..  is it a bug or meaning other things?

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #479 on: Tue, 24 September 2013, 10:34:27 »
Hi komar, My friend wired the leds himself, but he found the blacklight dose not work and he also found the lcol14 connected with the GPIO2  in your PCB design. so he can't simply wired the leds, he cut the connection, the blacklight works fine..  is it a bug or meaning other things?

Unfortunately, this is an error:(
It will be fixed in the final revision. For rev. B, either Fn led will work or the last column of backlight:/
Cutting is not necessary with correct handling in the firmware.

GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #480 on: Tue, 24 September 2013, 10:42:12 »
Thank you! I got it~ :thumb:

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #481 on: Wed, 30 October 2013, 09:42:06 »
Hi komar, how can i add the Mute, Volume Up or Volume Down key using your GUI tools?

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #482 on: Wed, 30 October 2013, 10:11:26 »
Hi komar, how can i add the Mute, Volume Up or Volume Down key using your GUI tools?
As far as I know the volume controls are available in the Consumer Page (0x0C). Adding support for these requires changing the HID report descriptor.
We still need a sensible solution for this. We either have to split the key bitmap between a couple most-frequently used pages (currently there's just one - keyboard page (0x07)) or generate the descriptor each time for a particular layout. But none of these are implemented yet in the firmware.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Kdash

  • Posts: 13
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #483 on: Wed, 30 October 2013, 11:05:05 »
Ok, I see.
I simply modified the source code but it does't work..
so..  wait for your good news  :thumb: or I'll  try to modify it other days~ :p

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #484 on: Wed, 30 October 2013, 11:10:02 »
You can take the current HID report descriptor, and use the USB HID tool (don't remember the name now, but there is a program which simplifies creation of descriptors) and split it up in such a way that instead of some higher codes (preferably those unused) it includes the Consumer Page. Then you can use those codes to achieve what you want. It will require some documentation reading though.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #485 on: Fri, 08 November 2013, 09:55:58 »
Okay,
rev. A testing is over now. Please check out the new thread: http://geekhack.org/index.php?topic=50685.0
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline yasuo

  • Posts: 978
  • Location: ID
  • spanengan puyeng newbie
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #486 on: Sun, 08 December 2013, 09:08:00 »
My layout :D

I want SW1:swap bs>space,SW2:swap caps>enter

Logitech MK220 Colemak DH
SplitSyml by Moz BlacksMx fuk blacks

2/3 8.5pm                                          in de la my september month ya da all get my fukka "fake message"

Offline metalliqaz

  • * Maker
  • Posts: 4951
  • Location: the Making Stuff subforum
  • Leopold fanboy
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #487 on: Sun, 08 December 2013, 09:32:26 »
My layout :D
Show Image

I want SW1:swap bs>space,SW2:swap caps>enter

I think he means layouts that can actually be built with the GH60...

Offline yasuo

  • Posts: 978
  • Location: ID
  • spanengan puyeng newbie
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #488 on: Sun, 08 December 2013, 10:42:20 »
My layout :D
Show Image

I want SW1:swap bs>space,SW2:swap caps>enter

I think he means layouts that can actually be built with the GH60...
yep,thanks 
Logitech MK220 Colemak DH
SplitSyml by Moz BlacksMx fuk blacks

2/3 8.5pm                                          in de la my september month ya da all get my fukka "fake message"

Offline Manchias

  • Posts: 55
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #489 on: Tue, 02 December 2014, 09:57:10 »
Please help,

After I run inf-wizard, there are 4 devices came out, but none of them with vid 16c0 and pid 047c. Instead of that :


Any idea ?

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #490 on: Tue, 02 December 2014, 10:03:45 »
Please help,

After I run inf-wizard, there are 4 devices came out, but none of them with vid 16c0 and pid 047c. Instead of that :
Show Image


Any idea ?

Please write the revision of PCB, where you bought it and the revision of firmware (if you installed it yourself).
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Manchias

  • Posts: 55
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #491 on: Tue, 02 December 2014, 11:57:33 »
Please help,

After I run inf-wizard, there are 4 devices came out, but none of them with vid 16c0 and pid 047c. Instead of that :
Show Image


Any idea ?

Please write the revision of PCB, where you bought it and the revision of firmware (if you installed it yourself).

Once again, sorry for spaming your topic, blog and email.

My pcb is rev B. I got it from taobao.com and I did not installed it myself. I just try to apply poker layout into your pcb somehow it doesn't work. I spent like a week browse around to find solution but most of my friends haven't own a GH60 before.

Offline hasu

  • Posts: 3471
  • Location: Tokyo, Japan
  • @tmk
    • tmk keyboard firmware project
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #492 on: Tue, 02 December 2014, 12:07:08 »
Your board doesn't have official firmware, just install it.

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #493 on: Tue, 02 December 2014, 12:12:28 »
Please help,

After I run inf-wizard, there are 4 devices came out, but none of them with vid 16c0 and pid 047c. Instead of that :
Show Image


Any idea ?

Please write the revision of PCB, where you bought it and the revision of firmware (if you installed it yourself).

Once again, sorry for spaming your topic, blog and email.

My pcb is rev B. I got it from taobao.com and I did not installed it myself. I just try to apply poker layout into your pcb somehow it doesn't work. I spent like a week browse around to find solution but most of my friends haven't own a GH60 before.

Your board doesn't have official firmware, just install it.

Yup.
Try installing the newest firmware from here: https://geekhack.org/index.php?topic=50685.0
using instructions from here: https://geekhack.org/index.php?topic=37570.msg717519#msg717519 (bottom of the post)


Also, you might have tried to send a broken layout file.
It's hard to tell if that could brick the board, but I don't have any error-checking of the layout file format, so if the file contains garbage, it might make the keyboard do unpredictable stuff, and almost certainly make it impossible to send new layout. In this case, firmware re-flash is the only option.
« Last Edit: Tue, 02 December 2014, 12:15:07 by komar007 »
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Manchias

  • Posts: 55
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #494 on: Sat, 06 December 2014, 06:50:26 »
Thank you for your help Komar.
« Last Edit: Sat, 06 December 2014, 07:00:56 by Manchias »

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #495 on: Sat, 06 December 2014, 07:25:11 »
Thank you for your help Komar.

No problem.
Have you fixed the board?
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Manchias

  • Posts: 55
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #496 on: Sat, 06 December 2014, 07:43:59 »
Thank you for your help Komar.

No problem.
Have you fixed the board?

I already re-flash the firmware. However, there is little problem with mapping key using rev B gui.

I copied USB folder from previous version for Win 7, replace base_firmware.hex with ukbdc_gh60_revB-0.3-dev. After gui.py, the layout came out with 4 extra button with id: 40,64,54,43. I deleted them in gh60.xml. But when I load poker.lay, and hit the programming button, this is what I get from the cmd screen:

 
« Last Edit: Sat, 06 December 2014, 11:29:21 by Manchias »

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #497 on: Sat, 06 December 2014, 16:03:26 »
Thank you for your help Komar.

No problem.
Have you fixed the board?

I already re-flash the firmware. However, there is little problem with mapping key using rev B gui.

I copied USB folder from previous version for Win 7, replace base_firmware.hex with ukbdc_gh60_revB-0.3-dev. After gui.py, the layout came out with 4 extra button with id: 40,64,54,43. I deleted them in gh60.xml. But when I load poker.lay, and hit the programming button, this is what I get from the cmd screen:

 
Show Image


The extra buttons are supposed to be there, they are used for other physical layouts.
As for programming, I know it's hard to force the GUI to run on windows, and I can't do anything about it so far.
This might not be very helpful, but the best option is to run the program in any linux distribution, and it should work correctly.
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard

Offline Manchias

  • Posts: 55
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #498 on: Tue, 09 December 2014, 02:35:30 »
Thank you for your help Komar.

No problem.
Have you fixed the board?

I already re-flash the firmware. However, there is little problem with mapping key using rev B gui.

I copied USB folder from previous version for Win 7, replace base_firmware.hex with ukbdc_gh60_revB-0.3-dev. After gui.py, the layout came out with 4 extra button with id: 40,64,54,43. I deleted them in gh60.xml. But when I load poker.lay, and hit the programming button, this is what I get from the cmd screen:

 
Show Image


The extra buttons are supposed to be there, they are used for other physical layouts.
As for programming, I know it's hard to force the GUI to run on windows, and I can't do anything about it so far.
This might not be very helpful, but the best option is to run the program in any linux distribution, and it should work correctly.

I used linux, try to mapping key. But same mistake like Windows.

ubuntu@ubuntu:~/Desktop/ukbdc_gui$ sudo python3 gui.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.3/tkinter/__init__.py", line 1478, in __call__
    return self.func(*args)
  File "gui.py", line 939, in <lambda>
    command = lambda: command("program"),
  File "gui.py", line 847, in on_menu_action
    u.program_layout(binary)
  File "/home/ubuntu/Desktop/ukbdc_gui/ukbdc_lib/ukbdc.py", line 188, in program_layout
    raise RuntimeError("device returned status: %s" % Status.name(s))
RuntimeError: device returned status: unexpected cont packet

This is list of my device, in Linux, may I know how to point the py.gui program to 16c0:047c

Bus 002 Device 003: ID 8087:07da Intel Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b370 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 138a:003d Validity Sensors, Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 03f0:ae07 Hewlett-Packard
Bus 003 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 003 Device 002: ID 16c0:047c Van Ooijen Technische Informatica Teensy Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thank you for your time.

Offline komar007

  • Thread Starter
  • Posts: 712
  • Location: Poland
    • komar's blog
Re: GH60 prototype betatesting [Call for layouts, GUI testing]
« Reply #499 on: Tue, 09 December 2014, 04:20:01 »
[...]

I used linux, try to mapping key. But same mistake like Windows.

ubuntu@ubuntu:~/Desktop/ukbdc_gui$ sudo python3 gui.py
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.3/tkinter/__init__.py", line 1478, in __call__
    return self.func(*args)
  File "gui.py", line 939, in <lambda>
    command = lambda: command("program"),
  File "gui.py", line 847, in on_menu_action
    u.program_layout(binary)
  File "/home/ubuntu/Desktop/ukbdc_gui/ukbdc_lib/ukbdc.py", line 188, in program_layout
    raise RuntimeError("device returned status: %s" % Status.name(s))
RuntimeError: device returned status: unexpected cont packet

This is list of my device, in Linux, may I know how to point the py.gui program to 16c0:047c

Bus 002 Device 003: ID 8087:07da Intel Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 04f2:b370 Chicony Electronics Co., Ltd
Bus 001 Device 003: ID 138a:003d Validity Sensors, Inc.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 03f0:ae07 Hewlett-Packard
Bus 003 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 003 Device 002: ID 16c0:047c Van Ooijen Technische Informatica Teensy Keyboard
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Thank you for your time.


This is weird. It's clearly communicating with the keyboard but there's a protocol error. That's different than windows, where there was no communication at all, the program wasn't recognizing the keyboard at all.
Have you tried programming with the provided gh60b.lay file? Does this work?
GH60 rev. B w/ ali's case|Cherry G80-3000 HFU/05|IBM Model M (51G8572)
Check out the GH60 project! | How to make a keyboard