Logitch M325 wireless mouse, sticky/useless on Ubuntu Studio 19 with LL kernel (intermittent)

I’ve just installed Ubuntu Studio (with low latency kernel) on an Athlon X4 740 system that previously ran Ubuntu 14.04 for a number of years, then 18.04 for a little while and now this one because I’m dedicating this box to audio stuff and want to optimize it for that purpose. So I’ve used the exact same hardware on other Ubuntu versions without this issue.

I’ve had this device hooked up to a USB/VGA type KVM switch along with a Windows 10 machine and a Gigabyte “Brix” system running Ubuntu 16.04. Only with the recently installed Ubuntu Studio on my mini-ITX box am I getting any issue.

a) USB keyboard input (also on the KVM) drops characters if I go too fast, like on double letters.

b) Logitech 325 Mouse (on Unifying receiver) is not fully frozen but barely moves. Wired USB mouse coming through a different USB port is not smooth, but is usable.

SOMETIMES however, when I boot, this does not happen and the wireless mouse and USB keyboard work quickly and smoothly. Right now it’s about 1 out of 5 boots is OK.

larry@ub-studio:~$   xinput ⎡ Virtual core pointer                      id=2    [master pointer  (3)] ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)] ⎜   ↳ PixArt Microsoft USB Optical Mouse        id=13   [slave  pointer  (2)] ⎜   ↳ Logitech M325                             id=14   [slave  pointer  (2)] ⎜   ↳ Microsoft Wired Keyboard 600 Consumer Control id=11   [slave  pointer  (2)] ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]     ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]     ↳ Power Button                              id=6    [slave  keyboard (3)]     ↳ Video Bus                                 id=7    [slave  keyboard (3)]     ↳ Power Button                              id=8    [slave  keyboard (3)]     ↳ Microsoft Wired Keyboard 600              id=9    [slave  keyboard (3)]     ↳ Microsoft Wired Keyboard 600 System Control   id=10   [slave  keyboard (3)]     ↳ Microsoft Wired Keyboard 600 Consumer Control id=12   [slave  keyboard (3)] larry@ub-studio:~$    

The result above is when the mouse is misbehaving. I haven’t got it behaving recently to compare. When I use the KVM to switch to the Windows or other Ubuntu system it works fine. I haven’t yet tried different USB ports on the back but that’s next.

larry@ub-studio:~$   dmesg | grep -i mouse [    1.113250] mousedev: PS/2 mouse device common for all mice [    2.481843] input: Logitech Unifying Device. Wireless PID:400a Mouse as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0005/0003:046D:400A.0006/input/input6 [    2.481986] hid-generic 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:400a] on usb-0000:00:12.0-2:1 [    2.507654] logitech-hidpp-device 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech M325] on usb-0000:00:12.0-2:1 [    3.174538] usb 3-3: Product: Microsoft USB Optical Mouse [    3.181895] input: PixArt Microsoft USB Optical Mouse as /devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/0003:045E:00CB.0007/input/input11 [    3.182216] hid-generic 0003:045E:00CB.0007: input,hidraw4: USB HID v1.11 Mouse [PixArt Microsoft USB Optical Mouse] on usb-0000:00:12.0-3/input0 [ 3439.831928] logitech-hidpp-device 0003:046D:400A.000D: input,hidraw3: USB HID v1.11 Mouse [Logitech M325] on usb-0000:00:12.0-2:1 larry@ub-studio:~$     
larry@ub-studio:~$   dmesg | grep -i logitech [    2.353461] usb 3-2: Manufacturer: Logitech [    2.374388] logitech-djreceiver 0003:046D:C52B.0005: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:12.0-2/input2 [    2.481843] input: Logitech Unifying Device. Wireless PID:400a Mouse as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0005/0003:046D:400A.0006/input/input6 [    2.481986] hid-generic 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:400a] on usb-0000:00:12.0-2:1 [    2.507522] input: Logitech M325 as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.2/0003:046D:C52B.0005/0003:046D:400A.0006/input/input10 [    2.507654] logitech-hidpp-device 0003:046D:400A.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech M325] on usb-0000:00:12.0-2:1 [   48.470347] logitech-hidpp-device 0003:046D:400A.0006: Can not get the protocol version. [   50.731246] Modules linked in: cmac bnep nls_iso8859_1 nvidia_uvm(POE) snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm nvidia(POE) snd_seq_midi btusb joydev snd_seq_midi_event arc4 snd_rawmidi btrtl input_leds iwlmvm snd_seq edac_mce_amd btbcm btintel snd_seq_device mac80211 bluetooth kvm_amd snd_timer ecdh_generic ccp snd iwlwifi kvm irqbypass soundcore k10temp cfg80211 drm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 crypto_simd cryptd mac_hid glue_helper sch_fq_codel cuse parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj pata_acpi hid_generic usbhid hid i2c_piix4 pata_atiixp r8169 ahci realtek libahci video [   52.006389] logitech-hidpp-device 0003:046D:400A.0006: HID++ 2.0 device connected. [  281.963682] logitech-hidpp-device 0003:046D:400A.0006: hidpp20_batterylevel_get_battery_capacity: received protocol error 0x09 [ 2105.769626] logitech-hidpp-device 0003:046D:400A.0006: hidpp20_batterylevel_get_battery_capacity: received protocol error 0x09 [ 2497.141240] logitech-hidpp-device 0003:046D:400A.0006: hidpp20_batterylevel_get_battery_capacity: received protocol error 0x09 [ 3118.252873] logitech-hidpp-device 0003:046D:400A.0006: hidpp20_batterylevel_get_battery_capacity: received protocol error 0x09 [ 3436.919596] usb 3-2: Manufacturer: Logitech [ 3438.584052] logitech-djreceiver 0003:046D:C52B.000C: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:12.0-2/input2 [ 3439.831760] input: Logitech M325 as /devices/pci0000:00/0000:00:12.0/usb3/3-2/3-2:1.2/0003:046D:C52B.000C/0003:046D:400A.000D/input/input19 [ 3439.831928] logitech-hidpp-device 0003:046D:400A.000D: input,hidraw3: USB HID v1.11 Mouse [Logitech M325] on usb-0000:00:12.0-2:1 larry@ub-studio:~$      

