Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
System specs: Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-1007-lowlatency (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics Memory: 30.6 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: ASUSTeK COMPUTER INC. Product Name: ASUS TUF Gaming A17 FA707XU_FA707XU System Version: 1.0
I have both Bluez and Blueman installed... neither will find any bluetooth device I have. Nothing they just search. And I can't see it with my phone. My old laptop no problemo!
Code:
@Ryzen9-Linux:~$ rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
1 wlan phy0 unblocked unblocked
Code:
@Ryzen9-Linux:~$ sudo dmesg | grep -i blue
[sudo] password for ian:
[ 1.749522] usb 1-5: Product: Bluetooth Radio
[ 3.468003] Bluetooth: Core ver 2.22
[ 3.468066] NET: Registered PF_BLUETOOTH protocol family
[ 3.468067] Bluetooth: HCI device and connection manager initialized
[ 3.468070] Bluetooth: HCI socket layer initialized
[ 3.468072] Bluetooth: L2CAP socket layer initialized
[ 3.468075] Bluetooth: SCO socket layer initialized
[ 3.674456] Bluetooth: hci0: Failed to read codec capabilities (-22)
[ 4.783579] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.783581] Bluetooth: BNEP filters: protocol multicast
[ 4.783584] Bluetooth: BNEP socket layer initialized
[ 4.784308] Bluetooth: MGMT ver 1.22
[ 7.048670] Bluetooth: RFCOMM TTY layer initialized
[ 7.048675] Bluetooth: RFCOMM socket layer initialized
[ 7.048678] Bluetooth: RFCOMM ver 1.11
[ 753.987483] Bluetooth: hci0: Failed to read codec capabilities (-22)
Code:
@Ryzen9-Linux:~$ lsusb; dmesg | grep -i blue
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 13d3:3571 IMC Networks Bluetooth Radio
Bus 001 Device 003: ID 2b7e:b685 Sonix Technology Co., Ltd. USB2.0 HD UVC WebCam
Bus 001 Device 002: ID 047d:8018 Kensington Expert Wireless Trackball Mouse (K72359WW)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg: read kernel buffer failed: Operation not permitted
Code:
@Ryzen9-Linux:~$ sudo lspci -vvnn | grep -A 9 Network
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
04:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b852]
Subsystem: AzureWave Device [1a3b:5471]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 107
IOMMU group: 18
Region 0: I/O ports at d000 [size=256]
Region 2: Memory at ddd00000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
First of all, I feel your pain. I have struggled with bluetooth way too many times, to the point I use it as little as posible. ( end of rant ).
From your posting, some things look good. rfkill results are fine. YAY.
This error
Quote:
Bluetooth: hci0: Failed to read codec capabilities (-22)
I did a little research, apparently that is a kernel bug fixed in a new kernel version. The good news is bluetooth still works, even though you see this error. For now you can ignore it.
I learned a long time ago the gui's for bluetooth don't provide much information, if they did you would be as frustrated as you are now. So, open a terminal, and run bluetoothctl. That need root privledges, so 'sudo bluetoothctl' should give you a bluetoot prompt. Type help to see the commands you can run. This is what it looks like on my system.
Quote:
bluetoothctl
Agent registered
[bluetooth]#
The show command dumps out some nice info on your server side controller. Run the command and post the results.
You can try to run the scan command. That looks for devices you might want to connect to, ie pair. Give that a go and post the results. Once again, here is what it can look like. After letting it run a few seconds, this is what showed up.
Quote:
scan on
Discovery started
[CHG] Controller 00:15:83:43:36:98 Discovering: yes
[NEW] Device B8:27:EB:F5:9C:AF arm-BlueZ 5.64
Note the square brackets, NEW is a new device I'm not paired with, its the bluetooth adapter on my Raspberry Pi.
@Ryzen9-Linux:~$ sudo bluetoothctl
Agent registered
[bluetooth]# list
Controller 10:68:38:6F:B7:1F Ryzen9-Linux [default]
[bluetooth]# scan on
Discovery started
[CHG] Controller 10:68:38:6F:B7:1F Discovering: yes
[bluetooth]# scan on
Failed to start discovery: org.bluez.Error.InProgress
[bluetooth]# scan off
Discovery stopped
[CHG] Controller 10:68:38:6F:B7:1F Discovering: no
[bluetooth]# scan on
Discovery started
[CHG] Controller 10:68:38:6F:B7:1F Discovering: yes
[bluetooth]# devices
[bluetooth]#
I have a bluetooth speaker that my Linux Mint system will connect to no problem. But it's not even seen by this system here. The only reason I am using Kubuntu is it's the only distro that would see and use my WiFi card. No amount of cajoling would get Mint to see it or use it. I even used a Linux supported WiFi dongle to no avail.
Bluetooth is the last thing I need to get working on this system. I use it to connect my hearing aids to my laptop so I can listen to training videos or watch movies without disturbing people around me ( I'm deaf as heck ). So for me Bluetooth is important.
I finally hacked bluetooth into working here on my laptop once, and managed to transfer test files both ways. Then I promptly gave up on the thing. It's too much of a PITA.
I used bluetoothctl for setting up everything, and blueman(?) for file transfer. Bluetoothctl is a terminal tool. YMMV with other tools. With bluetoothctl, you have to
Get the card up.
Search & Find your target.
Pair your devices.
Trust your devices. I think trust is not bi-directional so you may have to trust incoming and outgoing separately.
Bluetooth was invented in the last milennium and IBM guys waxed eloquent about it. They envisaged it used for controlling huge corporations. So the board members might get the new combination to the safe, or part thereof. And you could send them the new combination on their pagers every week.
Board members might also get the root password for the mainframe along with all sysadmins, but the sysadmins could never get a bit of safe combination, etc. IBM were dreaming - not for the first time either.
In fact, we all want to do is drive a coach & four through the security and transfer data fast.
Do you have any other bluetooth device, like a smart phone? You can scan with android phones.
I don't know much about bluetooth speakers, might be worth looking at the doc to see what procedure is used to pair.
I also don't see any abvious problem with your system.
I would look into the bluetooth versions, to see if there is some incompatability between the two devices in question. Look at the firmware level for the bluetooth adapter, and search for any clews.
Quote:
I have a bluetooth speaker that my Linux Mint system will connect to no problem. But it's not even seen by this system here. The only reason I am using Kubuntu is it's the only distro that would see and use my WiFi card. No amount of cajoling would get Mint to see it or use it. I even used a Linux supported WiFi dongle to no avail.
These comments lead me to believe you have some very new hardware in this box, so I'm thinking incompatability is most likley the problem.
These comments lead me to believe you have some very new hardware in this box
I would tend to agree. I had to 'upgrade' my older Linux LTS on my file server to latest KUbuntu 22.04 so Linux would recognize the 2.5Gbit ethernet PCI card I had upgraded too. That said, so maybe you could buy a cheap BlueTooth dongle (use a USB port) to test the theory out?
So I bought a Linux supported Bluetooth dongle and viola! Stuff works! Yes the laptop is pretty new, Ryzen 9 should be a good indicator... anyhow thanks! Guess I'll have to wait until the installed Bluetooth is supported. For now though I can use the dongle.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.