Hot answers tagged

12

This question is old but I just came across a working fix for this. As it turns out, the issue was caused due to the USB drive being unmounted during the LVM setup process. It might've been a bad USB connector or USB drive. There is a very easy fix for which you don't even have to reboot or re-do any of the setup again. Press esc to enter the menu of the ...


4

You have to weight the cons and pros of either distributions. Ubuntu is based on Debian, as such you can focus more on the differences. As in Debian vs Ubuntu: TLDR Debian for servers/tinkerers/experienced users/sysadmins/older limited hardware ; Ubuntu for newbies/bleeding edge hardware/problematic Wifi or video cards. Debian stability vs Ubuntu newer ...


3

As per Acer's comments site, you really don't have 240GB. You have a pair of M.2 120GB SSDs. You can create volumes on each, then join them together with LVM, and make an ext4 partition following this article; or, you can use one for /root and one for /home .


3

From the OpenBSD FAQ: OpenBSD has support for a number of wireless chipsets. Which brings you to the OpenBSD man pages for all wireless drivers. Read through the drivers you are interested in to find the supported hardware. Most things you need to know can be found in the man pages this way. For example, from the iwm(4) man page: The iwm driver ...


3

You can test unbinding the driver on the parent device. This will remove the child device input0 - along with any other child devices that were there. cd /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00 echo PNP0C0D:00 | sudo tee driver/unbind A second example, based on the other input device you mention: cd /sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/...


2

