Skip to content

Diseqc Funtion to tune.go #11

Description

@xforze

Hi all!
I have linuxdvb working fine on my armhf Board with an USB DVB-S Card.
Could you please give me a hint how to add Disceq control to "examples/internal/tune.go" ?

As far as I found out is that the Diseqc Command is defined:
dtvDiseqcMaster cmd = 7
but I dont know how to use it.

I tried to add and call a function to api5.go:

func (d Device) SetDiseqcMaster() error {
        e := d.set(dtvDiseqcMaster, 1)
        if e != 0 {
                return Error{"set", "Diseqc", e}
        }
        return nil
}

But this results in the error:
set Diseqc: invalid argument

I have 4 LNB attached to a diseqc switch and need to switch between those.

Cheers, Thomas

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions