LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-08-2020, 03:58 PM   #61
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled

It still didn't work
 
Old 08-08-2020, 04:55 PM   #62
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
it sounds like you are still trying to fix what isn't working instead of re-installing. if so, did you ever run any searches for the error messages shown by systemctl to see if there were any possible leads there?
 
Old 08-09-2020, 09:09 PM   #63
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
this link popped up in a different thread today and i figured i would pass it along just in case: https://wiki.archlinux.org/index.php/Bluetooth_headset
since it had parts that mentioned "If you are getting a connection error org.bluez.Error.Failed", "If pairing fails, you can try", "Pairing works, but connecting does not" among others along with some different solution options/troubleshooting steps.
 
Old 08-09-2020, 11:08 PM   #64
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
I'll definitely check that out
 
Old 08-21-2020, 07:49 AM   #65
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
So amazing news, after running
Code:
apt upgrade
Bluetooth suddenly started working again!
 
Old 08-21-2020, 08:22 AM   #66
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
And of course it worked for all of and hour and then stopped again, with new errors this time when trying to restart the adapter
Code:
Bluetooth: hci0: urb 00000000bab45ccb failed to resubmit (113)
usb 1-5: device descriptor read/64, error -110
bluetoothd[5165]: Failed to set mode: Failed (0x03)
 
Old 08-21-2020, 08:48 AM   #67
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
And of course it worked for all of and hour and then stopped again, with new errors this time when trying to restart the adapter
Code:
Bluetooth: hci0: urb 00000000bab45ccb failed to resubmit (113)
bluetoothd[5165]: Failed to set mode: Failed (0x03)
Restarting the computer and pairing the device again seems to have fixed the issue, but it seems that this may be more software issue than hardware, and I'm not sure where to start

I am also getting the error
Code:
usb 1-5: device descriptor read/64, error -110
usb usb1-port5: unable to enumerate USB device
However I am unsure if it is related

The headset works for a while, but eventually I keep getting this error is journalctl
Code:
bluetoothd[3096]: Start: Connection timed out (110)
pulseaudio[3315]: Transport Acquire() failed for transport /org/bluez/hci0/dev_38_18_4C_03_54_A3/sep1/fd0 (Input/output error)
bluetoothd[3096]: avdtp_start failed
pulseaudio[3315]: Transport Acquire() failed for transport /org/bluez/hci0/dev_38_18_4C_03_54_A3/sep1/fd0 (Operation Not Authorized)

Last edited by ALazyDope; 08-21-2020 at 08:51 AM.
 
Old 08-21-2020, 11:54 AM   #68
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by ALazyDope View Post
I'm not sure where to start
i would make sure to check systemctl status bluetooth in case you haven't already. after that the only method i really know is to start running web searches for the error messages you are encountering and hope there is a post out there somewhere that has found a solution to one that works for your system.
Quote:
Originally Posted by ALazyDope View Post
I am also getting the error
Code:
usb 1-5: device descriptor read/64, error -110
usb usb1-port5: unable to enumerate USB device
However I am unsure if it is related
i noticed when i was working with mine that bluetooth was recognized as a usb device so this may be related. i would consider that probable especially if the message is being displayed when the other problems with bluetooth are occurring.
Quote:
Originally Posted by ALazyDope View Post
The headset works for a while, but eventually I keep getting this error is journalctl
Code:
bluetoothd[3096]: Start: Connection timed out (110)
pulseaudio[3315]: Transport Acquire() failed for transport /org/bluez/hci0/dev_38_18_4C_03_54_A3/sep1/fd0 (Input/output error)
bluetoothd[3096]: avdtp_start failed
pulseaudio[3315]: Transport Acquire() failed for transport /org/bluez/hci0/dev_38_18_4C_03_54_A3/sep1/fd0 (Operation Not Authorized)
you had mentioned trying to find a usb bluetooth adapter before. one of the unfortunate possibilities is that your present bluetooth adapter may be broken. you said that you feel like this is more of a software as opposed to hardware issue, but from my experience the only way to know that would be to have a different piece of known good hardware to test that with.
 
Old 08-21-2020, 12:33 PM   #69
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
Thank you, yes, I haven't gotten a moment to try to find a compatible adapter, so I haven't gotten around to testing it yet, but since there was a brief period after rebooting my pc that the bluetooth works perfectly fine, I was unsure if it was something deeper
 
1 members found this post helpful.
Old 08-21-2020, 12:37 PM   #70
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
Code:
~$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2020-08-21 09:25:05 EDT; 4h 11min ago
       Docs: man:bluetoothd(8)
   Main PID: 3096 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 19021)
     Memory: 3.9M
     CGroup: /system.slice/bluetooth.service
             └─3096 /usr/lib/bluetooth/bluetoothd

Aug 21 09:43:44 Byron-GPC bluetoothd[3096]: connect error: Operation already in progress (114)
Aug 21 09:43:47 Byron-GPC bluetoothd[3096]: connect error: Operation already in progress (114)
Aug 21 09:44:18 Byron-GPC bluetoothd[3096]: /org/bluez/hci0/dev_38_18_4C_03_54_A3/sep1/fd0: fd(48) ready
Aug 21 09:50:11 Byron-GPC bluetoothd[3096]: Start: Connection timed out (110)
Aug 21 09:50:11 Byron-GPC bluetoothd[3096]: avdtp_start failed
Aug 21 09:50:13 Byron-GPC bluetoothd[3096]: Abort: Connection timed out (110)
Aug 21 09:52:05 Byron-GPC bluetoothd[3096]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Aug 21 09:52:05 Byron-GPC bluetoothd[3096]: No matching connection for device
Aug 21 09:53:14 Byron-GPC bluetoothd[3096]: Failed to set mode: Failed (0x03)
Aug 21 09:54:10 Byron-GPC bluetoothd[3096]: Failed to set mode: Failed (0x03)
Pretty much the same stuff I've already posted
 
Old 08-21-2020, 12:59 PM   #71
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by ALazyDope View Post
Thank you, yes, I haven't gotten a moment to try to find a compatible adapter, so I haven't gotten around to testing it yet, but since there was a brief period after rebooting my pc that the bluetooth works perfectly fine, I was unsure if it was something deeper
for your sake i wish there were a way to know for sure. you have certainly put plenty of time and effort into trying to find out. at some point if a software solution isn't forthcoming, it just seems like trying a hardware one would be worth a shot.

you had mentioned having other bluetooth devices before (an xbox controller maybe?). are these devices having similar issues or is anything working as expected?
 
Old 09-03-2020, 09:19 AM   #72
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
So I've just recently moved, and as such had to completely disconnect my power to my PC. After powering it back up again, bluetooth works normally. Bluetooth then stopped working after my connected xbox wireless controller went into automatic sleep mode. After this all bluetooth devices stopped connecting, but when I shut off the power supply, turn it back on, and reboot the computer, bluetooth works normally again. I think the way that the xbox controller goes into sleep is messing with my bluetooth controller, and causing issues in the cache, but after a full power loss, the cache is maybe cleared?
 
Old 09-03-2020, 06:27 PM   #73
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
those definitely sound like interesting developments. it has been a while since i have looked at this thread and i'm not sure you ever mentioned the system specs. is this a tower pc with connected monitor (or all-in-one) you are talking about? more specifically, not a laptop?

since the triggering event seems to be related to your xbox controller like you mentioned, one way try and get a better look at the why might be to fire up journalctl -f again. shut the system down, make sure everything is working well after you turn it on, run journalctl -f before connecting the xbox controller and see if anything helpful pops up.

Quote:
Originally Posted by ALazyDope View Post
So I've just recently moved, and as such had to completely disconnect my power to my PC. After powering it back up again, bluetooth works normally.
as we both learned (i think... i know i did) when looking at this, the bluetooth adapter is on the usb bus. i have read about issues with some computers not providing enough power to usb (mostly external though) devices if too many are attached to the same controller.

Quote:
Originally Posted by ALazyDope View Post
Bluetooth then stopped working after my connected xbox wireless controller went into automatic sleep mode. After this all bluetooth devices stopped connecting, but when I shut off the power supply, turn it back on, and reboot the computer, bluetooth works normally again.
power supplies can also die over time. i realize that just adds to the list of possible causes, but might be worth keeping an eye on.

Quote:
Originally Posted by ALazyDope View Post
I think the way that the xbox controller goes into sleep is messing with my bluetooth controller, and causing issues in the cache, but after a full power loss, the cache is maybe cleared?
again, it's been a while since i read through all of this. i seem to remember the bluetooth controller getting stuck searching and not able to connect. that might possibly be related to losing contact when the xbox controller goes to sleep. maybe journalctl will have something to say about that?

i am not sure what cache you are referring to. ostensibly any connections or configs the bluetooth controller creates should be cleared (and, hence, any cache) when it is shut off which would be easier than powering down the whole system.

i am listening about the cache though. feel free to explain what you were thinking.

Last edited by cordx; 09-03-2020 at 06:29 PM.
 
Old 09-03-2020, 07:09 PM   #74
ALazyDope
Member
 
Registered: Jul 2020
Posts: 57

Original Poster
Rep: Reputation: Disabled
Well I am unsure how devices are managed on linux, since there seems to be some sort of filesystem associated with usb and pci devices, and since the issue appears in journalctl as an inability to write to these directories, I was just taking a bit of a guess.
 
Old 09-03-2020, 07:46 PM   #75
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.1.0
Posts: 797

Rep: Reputation: 184Reputation: 184
i don't understand the intricacies of all of that either. i have read something along the lines of "everything in linux is considered a file" and believe that is in regards to mounted devices as well.

i remember some output you got about not being able two write to hci0 which seemed to be a descriptor of where the bluetooth device (headset or xbox controller for you, speaker for me) was supposed to be. i was able to find that file in both terminal and file manager when it was connected and paired. as soon as i disconnected, it was gone. so, at least in theory, severing connections or making the bluetooth controllable unpairable (i forget the exact terminology) in bluetoothctl or maybe even btmod should remove that file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
5.1 surrond sound via Digital in Pop_Os snowyhare Linux - Software 1 09-05-2022 11:18 AM
Problem with installation POP_OS 20.04LTS on Acer Aspire 3 from USB - can't see drive ppahljina Linux - Laptop and Netbook 6 05-31-2020 06:22 AM
5.1 Surrond sound POP_OS snowyhare Linux - Hardware 2 04-24-2020 05:44 AM
Bluetooth can pair devices but there is no connectivity bobsie Slackware 9 11-11-2013 03:42 AM
How to pair bluetooth devices? JET-33 Linux - Software 1 08-24-2007 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration