Il bluetooth non si avvia

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

Discussione precedente - Discussione successiva

mtj-mint

Ciao. sto riscontrando da un po' di tempo un problema legato al BT.
All'avvio del PC a freddo il BT non parte praticamente mai (randomicamente una volta su enne invece parte).
Se riavvio il PC a caldo anche subito dopo l'avvio, il BT si avvia sempre senza problemi.

Output quando tutto funzionante:
mtj@mtj-HP:~$ dmesg | grep Blue
[   12.965200] Bluetooth: Core ver 2.22
[   12.965218] Bluetooth: HCI device and connection manager initialized
[   12.965222] Bluetooth: HCI socket layer initialized
[   12.965223] Bluetooth: L2CAP socket layer initialized
[   12.965226] Bluetooth: SCO socket layer initialized
[   13.015308] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   13.020270] Bluetooth: hci0: Device revision is 5
[   13.020272] Bluetooth: hci0: Secure boot is enabled
[   13.020273] Bluetooth: hci0: OTP lock is enabled
[   13.020273] Bluetooth: hci0: API lock is enabled
[   13.020274] Bluetooth: hci0: Debug lock is disabled
[   13.020275] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   13.022979] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   13.048522] Bluetooth: hci0: Failed to send firmware data (-38)
[   14.161757] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.161759] Bluetooth: BNEP filters: protocol multicast
[   14.161762] Bluetooth: BNEP socket layer initialized
[   20.399329] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   20.404407] Bluetooth: hci0: Device revision is 5
[   20.404408] Bluetooth: hci0: Secure boot is enabled
[   20.404409] Bluetooth: hci0: OTP lock is enabled
[   20.404409] Bluetooth: hci0: API lock is enabled
[   20.404410] Bluetooth: hci0: Debug lock is disabled
[   20.404411] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   20.404667] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   21.819667] Bluetooth: hci0: Waiting for firmware download to complete
[   21.820240] Bluetooth: hci0: Firmware loaded in 1388577 usecs
[   21.820277] Bluetooth: hci0: Waiting for device to boot
[   21.831257] Bluetooth: hci0: Device booted in 10738 usecs
[   21.832792] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[   21.836260] Bluetooth: hci0: Applying Intel DDC parameters completed
[   22.008660] Bluetooth: RFCOMM TTY layer initialized
[   22.008665] Bluetooth: RFCOMM socket layer initialized
[   22.008672] Bluetooth: RFCOMM ver 1.11


mtj@mtj-HP:~$ dpkg -l | grep blue
ii  blueberry                                   1.4.7                               all          A configuration tool for Bluetooth
ii  blueman                                     2.1.2-1ubuntu0.3                    amd64        Graphical bluetooth manager
ii  bluetooth                                   5.53-0ubuntu3.6                     all          Bluetooth support
ii  bluez                                       5.53-0ubuntu3.6                     amd64        Bluetooth tools and daemons
ii  bluez-cups                                  5.53-0ubuntu3.6                     amd64        Bluetooth printer driver for CUPS
ii  bluez-obexd                                 5.53-0ubuntu3.6                     amd64        bluez obex daemon
ii  bluez-tools                                 2.0~20170911.0.7cb788c-2build1      amd64        Set of tools to manage Bluetooth devices for linux
ii  gir1.2-gnomebluetooth-1.0:amd64             3.34.3-0ubuntu1                     amd64        Introspection data for GnomeBluetooth
ii  gnome-bluetooth                             3.34.3-0ubuntu1                     amd64        GNOME Bluetooth tools
ii  libbluetooth3:amd64                         5.53-0ubuntu3.6                     amd64        Library to use the BlueZ Linux Bluetooth stack
ii  libgnome-bluetooth13:amd64                  3.34.3-0ubuntu1                     amd64        GNOME Bluetooth tools - support library
ii  pulseaudio-module-bluetooth                 1:13.99.1-1ubuntu3.13               amd64        Bluetooth module for PulseAudio sound server


mtj@mtj-HP:~$ hciconfig -a
hci0: Type: Primary  Bus: USB
BD Address: A4:34:D9:A5:75:B6  ACL MTU: 1021:4  SCO MTU: 96:6
DOWN
RX bytes:15639 acl:0 sco:0 events:2463 errors:0
TX bytes:598880 acl:0 sco:0 commands:2461 errors:0
Features: 0xbf 0xfe 0x0f 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT


Quando invece il BT non si avvia succede questo:
mtj@mtj-HP:~$ dmesg | grep Blue
mtj@mtj-HP:~$ 


mtj@mtj-HP:~$ hciconfig -a
mtj@mtj-HP:~$


Sul forum di Ubuntu c'era una discussione https://forum.ubuntu-it.org/viewtopic.php?f=9&t=650447 che parlava di riattivare e poi disattivare il Secure Boot su alcuni notebook tra cui HP. Ok, l'ho fatto. Niente da fare.
Anime pie che abbiano idee su come venirne a capo?
Grazie ancora
Max

Tony


Linux non è solo un sistema operativo ma...
"È uno stato mentale, dove prima ti perdi e poi ti ritrovi"
(cit. Point Break).
Il mio pc.

mtj-mint

#2
Strane storie.. è un bug vecchio. Comunque non mi succedeva fino a poco tempo fa.
Li dicono che risolvono con un avvio a freddo che è proprio dove invece a me da problemi.
Uno dice che ha risolto così:
CitazioneCold boot as in powering off from PC's source button (taking electricity off the mother board) worked for me. Just shutting down and having the motherboard LEDs on didn't work.
che non capisco cosa voglia dire.

Up: spè forse dice banalmente che ha forzato l'arresto a brutto muso?!

Ci capisco sega.
Max

andrea111

Dice che ha proprio staccato corrente (estratto la spina) dal PC. Spegnendo il PC ti resta qualche led acceso?
Per esempio un led verde indicante che il PC è alimentato.

Quando queste cose succedono "random", prima cosa da fare è controllare l'avvio rapido, se è attivo disattivarlo.
L'avvio rapido accorcia i tempi d'avvio, ma può succedere che il BIOS non riesca ad identificare in modo completo i dispositivi che stanno in coda al processo di acquisizione dei dispositivi stessi, col risultato di tagliarli fuori.

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

mtj-mint

Grazie Andrea. Avvio rapido è già disattivato da BIOS.
Ho anche provato sudo systemctl enable bluetooth.service ma fa come vuole lui.
Ad esempio nel pomeriggio ho spento il PC e al riavvio a freddo il BT è partito. Poco fa ho spento nuovamente e riacceso e il BT non era partito.
Il riavvio a caldo invece lo fa partire sempre.
Max

andrea111

Quando da terminale dai
dmesg | grep Blue e ti dà risposta nulla vuol dire che non lo ha proprio rilevato.
E dovresti anche vedere che risponde rfkill list all quando funziona e quando no.

Comandi da provare quando non funziona sudo service bluetooth start e vedere se lo smuove.
Anche rfkill block bluetooth
rfkill unblock bluetooth
per sbloccarlo/bloccarlo.

Per sapere se il dispositivo è disponibile bt-device --list

Già che ci sei controlla nel BIOS le impostazioni relative al WiFi.

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

mtj-mint

Ciao Andrea e grazie.
Dato che ora il BT è in esecuzione inizio a postare i relativi comandi:

BT ON:
mtj@mtj-HP:~$ dmesg | grep Blue
[   18.372146] Bluetooth: Core ver 2.22
[   18.372166] Bluetooth: HCI device and connection manager initialized
[   18.372169] Bluetooth: HCI socket layer initialized
[   18.372171] Bluetooth: L2CAP socket layer initialized
[   18.372174] Bluetooth: SCO socket layer initialized
[   18.420341] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   18.425362] Bluetooth: hci0: Device revision is 5
[   18.425363] Bluetooth: hci0: Secure boot is enabled
[   18.425364] Bluetooth: hci0: OTP lock is enabled
[   18.425364] Bluetooth: hci0: API lock is enabled
[   18.425365] Bluetooth: hci0: Debug lock is disabled
[   18.425366] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   18.427915] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   18.429704] Bluetooth: hci0: Failed to send firmware signature (-38)
[   19.507269] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   19.507271] Bluetooth: BNEP filters: protocol multicast
[   19.507274] Bluetooth: BNEP socket layer initialized
[   25.780350] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   25.786341] Bluetooth: hci0: Device revision is 5
[   25.786342] Bluetooth: hci0: Secure boot is enabled
[   25.786343] Bluetooth: hci0: OTP lock is enabled
[   25.786343] Bluetooth: hci0: API lock is enabled
[   25.786344] Bluetooth: hci0: Debug lock is disabled
[   25.786345] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   25.786581] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   27.196117] Bluetooth: hci0: Waiting for firmware download to complete
[   27.196316] Bluetooth: hci0: Firmware loaded in 1383042 usecs
[   27.196356] Bluetooth: hci0: Waiting for device to boot
[   27.207338] Bluetooth: hci0: Device booted in 10741 usecs
[   27.207607] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[   27.211329] Bluetooth: hci0: Applying Intel DDC parameters completed
[   29.816393] Bluetooth: RFCOMM TTY layer initialized
[   29.816397] Bluetooth: RFCOMM socket layer initialized
[   29.816404] Bluetooth: RFCOMM ver 1.11


