[1] MLD-5.x / Systems / x86 Systeme (PC) / {MLD 5.4 testing} bluetooth problem.
 

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« on: April 29, 2020, 17:44:00 »
Hello,

I had a problem installing bluetooth package coz of the following erros :

Code: [Select]
Unpacking bluetooth (5.43-25+5.4.20.202.42) ...
dpkg: error processing archive test.deb (--install):
 trying to overwrite '/lib/modules/5.4.20.202.42/kernel/crypto/ecc.ko', which is also in package network-wireless-drivers 0-10.6+5.4.20.202.42
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Code: [Select]
Unpacking bluetooth (5.43-25+5.4.20.202.42) ...
dpkg: error processing archive test.deb (--install):
 trying to overwrite '/lib/modules/5.4.20.202.42/kernel/crypto/ecdh_generic.ko', which is also in package network-wireless-drivers 0-10.6+5.4.20.202.42
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Code: [Select]
dpkg: dependency problems prevent configuration of bluetooth:
 bluetooth depends on libdbus-1-3 (>= 1.10.28-~1); however:
  Version of libdbus-1-3 on system is 1.10.26-~1.

dpkg: error processing package bluetooth (--install):
 dependency problems - leaving unconfigured

I repacked and installed it .... that's not the problem.
The problem is i was able to pair and connect my Logitech bluetooth keyboard but it doesn't work at all.

Here is the log:

Code: [Select]
MLD user.info kernel: [ 1070.441428] Bluetooth: Core ver 2.22
MLD user.info kernel: [ 1070.441457] NET: Registered protocol family 31
MLD user.info kernel: [ 1070.441457] Bluetooth: HCI device and connection manager initialized
MLD user.info kernel: [ 1070.441464] Bluetooth: HCI socket layer initialized
MLD user.info kernel: [ 1070.441467] Bluetooth: L2CAP socket layer initialized
MLD user.info kernel: [ 1070.441471] Bluetooth: SCO socket layer initialized
MLD user.info kernel: [ 1070.443136] usbcore: registered new interface driver btusb
MLD daemon.info bluetoothd[4900]: Bluetooth daemon 5.43
MLD daemon.info bluetoothd[4900]: Starting SDP server
MLD daemon.warn bluetoothd[4900]: kernel lacks bnep-protocol support
MLD daemon.warn bluetoothd[4900]: System does not support network plugin
MLD daemon.info bluetoothd[4900]: Bluetooth management interface 1.14 initialized
MLD user.info kernel: [ 1183.639098] usb 2-1: new full-speed USB device number 2 using uhci_hcd
MLD user.info kernel: [ 1183.891114] usb 2-1: New USB device found, idVendor=0db0, idProduct=1967, bcdDevice= 5.25
MLD user.info kernel: [ 1183.891115] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
MLD user.err kernel: [ 1184.108111] Bluetooth: hci0: unexpected event for opcode 0x0000
MLD daemon.err bluetoothd[4900]: Failed to obtain handles for "Service Changed" characteristic
MLD daemon.err bluetoothd[4900]: Sap driver initialization failed.
MLD daemon.err bluetoothd[4900]: sap-server: Operation not permitted (1)
MLD daemon.err bluetoothd[4900]: Can't open HIDP control socket
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
I have searched for that problem in google, everyone has suggested to use a different kernel.

Could you please fix the issue?

Best Regards.
« Last Edit: April 29, 2020, 20:11:41 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
{MLD 5.4 testing} bluetooth problem.
« Reply #1 on: April 30, 2020, 19:53:20 »
The bluetooth dependency conflickt should be fixt in testing.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #2 on: April 30, 2020, 21:54:35 »
Hi Claus,

Thanks for fixing the dependency problem.

I reinstalled bluetooth package, now i have 3 conflicts with network-wireless-drivers package instead of 2.

Code: [Select]
trying to overwrite '/lib/modules/5.4.28.203.3/kernel/crypto/ecdh_generic.ko', which is also in package network-wireless-drivers
Code: [Select]
trying to overwrite '/lib/modules/5.4.28.203.3/kernel/crypto/ecc.ko', which is also in package network-wireless-drivers

Code: [Select]
trying to overwrite '/lib/modules/5.4.28.203.3/kernel/net/rfkill/rfkill.ko', which is also in package network-wireless-drivers
The problem is i'm still having the following errors, i can't use my bluetooth keyboard.

Code: [Select]
MLD user.info kernel: [   62.878619] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
MLD user.err kernel: [   63.098616] Bluetooth: hci0: unexpected event for opcode 0x0000
MLD daemon.err bluetoothd[1782]: Failed to obtain handles for "Service Changed" characteristic
MLD daemon.err bluetoothd[1782]: Sap driver initialization failed.
MLD daemon.err bluetoothd[1782]: sap-server: Operation not permitted
MLD daemon.err bluetoothd[4900]: Can't open HIDP control socket
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)
MLD daemon.err bluetoothd[4900]: ioctl_connadd(): Protocol not supported (93)

