#[SOLVED] lily58 w/ nice_nano_v2 right half not reading keystrokes properly

1 messages · Page 1 of 1 (latest)

copper charm
#

Hi, I recently started building a lily58 split, with nice_nano_v2 MCUs, and have successfully implemented both the basic firmware for this board+shield combo on the left half of the split without issues (excluding the display, which i understand is currently an issue and not a stable function of ZMK), however the right half will not send keystrokes to the connected device, nor will it connect properly. I've checked the controller itself, it flashes without issue, however when i enabled usb logging for it to try and diagnose the issue, i found the log in the attached image would result when keys were pressed on the right half (slave half). I'm really stuck here, couldn't find anything on this error message on google so far, any help or suggestions would be appreciated ( I've manually checked each of the mcu pins, and they are all clean and no solder is bridging between pins as far as I've been able to find).

Thank you!

inland dragon
#

This is using the built in Lily58 shield, right?

copper charm
#

i thought i did but i just tried it again (only just joined the discord and was scrolling through after posting) and it does seem to be outputting keystrokes now

#

thank you!

copper charm
#

would love to know what the problem was being id'd as

inland dragon
#

Do you mean logging error codes?

copper charm
#

yes! like how in each set of 4 dbg messages in the image i attached, it output the following:

#

zmk:send_position_state_callback: Error notifying -128

inland dragon
#

The second part of that refers to the function inside which logging is called

#

But they will be using defines like ENOENT, which will map to those numbers in some Zephyr header

#

I’ll link it if I can refind it

copper charm
#

ok thank you! yeah i just couldn't find any real information on it myself and wasn't sure what to make of it cheers

inland dragon
#

At the end of the day it sadly won’t be very informative unless you are familiar with the code

copper charm
#

yep I'm working on it haha, i suspect there might be an issue with the way it was parsing the serial port for the number as all the codes listed are positive, while my reported error number was negative, so i'll check what the unsigned/signed equivalent would be and see if there is a corresponding error code that makes some level of sense

inland dragon
#

If you see the code, they are supposed to be returned negated, so that is normal

copper charm
#

Thanks thats good to know!

copper charm
#

[SOLVED] lily58 w/ nice_nano_v2 right half not reading keystrokes properly

maiden pivot
copper charm