Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Merge requests
  • !538

fix: #531 #537. Better handling of EPIPE during hid write.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/mfulz/master into master Jul 26, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: mfulz

I found the cause for not being able to detect receivers sometimes. It was related to error out when SIGPIPE is fired during the write inside the hidapi.

I've created a loop with retrycount and catching EPIPE and trying the write 3 times. I tested it as well with just ignoring EPIPE, which is working too, but has the drawback, that the read loop inside the base.request has to time out once.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/mfulz/master