#wootility failing on nixos

1 messages · Page 1 of 1 (latest)

wicked jolt
#

hey there

swift plazaBOT
#

Thanks for posting your support request!

Please note, the support center is only for community-based support with technical troubleshooting and general questions.

For official Wooting Customer Support, please use the Contact Us button on the Wooting Hub or email your request to social@wooting.io
note: use the email address associated with your order for fastest resolution

Looking for information about your specific order?
You can find that on the Wooting Hub! There you can also add upgrades, change/confirm your shipping address, and much more.

Is your order about to ship and you need to pause it for any reason?
Place it On Hold via the Wooting Hub!
https://hub.wooting.io/login

wicked jolt
#

just got my uwu, and it seems that wootility is failing on nixos when trying to update

#

my udev rules are set as such:

 udev = {
      extraRules = ''
        SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
        SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess"
        SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess"
        SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
        SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess"
        SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", TAG+="uaccess"
        SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", TAG+="uaccess"
        SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", TAG+="uaccess"
      '';
    };```
#

everything seems good udev wise, as i can get the uwu to connect just fine, but it throws An error occured while completing the update everytime the firmware tries to update.

#

are there any known issues with the wootility beta with nix? and are there any known workarounds?

#

also note: this is wootility on web, not the one in nixpkgs

winter wharf
#

What on earth is a Nixos.

#

Are you using the wootility beta?

wicked jolt
#

correct

#

nixos is a well, complicated linux distro

#

it makes stuff like this a tad bit harder

winter wharf
#

Goootcha. Well Linux is outside of my area of expertise. Someone who knows Linux can probably help. 🙂

wicked jolt
#

all good! im gonna attempt some ideas i have on my end to try and remedy. this is going to be a very edge case issue though for sure

wicked jolt
#

no luck so far, i'm pretty stuck with this. will just have to use it with ootb settings for now

digital wing
#

nvm me

#

due to the format it looks like the old ones

#

are you using the beta of wootility web?

wicked jolt
#

thats correct

digital wing
#

so connect uwu, do update, it asks to give restore permission, you give it perms, it fails?

#

or where does it fail otherwise

wicked jolt
#

hangs after this screen

#

then throws

#

it does detect the uwu just fine, failpoint is actually installing the firmware update

digital wing
#

anything in the browser console?

#

or network when this happens?

wicked jolt
#

one sec, ill get you logs

#

weird, its not giving me the update screen anymore. ill send logs once i can get back there

digital wing
#

it should tell you if theres updates anyway in settings

wicked jolt
#

actually, it doesnt, its odd

#

do you know the latest firmware atm?

#

mine is @ v2.6.28-prod

digital wing
#

hm i believe theres a system for switching from the factories firmware build to the current build

#

v2.7.0-beta.1

wicked jolt
#

weird... this is what it shows if i head to settings

digital wing
#

disconnected

wicked jolt
#

it also says its dced, but its not

digital wing
#

thats why no update

wicked jolt
#

its connected, thats the thing

digital wing
#

try replugging it or regiving permission for the device

wicked jolt
#

if i try to unplug it / plug it back in state doesnt change

#

ill try perms again

#

i removed it and gave it perms again, now it hangs at

#

a system restart fixed this before

digital wing
#

what browser are you using as a side question?

wicked jolt
#

its weird that it needs a full restart though

#

brave currently

digital wing
#

oh boi

wicked jolt
#

also tried on plain chromium, and no cigar

digital wing
#

ah ok

#

we know brave can be uh

#

unwieldy with webhid/webusb

wicked jolt
#

i see, i can give plain chromium another go

#

wootility isnt ff compatible is it?

digital wing
#

no because ff and safari/webkit/apple dont want to implement googles half baked "standard"

wicked jolt
#

figured yeah, classic

digital wing
#

google force the webhid/webusb into chromium so yeah

wicked jolt
#

still hangs on chromium

digital wing
#

sounds like an os problem

wicked jolt
#

disregard the lightmode, nix shell things

#

figures, classic nix problem

digital wing
#

ill sleep on it for the night maybe i have some idea

#

gnight

wicked jolt
#

sounds good, ill try some workarounds that could work and update if i find anything. gn and ty!

winter wharf
#

Quick side question. Can you tap the keys on the UwU and get output?

wicked jolt
#

mhm

#

i was using it earlier, works just fine

winter wharf
#

Great. So it's purely a question of getting a connection for the Wootility. That's always something 😄

wicked jolt
#

so obviously my os detects it, just probably weird permission issues with the nix store or something

#

like i said earlier, really edge case issue here 😄

fresh river
#

If it's really a permission issue you can manually change the permissions of the device nodes.
I also recommend to try the appimage and to maybe run that as root.

In the case it's not a permission issue it can be a problem with the connection. So I recommend to use the provided stock cable and directly connect the UwU to a USB port on the I/O panel on the back of the PC.

digital wing
#

can nixos even run appimages?

fresh river
glacial stag
#

Might be a silly idea, but try adding your user to the dialout group. I had a similar issue with esphome web flashing and that solved it (also on nixos)

fresh river
#

The new udev rule approach should not rely on groups anymore. While I don't really know how that may distro implements the uaccess tag.

wicked jolt
wicked jolt
wicked jolt
#

some updates on this: cant figure it out still. tried pretty much everything suggested here (- the appimage since its a black screen for me on wayland, even with --no-sandbox)

fresh river
#

Please show the list of connected usb devices. Please identify which device nodes belong to the Wooting and list them too.