How do I connect to WPA2 Enterprise wireless networks on 18.04 without breaking regular wireless connections?

I’m running 18.04 and need to connect my laptop to a WPA2 Enterprise network at my school that I’m fairly sure uses MSCHAPV2 with PEAP and no CA certificate. When I connect with the credentials that work fine with Windows and on my iPhone, it fails to authenticate as if my password is wrong. I’ve tried adding my ID to anonymous ID, which failed. I’ve tried no PEAP as well as a couple other security types, no dice. I’ve seen some old solutions but they seem to break compatibility with regular wpa2 networks, which is a deal breaker for me as I need seamless switching to my home network. Compounding my issues, I don’t have access to gnome settings as I run the deepin desktop. lshw shows my wireless card as being an Intel Dual-Band Wireless AC 3168NGW [Stone Peak], whatever that means. Any help is welcome!

Killer Wireless 1650 on Ubuntu 18.04 doesn’t work

I installed Ubuntu 18.04 on a Dell XPS 15 7590 with a Killer Wireless 1650 2×2 AX Wifi card, but impossible to connect to wifi, with the following message : No WiFi Adapter found.

I found this answer which seems to work for some people, but not for me… The solution need an internet connection, and this is the current problem.

(The link doesn’t work for now, so I put a screeshoot of instructions) enter image description here

So I cloned the repo from an another computer and transfer with USB stick :

$   git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git 

I installed make from the ubuntu iso, as Bernard advise here.

I continued to follow instructions :

$   make defconfig-iwlwifi-public $   make -j4 

Those commands seems to work, I only get the following message for both, at the beggining:

make[5]: execvp: ./lxdialog/check/lxdialog.sh : Permission denied
make[5]: execvp: ./lxdialog/check/lxdialog.sh : Permission denied

And when I finally enter $ sudo make install I got this message :

Building modules, stage 2.
MODPOST 6 modules
INSTALL /home/remi/wifi/backport-iwlwifi/compat/compat.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/remi/wifi/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory INSTALL /home/remi/wifi/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/mvm/iwlmvm.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/remi/wifi/backport-iwlwifi/drivers/net/wireless/intel/iwlwifi/xvt/iwlxvt.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/remi/wifi/backport-iwlwifi/net/mac80211/mac80211.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
INSTALL /home/remi/wifi/backport-iwlwifi/net/wireless/cfg80211.ko
At main.c:160:
– SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
– SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory DEPMOD 5.0.0-23-generic
Warning: modules_install: missing ‘System.map’ file. Skipping depmod.
make[1]: execvp: ./scripts/blacklist.sh : Permission non accordée
Makefile.real:104: recipe for target ‘install’ failed
make[1]: *** [install] Error 127
Makefile:40: recipe for target ‘install’ failed
make: *** [install] Error 2

