[Solved] Identify, enable BT, pair BT-enabled Spkr, Lenovo

Getting your soundcard to work, using Debian on non-i386 hardware, etc

[Solved] Identify, enable BT, pair BT-enabled Spkr, Lenovo

Postby bkpsusmitaa » 2020-06-26 21:03

This concerns my daughter's laptop. Model (India): Lenovo IdeaPad 320-15ISK 80XH01FKIN 15.6-inch Laptop (6th Gen Core i3-6006U/4GB/2TB/Integrated Graphics), Platinum Grey
The OSes are Debian (Stretch) 9.11.0 Lxde and Knoppix 8.6.1, in 64-bit operation. Have read the instructions on Debian Wiki.

Code: Select all
# lspci -knn | grep Net -A2; lsusb

02:00.0 Network controller [0280]: Intel Corporation Intel Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)
Subsystem: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:4210]
Kernel driver in use: iwlwifi
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 5986:210f Acer, Inc
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 03f0:0641 HP, Inc X1200 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code: Select all
# hwinfo --netcard --wlan --bluetooth | grep -Ei "model\:|driver\:|status\:|cmd\:|file\:|detected\:" | grep -v "Config Status"

Model: "Intel Dual Band Wireless-AC 3165 Plus Bluetooth"
Driver: "iwlwifi"
Device File: wlan0
Link detected: yes
Driver Status: iwlwifi is active
Driver Activation Cmd: "modprobe iwlwifi"
Driver Status: wl is active
Driver Activation Cmd: "modprobe wl"
Model: "Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller"
Driver: "r8169"
Device File: eth0
Link detected: yes
Driver Status: r8169 is active
Driver Activation Cmd: "modprobe r8169"
Model: "Intel Bluetooth Device"
Driver: "btusb"
Driver Status: btusb is active
Driver Activation Cmd: "modprobe btusb"


Code: Select all
# rfkill list all
(this is on Knoppix)
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no


Code: Select all
# rfkill list all
(this in debian)
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: ideapad_bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


Code: Select all
# sudo service bluetooth status

[ ok ] bluetooth is running.


Code: Select all
# lsmod | grep -Ei 'bt|blue'

btusb 40960 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 290816 29 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic 16384 1 bluetooth


Code: Select all
# dmesg | grep -i bluetooth

[ 18.833657] Bluetooth: Core ver 2.22
[ 18.833679] Bluetooth: HCI device and connection manager initialized
[ 18.833685] Bluetooth: HCI socket layer initialized
[ 18.833688] Bluetooth: L2CAP socket layer initialized
[ 18.833693] Bluetooth: SCO socket layer initialized
[ 18.984777] Bluetooth: hci0: read Intel version: 370810011003110e32
[ 18.984780] Bluetooth: hci0: Intel device is already patched. patch num: 32
[ 20.827856] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.827858] Bluetooth: BNEP filters: protocol multicast
[ 20.827863] Bluetooth: BNEP socket layer initialized
[ 54.988921] Bluetooth: RFCOMM TTY layer initialized
[ 54.988934] Bluetooth: RFCOMM socket layer initialized
[ 54.988941] Bluetooth: RFCOMM ver 1.11


Code: Select all
# sudo dmesg | grep -Ei 'blue|firm'

[ 12.540144] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 12.669831] iwlwifi 0000:02:00.0: loaded firmware version 29.1044073957.0 op_mode iwlmvm
[ 12.725664] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[ 18.833657] Bluetooth: Core ver 2.22
[ 18.833679] Bluetooth: HCI device and connection manager initialized
[ 18.833685] Bluetooth: HCI socket layer initialized
[ 18.833688] Bluetooth: L2CAP socket layer initialized
[ 18.833693] Bluetooth: SCO socket layer initialized
[ 18.984777] Bluetooth: hci0: read Intel version: 370810011003110e32
[ 18.984780] Bluetooth: hci0: Intel device is already patched. patch num: 32
[ 20.827856] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 20.827858] Bluetooth: BNEP filters: protocol multicast
[ 20.827863] Bluetooth: BNEP socket layer initialized
[ 54.988921] Bluetooth: RFCOMM TTY layer initialized
[ 54.988934] Bluetooth: RFCOMM socket layer initialized
[ 54.988941] Bluetooth: RFCOMM ver 1.11


