Spyke

Posts

kde·KDE & Plasma usersbyTomB19

How are service menus sorted?

I have a service menu with 13 items that is unsorted.

18 months ago, it was sorted alphabetically. Now I cannot see any sort order for the same service menu.

It isn't in Actions= order, either.

If there is a way to sort a service menu, it would be extremely helpful.

Any help appreciated.

View original on lemmy.world
linux·LinuxbyTomB19

Anyone get a Royal Kludge R75 working under linux and Vial?

My R75 works fine under via.

I'm using the R75 vial firmware located here.

https://github.com/mossbed/r75

It won't compile, as cloned. It's more than just the directory structure which is completely silly. It's not surprising it didn't work, given it's messy state. I had to modify it a bit, so it could easily be something I did.

I had to add a UID:

config.h -> #define VIAL_KEYBOARD_UID { }

and uncomment tap_dance_action in keymap.c.

tap_dance_action_t tap_dance_actions[] = { [TD_RESET] = ACTION_TAP_DANCE_FN(safe_reset), [TD_CLEAR] = ACTION_TAP_DANCE_FN(safe_clear), [TD_CTL_TG] = ACTION_TAP_DANCE_LAYER_TOGGLE(KC_RCTL, _CTL_LYR) };

That's about it.

It compiles and downloads cleanly. Via continues to work but Vial does not discover it.

This mosbed firmware extension claims to be a derivative of this work but it doesn't seem to be.

https://github.com/irfanjmdn/r65/tree/vialrgb?tab=readme-ov-file#guide

Anyone have Vial working? It's a popular keyboard so I expect someone has solved this problem. If no one responds, I'll take it on in a week or so so we can all enjoy ou R75 on linux with Vial.

View original on lemmy.world
linux·LinuxbyTomB19

I need some high level guidance on UDEV rule for an HIDAPI driver

Like a lot of Chinese devices, my TEMPer clone creates two HID interfaces. This isn't how TEMPer is supposed to work but this unit is a knock-off. It was purchsed from Amazon and I tried to get an authentic part (Got from Amazon. The brand looked right and it wasn't the cheapest TEMPer, by far, but turned out to be a junky knock-off).

Right now, the app only works with root permission. I need to get it completely into the user space

Anyway, it creates two HIDRAW dev interfaces. The first one does not work. It responds on the second one. It always seems to show up on /dev/hidraw3 but I understand this cannot be counted on after re-plug, reboot, or other installs.

How can I create a udev rule that will allow my app to find the device (either scan with HIDAPI or libusb) and create symlink under /dev with user space access that my app can interface with?

Or, perhaps there is a better way?

I'm trying to write a driver that anyone can use with a knock-off TEMPer.

View original on lemmy.world
buildapc·BuildapcbyTomB19

Could use a cooling sanity check

I could use a sanity check on a cooling situation. It doesn't seem right or possible. Sorry for the long post.

CPU: AMD 9700X MB: Asus TUF Gaming B650E Wifi RAM: 4x16GB T-Force CL30 Case: Antec P182 (Giant quiet gaming case from 2007)

The system has been together for about 5 months. When I got the components, I picked up a $30 CAD generic cooler:

"iCan 6-Heatpipe CPU Cooler | 2*120mm PWM Fans with Rainbow Color | TDP - 265W | Fan Speed upto 1800RPM | Fan Noise - 31DBA"

It all ran OK, was quiet but not silent. Only has fan noise when working hard. In other words: Great.

I'm doing a bunch of ffmpeg/x265 transcode benchmarking. With the iCan cooler, it would thermal throttle (75C throttle, 76C measured) at 5350MHz. It would bounce between about 5200 and 5450.

Anyway, a buddy told me the Noctua D15 is the best air cooler going. I did some reading. He seems to be right. It is a highly regarded cooler.

The D15 fits into the system fine but only one of the 140MM fans will fit. The 140mm fan won't fit in the back, due to the VRMs. The 140mm fan won't fit in the front, due to RAM. So, the D15 has a 140mm stock fan and a 120mm screamer (140CFM). That's a lot of air.

It doesn't cool nearly as well. Not even close. I've bumped up the thermal throttle to 80C (where it sits 100% of the time while transcoding). Fans are set to 100%, all the time. It barely makes 5GHz with the D15. Average is about 4900MHz.

I put the iCan cooler back on and it went back to almost boost clock frequency.

The thermal paste is very well done. I was super careful between cooler changes and I clean the old stuff with alcohol before applying fresh and mounting another cooler.

Why does the smaller cooler with a far worse machined CPU contact area cool better than the gigantic D15?

I will say, when using QFan and the iCan cooler, the fans ramp in about 2 seconds after launching ffmpeg. QFan with the D15, it takes about 4~5 seconds for the fans to fully ramp. The D15 has a substantially heavier CPU block and this does seem to add considerable inertia (which is nice).

Any thoughts?

View original on lemmy.world

You reached the end