Linux - Reddit – Telegram
Linux - Reddit
777 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Anoterh approach at joystick mapping

Hi I wanted to make my joystick mapping project public.

What is it. I basically have programmed as supporting driver for my rather complex arcade panel an input mapper which allows from mapping from n input devices to m virtual output devices.

My usecase simply was to have 4 sticks several dozends of buttons spinners and a trackball into 2 xbox gamepads a set of keystrokes and a virtual mouse.

Anyway here is the link, it is a first version with a binary build only for x86 linux (although if you build it yourself it might run on any architecture under linux which supports the dependent python libs)

[https://github.com/werpu/input\_pipe](https://github.com/werpu/input_pipe)

So what is the difference in general?

Most mappers usually cover either only one gamepad or limit themselves from keyboard to gamepad simulations or gamepad to keyboard.

There was only one mapper I could find which seemed to be flexible enough to cover a real m:n multiplex situation, Moltengamepad, but I quickly hit a wall with that one was well, thanks to documentation leaks thanks to bugs and its C nature which made it hard to fix.

After months of banging my head against MG I simply decided to write a mapper for my personal needs, which I now have opened for others to check out.

So have fun with it.

​

Just additional info if you are interested:

Here is the hardware I wrote the mapper for:

[https://imgur.com/a/WAv7XZl](https://imgur.com/a/WAv7XZl)

​

And here you can see an earlier build in action;

​

[https://youtu.be/-sXzkkbfamI](https://youtu.be/-sXzkkbfamI)

​

[https://youtu.be/EZ97CZf8OBs](https://youtu.be/EZ97CZf8OBs)

​

The videos are a little bit rough, because they were private videos which I decided to publish

https://redd.it/bxims5
@r_linux
Do you believe software should be open source for you to trust it?

I don't think so. For example, I drive my car every day, I've never inspected the engine but I trust it not to explode on me. Much the same way, I trust my closed source operating system not to be spying on me or stealing my credit card information, as such events would (if found out) terribly hurt the software creator's brand.

So, what is your stance on it? Are you okay with closed software and if not why not?

https://redd.it/bxl1au
@r_linux
Booting Kernel > 4.19 on HP Envy x360 (2017 Ryzen 5 2500U)

**TL;DR:** If you're using the F.20 BIOS for this laptop, you might be having issues booting kernels newer than 4.19. If you have the F.19 BIOS, you can boot newer kernels.


**Disclaimer**

If you're already on F.19, this post might be useful. If you are F.20, maybe it'll shed light on why newer kernels aren't booting on this machine. If you are on F.17, then flashing to F.19 might be an option, but you do so at your own risk. Take careful note of model numbers. YMMV.

**Overview**

The 2017 Model of the HP Envy x360 with the Ryzen 5 (my model is 15m-bq1xx) had a BIOS update F.19 Rev A that increased VRAM from 256 MB to 1024 MB, updated AGESA to 1.1.0.5, and had a number of security fixes.

However this release saw issues if you were running older HP-provided graphics drivers. HP released a higher version BIOS (F.20) that reverts the VRAM & AGESA back to 256MB and 1.0, respectively. You cannot downgrade from F.20 -> F.19.

**Relevance to Linux**

I was debating about following the steps I found [here](https://www.reddit.com/r/Amd/comments/avn2f3/amd_ryzen_mobile_new_drivers_tested_ryzen_5_2500u/ehithat/) to flash the BIOS to F.19 with working drivers.

When searching a bit more, I found posts talking about [Linux not booting](https://h30434.www3.hp.com/t5/Notebook-Operating-System-and-Recovery/Downgrade-BIOS-on-HP-Envy-x360-cp0004no/td-p/6824819) when they upgraded to F.19. So I held off.

I remained on F.17 and upgraded my kernel to 5.0 only to find it could not boot. So I've been staying on 4.18 for the time being.

Flash forward a few months, I decide to flash F.19 forgetting about the Linux issue. After flashing, I'm able to boot any of the kernels I have for my Lubuntu install. I even re-tested a 19.04 Live USB that previously did not boot, and that also worked!

Now everything is running smoothly on both OS's.

**Additional Links**

* [Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U](https://bugs.freedesktop.org/show_bug.cgi?id=109206)
* [F.19 BIOS from HP](https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-envy-15m-cp0000-x360-convertible-pc/20270308/model/21925604/swItemId/ob-217449-1)

https://redd.it/bxnpsf
@r_linux
Connecting hdmi over lan zero clients.

I have two centerm 75 devices connected to some monitors over hdmi and connected on the local network.

Anyone have experience with these type of devices?

How do I get these setup on my linux workstation..

Thanks

https://redd.it/bxow5l
@r_linux
First time using Linux (running it on Chromebook)

Coding is very foreign to me so anything I look up online leaves me more confused. I downloaded Linux to run steam, well I didn't have enough memory for my games so I tried plugging in a usb and it's not showing up in the terminal. Using sudo fdisk -l or lsusb shows nothing.

https://redd.it/bxqo71
@r_linux
Simple hardware sound mixer controller?

Hi! I think it would be handy to have a little usb gadget sitting on the desk next to my laptop, with knobs connected to the laptop's internal soundcard. Each time I want to adjust the mixer settings, I would not need to open a mixer application, but instead turn a knob. Btw I am not a musician, so nothing fancy. Does anyone know of such a gadget, or has anyone perhaps built one themselves?

https://redd.it/bxs5mb
@r_linux
Completely Unbiased Guide to Choosing a Distro
https://redd.it/bxwjnl
@r_linux