Code: Select all
# sudo bluetoothctl

Agent registered


Raed the iwlwifi wiki.

Code: Select all
# apt install firmware-iwlwifi

Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-iwlwifi is already the newest version (20190114-2).
0 upgraded, 0 newly installed, 0 to remove and 446 not upgraded.


Packages Installed:
bluefish blueman-manager bluemon-client bluetoothctl
blueman-adapters blueman-report bluemon-query bluetoothd
blueman-applet blueman-sendto bluemoon bluewho
blueman-assistant blueman-services blueproximity
blueman-browse bluemon bluetooth-sendto


blueman-manager is not loading. blueproximity is loaded. Are the two clashing? Any advice please.

Over the next few days the Buetooth device has to be activated. Currently doesn't work.

Uninstalled blueproximity. Then reinstalled bluemon-manager and then bluez. Currently, experimenting on Knoppix. Same flavour as Debian. Shows Possible Errors. Fault Point: sbl? Synaptic Output:
(Reading database ... 481044 files and directories currently installed.)
Preparing to unpack .../bluez_5.50-1.2~deb10u1_i386.deb ...
Unpacking bluez (5.50-1.2~deb10u1) over (5.50-1.2~deb10u1) ...
Setting up bluez (5.50-1.2~deb10u1) ...
[ ok ] Reloading system message bus config...done.
insserv: warning: script 'K01smail' missing LSB tags
insserv: warning: script 'adriane-battery' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-battery'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `adriane-battery'
insserv: warning: script 'adriane-screenreader' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `adriane-screenreader'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `adriane-screenreader'
insserv: warning: script 'firewall' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `firewall'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `firewall'
insserv: warning: script 'knoppix-autoconfig' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-autoconfig'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `knoppix-autoconfig'
insserv: warning: script 'knoppix-halt' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-halt'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `knoppix-halt'
insserv: warning: script 'knoppix-startx' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-startx'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `knoppix-startx'
insserv: warning: script 'knoppix-terminalserver' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `knoppix-terminalserver'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `knoppix-terminalserver'
insserv: warning: script 'sbl' missing LSB tags
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `sbl'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `sbl
'
insserv: warning: script 'smail' missing LSB tags
[ ok ] Stopping bluetooth: /usr/sbin/bluetoothd.
[ ok ] Starting bluetooth: bluetoothd.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.16-1) ...
Running prelink, please wait...


Possible Fault-Point? Is sbl Sound Blaster Live?:
insserv: warning: script 'sbl' missing LSB tags


No, there isn't any problem in Debian, Installed first the gnome-network-manager and the network-manager packages first for ease and familiarity. Then re-ran the steps, re-installing the firmware iwlwifi. Reinstalled blueman but not blueproximity. Now the Bluetooth works and finds other bluetooth enabled devices. There is no issue. So Post marked as Solved.
user is in the group bluetooth.
Code: Select all
bluetooth:x:ddd:user
where each d for ddd is for a digit.
and
Code: Select all
rfkill list all
is posted above separately, marked as for Debian.

Shall proceed to do the same in Knoppix too.

Thanks to those who visited my query at debian-user List for support, especially, deloptes, who showed seriousness this time.

In the end, the Knoppix issue is also solved by the same code given above with a minor alteration, i.e.,:
Code: Select all
bluetooth:x:ddd:knoppix
as knoppix wasn't in the group bluetooth.
Freedom is impossible to conceive.
Books that help:
Dale Carnegie's How To Win Friends And Influence People and Emilie Post's Etiquette In Society, In Business, In Politics, And At Home
bkpsusmitaa
 
Posts: 390
Joined: 2009-07-04 06:32
Location: Home: Barrackpore and Mysore

Return to Hardware

Who is online

Users browsing this forum: GeNe64 and 6 guests

fashionable