Please, what can I do ? If I buy a USB to LAN adapter, can I have a connection ? Or it will be the same ? I can’t found any solutions.

noob – install wireless but need internet

Just installed Ubuntu and now I want to install driver for a wireless USB adapter:

LB-Link BL-LW06-AR 300 Mbps USB Wireless N Adapter

Their driver needs to be compiled.

I type

make

..It says ‘apt install make’. I type that.

..It says : Package ‘make’ has no installation destination

sudo apt update

…and I get errors about ‘Could not resolve ‘security.ubuntu.com’

BECAUSE I don’t have the internet, right? I’m trying to get my wireless stick working, so I’m in an unhappy cycle here.

—-If anyone has the compiled driver or any advice, I appreciate it.

Peter

Wireless mouse not working with Ubuntu 18.04.3 after downgrading kernel from 5.0.0.25 to 4.15.0-58

I need to downgrade my kernel to one of: 4.4, 4.8, 4.10, 4.13, 4.15 and 4.18.

I have tried both 4.15 and 4.18 but when I boot into either, my usb wireless mouse does not work. The keyboard does work however, and I am able to launch a terminal.

Why might my mouse not be working with those kernels?

How can I either get my mouse working on 4.18 or 4.15, or which kernel should I be using for it to work out of the box?

Evil Twin without wireless adapter(monitor mode) [on hold]

I wanted to try out to do an Evil Twin attack on Kali Linux or Windows 10, but I don’t have the described hardware that’s required (wireless adapter for monitor mode etc.). What I am asking for is a method to create a “fake” hotspot from which I can grab data. I’m on a laptop (windows 10/kali linux vm) if that changes something.

hardware airplane switch on supposedly causing wireless connections to not work

I have been having this issue when I updated to linux ubuntu 19.04 on my very old Dell latitude D830, one error I’ve been having is the internet connection not working, because wifi doesnt connect. I’ve tried every solution in here so far with NONE changing anything.

My original problem is that tge internet connection, wifi, is disabled, and it says UNAVAILABLE, tryinf to enable it doesnt work. I cant use tethering or usb or bluetooth because the only way I get internet is wifi and those options turn it off from my phone.

output of sudo rfkill list:

0: phy0: Wireless LAN                 Soft blocked: no                 Hard Blocked: no  1: brcmwl-0: Wireless LAN                 Soft blocked: no                 Hard Blocked: no  2: dell-wifi: Wireless LAN                 Soft blocked: no                 Hard Blocked: yes 3: dell-blueooth: Bluetooth                 Soft blocked: no                 Hard Blocked: yes 

output of ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000             link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00  2: enp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000             link/ether 00:21:70:79:42:4b brd ff:ff:ff:ff:ff:ff  3: wlp12s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000             link/ether 00:22:5f:1c:59:62 brd ff:ff:ff:ff:ff:ff 

Again, every other solution i saw over here by googling didnt work, I typed more than a million commands for this problem to go, I actually encountered it earlier when i installed ubuntu 19.04, but I fixed it, but then after that by some months, i think around 2/3, it came back. and I have no way whatsoever to fix it, i even tried going back to what originally fixed it.

Lenovo IdeaPad S145 I can get touchpad or wireless to work but not at same time

So this might get tagged as a duplicate question, but I haven’t seen a post that addresses both issues.

I’ve installed Ubuntu 18.04. The latest version comes with kernel 5.0.0.23 . With this kernel touchpad works flawlessly, but none of the fixes for the wifi seem to work (have the rtl8821ce chip).

I then installed kernel 4.15 and with this kernel I am able to get the wifi working, but I can’t seem to get touchpad to work. The fixes I am able to find are to upgrade the kernel, but when I update kernel I lose wifi.

I’ve been trying with different kernels, and it seems anything above 5.0 will recognize the touchpad but won’t allow me to compile the wifi drivers (get errors during make, and during dkms-install.sh), and seems everything above 4.15 but under 5.0 will have wifi working, but no touchpad.

From what I read, seems starting with kernel 5.0 lenovo touchpad drivers will be recognized, and the rtl8821ce driver project was abandoned by Tom on Feb 2019.

What are my options? Is my only option to wait for someone to fix the issue with a new kernel? Or is there something I can do.