mtj@mtj-HP:~$ rfkill list all
1: phy1: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no


Quest'ultimo però non fa altro che disattivare il BT quando il servizio è partito e avviato assieme al PC. Sull'icona del BT nel Pannello appare e scompare la X rossa e basta, che si può fare anche col tasto destro sull'icona, nulla di più.

Visto che domani quando avvierò il PC sicuramente il Servizio BT non partirà, aggiornerò il post con gli altri comandi  :ok:
Max

andrea111

Quindi il rfkill list all ti ha bloccato il bluetooth?

Se sì dando rfkill unblock bluetooth ti si sblocca?

Quando al riavvio il bluetooth è disattivato dando sudo service bluetooth start ti si attiva o no?

Se hai installato windows, l'avvio rapido devi disattivarlo anche da lì, non basta farlo da BIOS.

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

mtj-mint

Dunque:

rfkill list all
Se il servizio parte normalmente il comando non blocca niente, mi restituisce:
mtj@mtj-HP:~$ rfkill list all
1: phy1: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no


Se lancio
rfkill block bluetooth
oppure
rfkill unblock bluetooth
banalmente appare e scompare la X rossa sull'icona BT del pannello. In pratica lo attiva e disattiva come se lo facessi col tasto destro del mouse sull'icona scegliendo la voce "attiva/disattiva il bluetooth" , questo a patto che il Servizio BT sia partito a livello HW assieme al PC.

Quando il servizio BT invece non parte assieme al PC non c'è comando che lo faccia avviare, non parte nemmeno il demone, per il Sistema Operativo il BT non c'è, non si limita a ritenerlo solo disattivato ma presente e funzionante.

sudo service bluetooth start
prompta a vuoto

Niente Windows!

Grazie ancora  :ciao:
Max

andrea111

#9
Riprova con dmesg, però stavolta senza selezionare i messaggi solo con la B maiuscola.
Lo dai sia per quando funziona sia quando non funziona che si fa il confronto.
dmesg | grep -i "blue\|hci"
Citazioneprompta a vuoto
se non dà errore vuol dire che è filato liscio.

Nota: il secure boot è attivo.

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

mtj-mint

Avete presente il difetto all'auto o allo scaldabagno che quando chiami il "tennico" in quel preciso momento il problema non si presenta?
Ecco.. ora sono due mattine che il BT si avvia allo start del PC.

