Code Monkey home page Code Monkey logo

Comments (4)

fabianmuehlberger avatar fabianmuehlberger commented on August 24, 2024 1

I hope you understand the severity of this issue. Depending on the USB standard, routing of D+/D- is Critical for a functioning device.
Read this guide: https://resources.altium.com/p/routing-requirements-usb-20-2-layer-pcb.
A very comprehensive guide can be found here https://www.ti.com/lit/an/spraar7j/spraar7j.pdf?ts=1712482750918&ref_url=https%253A%252F%252Fwww.google.com%252F

I measured the trace length of D- is approximately 100mm or ~ 4 inches.

If you use USB fullspeed spec, the critical length 10% limit is exceeded, but it is within the 25% length limit, this might work but is not ideal.

For USB high-speed spec, you are exceeding the 10% length limit by a factor of 10. This means, if you use USB high speed, the board is out of spec and probably not working correctly!

Best

from crkbd.

bjsemrad avatar bjsemrad commented on August 24, 2024 1

Not sure if this is related but I notice that if I leave mine idle on occasion I will have to unplug to get keystrokes sent, but all on board functions work properly. Or maybe this is a qmk issue and I need to fix some setting.

Edit might be the USB_SUSPEND_WAKEUP_DELAY. I will report back when I flash the firmware later.

Later: that has resolved the wake up problem, I'll submit a PR to update the firmware in your repo.

On another note now I randomly see 1 or 2 LEDs shutoff.

from crkbd.

foostan avatar foostan commented on August 24, 2024 1

Thank you for sharing. I keep to investigation too.

from crkbd.

bjsemrad avatar bjsemrad commented on August 24, 2024

I'll add this here since that wake change I haven't had an issue with a direct usb connection to the laptop. However through my level 1 KVM I still experience this issue, but appears to be only on my work mac and not my Linux pc.

I will keep debugging but leaving this here since it could be related to the usb spec constraint pointed out.

from crkbd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.