I had solved this issue once before, but it seems the latest versions of Fedora (I'm on Fedora 28 now), requires these two entries now, whereas before only the first one was necessary: user$ sudo vi /etc/systemd/logind.conf HandleLidSwitch=ignore <---- Set both of these HandleLidSwitchDocked=ignore <---- to ignore lid events. user$ sudo ...


2

You can also check the battery health by using the inxi tool with this command : $ ./inxi -Bxxx Battery: ID-1: BAT0 charge: 39.5 Wh condition: 40.3/47.5 Wh (85%) volts: 10.8/10.8 model: PA5109U-1BRS type: Li-ion serial: FA80 status: Discharging and check the condition value.


2

You can peristently ignore lid switch events by changing the systemd-logind configuration in /etc/systemd/logind.conf. From my own system: [Login] HandleLidSwitch=ignore HandleLidSwitchDocked=ignore After making the change, you can systemctl restart systemd-logind to have it take effect.


2

You can use udev: # /etc/udev/rules.d/<priority>-<name>.rules ACTION=="add", BUS="usb", SYSFS{serial}="<serial-number>", NAME="<name>", RUN="/your/xrandr/script" (e.g. <priority> might be 50 and <name> docked-monitor) Where the SYSFS and NAME settings come from lsusb. Other options to target the particular device (your ...


2

It hasn’t been merged (yet); it’s only available in Takashi Iwai’s sound tree, but only for 4.13 (look at the list of topic branches). You’ll be able to see when it’s merged by looking for the appearance of sound/soc/codecs/cx2072x.c in the kernel source. The driver can be forward-ported to current kernels, as shown in Heiko Mathes’ fork of 4.16 and 4.19 (...


2

Note before starting: This functionality depends on both your hardware and software. If your hardware doesn't support fan speed controls, or doesn't show them to the OS, it is very likely that you could not use this solution. If it does, but the software (aka kernel) doesn't know how to control it, you are without luck. Install the lm-sensors and ...


2

You can ask rsyslogd to run a program when it matches the line. Create a file such as /etc/rsyslog.d/my.conf with a line like :msg, contains, "bad trackpad package" ^/bin/mytrackpadreset and this will run the script /bin/mytrackpadreset when the message is seen, passing the whole message as a single string argument. As the daemon runs as root, you can ...


2

What you're trying to do is possible, but you need to plan ahead very carefully: Buy the highest end computer you can afford (I buy one computer every 7 years) Ensure it's upgradeable to at least twice the configuration size you currently have (my previous laptop started with 1G of RAM, 120GB HDD and ended up with 4G / 1TB before it finally broke down) ...


2

I have never heard of a wifi hardware switch that you could turn on by software. It would sort of defeat the whole purpose of having a hardware switch in the first place. So I see you have a couple of options: Turn on the wifi and leave it turned on. This will probably involve a screwdriver. Possibly changing the keyboard to one where the switch is working....


2

Most vendors to not expose such an API and there is not one in the Kernel, so either it's handled in hardware, or the BIOS (check for a setting there). The reason is lithium batteries can catch on fire when changed improperly so most would consider it unwise to plug that system into something as buggy and malware prone as a modern OS, or letting end users ...


1

Follow the manual for Hardware Maintenance from Lenovo for your machine. Pages 52-54, 57-58, 61-62, and 81-83 have important preliminary steps, but pages 92-95 and 98-99 show the key steps in accessing the cable from the top of the motherboard to the LCD assembly. After preparations as shown in the manual, disconnect and reconnect the ribbon cable from the ...


1

This answer suggests, no event is fired on a monitor connect/disconnect event. If it is really so, then it is a major bottleneck of the Linux/X11 GUI in my opinion. That answer suggests polling as a workaround (xrandr --listmonitors shows the connected / disconnected monitors, executing a script periodically would be a solution). However, polling is bad. A ...


1

First thing I would look for are error-messages, in the kernel ring buffer, with dmesg. I would look for debug output of the WiFi hardware driver stack. I usually see Intel drivers reporting associated and dissociated events including reasons. Destination Host Unreachable most often means there is no route to this destination. You can check routes with ip r....


1

I was successful in Windows 10 with the code below. It handles both failures that the fan can have, being: "fan stops suddenly with fan duty=0" and "fan stops suddenly with rpm > 10000 with a electric noise that can be heard coming from the fan". It requires a program that loads Winring0 such as ThrottleStop running in the background. I have not tested it ...


1

There's no universal and guaranteed reliable way to tell if a screen is internal. There's simply no standardized hardware flag that would tell you "this screen is physically built into the same case as the rest of the computer". So you need to guess, and the type of the interface is a good source of some hints, just because there aren't any video interfaces ...


1

You might be able to use xrandr to give you the output you need. For instance, xrandr --query on my machine shows the adapters (the first one on my laptop is eDP1, and xrandr --listmonitors shows the monitor names as I'd see them in my Monitors and screen gui panel. Also, from the output if you just wanted to exclude externals you could do something like ...


1

In order to map rare or custom key bindings you will need to manually edit xmodmap and ensure that it boots every time X starts. If xev is not working, you can also run showkey --keycodes When I ran showkey --keycodes it returned an error Couldn't get a file descriptor referring to the console So I had to run showkey --ascii and use the first column ...


1

I'm running Fedora 29 64bit on my E585. I followed the guide on enter link description here. Especially the kernel boot parameters ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00.1 seem to be important. Unfortunately I'm not familiar with these things so I can just provide the link to this guide.


1

Pietro, in my experience you need a slightly newer kernel than those: I started getting a usable system after 4.20 and I got up to 5.0.4. You can always install in text mode and later update the kernel, of course.


1

It seems that applying the solution rom https://unix.stackexchange.com/a/307498/111048 (which handles shutdown) my problem is solved as well!


1

To get the WiFi chipset working/build the necessary kernel mode, run in the command line: sudo apt-get install git build-essential dkms git clone -b extended https://github.com/lwfinger/rtlwifi_new.git sudo dkms add ./rtlwifi_new sudo dkms install rtlwifi-new/0.6 Reboot. From HP Forums No WIFI presence on Ubuntu 16.04 The DKMS here in these instructions ...


1

I've had exactly the same issue, the following steps helped me solve it : On manjaro/arch linux : Install libinput-git from AUR to pick up the following change in libinput that should solve the issue: https://gitlab.freedesktop.org/libinput/libinput/merge_requests/99 that. You should note that compiling libinput may require other packages (python-sphinx, ...


1

You need to set DRI_PRIME value before running the programs. Example DRI_PRIME=1 glxinfo | grep OpenGL This is assumming you already set the proper provider related article : PRIME


1

If it's a synaptics touchpad, you could give the synaptics driver a chance. Install it with: $ sudo pacman -S xf86-input-synaptics You can then copy over the default configuration file to make use of it: $ cp /usr/share/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/70-synaptics.conf This is what helped me in a similar case. Source: Arch linux ...


Only top voted, non community-wiki answers of a minimum length are eligible