Comments (11)
Had to stop using my dactyl it got so bad, changed jobs and now using a windows pc, happens like 30 times a day.
from ergodox-firmware.
didn't see a way to view a diff of all your changes at once... but it kind of sounds like a hardware issue to me. though there is a chance that the code is getting stuck somewhere... like in the i2c stuff, or in one of your layout changes. there's very little data that comes back to the keyboard from the OS -- i think it's just the states of the 3 LEDs -- and the USB stack should work (the person who wrote it knows much more than i do about these things lol), so i wouldn't think it was anything there. i don't really have time to help (sorry) but you could try putting in flashing LED sequences at various points in the code, to see where it's getting stuck (unless you have any of those awesome hardware debugging tools). or you could try adapting a different firmware, like they one used by Input Club.
from ergodox-firmware.
@benblazak heres a link to better see the diff benblazak:fc8099e...postelrich:master
Found this thread which suggests not getting enough power at the USB. That could very well be the issue since its now plugged into some janky usb desk hub. https://geekhack.org/index.php?topic=81079.msg2127257#msg2127257
from ergodox-firmware.
from ergodox-firmware.
Tried plugging directly into the thin client. No dice.
@jave I have a dactyl which is all hand wired, so likely a short or something.
from ergodox-firmware.
looking at your layout, since that's most of the diff. do all the keys having to do with layers work correctly? also, why is there an empty , ,
at the end of line 227?
that's all i can think of. then again, it's really easy to miss something in this layout format. then again again, if it really was a layout issue, i suspect you would have noticed a pattern by now.
from ergodox-firmware.
I was only using the function layer so could remove all the others. That layer was working fine. The empty space is a typo. I did notice that on windows holding down a key doesn't repeat the letter while it would repeat on mac. Don't know if that means anything. Thanks for taking a look.
gonna try cleaning that up and merging your latest master.
from ergodox-firmware.
My master branch hasn't changed for a really long time. I'll be surprised if it fixes your problem, but good luck!
from ergodox-firmware.
I'm having similar issues, and it usually seems to be triggered by the wiggle of the i2c connector cable (it also gets fixed by unpluging it and replugging again, which seems to trigger a reboot). Could it be a connection issue? Is it possible to make the firmware to be more resilient on the connection losses and restores?
from ergodox-firmware.
that sounds a lot like a hardware issue
it's been a long time, so i forget exactly what the tradeoffs were. if i'm remembering correctly, i couldn't find a way in software to detect if the connection had been lost and reset it. i believe initialization took too long to do every cycle. and my guess is that unplugging and replugging the trrs jack causes a short, which causes the usb hub to reset the device.
the only software solution i can think of to try is changing your firmware to initialize the i2c connection every polling cycle, and see if that brings the polling rate down too low. otherwise, checking your solder joints and trying different cables might be the way to go :)
i suppose alternately you could map a key to re-init the i2c interface, or reboot the keyboard -- and at least that would save you disconnecting->reconnecting a physical connector. in fact, if you're using my default qwerty layout, i believe there's already a key mapped to rebooting the keyboard (i did that a lot, for flashing new versions of the firmware) -- but again, it's been a long time.
good luck!
from ergodox-firmware.
I see, thank you! Assigning the key would not work since the keyboard is not responding at the time when it gets stuck. Will try to use a different cable fist, and then resolder the connections.
from ergodox-firmware.
Related Issues (20)
- Will a non-soldered teensy be recognized as a keyboard? HOT 2
- Any way to give Ergodox the full control over layout? HOT 8
- PROBLEMS FOR UK KEYBOARD USERS HOT 1
- Is 80 key version of ergodox supported in your code ? HOT 9
- Compose key not registered HOT 1
- Latch Keys Not Working HOT 3
- changing key from `1` to `_grave` causes unexpected behavior
- "Simple macros" don't work on Mac OS Sierra HOT 4
- How to release the 'RightAlt' upon leaving a layer. HOT 4
- Updating the USB stack HOT 1
- How to use layers? HOT 1
- Readme still links to the defunct .org site in the title HOT 1
- Set what is sent on shift HOT 1
- Always switched to layer 2 on the first system startup HOT 3
- Hold letter key for another key entirely HOT 1
- About the drop page cannot download .HEX files HOT 1
- Keyboard doesnt boots after tried to flashing with another firmware HOT 4
- Using ancient frozen customized fork of your firmware (didn't set it up, kinda inherited it, don't really understand it). If I get a new ergodox, could I just flash my current firmware on to it? (Paranoid the old microcontroller in my current one *might* be starting to fail...) HOT 11
- default Make target (dist) fails running gen-ui-info.py with KeyError: '_kb_layout' HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ergodox-firmware.