Fix port listing for seikantk driver#13156
Conversation
|
While you're at it would it be possible to register the Seika driver for auto-detection the same way as other drivers i.e. by providing its data in |
|
@lukaszgo1 That sounds like a separate issue. Is there one open already? I think it should be done in an independent PR. |
|
It looks like there are more mistakes in this driver i.e. the |
|
@lukaszgo1 it seems like many of the drivers do this. I agree it doesn't look quite right, but it seems unlikely to be a unique problem. I think perhaps we should consider tidying that up in the 2022.1 release. |
|
I'm not confident that this change substantially fixes this driver, without a device or clear descriptions / logs of the remaining issues we won't know in the short term. I don't want to delay the 2021.3.1 release further, so I'll retarget this to master (it will become available in alpha builds). It seems there are a number of issues remaining when using the seika notetaker device, anyone with one of these devices that is willing to work with us to test / and provide logs, please get in touch. |
|
Hello, as @moyanming said in #13121: This PR solves #13121 but there is another problem, which is unable to connect to Seika Notetaker using Bluetooth. |
|
This fix is completely effective for #13121, and I very much hope that it will appear in 2021.3.1 because #13121 is enough to bother all users who use Seika Notetaker. Thanks |
4a4afdb to
2accdab
Compare
2accdab to
92b56b3
Compare
This reflects how the other drivers are registered
|
@lukaszgo1 I have moved the |
Driver for a Seika Notetaker is the only driver for which we can auto-detect the display yet |
All other drivers for which check is shadowed either do not support auto-detection yet or cannot be detected passively i.e. because they're using a serial connection.
|
Thanks @lukaszgo1, it's a helpful observation. I have removed the override for the check method. |
|
build of RC to test merged changes: https://ci.appveyor.com/api/buildjobs/pl56jgcjg2ym6xap/artifacts/output%2Fnvda_snapshot_rc-24378%2Ccaf14822.exe |
Add type information and fix port listing for seikantk driver Move registration of seikantk to bdDetect - This reflects how the other drivers are registered Fall back to base implementation for check method All other drivers for which check is shadowed either do not support auto-detection yet or cannot be detected passively i.e. because they're using a serial connection.
Link to issue number:
fixes #13121
Summary of the issue:
Although the braille display can be used via automatic detection, trying to configure manually results in an error.
Braille expects to be able to call
ports.update(cls.getManualPorts()), other drivers all return an iterator of tuples, each containing two strings. However the seikantk driver attempts to return the device path, from the log:Description of how this pull request fixes the issue:
braille.getSerialPorts()Testing strategy:
Since I do not have a device, I'll rely on reporters to test this PR.
Known issues with pull request:
None
Change log entries:
New features
Changes
Bug fixes
For Developers
Code Review Checklist: