Getting AV Linux onto my new HP Laptop

Matt73

Member
Joined
Sep 3, 2021
Messages
49
Reaction score
11
Credits
484
Hello Kind People,

Bought a new laptop to make music production easier and had nothing but grief with it from the outset. Installed a few different distros to check them out in the way I did on my old laptop (etch to USB and boot from USB) and got them to work. However, when I press the power off button, the computer goes to sleep but won't wake up when I press it again briefly so I have to hold it down to shut the computer down completely and the restart. Most annoying.

I passed by a computer repair shop whilst out with my daughter and I popped in to ask the guy about it. He said that because I have a PCIe nmve drive, I need to install a driver to get it to work right with linux. I don't know if he meant a driver for the OS or a firmware driver for the SSD. Maybe I need to update the UEFI.

Trouble is, I am not that tech savvy so need some help with this. Any advice appreciated.

Best Wishes

Matt
 


The system info is this:

Snapshot created on: 20210617_0214
System: Host: <filter> Kernel: 5.9.1-rt20avl1 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.9.1-rt20avl1
root=UUID=<filter> ro quiet threadirqs noresume
efi=runtime
Desktop: Openbox 3.6.1 info: xfce4-panel dm: SLiM 1.3.6 Distro: AVL-MXE
base: Debian GNU/Linux 10 (buster)
Machine: Type: Laptop System: HP product: HP Laptop 15s-eq1xxx v: N/A serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: HP model: 8707 v: 37.19 serial: <filter> UEFI: AMI v: F.33 date: 02/09/2021
Battery: ID-1: BAT0 charge: 42.1 Wh condition: 42.1/42.1 Wh (100%) volts: 13.0/11.3
model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Full cycles: 378
CPU: Topology: 6-Core model: AMD Ryzen 5 4500U with Radeon Graphics bits: 64 type: MCP
arch: Zen family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600106
L2 cache: 3072 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 28447
Speed: 1734 MHz min/max: 1400/2375 MHz boost: enabled Core speeds (MHz): 1: 2037
2: 1560 3: 1550 4: 1564 5: 1479 6: 1774
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP:
disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 03:00.0
chip ID: 1002:1636
Display: x11 server: X.Org 1.20.10 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa compositor: compton v: 0.1~beta2+20150922
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.39.0 5.9.1-rt20avl1 LLVM 11.0.1)
v: 4.6 Mesa 20.3.4 direct render: Yes
Audio: Device-1: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 03:00.1
chip ID: 1002:1637
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
driver: N/A bus ID: 03:00.5 chip ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus ID: 03:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.9.1-rt20avl1
Network: Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw_8822ce v: N/A port: f000 bus ID: 01:00.0
chip ID: 10ec:c822
IF: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 476.94 GiB used: 25.39 GiB (5.3%)
ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730 SDBPNTY-512G-1006
size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
serial: <filter> rev: HPS2 scheme: GPT
Partition: ID-1: / raw size: 65.61 GiB size: 64.08 GiB (97.67%) used: 13.71 GiB (21.4%) fs: ext4
dev: /dev/nvme0n1p2
ID-2: /home raw size: 403.05 GiB size: 395.72 GiB (98.18%) used: 11.67 GiB (3.0%)
fs: ext4 dev: /dev/nvme0n1p4
ID-3: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 10 (default 60)
cache pressure: 100 (default) dev: /dev/nvme0n1p3
Sensors: System Temperatures: cpu: 65.9 C mobo: N/A gpu: amdgpu temp: 49 C
Fan Speeds (RPM): N/A
Repos: Active apt repos in: /etc/apt/sources.list
1: deb http://liquorix.net/debian/ buster main
2: deb http://www.bandshed.net/kernels/apt/ buster main
3: deb [trusted=yes] https://cinelerra-gg.org/download/pkgs/debian10/ buster main
4: deb https://dl.winehq.org/wine-builds/debian/ buster main
No active apt repos in: /etc/apt/sources.list.d/connectify.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ buster main contrib non-free
2: deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
3: deb-src http://deb.debian.org/debian/ buster main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/kxstudio-debian-ppas.list
1: deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu/ bionic main
2: deb http://ppa.launchpad.net/kxstudio-debian/music/ubuntu/ bionic main
3: deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu/ bionic main
4: deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu/ bionic main
5: deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu/ bionic main
Active apt repos in: /etc/apt/sources.list.d/kxstudio-external.list
1: deb [arch=amd64,i386] https://kx.studio/repo/ stable free
2: deb [arch=amd64,i386] https://kx.studio/repo/ gcc5 free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/mx/repo/ buster main non-free
2: deb http://ftp.icm.edu.pl/pub/Linux/dist/antix-workspace/mx/repo/ buster ahs
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https://repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/spotify.list
1: deb http://repository.spotify.com/ stable non-free
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 274 Uptime: 2h 13m Memory: 7.21 GiB used: 1.49 GiB (20.7%) Init: SysVinit
v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in
running in: quick-system-in inxi: 3.0.36
 
this could be very long and technical...oops...
So in basic terms I can do .......
over the years there have been many ways to connect a hard-drive to the mother board PCIe is the latest the hard drive has a special connection and is attached to the PCI-e bus on the motherboard and uses 1 channel of the PCI-e . The PCIe nmve, is the latest version and uses 4 channels on the PCI-e making it possible to handle 4 times the amount of information,..
The W.D PC SN730 NVMe™ SSD is a fully integrated solution that includes an in-house controller, firmware, I am unaware of any problems with this, but I do know there have been some problems with SSD's in general

B wiz
 
Alright, well the problem I am having is that the laptop won't come out of sleep mode when I press the power off button. And if I suspend it, then I can't get it out of being suspended other than to hold down the power button to get a complete shut down and then restart.
 
bit out of my realm, but from what I remember disabling the power save mode often works
hopefully one of the other members may pop in with another suggestion
 
If this is what you've installed and this is what it appears to be from what I can see in post #2

Desktop: Openbox 3.6.1 info: xfce4-panel dm: SLiM 1.3.6 Distro: AVL-MXE
base: Debian GNU/Linux 10 (buster)


This is most likely where you may find a solution.


Documentation.

FWIW.
 
There are issues booting from NVMe SSDs. IDK if this is on Windows, too, but there are on Linux. However I believe it was all resolved a year or more ago. Quick test: suspend it, then plug your phone into a USB port. If your phone starts charging, then it could be the NVMe drive or your firmware (Linux and otherwise) and could be any number of other things (which is the problem). Let's try to find the easiest solution first:

First, update UEFI BIOS firmware. Always do that, for any problems, whether it fixes them or not. Always be up to date.

Now I see you're using the Liquorix kernel. That could well be the issue there. The kernel is supposed to be "optimised" but it is a glorified Debian kernel. I see a number of mixed repos, too. TBH, and this is only at first glance, it's a mess.
I am pretty sure this is a kernel-related issue.

I suggest that rather than try to troubleshoot this, just install Manjaro. Really, you are running a Ryzen 4500U, not too shabby a mobile chip. Manjaro magic usually fixes everything. You'll get a newer kernel with newer drivers/firmware. You still get XFCE by default. Arch Rule: Any software on any distro is in the AUR if not in the official repos. And Manjaro is a stabler Arch. Now I know the appeal of a "Music Oriented" distro, but these special spins are, at the end of the day, a gimmick. I could make one, you could make one, your neighbour could make one. They are still their base ancestry with a bunch of stuff preconfigured to make it more <whatevs>-centric. Look, it may not be as snappy as MX because MX is derived from AntiX which is a blazing and very novel project I've been watching for over 8 years. But, with your specs, you should handle Manjaro with ease. And Manjaro will sort your needs, I'd bet on that. The whole special low latency kern3l thing shouldn't be an issue for you. I have an intel 5200u running Manjaro and it is a little sluggish, but it handles audio editing okay (obviously my desktop PC murders it thoughl|). Now my laptop is from about 2016. I'm sure latency won't be an issue.

If Manjaro doesn't work for you, then I say let's dig into troubleshooting, but for now, you got nothing to lose. Hope that helps.
 
Last edited:
Hello and thanks for kindly taking the time to help me out. I am on that mx respins forum. They have tried to help too.

I don't have a smartphone (Yes, I'm one of those people) but my normie girlfriend has an iphone and I tried plugging it in to the laptop after having pressed the shutdown button and it WAS NOT charging.

Ok, I will give this Manjaro a try. All I want is something that will run my DAW so I can record some tracks. The DAW is Tracktion Waveform and I am used to it and don't want to learn a new DAW right now as I want to get these tracks done. I hope it works on Manjaro. It says it is tested on Ubuntu.

And how do I update the UEFI BIOS. I have spent hours trying to figure this out to no avail.

I appreciate your patience as I am not particularly tech savvy but willing to learn.

Best Wishes

Matt
 
I don't have a smartphone (Yes, I'm one of those people) but my normie girlfriend has an iphone and I tried plugging it in to the laptop after having pressed the shutdown button and it WAS NOT charging.

And how do I update the UEFI BIOS. I have spent hours trying to figure this out to no avail.

If the phone isn't charging, it isn't suspending correctly (suspend is like ultra low-power mode, otherwise RAM would clear). No power out of USB port = undefined behaviour.

Re UEFI BIOS updates, go to your OEM's site and look for the latest updates. Some come as a Windows program (which sucks), but the most are a plain ROM or a UEFI executable. In the latter cases, you just follow the instructions on your OEM's site. All you need is a flashdrive formatted FAT32.
 
Hello,

Thanks for getting back to me. I bought the HP laptop with no system installed. I went to the HP website and entered my serial number but my computer was not found. Someone on another forum somehow found a page relating to my laptop and I got the manual for it but when I clicked on software, drivers and firmware I got a message saying that there weren't any available A google search on my model led me to a forum where a guy, apparently with my same model wanted an F forty something update. I see my version is F.33

I suppose I will write to HP support and see if I can get this resolved.

But do you think my DAW which I insist on using will work on Arch linux? It says it has been tested on Ubuntu. That's all I really care about at this point. A working laptop with working power button and a stable version of linux that will run my DAW.

I the meantime, I will take the laptop to a computer service guy and see if he can help. Stuff like this is a bit too advanced for me. It's like training to be a fighter plot in 2 weeks.

Best

Matt
 
I suppose I will write to HP support and see if I can get this resolved.
I seriously doubt HP Support will be able to help you with a Linux problem.

But do you think my DAW which I insist on using will work on Arch linux?
What's your experience with Linux as Arch Linux ain't for the Linux novice.
 
If you switch on the laptop and IMMEDIATELY jiggle the Esc key this should open the bios, if not try again using the F10 key, but you have to be quick , you only get a couple of seconds before it tries to boot... hopefully one of these will open your bios.. if so switch it off and do no more [if not report back]... if you can [get a friend to help if necessary ] down load and burn to pendrive MX-19.4_x64 , [I know its not your chosen distro but it comes with a great selection of drivers] and try running it live, if it works go for the install but make sure you install proprietary /non free drivers when asked , then provided it loads ok test everything out .. now if everything works you can install your chosen disto to replace the MX but you may need to tweak it and add extra drivers,
Unlike windows you do not need motherboard or component drivers per-say as Linux includes most of what you need

Bwiz
 
Hello,

We I thought that maybe HP could help me get me BIOS updated which is something aside from the operating system, isn't it? Anyway, their sit says there a no software updates for my laptop so I joined the HP forum to find out whether my BIOS UEFI is updated or not.

BrickWizard, yes I know how to get into BIOS...I will try what you said and also try the Manjaro suggested by Fanboi and report back. Have to wait until tomorrow because both my USB sticks have malfunctioned (the computer doesn't even see them at all) and I have to get a new one.

I will report back. Thanks for your help.

Matt
 
(the computer doesn't even see them at all) and I have to get a new one.
as you know how to get into the bios, do that and make sure boot from usb is enabled at first boot [had to do this with my hp desktop]

Bwiz
 
I thought that maybe HP could help me get me BIOS updated which is something aside from the operating system, isn't it?

Have to wait until tomorrow because both my USB sticks have malfunctioned (the computer doesn't even see them at all) and I have to get a new one.

OEMs have terrible customer service. Don't hold your breath on a meaningful answer. If you get a timeous answer, it'll be an automated template reply.
To answer your question, though, yes, the firmware for the UEFI BIOS is completely separate from the OS (until ~2030). You can remove all storage and still boot into the UEFI (which loads the bootloader, which loads the OS).
Anyway, don't stress too much on the updates. If they're not readily available, chances are there aren't any updates. You're running the latest stable version.

A thought: Your USB port may be faulty if you used the same one for both failed flashdrives and the phone. It's worth being careful not to trash USB devices until you're sure.
 
I have 2 laptop. One USB just doesn't even register on either of them. I mean there's nothing. The other one is read-only now for some reason. I tried to flash to it and it's read only. Scoured the net for hours to figure out how to 'chown' and 'chmod' it but to no avail. Gparted wouldn't do it either. Kept getting a 'read-only' message. So I've bought another one.

The HP forum say that you can't update the BIOS without Windows so I am going to download a trial of Windows 10 and see if I can do it with that and then I can switch back to linux knowing the firmware on the BIOS is up to date.

The I will try Manjaro or MX as a live USB to see if I can get this button to work right. If not then I will admit defeat and take it to an computer repair shop. Maybe the laptop is faulty. I will patiently go through this and learn something plus I will have taken my mind off the impending apocalypse for a while.

I will report back.

Over and out

Matt
 
Mat in the last 20 odd years I have resorted to flashing the Bios probably twice If its not causing any problems I don't see any point in risking doing an update that in the main will be unnecessary. and if not done correctly can bulk the system.

Bwiz
 
Ok, well I read all your posts with careful consideration. Anyway, I have installed Windows and left it that. Just kidding. I have installed Windows and updated the BIOS succesfully. Now, the power off button works correctly. But will it work correctly with Linux? The DAW I use is Tracktion Waveform which has been 'tested on Ubuntu 16.04'. Will it work on MX Linux (the version BrickWizard mentioned)? Let's see. I will report back.
 

Members online


Top