Intanto Andrea posto il comando che mi hai passato a BT funzionante:
mtj@mtj-HP:~$ dmesg | grep -i "blue\|hci"
[    4.149656] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.149660] ehci-pci: EHCI PCI platform driver
[    4.149673] ehci-platform: EHCI generic platform driver
[    4.149685] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.149687] ohci-pci: OHCI PCI platform driver
[    4.149694] ohci-platform: OHCI generic platform driver
[    4.149700] uhci_hcd: USB Universal Host Controller Interface driver
[    4.149931] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.149935] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    4.151000] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810
[    4.151075] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    4.151296] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.151298] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    4.151300] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    4.151333] usb usb1: Product: xHCI Host Controller
[    4.151334] usb usb1: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.152249] usb usb2: Product: xHCI Host Controller
[    4.152250] usb usb2: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.386873] ahci 0000:00:17.0: version 3.0
[    4.387135] ahci 0000:00:17.0: SSS flag set, parallel bus scan disabled
[    4.387155] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x5 impl SATA mode
[    4.387158] ahci 0000:00:17.0: flags: 64bit ncq stag pm led clo only pio slum part deso sadm sds apst
[    4.396874] scsi host0: ahci
[    4.399984] scsi host1: ahci
[    4.400069] scsi host2: ahci
[    4.404283] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    4.684543] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    4.832482] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    5.331438] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[    6.468580] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[    6.696488] usb 1-7: new full-speed USB device number 5 using xhci_hcd
[    6.972553] usb 1-2.3: new high-speed USB device number 6 using xhci_hcd
[    7.200489] usb 1-1.2.3: new high-speed USB device number 7 using xhci_hcd
[    7.428553] usb 1-9: new high-speed USB device number 8 using xhci_hcd
[    7.656604] usb 2-2.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[    7.756486] usb 1-1.2.4: new high-speed USB device number 9 using xhci_hcd
[    7.936565] usb 1-1.2.3.1: new full-speed USB device number 10 using xhci_hcd
[    8.164574] usb 1-2.4: new high-speed USB device number 11 using xhci_hcd
[    8.392663] usb 2-2.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[    8.492485] usb 1-1.2.3.2: new full-speed USB device number 12 using xhci_hcd
[    8.672484] usb 1-1.2.4.2: new full-speed USB device number 13 using xhci_hcd
[    8.852733] usb 2-2.3: new SuperSpeed Gen 1 USB device number 6 using xhci_hcd
[    8.980562] usb 1-1.2.3.3: new high-speed USB device number 14 using xhci_hcd
[    9.160701] usb 2-2.4: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[    9.568654] usb 2-2.3.2: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
[   19.053595] Bluetooth: Core ver 2.22
[   19.053620] Bluetooth: HCI device and connection manager initialized
[   19.053623] Bluetooth: HCI socket layer initialized
[   19.053625] Bluetooth: L2CAP socket layer initialized
[   19.053630] Bluetooth: SCO socket layer initialized
[   19.067489] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   19.072448] Bluetooth: hci0: Device revision is 5
[   19.072450] Bluetooth: hci0: Secure boot is enabled
[   19.072450] Bluetooth: hci0: OTP lock is enabled
[   19.072451] Bluetooth: hci0: API lock is enabled
[   19.072451] Bluetooth: hci0: Debug lock is disabled
[   19.072453] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   19.075050] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   19.086476] Bluetooth: hci0: Failed to send firmware data (-38)
[   20.107450] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.107451] Bluetooth: BNEP filters: protocol multicast
[   20.107455] Bluetooth: BNEP socket layer initialized
[   26.284276] usb 1-7: new full-speed USB device number 15 using xhci_hcd
[   26.436446] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   26.441457] Bluetooth: hci0: Device revision is 5
[   26.441459] Bluetooth: hci0: Secure boot is enabled
[   26.441459] Bluetooth: hci0: OTP lock is enabled
[   26.441460] Bluetooth: hci0: API lock is enabled
[   26.441461] Bluetooth: hci0: Debug lock is disabled
[   26.441462] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   26.441693] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   27.822108] Bluetooth: hci0: Waiting for firmware download to complete
[   27.822420] Bluetooth: hci0: Firmware loaded in 1353890 usecs
[   27.822457] Bluetooth: hci0: Waiting for device to boot
[   27.833434] Bluetooth: hci0: Device booted in 10736 usecs
[   27.834984] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[   27.838440] Bluetooth: hci0: Applying Intel DDC parameters completed
[   27.976403] Bluetooth: RFCOMM TTY layer initialized
[   27.976409] Bluetooth: RFCOMM socket layer initialized
[   27.976416] Bluetooth: RFCOMM ver 1.11


Per promptare a vuoto intendo che il comando non da risposte ma non fila tutto liscio perchè il demone BT non viene nemmeno rilevato, l'icona di Blueman non compare nel pannello e se provo ad invocare il Gestore Bluetooth dai programmi appare un messaggio di errore che avverte che il Demone Bluez non è attivo e che nessuna periferica BT è rilevata e funzionante. Praticamente è come se non venisse visto l'HW del BT.

Appena avvio con errore completo il post con le info che mancano. Intanto grazie mille Andrea e a tutti quanti per il supporto.

Secure Boot in effetti dice attivo ma da BIOS su avvio protetto ho selezionato la voce: Avvio in modalità legacy attivo e secure boot disattivato. Non capisco. Dovrei fare degli screenshoot del bios uno per uno e postarli.
Max

andrea111

CitazionePraticamente è come se non venisse visto l'HW del BT.
Nei casi in cui funziona a volte sì e a volte no, il problema hardware è dietro l'angolo, un cattivo contatto o una saldatura fredda possono essere il problema (di solito irrimediabile).
CitazioneSecure Boot in effetti dice attivo ma da BIOS su avvio protetto ho selezionato la voce:
Per il momento lasciamo cadere il problema, è strano ma il fatto che funzioni vuol dire che non è lì l'origine.

Qual'è il dispositivo bluetooth inserito? (mouse, tastiera)

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

mtj-mint

Intanto ancora grazie Andrea per l'aiuto ma mi sa che ci stiamo perdendo in un piccolo misundertanding.
Escludo problemi HW tipo saldature etc perchè quando avvio a freddo e il servizio bt non parte, se subito dopo riavvio il PC il bt parte sempre. Il modulo BT installato all'interno del notebook HP poi alloggia sia BT che WIFI e il wifi funziona sempre (è la classica schedina premontata con i due filetti nero e bianco dentro il pc).
E' come se con un avvio a freddo mancasse un input che interroghi questo modulino e il kernel o il sistema operativo o linux o il bios o quel che ne so, lo escludesse dalle periferiche a cui associare demone e servizio e lo saltasse.
Non vedo nemmeno l'icona del BT sul pannello e se richiamo gestore bluetooth dal menu il pop up mi dice che non è partito nemmeno iln demone che lo fa funzionare.
Non stiamo parlando di singole periferiche come mouse o tastiere. Il BT lo uso per connettere ad esempio l'audio di cuffie BT o l'audio dell'impianto stereo. Il mio BT non è una chiavetta inserita in una USB.
Credo che sia qualcosa che dipenda dal kernel a sto punto. Avvio il pc, il kernel inizia ad interrogare l'HW, manca un input e salta il BT e a pc avviato il suo relativo servizio non è partito e quindi non mi è possibile interagire.
Max

andrea111

#13
CitazioneAvvio il pc, il kernel inizia ad interrogare l'HW, manca un input e salta il BT e a pc avviato il suo relativo servizio non è partito e quindi non mi è possibile interagire.
Il fatto è che neanche quando dai sudo service bluetooth start si avvia e ti dice che non rileva dispositivi con sistemd.
Il che vuol dire che il BIOS non gli ha passato quel sistema, altrimenti in dmesg si vedrebbe il tentativo fallito.
Ergo è il BIOS che non lo vede presente e non lo passa al sistema, e succede a volte sì a volte no.
Il bluetooth è un wifi a bassa potenza, ma ha sempre una "sua" circuitazione.

In ogni caso pare essersi stabilizzato in positivo.

Citazioneil kernel inizia ad interrogare l'HW
È il BIOS che interroga l'hardware, all'avvio (il POST) e ne "passa" gli elementi al sistema.
Anche il sistema può interrogare l'hardware (e lo fa sistematicamente), ma sempre in funzione di quello che gli passa il BIOS.

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

mtj-mint

Ok, come volevasi dimostrare stamattina il servizio BT non è partito.
L'icona di Blueman non compare nel pannello e se provo ad attivarlo dal menu di Mint appare questo:


mtj@mtj-HP:~$ dmesg | grep Blue
mtj@mtj-HP:~$


viene rilevato solo il wifi:
mtj@mtj-HP:~$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
mtj@mtj-HP:~$


Qui il silenzio e il servizio BT ovviamente non parte:
mtj@mtj-HP:~$ sudo service bluetooth start
mtj@mtj-HP:~$



