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

Setting for Tuner Go to sleep #172

Open
SaulGoodman1337 opened this issue Nov 12, 2022 · 8 comments
Open

Setting for Tuner Go to sleep #172

SaulGoodman1337 opened this issue Nov 12, 2022 · 8 comments
Labels
enhancement Fixed Testers Wanted If like to help out, please test this

Comments

@SaulGoodman1337
Copy link

Can we have a setting where we can specify in seconds when satpi will put the tuners into sleep mode after no tuner is active ?
Currently it looks like the tuners do not go into sleep mode at all.
With minisatip it worked great though.

@Barracuda09
Copy link
Owner

Hi @SaulGoodman1337

Thanks for your request!
Do you know how does that works? or how can I check this in Engima2 (I presume).

Regards,
Marc

@Barracuda09 Barracuda09 added enhancement good first issue Please feel free to ask me for pointers labels Nov 12, 2022
@SaulGoodman1337
Copy link
Author

SaulGoodman1337 commented Nov 12, 2022

I think you'll find what you need here, right?
https://www.kernel.org/doc/html/v4.8/media/kapi/dtv-core.html

there is something that sounds like it

int (*)(struct dvb_frontend *fe) sleep
    callback function used to put the tuner to sleep.

does this help?

and thank you for your efforts! satpi is just awesome !

@SaulGoodman1337
Copy link
Author

@SaulGoodman1337
Copy link
Author

@Barracuda09
Copy link
Owner

Hi @SaulGoodman1337

Yes many thanks for your input, so basically it should turn the power off to the LNB after an adjustable time?

@SaulGoodman1337
Copy link
Author

Yes, exactly. In my case, that's 6 watts that are uselessly consumed when no one is watching.
Thank you for an effort!

@Barracuda09
Copy link
Owner

Yes , I understand the situation. I will try to look into this as soon as possible.

Thanks for you feedback!

@Barracuda09 Barracuda09 added Fixed Testers Wanted If like to help out, please test this and removed good first issue Please feel free to ask me for pointers labels Nov 15, 2022
@SaulGoodman1337
Copy link
Author

SaulGoodman1337 commented Nov 16, 2022

Awesome thanks. Can you possibly provide me with a binary for a gigablue 4k?

Edit1
has been done, I compiled it myself.
but unfortunately it doesn't work. it shows up in the log but has no effect.

  Wed Nov 16 09:39:19.4648 2022  6  Frontend: 1, Turning off LNB Power

can you possibly explain me briefly how i can execute ioctl command in enigma myself?
then I would play around a bit

Edit2:
Ah okay.
I think you have to reset the diseqc before doing sec_voltage_off, can that be true ?
Also it would make sense if you add some kind of timeout. Set voltage Off after 30 seconds without tuner activity. Otherwise it could happen that the switching times increase when only one tuner is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Fixed Testers Wanted If like to help out, please test this
Projects
None yet
Development

No branches or pull requests

2 participants