Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

RossoErcole, to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.
@RossoErcole@kbin.social avatar

Mhm, but it doesn't sound great. If you forget it's on, you put it in a backpack to then get it out at around 300 degrees. Sounds like a very bad idea.

RossoErcole, to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.
@RossoErcole@kbin.social avatar

Yes I do, 1070, I've posted more details of my system in an answer and in the main thread. But I use the proprietary drivers not nouveau

RossoErcole, to linux in Suspension on my laptop (closing the lid) causes Wifi to not be available.
@RossoErcole@kbin.social avatar

The desktop is Cinnamon, I did include it in the original post too, maybe I should make it clearer.

Laptop is an MSI GS65-Stealth-Thin-8RF

Other System Info:

System:
Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4
tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: Micro-Star product: GS65 Stealth Thin 8RF v: REV:1.0
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Micro-Star model: MS-16Q2 v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends v: E16Q2IMS.112 date: 05/21/2019
CPU:
Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
Speed (MHz): avg: 941 high: 1025 min/max: 800/4100 cores: 1: 913 2: 875 3: 1025 4: 867 5: 952
6: 911 7: 979 8: 921 9: 966 10: 994 11: 904 12: 988 bogomips: 52799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Micro-Star MSI driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e9b
Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] vendor: Micro-Star MSI driver: nvidia
v: 535.129.03 pcie: speed: 2.5 GT/s lanes: 16 ports: active: none empty: DP-2,HDMI-A-2
bus-ID: 01:00.0 chip-ID: 10de:1ba1
Network:
Device-1: Qualcomm Atheros Killer E2500 Gigabit Ethernet vendor: Micro-Star MSI driver: alx
v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 3d:00.0 chip-ID: 1969:e0b1
IF: enp61s0 state: down mac: <filter>
Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
bus-ID: 3e:00.0 chip-ID: 8086:2526
IF: wlp62s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 1-14:3
chip-ID: 8087:0025
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100

RossoErcole, (edited ) to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

What generates is this, so I think it's from the linux proxy 35:

### BEGIN /etc/grub.d/35_linux_proxy ###
submenu "Advanced Options"{
menuentry "Ubuntu, with Linux 5.15.0-91-generic" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-91-generic-advanced-9e121508-86c8-407a-803d-9521d13f0be9' {
		recordfail
	savedefault
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		search --no-floppy --fs-uuid --set=root 9e121508-86c8-407a-803d-9521d13f0be9
		echo	'Loading Linux 5.15.0-91-generic ...'
		linux	/boot/vmlinuz-5.15.0-91-generic root=UUID=9e121508-86c8-407a-803d-9521d13f0be9 ro  
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.15.0-91-generic
}

...more entries here

RossoErcole, (edited ) to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

it's not working, also I don't know why when I went in that line I have a \ now, that wasn't there before apparently, before $menuentry:

echo "submenu '$(gettext_printf "Advanced options for %s" "${OS}" | grub_quote)' $menuentry_id_option 'gnulinux-advanced-$boot_device_id' {"

(I've tried adding it also in front of ${CLASS}, leaving it only were it is, and removing it from both)

RossoErcole, (edited ) to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

there were 2 scripts that semeed related to that: 10_linux_proxy and 35_linux_proxy.
There is a folder called proxified scripts, and inside it there are two files: linux and os-prober

Here is the text in the linux file: https://textdoc.co/V3atnuEvcG4QlPUp

I'm not sure what to do with it

RossoErcole, to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

I'm not managing to get it to work on the submenu entry, only on the efi one. Don't know why

RossoErcole, to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

daje, grazie! (thanks!)

RossoErcole, (edited ) to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

should I just add the class parameter in these files where it is usually supposed to be, and the files even on updates will not be changed and this will work?

RossoErcole, to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar
RossoErcole, to linux in How to automatically assign classes in GRUB?
@RossoErcole@kbin.social avatar

It seems too long to copy paste here

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #