• 0 Posts
  • 11 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle
  • Unless the vendor is rolling something super custom, for the communication TO the keyboard, it should use USB HID.

    Start Wireshark, filter for hid, connect the KB and the first message should be a HID descriptor of the KB, look for Output Reports (it’s meant from the POV of the usb master) or Feature Reports.
    Though, this will probably not yield much insight - vendors love to do the easy thing, reserve opaque 32x8 bytes as a “downlink” Output communication in the Vendor Usage Page and stuff their own protocol/encoding in there.

    On linux I can recommend hid-tools for working with this, in windows I believe your only solution is Wireshark.

    https://www.marcusfolkesson.se/blog/hid-report-descriptors/

    Happy Hacking!

    E: About the already reversed software, for logitech (and more) stuff, there is piper but you will want to look into the underlying daemon libratbag, there is also solaar







  • My instance is close to two years old now, and on average has had about 2 MAU, with no (local) communities.

    Currently we have about 700 active federated communities (that had any federated activity within last month), out of 900.[1]

    The on-disk size of both lemmy and pict-rs database[2]

    postgres@postgres:~$ pwd
    /var/lib/postgresql
    postgres@postgres:~$ du -sh data/
    31G	data/
    

    I use pict-rs with S3 provider and the bucket size is currently at 22.82 GB (read: external network storage, this is probably mostly just thumbnails[3]).

    So in total there is almost 54GBs spent just for lemmy.

    So assuming you have 100G remaining after system stuff and dedicate that box only to lemmy (and pict-rs media files) and use it mostly for yourself [4], you should be alright for about 3-4 years (assuming that I am gaining about 27GBs total per year and that you will federate with a similar amount of a similarly active communities).

    If you offload media storage to a hosted S3 bucket[5] then you should be good for a lot longer as you will only need space for the postgres databases.


    1. The rest is either dead (instance gone) or no one is subscribed to them anymore (as such my instance is not getting any new content from there: neither posts nor comments or votes) ↩︎

    2. Postgres itself reports about 2G less, don’t really know why but I am guessing it has something to do with the filesystem being btrfs ↩︎

    3. Edit: I currently do not use the “privacy” mode of pict-rs where it proxies all content (so that a bad guy can’t post an image link to his server and unmask users IPs), this would increase the S3 size and slightly postgres size. ↩︎

    4. You should use Lemmy Subscriber Bot to automatically federate little bit of random communities so that public All feed is not exact copy (minus NSFW comms) of whatever you as the only user subscribe to. ↩︎

    5. Though keep in mind that S3 buckets eventually cost some money too, for example Cloudflare R2 charges $0.015 per 1GB, above the first 10GBs. ↩︎





  • taaz@biglemmowski.wintoUnixporn@lemmy.ml[river] Yellow On Black
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    This is very similar to my edited powerarrow-dark theme for Awesome WM, I would very much love to see what utilites you used for this (waybar?) as well as the dotfiles:>

    Edit: I think jerboa is not handling the post correctly, from the feed I can see some notes but if I open this post there is just the images and story