Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pulseaudio pulseaudio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 865
    • Issues 865
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 48
    • Merge requests 48
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PulseAudio
  • pulseaudiopulseaudio
  • Merge requests
  • !622

bluetooth: Try to reconnect SCO

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged zhaochengyi requested to merge chengyi/pulseaudio:fix-reconnect-sco into master Aug 18, 2021
  • Overview 13
  • Commits 1
  • Pipelines 3
  • Changes 1

When the SCO connection is in use, if you disconnect first and then connect, the SCO connection will occasionally fail, and the Bluetooth error code is 42 (0x2A in hexadecimal). This is usually because an error occurred when the SCO connection was initiated, we need to try to reconnect to optimize the handling of this problem. The log returned by the kernel is as follows:

Bluetooth: sco_connect_cfm: hcon 0000000003328902 bdaddr 40:ef:4c:0c:11:f0 status 42 Bluetooth: sco_sock_connect status is -38

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-reconnect-sco