--- Linux-DVB/DVB.pm 2006/05/17 15:46:26 1.11 +++ Linux-DVB/DVB.pm 2006/05/24 21:00:09 1.12 @@ -32,7 +32,7 @@ use Fcntl (); BEGIN { - $VERSION = '0.4'; + $VERSION = '1.0'; @ISA = qw(Exporter); require XSLoader; @@ -108,13 +108,6 @@ $self; } -sub frontend_info { _frontend_info ($_[0]{fd}) } -sub status { _read_status ($_[0]{fd}) } -sub ber { _read_ber ($_[0]{fd}) } -sub snr { _snr ($_[0]{fd}) } -sub signal_strength { _signal_strength ($_[0]{fd}) } -sub uncorrected { _uncorrected ($_[0]{fd}) } - =item $fe->set (parameter => value, ...) Sets frontend parameters. All values are stuffed into the @@ -175,6 +168,35 @@ sub get { _get ($_[0]{fd}, $_[0]{type}) } # unannounced alias sub event { _event ($_[0]{fd}, $_[0]{type}) } +=item $ok = $fe->diseqc_reset_overload + +If the bus has been automatically powered off due to power overload, this +call restores the power to the bus. The call requires read/write access +to the device. This call has no effect if the device is manually powered +off. Not all DVB adapters support this call. + +=item $ok = $fe->diseqc_voltage (13|18) + +Set the DiSEqC voltage to either 13 or 18 volts. + +=item $ok = $fe->diseqc_tone (1|0) + +Enables (1) or disables (0) the DiSEqC continuous 22khz tone generation. + +=item $ok = $fe->diseqc_send_burst (0|1) + +Sends a 22KHz tone burst of type SEC_MINI_A (0) or SEC_MINI_B (1). + +=item $ok = $fe->diseqc_cmd ($command) + +Sends a DiSEqC command. + +=item $reply = $fe->diseqc_reply ($timeout) + +Receives a reply to a DiSEqC 2.0 command (or undef). + +=cut + package Linux::DVB::Demux; @ISA = qw(Linux::DVB);