Code Monkey home page Code Monkey logo

Comments (8)

raldnor avatar raldnor commented on May 19, 2024 1

You were right! Re-soldering the 8-pin chip did the trick. It works like a charm now, thanks a lot!

from deskhop.

hrvach avatar hrvach commented on May 19, 2024

It might be actually due to the mouse sending something device can't parse properly or not moving to the report mode despite being told to. Which mouse? Can you try this firmware test_fw.zip and let me know? Cheers!

from deskhop.

raldnor avatar raldnor commented on May 19, 2024

That's a fast response! Thanks!

Your firmware seems to have fixed the not working y-movement on the laptop screen.

When I try to move the mouse cursor off-screen (to the right edge of the laptop) I expect the deskhop to switch and that the mouse appears on the 3-monitor system, but both events do not happen.

3-monitor system = A
Laptop = B

Mouse works only on B, the open edge on B seems to be on the right side of the monitor.
When moving beyond the right edge of B (on the laptop) the led of the B-pico turns off, but the led of the A-pico does not turn on. Only when using caps-lock the led of A turns on and then the keyboard works, but not the mouse.

Hope this makes sense.

from deskhop.

raldnor avatar raldnor commented on May 19, 2024

Oh, the mouse is a Microsoft Compact Optical Mouse 500, a very tiny wired laptop mouse. I also tried a Logitech wireless MX master mouse and that results in the same behavior.

from deskhop.

raldnor avatar raldnor commented on May 19, 2024

You're very welcome, I love what you made and it was to be expected that MS would once again be the culprit. Somehow it seems to be part of their business model to break beautiful working things /rant mode off.
Would it be possible to create a key combination to switch between absolute and relative mouse mode?

from deskhop.

hrvach avatar hrvach commented on May 19, 2024

You're very welcome, I love what you made and it was to be expected that MS would once again be the culprit. Somehow it seems to be part of their business model to break beautiful working things /rant mode off. Would it be possible to create a key combination to switch between absolute and relative mouse mode?

@raldnor I'm sorry, I have pasted my reply in the wrong thread because I'm a dumbass. Your issue seems different, and would suggest your devices are not communicating. You are aiming for "keep pressing caps lock to toggle between leds" behavior.

Check:

  1. ADuM1201 chip has +3.3V on pin8 with respect to pin 5 and has +3.3V on pin 1 with respect to pin 4
  2. -||- pin 5 is connected to Pico A GND, pin 4 is connected to Pico B GND
  3. -||- Pin 7 is connected to pico A pin 16 and that's soldered down, pin 2 is connected to pico B pin 22, same thing
  4. -||- Pin 6 is connected to Pico A pin 17, same thing, pin 3 is connected to pico B pin 21, same thing

Let me know how your debugging goes.

from deskhop.

raldnor avatar raldnor commented on May 19, 2024

Ehrm, I don't follow :). The caps lock key works like a charm and the keyboard is switching. Also the leds switch between A and B when using the caps lock key.
Are you sure you replied in the wrong thread?

from deskhop.

hrvach avatar hrvach commented on May 19, 2024

Mouse works only on B, the open edge on B seems to be on the right side of the monitor. When moving beyond the right edge of B (on the laptop) the led of the B-pico turns off, but the led of the A-pico does not turn on. Only when using caps-lock the led of A turns on and then the keyboard works, but not the mouse.

I was basing my recommendation on this but wrongly assumed your caps lock only turns off A and not B, thanks for clarifying!

So, my diagnosis would be - UART B->A not working correctly, based on: mouse only works on B, moving it away from screen turns off led B but doesn't light up led A, and keyboard can work on both.

That reduces the number of things to check to:

  1. ADuM1201 pin 3 connected to pico B pin 21 (GPIO 16)
  2. ADuM1201 pin 6 connected to pico A pin 17 (GPIO 13)

When it starts working correctly, moving the mouse will turn on the other LED too!

I'd recommend just re-soldering those pins and calling it a day :)

from deskhop.

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.