Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#1037 closed patch (fixed)

Support for Legacy Dish switches

Reported by: nooneimprt4nt@… Owned by: danielk
Priority: minor Milestone: 0.20
Component: dvb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I was asked to send in this patch which adds supports for two types of legacy switches. These switches used to be used by North American satellite providers, however they can still be used in several applications. The kernel has had support for these switches since 2.6.12, though the patch will compile fine on even older kernels without issue.

Attachments (1)

legacysw.patch (4.7 KB) - added by nooneimprt4nt@… 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by nooneimprt4nt@…

Attachment: legacysw.patch added

comment:1 Changed 14 years ago by danielk

Milestone: 0.20

Thanks, I'll apply this soon after 0.19 is out the door.

comment:2 Changed 13 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8945]) Closes #1037, by applying patch.

This adds support for the Dish Network's DiSEqC type switch. This switch does not use the DiSEqC protocol, but is supported by DiSEqC capable DVB cards when you use Linux Kernel 2.6.12 or later.

comment:3 Changed 13 years ago by danielk

(In [8967]) References #1037.

Small include refactoring. This doesn't change the code very much, it just moves the CardUtil? and SourceUtil? functions into their own files.

This is makes recompiles after changes to videosource.h significantly faster, this file had grown to a behemoth that was included in many places. It is still a behemoth, but now it is only included in three files since most of the places it was included only needed the CardUtil? or SourceUtil? classes.

This also includes a small fix for the DishNet? legacy switch support patch I commited a couple days ago. There was an off by one error, so that you could only select the 21 switch and only by selecting the 64 switch in the UI. I've changed the places that used raw numbers to use the enum names of the switches to prevent this type of error in the future.

Note: See TracTickets for help on using tickets.