News:

è disponibile MX Linux 23 basata su debian 12 >>> clicca qui

Menu principale

Il bluetooth non si avvia

Aperto da mtj-mint, Martedì 13 Settembre 2022, 15:22:54

Discussione precedente - Discussione successiva

andrea111

#15
I due listati postati qui sopra non sono confrontabili pienamente.
nel primo hai dato dmesg | grep -i "blue\|hci"
Nel secondo no, manca tutto il relativo alle varie USB, a una di queste è aggregato il bluetooth --> Quale?
Individuata l'USB interessata si possono fare ricerche centrate su di lei. Può saltar fuori il perché non si attiva.
Ridai lo stesso comando anche quando non funziona.

Quando il sistema funziona in quel modo, cioè "o tutto o niente" il problema circuitale (hardware) ha una percentuale altissima-

Citazione(statisticamente dovrebbe fare cilecca come in un avvio a freddo)
ci sono componenti a semiconduttore (magari del tutto secondari rispetto al dispositivo "in sé") che alla temperatura sono sensibili. Ma si tratta sempre di hardware.
Un transistor può essere visto come un relais allo stato solido. Sempre di "contatti" si tratta.

Ripensamento:
il BIOS dà il secure boot "disabled" ma il sistema lo vede "enabled"; e se la stessa cosa succedesse per il fast boot?

L'USB interessata dovrebbe essere
Citazioneusb 1-7: new full-speed USB device number 15 using xhci_hcd
presente nel sistema funzionante ma completamente assente nel listato del non funzionante. Fai un controllo anche tu così ne siamo sicuri.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

mtj-mint

Citazione di: andrea111 il Venerdì 16 Settembre 2022, 18:31:49
I due listati postati qui sopra non sono confrontabili pienamente.
nel primo hai dato dmesg | grep -i "blue\|hci"
Nel secondo no, manca tutto il relativo alle varie USB, a una di queste è aggregato il bluetooth --> Quale?
Individuata l'USB interessata si possono fare ricerche centrate su di lei. Può saltar fuori il perché non si attiva.
Ridai lo stesso comando anche quando non funziona.

Andrea, grazie ancora ma leggi meglio per favore. Non è che nel secondo listato non ho messo la parte USB, ma ho solo "riportato" dal mio post precedente la parte relativa al bluetooth di quando funzionava, cioè tutta la parte che manca nel primo listato perchè appunto il BT non si è avviato.
Il primo listato è completo, manca ovviamente la parte BT perchè non avviata.
Il secondo è solo uno stralcio in cui ho evidenziato la parte in cui differiscono, cioè proprio quella relativa la BT di quando invece il servizio si avvia correttamente  :ok:
Max

mtj-mint

Questo il listato completo al momento che tutto funziona:
mtj@mtj-HP:~$ dmesg | grep -i "blue\|hci"
[    4.161488] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.161494] ehci-pci: EHCI PCI platform driver
[    4.161505] ehci-platform: EHCI generic platform driver
[    4.161518] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.161519] ohci-pci: OHCI PCI platform driver
[    4.161527] ohci-platform: OHCI generic platform driver
[    4.161534] uhci_hcd: USB Universal Host Controller Interface driver
[    4.161788] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.161793] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    4.162870] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810
[    4.162954] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    4.163203] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.163206] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    4.163208] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    4.163248] usb usb1: Product: xHCI Host Controller
[    4.163249] usb usb1: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.164203] usb usb2: Product: xHCI Host Controller
[    4.164204] usb usb2: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.410439] ahci 0000:00:17.0: version 3.0
[    4.416652] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    4.418131] ahci 0000:00:17.0: SSS flag set, parallel bus scan disabled
[    4.428255] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x5 impl SATA mode
[    4.428258] ahci 0000:00:17.0: flags: 64bit ncq stag pm led clo only pio slum part deso sadm sds apst
[    4.433515] scsi host0: ahci
[    4.433640] scsi host1: ahci
[    4.433718] scsi host2: ahci
[    4.696737] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    4.844743] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    5.405783] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[    5.864650] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[    6.092739] usb 1-7: new full-speed USB device number 5 using xhci_hcd
[    6.368922] usb 1-2.3: new high-speed USB device number 6 using xhci_hcd
[    6.596857] usb 1-1.2.3: new high-speed USB device number 7 using xhci_hcd
[    6.824917] usb 1-9: new high-speed USB device number 8 using xhci_hcd
[    7.052969] usb 2-2.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[    7.204927] usb 1-2.4: new high-speed USB device number 9 using xhci_hcd
[    7.432851] usb 1-1.2.4: new high-speed USB device number 10 using xhci_hcd
[    7.612920] usb 1-1.2.3.1: new full-speed USB device number 11 using xhci_hcd
[    7.793023] usb 2-2.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[    7.892859] usb 1-1.2.3.2: new full-speed USB device number 12 using xhci_hcd
[    8.072918] usb 1-1.2.4.2: new full-speed USB device number 13 using xhci_hcd
[    8.253059] usb 2-2.3: new SuperSpeed Gen 1 USB device number 6 using xhci_hcd
[    8.380848] usb 1-1.2.3.3: new high-speed USB device number 14 using xhci_hcd
[    8.565314] usb 2-2.4: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[    8.965048] usb 2-2.3.2: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
[   13.171772] Bluetooth: Core ver 2.22
[   13.171795] Bluetooth: HCI device and connection manager initialized
[   13.171798] Bluetooth: HCI socket layer initialized
[   13.171800] Bluetooth: L2CAP socket layer initialized
[   13.171803] Bluetooth: SCO socket layer initialized
[   13.300499] Bluetooth: hci0: Firmware revision 0.0 build 10 week 41 2018
[   14.389220] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.389222] Bluetooth: BNEP filters: protocol multicast
[   14.389227] Bluetooth: BNEP socket layer initialized
[   18.175843] Bluetooth: RFCOMM TTY layer initialized
[   18.175848] Bluetooth: RFCOMM socket layer initialized
[   18.175852] Bluetooth: RFCOMM ver 1.11
Max

andrea111

#18
Tieni presente anche questa aggiunta che forse non hai rilevato

CitazioneRipensamento:
il BIOS dà il secure boot "disabled" ma il sistema lo vede "enabled"; e se la stessa cosa succedesse per il fast boot?

L'USB interessata dovrebbe essere
Citazione
    usb 1-7: new full-speed USB device number 15 using xhci_hcd

presente nel sistema funzionante ma completamente assente nel listato del non funzionante. Fai un controllo anche tu così ne siamo sicuri.

Quanto ai listati vediamo di non incartarci: osservazioni
nel listato del sistema funzionante si vede la riga:
Citazione6.092739] usb 1-7: new full-speed USB device number 5 using xhci_hcd
nei listato del sistema non funzionante questa riga sull'USB 1-7 non c'è.
Ti avevo chiesto di fare una verifica per controllo perché è sull'USB 1-7 che si appoggia il bluetooth.

E dimmi anche che ne pensi del mio "Ripensamento" sull'avvio rapido.
Sul rilevamento/mancato-rilevamento delle periferiche USB l'avvio rapido in Linux ha rilievo.
Attenzione a non incrociarci con le risposte altrimenti diventa un casino.

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

mtj-mint

Ok, grazie ancora  :ok:
Appena il BT non parte controllo che la riga usb 1-7: new full-speed USB device number 15 using xhci_hcd sia assente.
Per il fast boot controllo domani mattina da bios in che condizione è.

Ci aggiorniamo e grazie come sempre  :ciao:
Max

andrea111

Quando non funziona penso siano interessanti comandi come dmesg | grep -i "usb 1-7" o meglio ancora journalctl | grep -i "usb 1-7" per vedere se emerge qualche difficoltà nell'attivare quella particolare derivazione USB.
Se non emerge nulla il "focus" è sul bluetooth stesso.
Oppure è il "supposto" avvio rapido che lo taglia fuori.

Per verificare da sistema lo stato del secure boot si dà mokutil --sb-state
Un comando equivalente per l'avvio rapido del BIOS non c'è (o non lo conosco).

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

mtj-mint

Dunque: stamattina BT non avviato. Posto il comando journalctl | grep -i "usb 1-7":

set 17 07:40:20 mtj-HP kernel: usb 1-7: new full-speed USB device number 5 using xhci_hcd
set 17 07:40:20 mtj-HP kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.01
set 17 07:40:20 mtj-HP kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
set 17 07:40:28 mtj-HP kernel: usb 1-7: USB disconnect, device number 5
set 17 07:40:28 mtj-HP kernel: usb 1-7: new full-speed USB device number 16 using xhci_hcd
set 17 07:40:28 mtj-HP kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.01
set 17 07:40:28 mtj-HP kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0

Come si vede si ferma a ieri.

Dopo un riavvio il  BT parte e il journal prosegue e posto anche quello:
set 18 10:00:05 mtj-HP kernel: usb 1-7: new full-speed USB device number 5 using xhci_hcd
set 18 10:00:05 mtj-HP kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.01
set 18 10:00:05 mtj-HP kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0
set 18 10:00:13 mtj-HP kernel: usb 1-7: USB disconnect, device number 5
set 18 10:00:13 mtj-HP kernel: usb 1-7: new full-speed USB device number 16 using xhci_hcd
set 18 10:00:13 mtj-HP kernel: usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b, bcdDevice= 0.01
set 18 10:00:13 mtj-HP kernel: usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0


Da BIOS confermo che l'avvio rapido è disattivato e il secure boot disattivo.
Col comando mokutil --sb-state
mtj@mtj-HP:~$ mokutil --sb-state
SecureBoot disabled


Ho trovato una voce nel BIOS per ritardare l'avvio di qualche secondo. Ho impostato 10 secondi invece di 0. Voglio vedere se così a un avvio a freddo il BIOS e l'HW si svegliano per bene e riescono a riconoscere tutte le periferiche prima di avviarsi.
Max

andrea111

CitazioneCome si vede si ferma a ieri.
Mi pare chiaro che quando il bluetooth non viene rilevato non tenta nemmeno di attivare la USB 1-7.
Quando viene rilevato lo attiva in due tentativi:
il primo come: new full-speed USB device number 5 using xhci_hcd e dopo 8 secondi
come: new full-speed USB device number 16 using xhci_hcd
È identico in tutti e due i listati.

Quindi il secure boot è disbilitato. OK.
Vediamo come si comporta con i 10 sec di attesa. Se funziona magari ne basterebbero anche solo 2 o 3.

Se vuoi vedere i listati relativi solo all'ultimo boot effettuato dai journalctl -b | grep -i "usb 1-7"

Portatile ASUS con Scheda madre X55C +i5-3210M -- 6 GB RAM ddr3 -- grafica intel.

mtj-mint

Anche ieri non si è attivato nonostante i 10 secondi impostati di ritardo. Riportato a zero per non perdere tempo al boot. Credo che a sto punto me lo tengo così com'è e amen. Se mi serve proprio il BT riavvio e chi si è visto si è visto.
Un grande grazie a Andrea e Tony per il gentilissimo supporto e a buon rendere  :ciao:
Max

Powered by EzPortal