Search found 21 matches

by sparky
16 Nov 2016, 13:46
Forum: Keyboards
Topic: Post a picture of your ideal keyboard layout!
Replies: 480
Views: 169676

I thought about it a bit and that's what I came up with:

keyboard-layout (1).png

It's slightly modernized AT layout really. You have pretty much normal ANSI layout here, with tenkeys, or navigation cluster (in more up to date form than Model F/M) so the mouse is within the same reach like in ...
by sparky
19 Jun 2015, 21:17
Forum: Keyboards
Topic: Some junk I found at work
Replies: 13
Views: 4377

Wow, very nice finds! :) What connector does that Sun 5 have?

AFAIR the Type 5 only ever came with Sun's own interface, 1200bps serial with inverted levels over an 8-pin mini-DIN connector. USB appeared starting with the Type 6.
This is correct from what I've seen. The Type 6 was available with ...
by sparky
18 Jun 2015, 09:22
Forum: Keyboards
Topic: Some junk I found at work
Replies: 13
Views: 4377

Chyros wrote: Wow, very nice finds! :) What connector does that Sun 5 have?
AFAIR the Type 5 only ever came with Sun's own interface, 1200bps serial with inverted levels over an 8-pin mini-DIN connector. USB appeared starting with the Type 6.
by sparky
14 Jun 2015, 09:35
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

So, after reading more of the existing code (the thread here about the 60% SGI granite mod and the original gh60 tmk code helped a lot) and re-reading the pdf with the pins assignment (arduino <-> AVR) I believe I got the pin reading right. I still don't understand how it works but it does.
I write ...
by sparky
11 Jun 2015, 20:04
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Still fighting with the keyboard initialization (however when you wait long enough things seem to settle down).

I changed the 'Reseting' loop to make it more verbose :

// initial delay
_delay_ms(850);

// loop until reset OK report
print("Reseting ");
while (1) {
print(".");
while (serial ...
by sparky
05 Jun 2015, 09:22
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Hello,


[Did you notice my coverter uses ATMega32u2, not ATMega32u4. I think you have to change MCU value in Makefile.

Yes I did, you're right. I forgot that. The arduino won't get flashed with the wrong value. I also added the proper PROGRAM_CMD entry to the makefile.

Yep, pics are usually ...
by sparky
04 Jun 2015, 18:17
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

The code to my arduino project : https://gitlab.com/sparky2002/sunusb

Includes an svg of the schema the board (will) follow.
At this time the condensers, resistors and DIP-switch are not present.
by sparky
04 Jun 2015, 12:28
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Side note : I'll confirm your earlier estimation that something is wrong with sending commands to the keyboard, since I got resets while activating num or caps lock from the other keyboard as well.

Quick update : with the SERIAL_SOFT_LOGIC_NEGATIVE flag enabled and the 7404 bypassed, the board ...
by sparky
04 Jun 2015, 10:52
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

I uploaded firmware to Leonardo and Pro micro and confirmed they display message properly. Arduino bootloader is not culprit.
My board is a genuine arduino Micro (not Pro), which AFAIK is logically equivalent to the Leonardo.

Ah, I looked into your log again and I found resets occur exactly when ...
by sparky
04 Jun 2015, 10:49
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Quick update : with the SERIAL_SOFT_LOGIC_NEGATIVE flag enabled and the 7404 bypassed, the board doesn't respond at all.
Waiting for device:.....
Listening:
.........................................................................................................

No reaction to keypresses, magic ...
by sparky
04 Jun 2015, 08:48
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

I pushed some commits to github repsitory, those should solve followings. I don't think the commits solve your current problem, but try when you have time.

- the SERIAL_SOFT_LOGIC_NEGATIVE bug
- LED sync problem when converter startups(pluging keyboard into converter before connecting USB)
- LED ...
by sparky
03 Jun 2015, 19:46
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

I thought back of an initialization bug/glitch I got when developing my own adapter and looked it up ; I got the glitches fixed by simply adding a delay at the beginning of the arduino setup() function.

So I tried it here, with a
_delay_ms(750);
right before entering the 'Resetting...' loop in ...
by sparky
03 Jun 2015, 16:22
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

It seems I can't get consistent behavior from the keyboard with regards to the LEDs and magic keys/options. Sometimes it works right off the bat, sometimes not at all.

As I understand it, the code itself to toggle click, beep and LEDs is correct (matches both the specs from Kentie and my own ...
by sparky
01 Jun 2015, 18:19
Forum: Gallery
Topic: Sun Type 4
Replies: 5
Views: 5353

nice little board. I assume it feels better than the type 5 ?

the sun type 5 is one of them boards i wish had better switches as it looks bloody gorgeous.

Yes, it's firmer and clickier than the Type 5. As I mentioned, I'm a buckling springs user, so while I wouldn't dare say they are comparable ...
by sparky
01 Jun 2015, 14:10
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Some more reporting... I mostly haven't dug deeper yet to find out how to fix what I found.

Most of the Sun keys don't work when compiled with NKRO_ENABLE = yes enabled ; hid_listen reports "add_key_bit: can't add:" and "del_key_bit: can't del:" with the (proper) scancode. Compiling the firmware ...
by sparky
01 Jun 2015, 10:27
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023


Try changing the line like this.
(in config.h, line 65)

EICRA |= ((1<<ISC21)|(0<<ISC20)); \


Wow, that was quick. It works.

Now hid_listen only prints the actual keystroke, and xev sees codes as expected (I've only got to re-adjust the keymap). It works on a booting machine as well (e.g ...
by sparky
01 Jun 2015, 09:09
Forum: Gallery
Topic: Sun Type 4
Replies: 5
Views: 5353

Yeah, that must have been build by Key Tronic. The switches look like it, the legends look like it and the M/N ("Manufacturer's Number"?) is in Key Tronic's format.

Now that you mention it... I have another, no-name, regular PC layout keyboard around, the insides of which are clearly identified ...
by sparky
01 Jun 2015, 09:05
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Arduino pin name/number is different from AVR name scheme and TMK uses AVR pin names. Check its schematic.
http://www.arduino.cc/en/uploads/Main/arduino-micro-schematic.pdf

OK, re-checking this, the Micro's RX/TX pins are mapped to the AVR's PD2 and 3, as were initially defined in config.h.
I ...
by sparky
31 May 2015, 23:26
Forum: Gallery
Topic: Sun Type 4
Replies: 5
Views: 5353

Sun Type 4

I unexpectedly came across this a while ago. Of course, I had to have it :) Unfortunately I was too slow and missed a Type 3 from the same source. I was familiar with later Sun keyboards but didn't know this one.

The Sun Type 4 uses unbranded (as far as I could see) foam and foil switches with ...
by sparky
31 May 2015, 21:12
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Drivers ? Shouldn't the board with the TMK firmware be automatically recognized as a keyboard, the way it is with my own arduino-libs-based converter ? Also, as it might have been lost in my original wall of text, I'm not using Windows.

Note that flashing is not the problem, I can flash the tmk ...
by sparky
30 May 2015, 16:56
Forum: Workshop
Topic: Sun USB conversion with Arduino Micro and TMK
Replies: 28
Views: 8023

Sun USB conversion with Arduino Micro and TMK

Hi all,

I've been lurking here for quite a while, and actually followed resources from this forum to bolt-mod one of my Ms ; but this is not about that. It is, however, a good time to say 'thanks' to the community.

I'm kind of a fan of Sun hardware ; incidentally I've grown to like the Sun ...

Go to advanced search