Skip to content

Force HyperSerial detection - #732

Merged
awawa-dev merged 4 commits into
v20rc1from
force_hyperserial
Jan 18, 2024
Merged

awawa-dev merged 4 commits into
v20rc1from
force_hyperserial

Conversation

@awawa-dev

@awawa-dev awawa-dev commented Jan 15, 2024 •

Copy link
Copy Markdown
Owner

Ignore ProductId/VendorId of the serial port device and force initialization HyperSerial driver. Thanks @alex-013

obraz

@awawa-dev

Copy link
Copy Markdown
Owner Author

Hi @AstaRom
Do you think you would be able to update the translation with the new item: edt_dev_spec_forceSerialDetection? Thank you in advance.

@AstaRom

AstaRom commented Jan 16, 2024

Copy link
Copy Markdown
Contributor

Good evening, yes I can.
I can do it tomorrow.
Should changes be submitted to the "force_hyperserial" branch?

@awawa-dev

Copy link
Copy Markdown
Owner Author

Great 👍 Yes, 'force_hyperserial' branch. It has already been merged with the latest translation resource changes introduced in '20rc1' branch.

@AstaRom

AstaRom commented Jan 17, 2024

Copy link
Copy Markdown
Contributor

Do you think you would be able to update the translation

Done.

@awawa-dev
awawa-dev merged commit cd082dd into v20rc1 Jan 18, 2024
awawa-dev added a commit that referenced this pull request Jan 25, 2024
* Update translations by @AstaRom

* update license

* Disable cache before release build

* Update language file's (#716)

* Force HyperSerial detection (#732)

* Add ttyACM detection

* Fix

* Update language file's (#736)

---------

Co-authored-by: Aleksandar Jovanovic <[email protected]>
Co-authored-by: Roman Astafev <[email protected]>

* Update CHANGELOG.md

* Fix verbose option

* Update

* Update language file's (#747)

---------

Co-authored-by: Roman Astafev <[email protected]>
Co-authored-by: Roman Astafev <[email protected]>
Co-authored-by: Aleksandar Jovanovic <[email protected]>
@awawa-dev
awawa-dev deleted the force_hyperserial branch February 7, 2024 12:59
@Bascht74

Copy link
Copy Markdown

Could you add a hint what this feature is for?
Can I set the output path to auto and hyperHDR will look for it?

@awawa-dev

Copy link
Copy Markdown
Owner Author

On some systems (mainly due to a udev bug), the system does not report the correct ProductId and VendorId of the Pico board, and HyperHDR could not detect and initialize them correctly. Typically ProductId/VendorId have the value 0, but e.g. in RPi4 they may have the ProductId/VendorId of the USB hub. Correct ProductId/VendorId for Pico is 0xa / 0x2e8a (can be found in the logs).
As it ignores the automatic detection you rather do not want to use it with auto ( it may work if there is only one serial device).

@Bascht74

Copy link
Copy Markdown

Ok Thx, so if I dont' have any problems with the pi4 I don't need to check it, but it would not hurt?

@awawa-dev

Copy link
Copy Markdown
Owner Author

It's better to not use this option if it is not necessary (only when the board is not detected) because it disables important check. This is a workaround for a bug in other software (mainly udev).

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.

4 participants