mtj@mtj-HP:~$ dmesg | grep -i "blue\|hci"
[    4.169568] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.169572] ehci-pci: EHCI PCI platform driver
[    4.169584] ehci-platform: EHCI generic platform driver
[    4.169596] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.169597] ohci-pci: OHCI PCI platform driver
[    4.169605] ohci-platform: OHCI generic platform driver
[    4.169611] uhci_hcd: USB Universal Host Controller Interface driver
[    4.169837] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.169841] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    4.170904] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810
[    4.170975] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    4.171197] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    4.171199] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    4.171202] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[    4.171235] usb usb1: Product: xHCI Host Controller
[    4.171236] usb usb1: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.172120] usb usb2: Product: xHCI Host Controller
[    4.172120] usb usb2: Manufacturer: Linux 5.4.0-125-generic xhci-hcd
[    4.394897] ahci 0000:00:17.0: version 3.0
[    4.395172] ahci 0000:00:17.0: SSS flag set, parallel bus scan disabled
[    4.395193] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x5 impl SATA mode
[    4.395195] ahci 0000:00:17.0: flags: 64bit ncq stag pm led clo only pio slum part deso sadm sds apst
[    4.404274] scsi host0: ahci
[    4.404913] scsi host1: ahci
[    4.405109] scsi host2: ahci
[    4.424168] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    4.708490] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[    4.856379] usb 1-2: new high-speed USB device number 3 using xhci_hcd
[    5.356781] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[    6.496441] usb 1-1.2: new high-speed USB device number 4 using xhci_hcd
[    6.724413] usb 1-9: new high-speed USB device number 5 using xhci_hcd
[    7.000439] usb 1-2.3: new high-speed USB device number 6 using xhci_hcd
[    7.228442] usb 1-1.2.3: new high-speed USB device number 7 using xhci_hcd
[    7.408565] usb 2-2.1: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[    7.508442] usb 1-1.2.4: new high-speed USB device number 8 using xhci_hcd
[    7.688472] usb 2-2.2: new SuperSpeed Gen 1 USB device number 5 using xhci_hcd
[    7.788445] usb 1-1.2.3.1: new full-speed USB device number 9 using xhci_hcd
[    8.016438] usb 1-2.4: new high-speed USB device number 10 using xhci_hcd
[    8.244865] usb 2-2.3: new SuperSpeed Gen 1 USB device number 6 using xhci_hcd
[    8.372380] usb 1-1.2.4.2: new full-speed USB device number 11 using xhci_hcd
[    8.556444] usb 1-1.2.3.2: new full-speed USB device number 12 using xhci_hcd
[    8.736592] usb 2-2.4: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[    8.860458] usb 1-1.2.3.3: new high-speed USB device number 13 using xhci_hcd
[    9.040494] usb 2-2.3.2: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
mtj@mtj-HP:~$


Di diverso c'è che manca tutta la parte relativa al BT che invece è presente quando il servizio si avvia correttamente (copio dal post precedente):
[   19.053595] Bluetooth: Core ver 2.22
[   19.053620] Bluetooth: HCI device and connection manager initialized
[   19.053623] Bluetooth: HCI socket layer initialized
[   19.053625] Bluetooth: L2CAP socket layer initialized
[   19.053630] Bluetooth: SCO socket layer initialized
[   19.067489] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   19.072448] Bluetooth: hci0: Device revision is 5
[   19.072450] Bluetooth: hci0: Secure boot is enabled
[   19.072450] Bluetooth: hci0: OTP lock is enabled
[   19.072451] Bluetooth: hci0: API lock is enabled
[   19.072451] Bluetooth: hci0: Debug lock is disabled
[   19.072453] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   19.075050] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   19.086476] Bluetooth: hci0: Failed to send firmware data (-38)
[   20.107450] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   20.107451] Bluetooth: BNEP filters: protocol multicast
[   20.107455] Bluetooth: BNEP socket layer initialized
[   26.284276] usb 1-7: new full-speed USB device number 15 using xhci_hcd
[   26.436446] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[   26.441457] Bluetooth: hci0: Device revision is 5
[   26.441459] Bluetooth: hci0: Secure boot is enabled
[   26.441459] Bluetooth: hci0: OTP lock is enabled
[   26.441460] Bluetooth: hci0: API lock is enabled
[   26.441461] Bluetooth: hci0: Debug lock is disabled
[   26.441462] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[   26.441693] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[   27.822108] Bluetooth: hci0: Waiting for firmware download to complete
[   27.822420] Bluetooth: hci0: Firmware loaded in 1353890 usecs
[   27.822457] Bluetooth: hci0: Waiting for device to boot
[   27.833434] Bluetooth: hci0: Device booted in 10736 usecs
[   27.834984] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[   27.838440] Bluetooth: hci0: Applying Intel DDC parameters completed
[   27.976403] Bluetooth: RFCOMM TTY layer initialized
[   27.976409] Bluetooth: RFCOMM socket layer initialized
[   27.976416] Bluetooth: RFCOMM ver 1.11


Continuo ad escludere problemi HW perchè adesso se faccio un riavvio a caldo del PC il servizio parte regolarmente (statisticamente dovrebbe fare cilecca come in un avvio a freddo).

[Edit]: Riavviato. Servizio BT perfettamente partito.
Max

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