[MacBook Air] Prise en charge de l'adaptateur ethernet

Reconnaissance et configuration du matériel / kernel linux
thriller91
Hankyu
Messages : 18
Inscription : dim. 24 juil. 2011, 14:10
Localisation : Les Ulis (91)

[MacBook Air] Prise en charge de l'adaptateur ethernet

Message par thriller91 »

Salut tout le monde,
J'ai quelques problèmes avec mon adaptateur Thunderbolt-Ethernet (acheté chez Apple):
  • - il ne prends pas en compte le branchement à chaud
    - il ne supporte pas qu'on le débranche à chaud (gros lag de Gnome: perte totale de fluidité de la souris)
    - il ne supporte pas la sortie de veille (même lag)
Est-ce qu'il y a un moyen de trouver un log intéressant (cf. mon dmesg qui ne contient rien, mis à part les deux dernières lignes)?
J'ai essayé

Code : Tout sélectionner

systemctl restart NetworkManager
pour le branchement à chaud, mais ça ne donne rien (l'interface n'apparaît dans le Manager que si je branche l'adaptateur avant le démarrage).
Je précise quand même que j'arrive bien à me connecter à Internet avec cet adaptateur.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17569
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [MacBook Air] Prise en charge de l'adaptateur ethernet

Message par benjarobin »

As tu ces mêmes ralentissements (les 3 cas que tu cites) si tu n'utilises pas NetworkManager (arrêté ou désinstallé)
Peux tu donner les log associés à ces 3 ralentissements ? => Utilisation de journalctl (voir man pour limiter à une période définie)
Peux tu aussi donner la sortie de : hwinfo --netcard lorsque tout ce passe bien, et après avoir débranché puis rebranché l'adaptateur Ethernet
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
thriller91
Hankyu
Messages : 18
Inscription : dim. 24 juil. 2011, 14:10
Localisation : Les Ulis (91)

Re: [MacBook Air] Prise en charge de l'adaptateur ethernet

Message par thriller91 »

Voici les sorties de hwinfo --netcard:
normal:
21: PCI 200.0: 0282 WLAN controller
[Created at pci.319]
Unique ID: qru8.pau3ygYe6T5
Parent ID: qTvu.lbqpt3ZK2l3
SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: "Broadcom WLAN controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x4353
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00e9
Revision: 0x01
Driver: "bcma-pci-bridge"
Driver Modules: "bcma"
Device File: wlp2s0
Features: WLAN
Memory Range: 0xa0400000-0xa0403fff (rw,non-prefetchable)
IRQ: 17 (no events)
HW Address: b8:8d:12:15:32:48
Link detected: no
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v000014E4d00004353sv0000106Bsd000000E9bc02sc80i00"
Driver Info #0:
Driver Status: bcma is active
Driver Activation Cmd: "modprobe bcma"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #15 (PCI bridge)

29: PCI 3900.0: 0200 Ethernet controller
[Created at pci.319]
Unique ID: NjPq.NU2tH+QgnL0
Parent ID: ZXM4.O5KZul20_d4
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:03:00.0/0000:04:04.0/0000:37:00.0/0000:38:00.0/0000:39:00.0
SysFS BusID: 0000:39:00.0
Hardware Class: network
Model: "Broadcom Ethernet controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x1682
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00f6
Driver: "tg3"
Driver Modules: "tg3"
Device File: enp57s0
Memory Range: 0xa4a00000-0xa4a0ffff (ro,non-prefetchable)
Memory Range: 0xa4a10000-0xa4a1ffff (ro,non-prefetchable)
Memory Range: 0xa4a20000-0xa4a2ffff (ro,non-prefetchable,disabled)
IRQ: 16 (no events)
HW Address: 40:6c:8f:39:4a:53
Link detected: yes
Module Alias: "pci:v000014E4d00001682sv0000106Bsd000000F6bc02sc00i00"
Driver Info #0:
Driver Status: tg3 is active
Driver Activation Cmd: "modprobe tg3"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #28 (PCI bridge)
après avoir débranché:
21: PCI 200.0: 0282 WLAN controller
[Created at pci.319]
Unique ID: qru8.pau3ygYe6T5
Parent ID: qTvu.lbqpt3ZK2l3
SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: "Broadcom WLAN controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x4353
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00e9
Revision: 0x01
Driver: "bcma-pci-bridge"
Driver Modules: "bcma"
Device File: wlp2s0
Features: WLAN
Memory Range: 0xa0400000-0xa0403fff (rw,non-prefetchable)
IRQ: 17 (no events)
HW Address: b8:8d:12:15:32:48
Link detected: no
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v000014E4d00004353sv0000106Bsd000000E9bc02sc80i00"
Driver Info #0:
Driver Status: bcma is active
Driver Activation Cmd: "modprobe bcma"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #15 (PCI bridge)

29: PCI 3900.0: 0200 Ethernet controller
[Created at pci.319]
Unique ID: NjPq.sjyG4nOWyBB
Parent ID: ZXM4.tKEzgX0s8UF
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:03:00.0/0000:04:04.0/0000:37:00.0/0000:38:00.0/0000:39:00.0
SysFS BusID: 0000:39:00.0
Hardware Class: network
Model: "Broadcom Ethernet controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x1682
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00f6
Revision: 0xff
Driver: "tg3"
Driver Modules: "tg3"
Device File: enp57s0
Memory Range: 0xa4a00000-0xa4a0ffff (ro,non-prefetchable)
Memory Range: 0xa4a10000-0xa4a1ffff (ro,non-prefetchable)
Memory Range: 0xa4a20000-0xa4a2ffff (ro,non-prefetchable)
IRQ: 16 (no events)
HW Address: 40:6c:8f:39:4a:53
Link detected: yes
Module Alias: "pci:v000014E4d00001682sv0000106Bsd000000F6bc02sc00i00"
Driver Info #0:
Driver Status: tg3 is active
Driver Activation Cmd: "modprobe tg3"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #28 (PCI bridge)
Et après avoir rebranché: il n'y a pas de changements
21: PCI 200.0: 0282 WLAN controller
[Created at pci.319]
Unique ID: qru8.pau3ygYe6T5
Parent ID: qTvu.lbqpt3ZK2l3
SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:02:00.0
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: "Broadcom WLAN controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x4353
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00e9
Revision: 0x01
Driver: "bcma-pci-bridge"
Driver Modules: "bcma"
Device File: wlp2s0
Features: WLAN
Memory Range: 0xa0400000-0xa0403fff (rw,non-prefetchable)
IRQ: 17 (no events)
HW Address: b8:8d:12:15:32:48
Link detected: no
WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7
WLAN encryption modes: WEP40 WEP104 TKIP CCMP
WLAN authentication modes: open sharedkey wpa-psk wpa-eap
Module Alias: "pci:v000014E4d00004353sv0000106Bsd000000E9bc02sc80i00"
Driver Info #0:
Driver Status: bcma is active
Driver Activation Cmd: "modprobe bcma"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #15 (PCI bridge)

29: PCI 3900.0: 0200 Ethernet controller
[Created at pci.319]
Unique ID: NjPq.sjyG4nOWyBB
Parent ID: ZXM4.tKEzgX0s8UF
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:03:00.0/0000:04:04.0/0000:37:00.0/0000:38:00.0/0000:39:00.0
SysFS BusID: 0000:39:00.0
Hardware Class: network
Model: "Broadcom Ethernet controller"
Vendor: pci 0x14e4 "Broadcom"
Device: pci 0x1682
SubVendor: pci 0x106b "Apple Computer Inc."
SubDevice: pci 0x00f6
Revision: 0xff
Driver: "tg3"
Driver Modules: "tg3"
Device File: enp57s0
Memory Range: 0xa4a00000-0xa4a0ffff (ro,non-prefetchable)
Memory Range: 0xa4a10000-0xa4a1ffff (ro,non-prefetchable)
Memory Range: 0xa4a20000-0xa4a2ffff (ro,non-prefetchable)
IRQ: 16 (no events)
HW Address: 40:6c:8f:39:4a:53
Link detected: yes
Module Alias: "pci:v000014E4d00001682sv0000106Bsd000000F6bc02sc00i00"
Driver Info #0:
Driver Status: tg3 is active
Driver Activation Cmd: "modprobe tg3"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #28 (PCI bridge)
Comment est-ce que tu fais pour te connecter à Internet si tu n'utilise pas NetworkManager? J'ai essayé dhcpcd enp57s0, mais il s'en est suivit ce fameux ralentissement.

J'ai trouvé quelque chose d'intéressant screenshot avant le débranchement et screenshot après le débranchement et rebranchement. On remarque qu'il y a une suractivité de la carte réseau avec des débit d'upload et download à 3Gio/s, ce qui pourrait expliquer le ralentissement. Il n'y a pas de changement après le rebranchement.

journalctl ne me donne aucune info:
-- Reboot --
avril 14 23:59:00 tahrch pulseaudio[323]: [pulseaudio] bluetooth-util.c: org.bluez.Manager.GetProperties() failed: org.freedesktop.systemd1.LoadFailed: Unit d
avril 14 23:59:02 tahrch goa[467]: goa-daemon version 3.6.2 starting [main.c:112, main()]
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17569
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [MacBook Air] Prise en charge de l'adaptateur ethernet

Message par benjarobin »

journalctl doit être lancé en root
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
thriller91
Hankyu
Messages : 18
Inscription : dim. 24 juil. 2011, 14:10
Localisation : Les Ulis (91)

Re: [MacBook Air] Prise en charge de l'adaptateur ethernet

Message par thriller91 »

Voilà le journalctl. Les principales erreurs sont :

Code : Tout sélectionner

avril 15 00:34:26 tahrch kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
avril 15 00:34:47 tahrch kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
avril 15 00:34:51 tahrch kernel: [drm:__gen6_gt_wait_for_thread_c0] *ERROR* GT thread status wait timed out
avril 15 00:34:57 tahrch kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
avril 15 00:35:16 tahrch kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
avril 15 00:35:24 tahrch kernel: [drm:__gen6_gt_force_wake_get] *ERROR* Timed out waiting for forcewake to ack request.
et aussi:

Code : Tout sélectionner

avril 15 01:11:16 tahrch kernel: hrtimer: interrupt took 36015317 ns
Répondre