Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do the I/O ports work on anything other than QTS? #1

Open
Sculas opened this issue Nov 26, 2021 · 2 comments
Open

Do the I/O ports work on anything other than QTS? #1

Sculas opened this issue Nov 26, 2021 · 2 comments

Comments

@Sculas
Copy link

Sculas commented Nov 26, 2021

Hi there, first of all, thank you for making this!

I myself have a QNAP TS-453D, with TrueNAS SCALE installed on it. I would like to make something like this, but for TrueNAS instead (since that's what I prefer, rather than QTS).

Looking at SIOPoller.cpp, there is kRegPort, how did you find out about this? (is this mapped in the BIOS? I've never done any of this, so I'd love to know.) And, is this valid, even though there's a different OS on it, or is this value purely for QTS? And is this the same for all of the ports, such as the portStatusLed and 0x91?

@Sculas Sculas changed the title Does this work for anything other than purely QTS? Do the I/O ports work on anything other than QTS? Nov 26, 2021
@zopieux
Copy link
Owner

zopieux commented Nov 26, 2021

Hi,

You're welcome, thanks for your interest. The values were found by trial and error since I could not be bothered to try reverse-engineer gigabyte-sized OS images and megabyte-sized HAL binaries.

I believe it might be possible to make sense of some long text config files that describe these I/O ports distributed with the upgrade images, but last time I tried using this, it confused me more than anything else.

Anyway, this is already 2+y old and I forgot the specifics, but you can have a look at the Gist where I documented my research, which led me to write this here project. You'll find the config file I'm talking about. By extracting the official image for your specific model you might be able to find the right values.

Best of luck!

@Sculas
Copy link
Author

Sculas commented Nov 27, 2021

Thank you so much for providing this! I'll take a look at it. :)

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

No branches or pull requests

2 participants