Skip to content

Esp32 microcontroller is not handled as Albatross display#15928

Merged
seanbudd merged 1 commit into
nvaccess:betafrom
burmancomp:beta
Dec 17, 2023
Merged

Esp32 microcontroller is not handled as Albatross display#15928
seanbudd merged 1 commit into
nvaccess:betafrom
burmancomp:beta

Conversation

@burmancomp

Copy link
Copy Markdown
Contributor

Link to issue number:

fixes #15671

Summary of the issue:

Albatross driver handled Esp32 microcontroller as Albatross display if controller send valid init packet. This is problem especially when displays are detected automatically.

Description of user facing changes

When using usb connection, driver can check that bus reported device description is "Albatross Braille Display". Esp32 is not detected automatically as Albatross.

Description of development approach

_searchPorts function blocks port if VID and PID are correct but bus reported bus reported device description is not "Albatross Braille Display", in other cases port is valid to try to connect.

Testing strategy:

tested by @beqabeqa473

Known issues with pull request:

none

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@burmancomp burmancomp marked this pull request as ready for review December 16, 2023 21:08
@burmancomp burmancomp requested a review from a team as a code owner December 16, 2023 21:08
@burmancomp burmancomp requested review from seanbudd and removed request for a team December 16, 2023 21:08

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @burmancomp

@seanbudd seanbudd added this to the 2024.1 milestone Dec 17, 2023
@seanbudd

Copy link
Copy Markdown
Member

See discussion in #15693

@seanbudd seanbudd merged commit 0c8b023 into nvaccess:beta Dec 17, 2023
@burmancomp burmancomp deleted the beta branch December 17, 2023 22:54
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
…5928)

fixes nvaccess#15671

Summary of the issue:
Albatross driver handled Esp32 microcontroller as Albatross display if controller send valid init packet. This is problem especially when displays are detected automatically.

Description of user facing changes
When using usb connection, driver can check that bus reported device description is "Albatross Braille Display". Esp32 is not detected automatically as Albatross.

Description of development approach
_searchPorts function blocks port if VID and PID are correct but bus reported bus reported device description is not "Albatross Braille Display", in other cases port is valid to try to connect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants