Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Keyboard complaints with CMM2
Page 3 of 4 | |||||
Author | Message | ||||
berighteous Senior Member Joined: 18/07/2020 Location: United StatesPosts: 110 |
I thought I had a working keyboard for my cmm2, after going through 5. The first one dropped keys, so I ended up swapping it with my dell keyboard from my daily driver PC. It seemed to work fine until today when I was programming, I hit caps lock accidentally, and hit it again to turn it off and poof the keyboard stopped working. I had to unplug the keyboard and plug it back in to get functionality back. wha??? Caps lock is a normal keyboard function. this happens every single time When I type and I miss the tab key with my pinky and accidentally hit caps lock I have to unplug and replug my keyboard to keep working. I have typed and programmed for months on that keyboard on my programming PC and have NEVER had that happen ever and I hit caps lock maybe a hundred times a day (I program in all caps in 6502 assembly) I swapped keyboards AGAIN with a lighted keyboard and it works and doesn't lock up on the caps lock key. How weird. Edited 2020-08-18 18:57 by berighteous |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8606 |
I can't replicate and I'm sure it is not a general issue as it would have surfaced before. Please try different keyboards/USB cables/Power sources etc. |
||||
berighteous Senior Member Joined: 18/07/2020 Location: United StatesPosts: 110 |
I updated the post. I swapped keyboards again (6th time's a charm?) and it seems to work and not lock up with the caps lock. I have programmed for months and months on that dell keyboard using the caps lock constantly and it never had any issue. What a weird thing. Anyways nevermind I found a keyboard that the cmm2 likes better. This is an adventure. 6 generic keyboards. One had a mouse port I didn't know about, but the rest were regular cheap no frills usb keyboards I got at thrift shops, lol. |
||||
xmarkf Newbie Joined: 16/08/2020 Location: AustraliaPosts: 7 |
Thanks to all that came up some great suggestions to help me. Problem solved, sort of.. mostly yes. I thought there may be a bit of solder or scrap of fine wire somewhere it should not be. So, all apart again, cpu board off. Did a little clean up and removed the PIC. Remembering what I had learned 'you don't need the pic'. cpu back on. Whoa it works!! pic in :- no work pic out :- WORKS!! Dud or unprogrammed??? I don't need it at the moment .. Now on to writing the next epic game. "Space Invaders the last stand.." There here and we want our planet back. Edited 2020-08-18 20:42 by xmarkf |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8606 |
Is it a PIC16F1454(5) or an MCP2221A? This is important because if SC are shipping the PIC without programming it others will have the same problem and they need to know about it urgently. Basically it is generating noise on the console input which is very bad. Edited 2020-08-18 20:53 by matherp |
||||
xmarkf Newbie Joined: 16/08/2020 Location: AustraliaPosts: 7 |
It is a PIC16F1455 I have a programmer somewhere. I'll run a blank check on it when I find it. I hope I am just the unlucky one. For me, it is time for sleep. I'll do my best to check it as soon as I can. |
||||
xmarkf Newbie Joined: 16/08/2020 Location: AustraliaPosts: 7 |
Ok.. so far I have found the PIC6F1455 is not blank. That is a good thing, but it looks like I will have get the file and have a go at re-zapping it. Find Project, download zip, extract, ZAPP . . . and done .. power on F4 YES no flickering cursor. We are back in action. I guess this is why I love this stuff so much. Buy the bits, build it, break it, fix it, make a better one. The circle of electronic life |
||||
darthvader Regular Member Joined: 31/01/2020 Location: FrancePosts: 75 |
i get my CMM2 today , the PIC was programmed .... but it leave Australia the 10th July Who knows what happened after that ... Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9083 |
I CAN replicate on 5.05.03 - have not tried a higher version yet, but I will. EDIT "blah" blah blah gggGGGgggGGGgggGGG (KB locks up here) Basically, after six cycles of CAPS/CAPS LOCK, the KB then locks and I cannot get any response from it. This is the same KB I have always been using right through the entire development process. I will try another KB though, and see if I get the same result, but I feel there is something going on here. @ berighteous: What firmware version are you running? Smoke makes things work. When the smoke gets out, it stops! |
||||
darthvader Regular Member Joined: 31/01/2020 Location: FrancePosts: 75 |
this keyboards work too Logitech K260 wireless eSYNiC touch pad keyboard wireless This VGA to HDMI work as well : vga to hdmi Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
BobD Guru Joined: 07/12/2011 Location: AustraliaPosts: 935 |
This VGA to HDMI work as well : vga to hdmi Cheers. Unfortunately Cet article ne peut pas être livré à l’adresse sélectionnée. Veuillez choisir une adresse différente. translation This item cannot be delivered to the selected address. Please choose a different address. |
||||
TweakerRay Senior Member Joined: 01/08/2020 Location: GermanyPosts: 138 |
So Today I got a new keyboard because I was told my "gamer" Keyboard uses too much power with led... so I got a simple Keyboard (Trust 20518-02) (Spoiler: It does not work on the CMM2 correctly under the DE Layout) It has no LED and I am right now typing from it here in this forum. It works fine on a normal pc - but not on the CMM2. Still the # amd ' can not be typed when I use the Option USBkleyboard DE Layout... if I use the Option USBKeyboard US Layout I can type the # and also ' So it's definitly a firmware problem that I can't access these keys. These problems I had before with that other LED Keyboard too... They keys work fine on US Layout on the CMM2 so why can't it work with the DE Layout? The keys where # and ' will simply not put out any key at all... only on US Layout the keys work but have different keys... I also used different A-B Usb cables on my powersupply... so anyone have an Idea? Thanks for your help ! Have a great weekend Cheers TweakerRay http://tweakerray.bandcamp.com |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8606 |
The keyboard mapping for DE keyboard was defined by other German users. There is no way I can test it and I have no basis to change it in that the other users don't seem to have a problem. I suggest you look through the various threads and PM the other German users to see what is going right for them and wrong for you. Just to be clear the issue is simply one of the mapping table as the keyboard is responding properly to other keys Edited 2020-08-22 23:16 by matherp |
||||
TweakerRay Senior Member Joined: 01/08/2020 Location: GermanyPosts: 138 |
So , how can I find "other german users" here ? Is there a way I can change that mapping myself ? I mean if other german users have done it already ? Do you have any German user in mind I can DM ? it would make things easier than that I now go on hunting down people who are german ;-) Thanks again ! Cheers http://tweakerray.bandcamp.com |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8606 |
Same way I would have to by looking at the location on peoples' posts No: they defined a mapping which I incorporated into the firmware Start here |
||||
darthvader Regular Member Joined: 31/01/2020 Location: FrancePosts: 75 |
@Peter : I debugged my FR KB Today , i do some change , here are the data for you : const int FRkeyValue[] = { 0,0,// USB_HID_KEYBOARD_KEYPAD_RESERVED_NO_EVENT_INDICATED = 0x00, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_ERROR_ROLL_OVER = 0x01, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_POST_FAIL = 0x02, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_ERROR_UNDEFINED = 0x03, 113,81,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_A = 0x04, FR Q 98,66,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_B = 0x05, 99,67,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_C = 0x06, 100,68,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_D = 0x07, 101,69,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_E = 0x08, 102,70,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F = 0x09, 103,71,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_G = 0x0A, 104,72,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_H = 0x0B, 105,73,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_I = 0x0C, 106,74,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_J = 0x0D, 107,75,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_K = 0x0E, 108,76,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_L = 0x0F, 44,63,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_M = 0x10, FR ,? 110,78,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_N = 0x11, 111,79,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_O = 0x12, 112,80,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_P = 0x13, 97,65,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_Q = 0x14, FR A 114,82,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_R = 0x15, 115,83,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_S = 0x16, 116,84,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_T = 0x17, 117,85,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_U = 0x18, 118,86,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_V = 0x19, 122,90,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_W = 0x1A, FR Z 120,88,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_X = 0x1B, 121,89,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_Y = 0x1C, 119,87,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_Z = 0x1D, FR W 38,49,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_1_AND_EXCLAMATION_POINT = 0x1E, FR & 1 233,50,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_2_AND_AT = 0x1F, FR é 2 ~ 34,51,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_3_AND_HASH = 0x20, FR " 3 # 39,52,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_4_AND_DOLLAR = 0x21, FR ' 4 { 40,53,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_5_AND_PERCENT = 0x22, FR ( 5 [ 45,54,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_6_AND_CARROT = 0x23, FR - 6 232,55,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_7_AND_AMPERSAND = 0x24, FR è 7 ` 95,56,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_8_AND_ASTERISK = 0x25, FR _ 8 '\' 135,57,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_9_AND_OPEN_PARENTHESIS = 0x26, FR ç 9 ^ 00,48,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_0_AND_CLOSE_PARENTHESIS = 0x27, FR à 0 @ 10,10,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_RETURN_ENTER = 0x28, 27,27,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_ESCAPE = 0x29, 8,8,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_DELETE = 0x2A, 9,9,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_TAB = 0x2B, 32,32,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_SPACEBAR = 0x2C, 41,00,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_MINUS_AND_UNDERSCORE = 0x2D, FR ) ] 61,43,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_EQUAL_AND_PLUS = 0x2E, 94,168,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_OPEN_BRACKET_AND_OPEN_CURLY_BRACE = 0x2F, FR ^ ¨ 36,163,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_CLOSE_BRACKET_AND_CLOSE_CURLY_BRACE = 0x30, FR $ £ 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_BACK_SLASH_AND_PIPE = 0x31, -- not present -- 42,181,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_NON_US_HASH_AND_TILDE = 0x32, FR * µ 109,77,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_SEMICOLON_AND_COLON = 0x33, FR M 249,37,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_APOSTROPHE_AND_QUOTE = 0x34, FR ù % 178,00,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_GRAVE_ACCENT_AND_TILDE = 0x35, FR ² 59,46,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_COMMA_AND_LESS_THAN = 0x36, FR ; . 58,47,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_PERIOD_AND_GREATER_THAN = 0x37, FR : / 33,167,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_FORWARD_SLASH_AND_QUESTION_MARK = 0x38, FR ! § 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_CAPS_LOCK = 0x39, 0x91,0xD1,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F1 = 0x3A, 0x92,0xD2,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F2 = 0x3B, 0x93,0xD3,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F3 = 0x3C, 0x94,0xD4,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F4 = 0x3D, 0x95,0xD5,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F5 = 0x3E, 0x96,0xD6,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F6 = 0x3F, 0x97,0xD7,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F7 = 0x40, 0x98,0xD8,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F8 = 0x41, 0x99,0xD9,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F9 = 0x42, 0x9a,0xDa,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F10 = 0x43, 0x9b,0xDb,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F11 = 0x44, 0x9c,0xDc,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_F12 = 0x45, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_PRINT_SCREEN = 0x46, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_SCROLL_LOCK = 0x47, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_PAUSE = 0x48, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_INSERT = 0x49, 0x86,0x86,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_HOME = 0x4A, 0x88,0x88,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_PAGE_UP = 0x4B, 0x7f,0x7f,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_DELETE_FORWARD = 0x4C, 0x87,0x87,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_END = 0x4D, 0x89,0x89,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_PAGE_DOWN = 0x4E, 0x83,0xA3,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_RIGHT_ARROW = 0x4F, 0x82,0x82,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_LEFT_ARROW = 0x50, 0x81,0xA1,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_DOWN_ARROW = 0x51, 0x80,0x80,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_UP_ARROW = 0x52, 0,0,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_NUM_LOCK_AND_CLEAR = 0x53, 47,47,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_BACK_SLASH = 0x54, 42,42,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_ASTERISK = 0x55, 45,45,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_MINUS = 0x56, 43,43,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_PLUS = 0x57, 10,10,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_ENTER = 0x58, 49,0x87,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_1_AND_END = 0x59, 50,0x81,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_2_AND_DOWN_ARROW = 0x5A, 51,0x89,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_3_AND_PAGE_DOWN = 0x5B, 52,0x82,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_4_AND_LEFT_ARROW = 0x5C, 53,53,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_5 = 0x5D, 54,0x83,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_6_AND_RIGHT_ARROW = 0x5E, 55,0x86,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_7_AND_HOME = 0x5F, 56,0x80,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_8_AND_UP_ARROW = 0x60, 57,0x88,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_9_AND_PAGE_UP = 0x61, 48,0x84,// USB_HID_KEYBOARD_KEYPAD_KEYPAD_0_AND_INSERT = 0x62, 46,0x7f, //USB_HID_KEYBOARD_KEYPAD_KEYPAD_PERIOD_AND_DELETE = 0x63, 60,62 //USB_HID_KEYBOARD_KEYPAD_KEYBOARD_NON_US_FORWARD_SLASH_AND_PIPE = 0x64, FR < > }; and .... if(info->ralt && Option.USBKeyboard==CONFIG_FR){ if(keyCode==0x1F) return 126;// ~ else if(keyCode==0x20)return 35; // # else if(keyCode==0x21)return 123;// { else if(keyCode==0x22)return 91; // [ else if(keyCode==0x23)return 124;// | else if(keyCode==0x24)return 96 ;// ` else if(keyCode==0x25)return 92; // '\' else if(keyCode==0x26)return 94; // ^ else if(keyCode==0x27)return 64; // @ else if(keyCode==0x2D)return 93; // ] else if(keyCode==0x2E)return 125;// } } and So if you need change in DE Keyboard , just tell me what key doesn't work i will fix it here with my DE KB and give the result to Peter who manage the whole thing Cheers. Edited 2020-08-23 00:50 by darthvader Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
darthvader Regular Member Joined: 31/01/2020 Location: FrancePosts: 75 |
@Peter : I debugged this case , change this line in DE Layout : 35,39,// USB_HID_KEYBOARD_KEYPAD_KEYBOARD_BACK_SLASH_AND_PIPE = 0x31, DE # ' It was set for the HID Code 0x32 , but it go on HID Code 0x31 Cheers. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 8606 |
I suspect there are two different DE layouts - trust the Germans....... https://en.wikipedia.org/wiki/German_keyboard_layout |
||||
darthvader Regular Member Joined: 31/01/2020 Location: FrancePosts: 75 |
https://en.wikipedia.org/wiki/German_keyboard_layout Yes , i have the DE KB that is like the US KB with one more key aside the ENTER key , it's why i don't have touch the HID Code 0x32 just in cas ... he he Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
TweakerRay Senior Member Joined: 01/08/2020 Location: GermanyPosts: 138 |
Hi ! So I am new to this and have no clue what you did... but how can Implement this into a working DE Keyboardlayout? As stated before: The keys which are not responding to anything are the # and the ' They both dont give out anything in DE Layout... in US layout I got the # and ' so I have no clue what I can do to change this... This has to be a error in that DE Layout not an error in the keyboards... http://tweakerray.bandcamp.com |
||||
Page 3 of 4 |
Print this page |