Build with WDK7600
Support device list:
6027/7050(-S/S2)
6017(-S)
7022(-S)
6007(-C/T)
6033(-S/S2)
6035(-S Wireless)
6038(-s/-S2)

//////////////////////////////////////////////////////////////////////////////////
//  Copyright (c) 2008-2009  AzureWave Corporation.  All Rights Reserved.  	//
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.800
Date:		2010-08-17
Author:         dennis		
		henry
		
Comment:       	
		1.update win7 support for 7022.
		2.fix issue may BSOD when device was supprise removed.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.700
Date:		2010-08-10
Author:         dennis		
		henry
		
Comment:       	
		1.add support for 6035 FPGA JTAG programing.
		2.update PID filter support for 6035.
		3.fix issue I2C sometimes no ack. 
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.600
Date:		2010-08-02
Author:         dennis		
		henry
		
Comment:       	
		1.add support for 6038 JTAG programing
		2.not changing TS route when relock channel
		3.change powersaving time to 5 min
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.500
Date:		2010-07-23
Author:         dennis		
		henry
		
Comment:       	
		1.support 6007E
		2.reduce 6038 span5 follow DiSEqC spec
		3.fix 6038 relock failed
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.400
Date:		2010-06-10
Author:         dennis		
		henry
		
Comment:       	
		1.fix 18->13v time gap issue for 6035
		2.fix pid filter issue with S3/S4
		3.fix issue IR may response to other remote control(repeat send last key).
		4.adjust 6038 DiSEqC span
		5.6038 support MCE DVB-S2 scan
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.300
Date:		2010-05-31
Author:         dennis		
		henry
		
Comment:       	
		1.support device 6038
//////////////////////////////////////////////////////////////////////////////////

Version:        1.0.7.200
Date:		2010-05-28
Author:         dennis		
		henry
		
Comment:       	
		1.fix issue PMT error on ES level with WIN7 MCE
		2.adjust filter setting for 6035 transponder scanning with WIN7 MCE
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.7.100
Date:		2010-04-28
Author:         dennis		
		henry
		
Comment:       	
		1.fix issue I2C read slow
		2.fix issue I2C interfere IR decoding
		3.faster DVB-S2 scan when no signal present
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.900
Date:		2010-04-13
Author:         dennis		
		henry
		
Comment:       	
		1.fix issue sometimes may report wrong CAM status.		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.800
Date:		2010-03-29
Author:         dennis		
		henry
		
Comment:       	
		1.add new DVB-S2 modulation type support for WIN7 MCE.
		2.add new pid filter method support for DigitalTV
		3.fix issue some type of remote controls may not work. 
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.700.01
Date:		2010-02-26
Author:         dennis		
		henry
		
Comment:       	
		1.convert pid filter command from obsolete defintion.
//////////////////////////////////////////////////////////////////////////////////

Version:        1.0.6.700
Date:		2010-02-05
Author:         dennis		
		henry
		
Comment:       	
		1.fix HID driver whql 1.4 issue on win7 system.	
		2.search both DVB-S2 and DVB-S channels on the same tronsponder for 6033 & 6027	
		3.update pid filter control for 6035
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.600
Date:		2009-12-23
Author:         dennis		
		henry
		
Comment:       	
		1.fix cannot send 22khz signal when select single LNB high band with 
		  Digital TV.
		2.fix issue send wrong 22kHz signal using MCE.
		3.add default tuner name when missing inf settings.
		4.ignore fails to waiting for FR signal when initializing some CICAMs.
		5.improved pid filter setting for 6035 with MCE.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.500
Date:		2009-11-26
Author:         dennis		
		henry
		
Comment:       	
		1.fix issue 6035's PID filter mulfunction with MCE
		2.fix issue sometimes failed to negociate the buffer size with CI CAM
		3.fix issue sometimes Digital TV failed to scan service when conflict 
		  with win7 MCE receiver service.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.400
Date:		2009-10-26
Author:         dennis		
		henry
		
Comment:       	
		1.release version
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.300
Date:		2009-10-20
Author:         dennis		
		henry
		
Comment:       	
		1.update for 6007 DRX3913K A3 version				
		2.fix power save issue on WIN7 system
		3.support 6035 pid filter for MCE
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.200
Date:		2009-09-29
Author:         dennis		
		henry
		
Comment:       	
		1.add dvb-s/dvb-t scrambled tv support for WIN7 MCE
		2.decrease packets drop on multiprocessors system.	
		3.fix driver-thread sometimes deadlock.
		4.adjust DiSEqC command time gap to 15ms-20ms.	
		5.improve remote control reponse.				
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.6.100
Date:		2009-09-02
Author:         dennis		
		henry
		
Comment:       	
		1.filter PMT which not contain any CA_Descriptor.
		2.fix 6033 0xf5 BSOD.
		3.turn off 22k tone when select 0k option with DigitalTV.
		4.fix BSOD when burn VID/PID for 6035.
		5.adjust the RC repeat code interval for NEC remote control.
		6.fix usb command may not response when hold IR keys.
		7.fix 6033 multicard BSOD.
		8.fix issue the time gap between tone/data burst and continue 22k too short for 6035
		   (wireless tv box).
		9.add power control watchdog.
		10.support repeat function "ch+" "ch-" for AzureWave remote control
		11.fix DVBViewer can't play when remove and insert device.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.900
Date:		2009-08-04
Author:         dennis		
		henry
		
Comment:       	1.fix issue chip initialize conflicting when leave 
		  sleep mode with DVBViewer playing.
		2.fix issue HID driver may deadlock when being removed.
		3.fix CAM identify issue.
		4.fix issue 6035 can not supply LNB power.
		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.800
Date:		2009-07-09
Author:         dennis		
		henry
		
Comment:       	1.avoid voltage jitter when 6033 sends tone burst.
		2.faster CAM initialization.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.700
Date:		2009-06-29
Author:         dennis		
		henry
		
Comment:       	1.change the way to send out the tone burst.
		2.fix 6017 sometimes lock failed when wake up from S3.
		3.fix multicard support issue.
		4.fix DRE CRYPT CAM issue.
		5.fix 6033 signal strength display error.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.600
Date:		2009-06-11
Author:         dennis		
		henry
		
Comment:       	1.set demodulator reset pin off while entering sleep mode.
                  to avoid interfering with I2C when wake up.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500.05
Date:		2009-06-05
Author:         dennis		
		henry
		
Comment:       	1.shorten time gap bewteen DiSEqC message and SA/SB ToneBurst.
		2.shorten time gap bewteen SA/SB ToneBurst and continuous tone.
		3.pass the correct IR manufacture code to the HID driver.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500.04
Date:		2009-05-12
Author:         dennis		
		henry
		
Comment:       	1.correct DVBT signal statistics display for 6007.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500.03
Date:		2009-05-08
Author:         dennis		
		henry
		
Comment:       	1.remove ci reset when protocal error.
		2.update micronas driver code to v0.9.43 for 6007.
		3.modified the signal statistics display for 6033.
		4.add signal strength/present in demodulator node of DVBT filter, 
		  fixed DigitalTV signal strength display error.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500.02
Date:		2009-04-30
Author:         dennis		
		henry
		
Comment:       	1. fix sometimes BSOD when multicard insert
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500.01
Date:		2009-04-29
Author:         dennis		
		henry
		
Comment:       	1. update hid driver for s3/s4 performance.
		2. block IOCTLs and HID commands when device supprise removed.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.500
Date:		2009-04-24
Author:         dennis		
		Henry
		
Comment:        1.6035֧
		  add support for 6035	
		2.ǿUSBĴ	
		  faster handling with usb command error
		3.VID/PID 0FD9/002A֧
		  support VID/PID 0FD9/002A	
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.400
Date:		2009-04-14
Author:         dennis		
		Henry
		
Comment:        1.6033֧
		  add support for 6033
//////////////////////////////////////////////////////////////////////////////////

Version:        1.0.5.300
Date:		2009-04-10
Author:         dennis		
		Henry
		
Comment:       	1.WIN7 MCE֧
		  add WIN7 MCE support 
		2.firmware
		  firmware update
		3.6033֧
		  add support for 6033
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.200
Date:		2009-03-11
Author:         dennis		
		Henry
		
Comment:       	1޸ST0899ֵڴй¶
		   fixed issue memory leak in STB0899
		2忨޷°װ
		   fixed issue driver can't reinstall after operate system start with device connected
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.5.100
Date:		2009-03-06
Author:         dennis		
		Henry
		
Comment:       	1ʽлʧܵ
		   fixed issue play failed when switching between different
		   modulation modes.
		2ch+ ch-
		   fixed issue hid ch+ ch- key response too sensitive.		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.900
Date:		2009-02-19
Author:         dennis		
		Henry
		
Comment:       	1HUB test 
		   fixed issue hub test BSOD.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.800
Date:		2009-02-01
Author:         dennis		
		Henry
		
Comment:       	1װHID
		   fixed issue BSOD while installing HID driver.		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.700
Date:		2009-01-13
Author:         dennis		
		Henry
		
Comment:       	1TSʱIRPIRP bufferڴķ
		   Reduce the amount of IRPs used to transfer TS and the times 
		   of allocating IRP buffer.
		2ң߻ѺʧЧ
		   fixed remote control may not work after wake up from S3/S4.
		37050ɨ̨
		   fixed 7050 channel scan BSOD while over current protection.
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.600
Date:		2008-12-31
Author:         dennis		
		Henry
		
Comment:       	16007 hybrid sleepAP豸β̨ܺ
		   fix issue 6007 cannot lock channel after hybrid sleep or reattach 
		   device.
		2PNP dispatchIO CtrolIRPĴ
		   correct some error in PNP dispatch and io control dispatch
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.500
Date:		2008-12-23
Author:         dennis		
		Henry
		
Comment:       	1֧-T/-C siliconlab 
		   add-T/-C siliconlab solution support
		2ʱ(ر22k󣬷SA/SB)֤DiSEqCл
		   add time delay in order to make sure DiSEqC works
		3DRXK mt2063Ż
		   load DRXK's optimized settings for MT2063
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.400
Date:		2008-12-16
Author:         dennis		
		Henry
		
Comment:       	16017 13/18v лʱ
		   shorten the 13/18v switch delay time of 6017
		26007 DRXK v0.91
		   update DRXK driver (v0.91) for 6007
		368013̼(WLK1.2)
		   update firmware in order to pass WLK1.2 test
		4DiSEqCʱ
		   adjust time gap between DiSEqC commands
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.300
Date:		2008-11-28
Author:         dennis		
		Henry
		
Comment:       	1Ӷȡź߳
		   add thread to read signal statistics
		2option B/position B high band л
		   DiSEqC
		   correct DiSEqC command while switching 
		   option B/position B high band	
		3߻ʱ޷firmwareܵϵͳ
		   avoid blocking firmware download while wakeup from S3/S4,this may 
		   cause 0x9f bugcheck.	
		4remove USB1.1 support
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.200
Date:		2008-11-17
Author:         dennis		
		Henry
		
Comment:       	1߳ȡź֮ĳͻ
		   avoid conflic between relock thread and get signal statistics
		2CIжջ
		   fix stack overrun in CI thread
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.4.100
Date:		2008-11-14
Author:         dennis		
		Henry
		
Comment:       	1̨֮ǰر̣߳ȷ̨ɹڹرfilterʱ
		   ֹͣ߳
		   Stopping relock thread before channel scanning, restart it after
		   achieving channel lock,stopping the relock thread when close filter.
		2߳ʱ
		   adjust the time delay in threads
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.900
Date:		2008-11-07
Author:         dennis		
		Henry
		
Comment:       	1޸Filterеɨ̨ʱ
		   modified channel scan sequence control in the filter
		213/18vлʱ
		   adjust 13/18v switching delay time
		3˲ȷMMI
		   fixed issue cannot display the MMI of some CAMs
		4ñ̨ͶźеĻ
		   use a flag instead of mutex in channel scanning and 
		   getting signal statistics
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.800
Date:		2008-10-31
Author:         dennis		
		Henry
		
Comment:       	1Żɨ̨
		   optimized the channel scaning sequence
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.700
Date:		2008-10-28
Author:         dennis		
		Henry
		
Comment:       	1AP
		   improved performance with third party AP		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.600
Date:		2008-10-27
Author:         dennis		
		Henry
		
Comment:       	117/8 DisEqc switch л
		   fixed issue 17/8 DisEqc switch cannot switch the satellite	
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.500
Date:		2008-10-24
Author:         dennis		
		Henry
		
Comment:       	1DVBViewerprogDVB޸DisEqc͵ķʽ
		   fixed DisEqc issue in combination with DVBViewer&progDVB
		2S3/S4ʱreset usb portѺ޷
		   fixed issue the device may not work waking up from S3/S4 
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.400
Date:		2008-10-15
Author:         dennis		
		Henry
		
Comment:       	16007 s3/s4Ѻ޷̨
		   fixed issue 6007 sometimes can't lock channels afer S3/S4
		2firmware ʵ6027·
		   update firmware,in oder to implement shortcut protection for 6027
		3S3/S4رCAMԴ
		   cut off the CAM power while entering S3/S4
		46027tone/data burstʱ
		   fixed issue tone/data burst time is not 12.5ms for 6027	
		5firmwareң
		   update the firmware in order to fix the RC issue	
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.300
Date:		2008-10-09
Author:         dennis		
		Henry
		
Comment:       	1S3/S4ʱֹͣIRP
		   Stop sending the stream transfer IRP while entering S3/S4
		2ĳЩ²ȷʶUSB汾
		   fixed issue driver cannot recognize the USB specification 
		   correctly sometimes	
		36027֧
		   Add support for 6027	
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.200
Date:		2008-09-28
Author:         dennis		
		Henry
		
Comment:       	16007úһʡ繦ܣرtuner
		   close tuner after unsing for 1min, in order to save power for 6007
		2޸s3/s4CI߳̿
		   modifed CI thread control while S3/S4
		36017 diseqctone/data burst֮ʱ
		   enlarge the time gap between diseqc and tone/data burst wave for 6017
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.100
Date:		2008-09-16
Author:         dennis		
		Henry
		
Comment:       	1޸DRXK driver package tuner DVB-C
		   modified the tuner code in the DRXK driver package, in order to
                   improve DVB-C performance
		2ĬDRXKmicrocode6007
		   Set downloading microcode for DRXK as default, in order to improve 
		   performance
		3޸ĲIO CONTROLֵ
		   modified some IO CONTROL value
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.3.000
Date:		2008-09-08
Author:         dennis		
		Henry
		
Comment:       	16007 demodulator driver
		   update the demodulator driver of 6007  
		
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.900
Date:		2008-08-26
Author:         dennis		
		Henry
		
Comment:       	1DTVʶCAM
		   fixed issue DTV can't recognize CAM
		2v1.0.2.800 6007ܲŴΪ6M7MDVBTĿ
		   fixed issue 6007 can't lock DVBT channel while bandwith is 6M or 7M with 
		   driver v1.0.2.800
		3ܴڵڴй©
		   modified some code which will probably cause memory leak
		4¼EEPROM֧
		   added IO CONTRL to support updating EEPROM
		56007Ƿmicrocodeע
		   added registry key for 6007 in order to choose whether load microcode or not
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.800
Date:		2008-07-24
Author:         dennis		
		Henry
		
Comment:       	1޸6017(7023) ICDISEQCģʽΪstep by step mode,DISEQC reset
		   
		   changed the DISEQC sending mode of the 6017 to step by step mode,added
		   diseqc reset command.
		2ͷCIеspinlockS3/S4ʱ
		   released a spinlock in CI,avoid deadlock while s3/s4
		36007 tuner mt2063޸demodulatorĳʼʱ,-CԶ
		   QAMƷʽĹ		   	
		   updated the driver of tuner MT2063,modified the initializing of
		   demodulator,added automatically searching QAM size while tune to DVBC
		   program for 6007.
		4ʶ忨IDIO CONTROL,жǷ֧JTAG¼CPLDEEPROM
		   added io control to get the card ID,in order to verify whether the card 
		   support uploading CPLD/EEPROM code by JTAG 
		5ȥDISEQC reset toneburst/databurst
		   remove toneburst/databurst waveform after DISEQC reset command
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.700
Date:		2008-07-10
Author:         dennis		
		Henry
		
Comment:       	1޸S3S4
		   fixed issue OS crashed while S3/S4(delete class USBDevice before 
		   sleep and reallocate it when wake up)
		2޸S3S4豸ʧ
		   fixed issue OS can't find device after S3/S4(when wake up make OS 
                   find our device EEprom Type as 24C02 and this can avoid device lose)
		3JTAG¼CPLD֧
		   add IOCTL and Function to support download JTAG
		46017 motor֧
		   add motor control for 6017
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.600
Date:		2008-06-27
Author:         dennis		
		Henry
		
Comment:       	1޸S3S4
		   fixed issue OS crashed when in S3/S4
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.500
Date:		2008-06-13
Author:         dennis		
		Henry
		
Comment:       	1޸firmware
		   modified the firmware
		2޸6017ź㷨
		   modified the signal quality stastics method
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.400
Date:		2008-05-23
Author:         dennis		
		Henry
		
Comment:       	16007 demodulator 
		   update the demodulator control for 6007
		2
		   modified issue S3/S4 wakeup bugchek
		3޸DVB-Sʽж
		   modified selecting DVB-S polarity
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.300
Date:		2008-04-30
Author:         dennis		
		Henry
		
Comment:       	16007
		   update the driver for 6007
		2
		   modified issue S3/S4 wakeup bugchek
//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.200
Date:		2008-04-09
Author:         dennis		
		Henry
		
Comment:       	1޸DVB-C filter guid
		   changed the DVB-C filter guid
		26007
		   add driver for 6007
		3޸filter connections
		   changed filter connections
		4޸Էdiseqc
		   fixed issue driver can't retry sending diseqc correctly

//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.2.100
Date:		2008-04-07
Author:         dennis		
		Henry
		
Comment:       	1CaptureFilter
		   Add capture filter 
		2EEprom¼дGPIO
		   Add GPIO control to cancel eeprom burn protect
		3޸ͬһƵ¼лΪѽĿʱTSл
		   Fixed issue driver can't switch TS

//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.1.900
Date:		2008-03-24
Author:         dennis		
		Henry

Comment:       	1Ӷ24C32¼֧
		   Support burn PID/VID when EEprom is 24C32
		2ʼ7023
		   Test of 7023
		3޸̨ʱ䳤
		   Fixed issue cost long time to lock channel
		4ӽڵģʽ
		   Add function to reduce power usage when device stop working
		5޸ĶMCEֵ֧
		   Fixed issue driver can't support MCE
		6޸Ĳ(LNB power off22K is ON)
		   Fixed issue the driver can't driver motor
		

//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.1.800
Date:		2008-03-03
Author:         dennis		
		Henry

Comment:       	1޸߳˳
		   fixed issue system crashed when exit the thread
		2ӻ̨ȡź໥
		   add mutex to avoid function lock channel and get signal affect each other

//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.1.700
Date:		2008-02-19
Author:         dennis		
		Henry

Comment:       	1޸ĴIRP listʱ
		   fixed issue system crashed while driver deal with IRP List
		2޸ϵ˳
		   change the opportunity for set divce power on
		3޸̨״̬
		   fixed issue of the LED for lock state
		4IOCTL֪ͨϲAP״̬
		   Add command to notify driver of the AP's state

//////////////////////////////////////////////////////////////////////////////////

Version:        1.0.1.600
Date:		2008-01-26
Author:         dennis		
		Henry

Comment:       	1޸ST0899λ
		   fixed issue ST0899 can't reset correctly
		2޸ңֵ
		   modified Key Table of The RC
		3޸7023װ
		   fixed issue 7023 driver install error	
		4޸Ĺ
		   fixed issue power consumption

//////////////////////////////////////////////////////////////////////////////////
Version:        1.0.1.500
Date:		2008-01-15
Author:         dennis		
		Henry

Comment:       	1ϲ7022,7023,7050,7070
		   modified to support 7022,7023,7050,7070 use one driver 
		2޸7022޷лDISEQC			
		   fixed issue 7022 send diseqc incorrectly	
		3޸Ķ࿨ͻ
		   avoid multi-card conflict
		4޸7050 diseqc л
		   fixed issue 7050 diseqc switch
