# NO ethernet nor USB mouse when running in battery power

**URL:** https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010
**Category:** Hardware and Drivers
**Created:** [July 6, 2022, 8:15pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010 "2022-07-06T20:15:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lobaluna](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/lobaluna/32/640_2.png) [@lobaluna](https://forum.maboxlinux.org/u/lobaluna)
#### Post date: [July 6, 2022, 8:15pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010/1 "2022-07-06T20:15:25Z")

</div>

Hi, everyone!

I’m not sure if this is a Manjaro issue or a Mabox thing. I’m trying to explore and troubleshoot my problem.

Everything on my laptop is OK, except when I decide to ~~start~~ change to without the AC power on. If I start and run only with battery (which is in good health, I assume, because is 95% most of the time), I can ~~not~~ use the USB mouse ~~nor~~ and the ethernet connection or the wifi. I can connect to Internet thru wireless, no problem at all, BUT that’s not optimal.

(I changed my first statement because I digged more and found that.)

So please hint me in the right direction for troubleshooting. No hurries. I most of the time live on AC power at home, but it’s no good to leave this as it is currently.

Any help would be very much appreciated.

---

<div class="post-metadata">

### Author: ![ben\_chile](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/ben_chile/32/134_2.png) [@ben\_chile](https://forum.maboxlinux.org/u/ben_chile)
#### Post date: [July 6, 2022, 11:08pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010/2 "2022-07-06T23:08:42Z")

</div>

Wow…please post your pc/laptop config here… por favor publica los detalles de tu pc o laptop aqui para ver en que ayudar… (desde la terminal/from terminal : inxi -n (then plug your mouse and from terminal) : lsusb or lspci  
Acabo de probar mabox con mi Mouse usb inalambrico con bateria en mi laptop y esta operando correctamente. I just checked my USB wireless mouse using battery power and Mabox is working good here.

---

<div class="post-metadata">

### Author: ![slawiusz](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/s/ea5d25/32.png) [@slawiusz](https://forum.maboxlinux.org/u/slawiusz)
#### Post date: [July 7, 2022, 12:30pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010/3 "2022-07-07T12:30:20Z")

</div>

Hi!

First of all I would check BIOS - if there aren’t any config options, that turns some hardware devices off while on battery.

---

<div class="post-metadata">

### Author: ![ben\_chile](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/ben_chile/32/134_2.png) [@ben\_chile](https://forum.maboxlinux.org/u/ben_chile)
#### Post date: [July 7, 2022, 11:05pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010/4 "2022-07-07T23:05:39Z")

</div>

Just to let anyone knows about this ethernet (LAN) disconnections from rtl8152 drivers using kernel 515 LTS… in some Manjaro forums users having a similar situation were recommended to try from AUR r8152-dkms driver from Realtek Github and test if this solves this partial impasse of missing Ethernet connection when using (Ideapad S340 laptop) battery only.

[https://aur.archlinux.org/packages/r8152-dkms](https://aur.archlinux.org/packages/r8152-dkms)

---

<div class="post-metadata">

### Author: ![lobaluna](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/lobaluna/32/640_2.png) [@lobaluna](https://forum.maboxlinux.org/u/lobaluna)
#### Post date: [July 9, 2022, 6:21pm UTC](https://forum.maboxlinux.org/t/no-ethernet-nor-usb-mouse-when-running-in-battery-power/1010/5 "2022-07-09T18:21:27Z")

</div>

Thanks for your help, @ben_chile. Here it is my output:

(with AC power)

```auto
$ inxi -n
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    driver: ath10k_pci
  IF: wlp2s0 state: down mac: f2:d4:bd:39:64:d2
  Device-2: Realtek RTL8152 Fast Ethernet Adapter type: USB driver: r8152
  IF: enp4s0f3u1 state: up speed: 100 Mbps duplex: full
    mac: 00:e0:4c:36:01:a1
  IF-ID-1: virbr0 state: down mac: 52:54:00:34:86:c2

```

(with battery only)

```auto
$ inxi -n
Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    driver: ath10k_pci
  IF: wlp2s0 state: down mac: f2:d4:bd:39:64:d2
  Device-2: Realtek RTL8152 Fast Ethernet Adapter type: USB driver: r8152
  IF: enp4s0f3u1 state: N/A speed: N/A duplex: half mac: N/A
  IF-ID-1: virbr0 state: down mac: 52:54:00:34:86:c2

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

```

After ~ 30 sec of disconnecting the AC power, the plugged in mouse turns off .

If I start the laptop without AC power, the mouse operates as expected. This strange behavior happens only when I started in AC but changed to battery in the middle of the session.

I already checked my BIOS, @slawiusz, under Ben’s guidance. Nothing special to report there. No configuration options for mouse.

Also I changed to kernel 518, as per Ben’s advise. According to `lsmod`, I have the aforementioned network module already installed (but maybe not in use?):

`r8152 274432 0`
