Jump to content

SUBIECTE NOI
« 1 / 5 »
RSS
Photoshop, setari - Cum maresc pa...

Android 1000-2000 lei

Vanzare apartament zona Dristor

La 22 de ani in Spania, Castellón
 Catalin Tolontan dat afara si de ...

WEBASTO pt duster pe motorina

Upgrade memorie ram DDR4 la laptop?

Timberland sau Columbia
 AMD, evolutie procesoare laptop

Shazam pentru Parfumuri?

Transportul in comun in Bucuresti...

Recomandare - disjunctoare difere...
 Puteti sa imi recomandati si mie ...

Camerele de supraveghere dau uneo...

Haine de iarna

Junsun V1 pro Qashqai j11 probleme
 

Dell 9020m si Debian 11: porturile USB sint alimentate si in standby

- - - - -
  • Please log in to reply
4 replies to this topic

#1
undesignus

undesignus

    Senior Member

  • Grup: Senior Members
  • Posts: 3,453
  • Înscris: 28.06.2006
Am un Dell 9020m cu 6 porturi USB (4 in spate, doua in fata). Sistemul de operare este Debian 11 stable cu update-urile la zi.
Problema e ca atunci cind pun sistemul in suspend, porturile USB sint inca alimentate. Ciudat, dar nu am gasit in BIOS vreo optiune care sa controleze asta (de regula poti lasa un singur port alimentat permanent, daca vrei asta).

Configuratia hardware este:

Quote

# lsusb | sort
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 002 Device 008: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 009: ID 046d:c069 Logitech, Inc. M-U0007 [Corded Mouse M500]
Bus 002 Device 010: ID 046d:c548 Logitech, Inc. USB Receiver
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

In mod normal am un soarece si o tastatura conectate printr-un hub USB pasiv - Terminus Technology Inc. Hub.
Configuratia raportata de uhubctl este diferita:

Quote

# uhubctl
Current status for hub 3-1 [8087:8000, USB 2.00, 8 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power
Port 5: 0100 power
Port 6: 0100 power
Port 7: 0100 power
Port 8: 0100 power
Current status for hub 1-1 [8087:8008, USB 2.00, 6 ports, ppps]
Port 1: 0100 power
Port 2: 0100 power
Port 3: 0100 power
Port 4: 0100 power
Port 5: 0100 power
Port 6: 0100 power

sys FS arata cam asa:

Quote

# ll /sys/bus/usb/devices
total 0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 1-0:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 1-1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1
lrwxrwxrwx 1 root root 0 Dec 10 07:15 1-1:1.0 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 2-0:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-0:1.0
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.1 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.1
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.1:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.1/2-2.1:1.0
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.3 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.3:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3/2-2.3:1.0
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.3:1.1 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3/2-2.3:1.1
lrwxrwxrwx 1 root root 0 Dec 10 09:46 2-2.3:1.2 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3/2-2.3:1.2
lrwxrwxrwx 1 root root 0 Dec 10 07:15 2-8 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-8
lrwxrwxrwx 1 root root 0 Dec 10 07:15 2-8:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 2-8:1.1 -> ../../../devices/pci0000:00/0000:00:14.0/usb2/2-8/2-8:1.1
lrwxrwxrwx 1 root root 0 Dec 10 07:15 3-0:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb3/3-0:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 3-1 -> ../../../devices/pci0000:00/0000:00:1d.0/usb3/3-1
lrwxrwxrwx 1 root root 0 Dec 10 07:15 3-1:1.0 -> ../../../devices/pci0000:00/0000:00:1d.0/usb3/3-1/3-1:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 4-0:1.0 -> ../../../devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0
lrwxrwxrwx 1 root root 0 Dec 10 07:15 usb1 -> ../../../devices/pci0000:00/0000:00:1a.0/usb1
lrwxrwxrwx 1 root root 0 Dec 10 07:15 usb2 -> ../../../devices/pci0000:00/0000:00:14.0/usb2
lrwxrwxrwx 1 root root 0 Dec 10 07:15 usb3 -> ../../../devices/pci0000:00/0000:00:1d.0/usb3
lrwxrwxrwx 1 root root 0 Dec 10 07:15 usb4 -> ../../../devices/pci0000:00/0000:00:14.0/usb4

In teorie, tot ce am de facut ar fi sa opresc alimentarea pentru usb2 device 8 (terminus), dar obtin doar asta:

Quote

# echo suspend > /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/power/level
bash: echo: write error: Invalid argument
Din ce am cautat pe Google, aparent asta ar fi un read-only filesystem si nu prea pot schimba asta.

Aceeasi eroare o obtin si daca incerc:

Quote

# echo 0 > /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/authorized
# echo suspend > /sys/devices/pci0000:00/0000:00:14.0/usb2/2-8/power/level
bash: echo: write error: Invalid argument
Detalii aici: https://github.com/mvp/uhubctl

Am incercat sa opresc si toate (da, toate) porturile USB:

Quote

uhubctl -a on -p 8 -l 3-1
Intr-adevar, porturile sint afisate ca oprite, dar tot nu am reusit sa imi tai craca, adica sa opresc mouse-ul si/sau tastatura.

Am incercat si cu powertop, am pus toate porturile pe autosuspend, dar tot degeaba.

As aprecia orice sugestii si hint-uri.

#2
m-amintors

m-amintors

    Member

  • Grup: Members
  • Posts: 378
  • Înscris: 26.07.2021
In bios nu ai optiunea Eup? Eu de acolo le am dezactivat.

#3
m-amintors

m-amintors

    Member

  • Grup: Members
  • Posts: 378
  • Înscris: 26.07.2021
Mai joaca te prun bios si la deep sleep control sau USB Wake Support from Standby (S3)/Hibernation (S4)

#4
mhanor

mhanor

    Senior Member

  • Grup: Senior Members
  • Posts: 2,013
  • Înscris: 12.01.2004
În BIOS - Power Management, pune Disable pe USB Wake Support from Standby (S3), respectiv Hibernation (S4)

#5
undesignus

undesignus

    Senior Member

  • Grup: Senior Members
  • Posts: 3,453
  • Înscris: 28.06.2006

View Postm-amintors, on 17 decembrie 2021 - 14:48, said:

In bios nu ai optiunea Eup? Eu de acolo le am dezactivat.

Daca EuP inseamna Energy-using Products, nu am gasit optiunea asta.

@m-amintors & mhanor setarile de power management sint astea:
- Deep sleep control -> Enabled in S4 and S5
- Block sleep -> Disabled (pot sa-l pun si pe enable, nu schimba nimic)
- USB wakeup -> Disabled

Anunturi

Chirurgia endoscopică a hipofizei Chirurgia endoscopică a hipofizei

"Standardul de aur" în chirurgia hipofizară îl reprezintă endoscopia transnazală transsfenoidală.

Echipa NeuroHope este antrenată în unul din cele mai mari centre de chirurgie a hipofizei din Europa, Spitalul Foch din Paris, centrul în care a fost introdus pentru prima dată endoscopul în chirurgia transnazală a hipofizei, de către neurochirurgul francez Guiot. Pe lângă tumorile cu origine hipofizară, prin tehnicile endoscopice transnazale pot fi abordate numeroase alte patologii neurochirurgicale.

www.neurohope.ro

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Forumul Softpedia foloseste "cookies" pentru a imbunatati experienta utilizatorilor Accept
Pentru detalii si optiuni legate de cookies si datele personale, consultati Politica de utilizare cookies si Politica de confidentialitate