Do you have any bluetooth keyboard/mouse?
Can you verify if they're working?

Best Regards,
« Last Edit: April 30, 2020, 21:57:38 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
{MLD 5.4 testing} bluetooth problem.
« Reply #3 on: May 01, 2020, 00:17:57 »
Ups, my fault. Please try it again...
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #4 on: May 01, 2020, 01:25:52 »
Nice, the bluetooth package is now installed without errors.  :)
However, as i said that's not the problem, you need to activate some settings then build the kernel in order to work.
For ex.
Code: [Select]
Can't open HIDP control socketThe following thread suggested to activate L2CAP protocol support.
You done that already?
https://forums.gentoo.org/viewtopic-t-563576-start-0.html

Code: [Select]
ioctl_connadd(): Protocol not supported (93)Problem was solved by changing kernel from linux to linux-lts
(read last reply)
https://bbs.archlinux.org/viewtopic.php?id=250171

I just want someone to confirm if he is able to use a bluetooth keyboard or mouse or not?
That will save us much time and effort.

Best Regards.

Offline P3f

  • Administrator
  • Expert Member
  • ********
  • Posts: 1467
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #5 on: May 01, 2020, 12:31:01 »
Hello gr4vity,

for next there should be an update from the bluetooth Package appeared, after that update the HIDP and RFCOMM Module from the Kernel are also implementet.

Thanks,

Pit
----------------------------------------------------------------------
VDR 1:(MLD 6.5-64), ZOTAC ION ITX F-E, 1GB 1033, ATRIC-Einschalter, ImonLCD, Cinergy S2 HD
VDR 2 MLD 5.4-BPI: BananaPI | 16 GB SD-Card | MLD 5.3 in Entwicklung
MLD-WTK: WeTek-Play | 8 GB MicroSD-Card | MLD 5.3 als SatIP-Server

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #6 on: May 01, 2020, 15:08:59 »
Hi P3f,

Code: [Select]
MLD user.info kernel: [   92.188567] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
MLD user.err kernel: [   92.412563] Bluetooth: hci0: unexpected event for opcode 0x0000
MLD daemon.err bluetoothd[1759]: Failed to obtain handles for "Service Changed" characteristic
MLD daemon.err bluetoothd[1759]: Sap driver initialization failed.
MLD daemon.err bluetoothd[1759]: sap-server: Operation not permitted (1)
MLD user.info kernel: [  116.463186] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
MLD user.info kernel: [  116.463191] Bluetooth: HIDP socket layer initialized
MLD user.warn kernel: [  116.464866] hid-generic 0005:046D:B30A.0002: unknown main item tag 0x0
MLD user.info kernel: [  116.465077] input: Logitech Cordless MediaBoard Pro(TM) Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:41/0005:046D:B30A.0002/input/input12
MLD user.info kernel: [  116.466730] input: Logitech Cordless MediaBoard Pro(TM) Keyboard as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:41/0005:046D:B30A.0002/input/input13
MLD user.info kernel: [  116.466792] input: Logitech Cordless MediaBoard Pro(TM) Consumer Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:41/0005:046D:B30A.0002/input/input14
MLD user.info kernel: [  116.466838] input: Logitech Cordless MediaBoard Pro(TM) System Control as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/bluetooth/hci0/hci0:41/0005:046D:B30A.0002/input/input15
MLD user.info kernel: [  116.466887] hid-generic 0005:046D:B30A.0002: input,hidraw1: BLUETOOTH HID v1.1b Mouse [Logitech Cordless MediaBoard Pro(TM)] on 00:0c:76:71:99:e0

That's awesome, my lovely Logitech bluetooth keyboard is brought back to life  :D
Many thanks for you and Claus.

Best Regards.
« Last Edit: May 01, 2020, 15:17:33 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #7 on: May 01, 2020, 21:59:14 »
Hi,

I build bluetooth package for RPi too   ;)

Best Regards.
« Last Edit: May 01, 2020, 22:01:28 by gr4vity »

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
{MLD 5.4 testing} bluetooth problem.
« Reply #8 on: May 01, 2020, 22:01:00 »
remove .tar from attachments, you'll will have 2 files
bluetooth_5.43-25.3+4.19.113.203_armhf-rpi2.tar.001
bluetooth_5.43-25.3+4.19.113.203_armhf-rpi2.tar.002

extact and install it.
Tested and it works fine.
Best Regards.
« Last Edit: May 03, 2020, 00:31:01 by gr4vity »

[1] MLD-5.x / Systems / x86 Systeme (PC) / {MLD 5.4 testing} bluetooth problem.
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.