tag:blogger.com,1999:blog-36967389157711196672024-03-05T04:16:28.814-08:00Argo Ramblingsargohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-3696738915771119667.post-80298427026241095592010-01-12T00:35:00.000-08:002010-01-12T01:08:31.687-08:00DVBLink TVSource (removing the need for DVBViewer)<span style="font-weight: bold;">With special thanks to tbergman for this copy of his Geekzone how-to post on using TVSource:</span><br /><br /><strong><br />1. Component List<br /></strong><br />The following components will be required to setup<br /><br />- Motherboard with onboard COM port. Ensure it has enough PCI and PCIe slots to accommodate for all your hardware. There are plenty around with onboard HDMI. Using the onboard frees up a PCIe slot.<br /><br />- Case to suit motherboard<br /><br />- Phoenix card reader (I have found the Jaycar kit to be the most practical for reasons I will give later in this tutorial)<br /><br />- RAM. More is always better. (4 gig for 32 bit, more for 64 bit)<br /><br />- Core 2 Duo CPU. Quad core is nice, but reports are that NewCS does not work with them <span style="font-style: italic;">(Argo note: unless you use Linux O/S)</span>.<br /><br />- Hard Drive. Must be big enough to handle all the recording you wish to do, in addition to the operating system, other software and any other recorded media you might have (music, photos, etc.).<br /><br />- Network hardware – If you want to stream media over a home network, then I suggest a hardwire LAN. Most motherboards have built in LAN ports. Otherwise, built in wireless will be fine for downloading software and EPG updates.<br /><br />- DVB-T tuner(s). I use a Terratec Cinergy 2400DT dual PCIe tuner. This is why I prefer the onboard HDMI. I use my only PCIe slot for the FTA tuner.<br /><br />- DVB-S tuner(s). FTA tuners will work nicely. Tuners with built in CI slots are not necessary, but will work. The only reason I say this is because the CI will not be used in this set up, and are usually more expensive than the FTA tuners.<br /><br />- Analog tuner. I only use it to pick up FM radio.<br /><br />- Remote control. Must be MCE compatible.<br /><br />- Satellite Dish. If you have an existing Foxtel / Sky Service, then the satellite dish installed will save you a lot of work as it is already aimed to the correct satellite. If you want to use multiple DVB-S tuners, you’ll need to change out the LNB, depending on the one already fitted. Most standard Foxtel installs include a single LNB for the basic service. I have a dual Sony LNB purchased from eBay for $27AU (Including postage). If you do need to swap out the LNB, you will need to buy/rent/borrow a satellite finder and orientate the dish & LNB to the correct satellite. For those in the Brisbane area, I have one that can be “borrowed” for the weekend for the cost of a six-pack. This is negotiable.<br /><br />- FTA Antenna and connections. I have a common antenna point in the house connected to a 1 to 4 splitter. The connections are 1. DVB-T card, 2. TV, 3. Analogue card and 4. FM tuner on the analogue card.<br /><br />- Cabling should be Quad Shielded<br /><br />- Separate connections for each DVB-S card<br /><br /><br /><br /><strong>2. Software<br /></strong><br />Required Software:-<br /><br />- Windows 7 Ultimate (only because I have no experience with home basic)<br /><br />- All necessary drivers<br /><br />- Codec pack <span style="font-style: italic;">(Argo note: H264 <nz> codec already included in Win7)</span><br /><br />- DVBlink TVSource<br /><br />- NewCS <span style="font-style: italic;">(Argo note: NewCS V1.2 for Windows non-dual core CPU , upto V1.65 for Windows & dual-core, any higher version requires Linux O/S)</span><br /><br /><br />- Acamd<br /><br />- Free EPG XMLTV Downloader<br /><br />- CSA.dll<br /><br /><br /><strong>3. Setting Up<br /></strong><br />I always prefer to begin with a clean install as my system is a dedicated HTPC. Start with no cards installed, except for the video card if you’re using one.<br /><br />1. Install W7<br /><br />2. Install Drivers<br /><br />3. Run Windows Update – Make sure you have all the updates you need. You may want to run it a few times to make sure you have everything<br /><br />4. Install Codecs<br /><br />5. Shut Down PC<br /><br />6. Install Phoenix Card Reader and Tuner cards and drivers<br /><br />7. Turn off UAC – This is required to setup TVSource<br /><br />8. Make a directory in C:/newcs<br /><br />9. Copy the following files into the directory:-<br /><br />mingwm10.dll<br />Newcs.exe<br />Newcs.xml<br />NewcsGUI.exe<br />pthreadGCE2.dll<br /><br />10. Make a shortcut in the startup folder to the NewcsGUI.exe. - This is so it starts up when the computer does.<br /><br />11. Insert your Foxtel smartcard into the card reader and start the NewcsGUI.exe. – You need to confirm the provider ID for your TV service. Write it down. E.g., Foxtel satellite is 090B.<br /><br />12. Install DVBlink TV Source<br /><br />Step 1: Install DVBlink Server (restart computer)<br /><br />Step 2: Install DVBLink TVSource<br /><br />Step 3: Start DVBLink Source Configuration<br /><br />Step 4: If you just want one tuner skip step 5 through 7<br /><br />Step 5: Remove TVSource by selecting it in the middle and pressing the red <- arrow left of it<br /><br />Step 6: Add a TVSource by selecting TVSource on the left and pressing the green -> and give the name you want<br /><br />Step 7: Repeat step 5 for more tuners<br /><br />Step 8: Place csa.dll and plugins into C:\Program Files\DVBLogic\DVBlink\Sources\\Plugins – Each tuner needs an individual name. Newcs and acamd will need to be modified to reflect this. For this purpose, the plugins you put in are cardclient.conf and acamd.dll<br /><br /><br />At this point, we pause and undertake points 12 and 13<br /><br /><br />Step 9: Repeat step 7 for every other TVSource tuner found in C:\Program Files\DVBlogic\Sources\<br /><br />Step 10: Continue setup as per the manual.<br /><br /><br />13. Edit newcs.xml so it looks something like this:-<br /><br /><br /> Phoenix on COM1<br /><br /> phoenix<br /> 357<br /> COM1<br /> odd<br /> normal<br /> no<br /> yes<br /> no<br /> no<br /> no<br /> yes<br /> 0000000000 --><br /> 0000000000 --><br /> no<br /> no<br /> no<br /> 34000<br /> yes<br /> fifo<br /> no<br /> 0000<br /> No<br /> 10001<br /> localhost<br /> 20<br /> -1<br /> 8080<br /> no<br /> newcs<br /> normal, init<br /> console,tcp<br /> normal,init<br /> 1001<br /> normal,init<br /> yes<br /> newcs<br /> 01 02 03 04 05 06 07 08 09 10 11 12 13 14<br /> tuner1<br /> password1<br /> localhost<br /> 34000<br /> 1<br /> on<br /> off<br /> no<br /><br />14. Edit cardclient.conf so it looks like this:-<br /><br />newcamd:localhost:34000:0/090b/ffff:tuner1:password1:0102030405060708091011121314<br /><br />15. At this point, you may want to setup XMLTV Download. Have it output the xml file into the XMLTV folder in TV Source. Run it up and have it bring down the epg data.<br /><br />16. Go back and resume the TV Source setup as per the manual.<br /><br /><span style="font-size:85%;"><span style="font-weight: bold;">Author: tbergman</span></span>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-89982691042729256722009-09-13T01:36:00.000-07:002009-09-13T01:40:30.245-07:00Free SFTP, FTP and SCP client for WindowsFound this fantastic FTP and Telnet application: WinSCP.<br /><br />Its homesite is at: <a href="http://winscp.net/eng/docs/screenshots">http://winscp.net/eng/docs/screenshots</a><br /><br />It has some really nice functions like right-click to get to file properties and many other time-saving features. Brilliant program for Linux terminal work!argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-68970653700360961792009-09-10T23:19:00.000-07:002009-09-11T13:22:28.844-07:00Testing NewCS using CCcam as a Client in a Virtual MachineNote: This is a continuation of:<br /><a href="http://argoramble.blogspot.com/2009/09/newcs-on-sun-virtualbox.html">http://argoramble.blogspot.com/2009/09/newcs-on-sun-virtualbox.html</a><br /><br />I wanted to test NewCS with a client application outside the NewCS Virtual Machine (VM).<br /><br />After looking around the web I found a client that would make for a relatively simple, but thorough test. The application is CCcam (in client mode). This powerful application requires a Linux o/s and can be configured to poll a local or IP-addressed newcamd server (ie NewCS).<br /><br />The method I used to set this up is as follows:<br /><br />- Using the VirtualBox (VB) 'Export' command, export your previously created ClarkConnect5 VM (ie make a copy)<br />- Import this copy back into VB and give it a different name and also a different IP address (either by leasing an IP on your router, or setting a new IP manually in the CCcam VM. Also make sure your CCcam VM has a unique MAC address)<br />- Install CCcam on to the newly created CC5 VM<br />- Configure CCcam to act as your newcamd client<br />- Boot your NewCS VM and and start NewCS (with a smartcard inserted)<br />- Open a NewCS Telnet window in Win7<br />- Boot your CCcam VM and start CCcam<br /><br />On the NewCS Telnet window you should see NewCS run through its initialisation and then see CCcam request and log into NewCS. If you open a CCcam browser window you will see the card details are passed down to CCcam as a client of NewCS. If this happens then the test is successful and NewCS is definitely working as a card server.<br /><br /><br />Here is an extract from the NewCS log file:<br />...<br /><span style="font-size:78%;"><span style="font-weight: bold; color: rgb(153, 51, 153);font-family:verdana;" >Card Inserted<br /></span></span><span style="font-size:85%;"><span style="font-family:arial;">[ 17:20:23 ] [ Loader ] Card <span style="font-style: italic;">xxxx</span> on port /dev/ttyS0 ready</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd ] new connection from 10.1.1.60 on socket 9</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd:15000 ] Connection from 10.1.1.60</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd:15000 ] User user1 logged in, client: CCcam</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd:15000 ] Command E3 from user1 len 3</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd:15000 ] Sending Card Information to user1:</span><br /><span style="font-family:arial;">[ 17:20:27 ] [ Newcamd ] ProvID 0 Key </span><span style="font-style: italic;font-family:arial;" >xxxxxx</span><span style="font-family:arial;"> on caid </span><span style="font-style: italic;font-family:arial;" >xxxx</span><span style="font-family:arial;"> type 0</span><span style=";font-family:arial;font-size:9;" lang="EN-NZ"><br /><span style="font-size:85%;">[ 17:20:27 ] [ Newcamd ] ProvID 0 Key <span style="font-style: italic;">xxxxxx</span> on caid <span style="font-style: italic;">xxxx</span> type 1<br /><br /><br /><span style="font-size:100%;">Excellent CCcam/ClarkConnect tutorial here (access requires registration): <a href="http://www.eurocardsharing.com/f163/how-setup-cccam-newcs-cardsharing-server-clarkconnect-5-0-linux-43384">http://www.eurocardsharing.com/f163/how-setup-cccam-newcs-cardsharing-server-clarkconnect-5-0-linux-43384</a><br />Many thanks<o:p></o:p></span></span></span><span style="font-size:85%;"><span style="font-family:arial;"><span style="font-size:100%;"> to kapzas and the Eurocardsharing Forum for this.</span><br /></span></span></span>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-33976199732469540022009-09-06T01:05:00.000-07:002009-09-06T01:19:54.179-07:00NewCS CardDetect observation with Jaycar ReaderJust tried a little test.<br /><br />- Set <carddetect>carddetect=yes</carddetect> in newcs.xml.<br />- Started up NewCS without card and let it run through its startup sequence<br />- Observed activity via Telnet (Reset of course had failed on init)<br />- Inserted a plastic card into reader slot so that carddetect switch active<br />- NewCS then tried to carry out a card init, failed, tried again, failed, repeat....<br />- If I pulled the plastic card out then the sequence stopped, inserting card starts sequence again.<br /><br />Why is this good? It means your NewCS server PC can startup fully without a card. As soon as you insert your card it will initialise it/self ready for serving. Kinda cool if you need to move your card between your STB and PC (PC does not need to be rebooted).<br /><br />NOTE: The Jaycar Reader has had the CardDetect Invert Mod carried out.argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com3tag:blogger.com,1999:blog-3696738915771119667.post-17210327781817865252009-09-03T19:19:00.001-07:002009-09-05T23:39:24.060-07:00NewCS on a Sun VirtualBox<span style="font-family:arial;font-size:180%;"><span style="COLOR: rgb(102,51,255); FONT-WEIGHT: bold">NEWCS on a Sun VirtualBox</span></span><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Hardware/Software Configuration:</span><br /><br /><span style="FONT-STYLE: italic;font-family:arial;" >Hardware-</span><br /><span style="font-family:arial;">- Standard x86 PC (eg: P4 Springdale Chipset)</span><br /><span style="font-family:arial;">- Jaycar Serial Card Reader (in Phoenix modes). Mods: CardDetect Invert, Schottky Diode Mod</span><br /><span style="font-family:arial;">- N.D.S S.k.y NZ Card</span><br /><br /><span style="FONT-STYLE: italic;font-family:arial;" >Software-</span><br /><span style="font-family:arial;">- Host (the O/S that loads when you power up the PC): Win7</span><br /><span style="font-family:arial;">- Virtual PC Emulator: Sun VirtualBox</span><br /><span style="font-family:arial;">- Guest (the O/S running in Virtual Mode): ClarkConnect5 (CC5)</span><br /><span style="font-family:arial;">- NewCS V1.67RC1: Used for passing a legal card key</span><br /><span style="font-family:arial;">- ACamd V0610: Used for decrypting the DVB streams</span><br /><span style="font-family:arial;">- PuTTY (telnet/SSH client): Used for issuing terminal commands in CC5</span><br /><span style="font-family:arial;">- CoreFTPlite (FTP client): Used for uploading files to CC5</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Why Use A Virtual Machine?</span><br /><br /><span style="font-family:arial;">- Allows any O/S (within reason) to be used with NewCS</span><br /><span style="font-family:arial;">(important as NewCS is no longer supported in Windows)</span><br /><span style="font-family:arial;">- Allows separation to be maintained between the CS Server and the rest of the PC</span><br /><span style="font-family:arial;">(useful when 'experimenting')</span><br /><span style="font-family:arial;">- Allows the CS Server to simulate a separate PC</span><br /><span style="font-family:arial;">(useful if this is your ultimate goal)</span><br /><span style="font-family:arial;">- Its another interesting PC challenge to get under your belt.</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Why Use Windows 7 at all?</span><br /><br /><span style="font-family:arial;">- Many Geekzone (GZ) posts point to W7 Media Center (W7MC) panning out to be a MC that just works (with some NZ-centric tweaks). I'm sure all the other MC's also work well to varying degrees, however its fairly much acknowledged (by GZ posters) that W7MC is the easiest path to a HTPC that can record and playback all the NZ broadcast streams thrown at it.</span><br /><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Topology:</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" style="FONT-FAMILY: arial" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFJrNw-ov6eOB3d0-71tEXAE5dZcdtXR9KmL8EN1Tv-ErSQoWRzo8xcTn8hs-pU27tgqrHgk20IxKw51LYLj8q-QLg2oxPUNmDOX-YBzdG2GNwof6aYSR7pmS8vh6AqDsUgQj447d8XXU/s1600-h/NEWCS_sky_dtt_w7.jpg"><img style="WIDTH: 400px; HEIGHT: 216px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5377512730996641954" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFJrNw-ov6eOB3d0-71tEXAE5dZcdtXR9KmL8EN1Tv-ErSQoWRzo8xcTn8hs-pU27tgqrHgk20IxKw51LYLj8q-QLg2oxPUNmDOX-YBzdG2GNwof6aYSR7pmS8vh6AqDsUgQj447d8XXU/s400/NEWCS_sky_dtt_w7.jpg" /></a><br /><br /><span style="font-family:arial;">All hardware is connected to the W7 PC. The PC is running W7, however the NewCS box in above is running inside a Linux Virtual Machine (VM).</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Setup:</span><br /><br /><span style="font-family:arial;">Assumptions:</span><br /><span style="font-family:arial;">- all your hardware (cardreader, DVB-S cards, network, etc) is installed and working correctly on your W7 PC.</span><br /><br /><span style="font-family:arial;">Downloads (all are donation or free):</span><br /><span style="font-family:arial;">- Virtual PC Emulator: Sun VirtualBox</span><br /><span style="font-family:arial;">- Guest (the O/S running in Virtual Mode): ClarkConnect5 (CC5)</span><br /><span style="font-family:arial;">- NewCS V1.67RC1: Used for passing a legal cards keys.</span><br /><span style="font-family:arial;">Extract: newcs.i686 & newcs.xml</span><br /><span style="font-family:arial;">Rename: newcs.i686 to newcs.x86</span><br /><span style="font-family:arial;">- ACamd V0610: Used for decrypting the DVB streams</span><br /><span style="font-family:arial;">- PuTTY (telnet/SSH client): Used for issuing terminal commands in CC5</span><br /><span style="font-family:arial;">- CoreFTPlite (FTP client): Used for uploading files to CC5</span><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >Methodology:</span><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >1) Virtual Box</span><br /><span style="font-family:arial;">Download and install Sun VirtualBox for windows </span><strong style="FONT-WEIGHT: normal;font-family:arial;" ><span class="searchword1">(VirtualBox</span> 3.0.4 for Windows hosts)</strong><br /><span style="FONT-STYLE: italic;font-family:arial;" >From memory there were no gotchas with this install on to W7. I downloaded the manual and printed parts of it as a reference.<br /><br /></span><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >2) Create a Virtual Machine</span><br /><span style="font-family:arial;">Using the VBox GUI create a new Virtual Machine (VM)</span><br /><span style="font-family:arial;">Tips: I used the following settings (a lot of these are default values) -</span><br /><br /><span style="FONT-STYLE: italic">General</span><br /><span style="font-family:arial;">Name: ClarkConnectVM (can be anything)</span><br /><span style="font-family:arial;">O/S: Red Hat (Note: CC5 is based on the RedHat distro)</span><br /><br /><span style="FONT-STYLE: italic">System</span><br /><span style="font-family:arial;">Base Memory: 512MB</span><br /><span style="font-family:arial;">Processors: 1</span><br /><span style="font-family:arial;">Boot Order: CD/DVD-ROM, Hard Disk</span><br /><span style="font-family:arial;">VT-x/AMD-V: Enabled</span><br /><span style="font-family:arial;">Nested Paging: Disabled</span><br /><br /><span style="FONT-STYLE: italic">Display</span><br /><span style="font-family:arial;">Video Memory: 128MB</span><br /><span style="font-family:arial;">3D Acceleration: Enabled</span><br /><span style="font-family:arial;">Remote Display Server Port: 3389</span><br /><br /><span style="FONT-STYLE: italic">Hard Disks</span><br /><span style="font-family:arial;">IDE Primary Master: ClarkConnectVM.vdi (Normal, 8.00GB)</span><br /><br /><span style="FONT-STYLE: italic">CD/DVD-ROM</span><br /><span style="font-family:arial;">Host Drive: E: (but point this to your ClarkConnect iso when 'installing' CC5)</span><br /><br /><span style="FONT-STYLE: italic">Floppy</span><br /><span style="font-family:arial;">Not Mounted</span><br /><br /><span style="FONT-STYLE: italic">Audio</span><br /><span style="font-family:arial;">Host Driver: Windows DirectSound</span><br /><span style="font-family:arial;">Controller: ICH AC97</span><br /><br /><span style="FONT-STYLE: italic">Network</span><br /><span style="font-family:arial;">Adapter 1: PCnet-Fast III (Bridged adapter, your PC's network card)</span><br /><span style="font-family:arial;">(I had some problems with networking. Default setting was NAT but that gave me problems so I went to a Bridged configuration)</span><br /><span style="font-family:arial;">Note: You can view the virtual MAC address as well.</span><br /><br /><span style="FONT-STYLE: italic">Serial Ports</span><br /><span style="font-family:arial;">Port 1: COM1, Host Device (COM1)</span><br /><br /><span style="FONT-STYLE: italic">USB</span><br /><span style="font-family:arial;">Device Filters: 0 (0 active)</span><br /><br /><span style="FONT-STYLE: italic">Shared Folders</span><br /><span style="font-family:arial;">None</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >3) Install your Guest O/S (CC5)</span><br /><br /><span style="font-family:arial;">a) Download the ClarkConnect Community Edition ISO image</span><br /><span style="font-family:arial;">(note: no need to burn to CD, VM has some magic for iso's)</span><br /><br /><span style="font-family:arial;">b) Set the VBox VM CD/DVD-ROM to 'see' the CC5 iso as a CD</span><br /><br /><span style="font-family:arial;">c) Start your new VM Guest (ie: this is the same as powering up the VM 'PC')</span><br /><span style="font-family:arial;">You will see a SUN 'BIOS' come up, the VM will boot from virtual CD and you will be asked to select as follows:</span><br /><span style="font-family:arial;">- Select: Language</span><br /><span style="font-family:arial;">- Select: Keyboard (US)</span><br /><span style="font-family:arial;">- Select: Install Method (Local CDrom)</span><br /><span style="font-family:arial;">- Select: Install Type (Install)</span><br /><span style="font-family:arial;">- To proceed: Type - "ClarkConnect"</span><br /><span style="font-family:arial;">- System Mode: Standalone Mode - No Firewall</span><br /><span style="font-family:arial;">- Specify LAN IP: Manual Config or Dynamic if your Router supports leased IP by MAC address.<br />(My router does so I set dynamic and then leased IP:10.1.1.50 using the VM assigned MAC)</span><br /><span style="font-family:arial;">- Nameserver IP: Your router gateway IP (eg: 10.1.1.1)</span><br /><span style="font-family:arial;">- Set the System Root Password > write it down!!</span><br /><span style="font-family:arial;">- Partitioning: Use Default</span><br /><span style="font-family:arial;">- Select Software Modules: Definitely need FTP, I selected most of them.</span><br /><br /><span style="font-family:arial;">d) When the install is complete, you will be presented with a login screen. Login with your new root password created above. There are a number of options in here but you should be done for now. Use the Shutdown option and shutdown. Then start up again and your new CC5 should boot all the way up. If you have set a manual IP you are done for now. If dynamic you have two options:</span><br /><span style="font-family:arial;">i) My favourite - login to your router and look at your DHCP clients, one of them should be CC5.<br />Note the IP of this DHCP client</span><br /><span style="font-family:arial;">ii) Also good - Alt+F2 will drop you into a CC5 terminal, login as root and issue the command: "ifconfig". This is like the Win "ipconfig" - it will show your IP.</span><br /><br /><span style="font-family:arial;">e) Now minimise the CC5 window, minimise the VirtualBox window.</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >4i) Guest O/S (CC5) Setup - User Account<br /><br /></span><span style="font-family:arial;">a) </span><span style="font-family:arial;">Open a browser (eg: IE8) and browse to</span><span style="font-family:arial;"> https://the.IP.of.Guest:81<br />(in my example: https://10.1.1.50:81)</span><span style="font-family:arial;"><br />b) Click through the warnings of doom ('Connection Not Trusted' etc)<br />c) Login, Username: Root, Password: you wrote it down above<br />d) Language: default English<br />e) Network: Standalone Mode No Firewall<br />f) Register: As you like<br />g) Time Zone: Godz Own ;-)<br />h) Domain: Can just leave as is ("clarkconnect.lan") or change if you like<br />i) Organisation: Real Data or space-fillers<br />j) Finish: Again you will probably get dire messages, just click-through.</span><span style="FONT-WEIGHT: bold;font-family:arial;" ><br /><br /></span><span style="FONT-WEIGHT: bold;font-family:arial;" ><br />4ii) Guest O/S (CC5) Setup - Dashboard<br /><br /></span><span style="font-family:arial;">a) Continuing to use the browser window, </span><span style="font-family:arial;">Open the Tab "Account Manager"<br />b) Click to add users "+Add"</span><br /><span style="font-family:arial;">c)</span><br /><span style="font-family:arial;">Username: "bob" (make one up),</span><br /><span style="font-family:arial;">First Name: "Bob" (make one up),</span><br /><span style="font-family:arial;">Last Name: "Bobber" (make one up),</span><br /><span style="font-family:arial;">Password: "bobword"</span><span style="font-family:arial;"> (make one up)<br />Verify: "password" (repeat password just entered)<br /><span style="FONT-STYLE: italic">Write down the Username and Password. These will be used for FTP file uploading.</span><br />d) Click on the tab "+Add"<br />e) Open tab "Software" and "FTP"<br />f) FTP configuration set to "1" not to "30" and click "Update" tab<br />g) Set these two to:<br />Status -Running ('Start')<br />On boot - Automatic ('To Auto')<br />h) That's the Dashboard done. You can logout now.<br /><br /><br /></span><span style="FONT-WEIGHT: bold;font-family:arial;" >5) Transfer NewCS files to Guest using FTP Client<br /><br /></span><span style="font-family:arial;">a) For this we will use CoreFTPLite (or your fav).<br />Open CoreFTPLite and enter:<br />- Host: </span><span style="font-family:arial;">the.IP.of.Guest (eg: <span style="COLOR: rgb(51,102,255)">10.1.1.50</span>)<br />- User Name: The Name you created under Dashboard (<span style="COLOR: rgb(51,102,255)">bob</span>)<br />- Password: The Password you entered above (<span style="COLOR: rgb(51,102,255)">bobword</span>)<br />Now connect to the CC5 server<br />b) Transfer the newcs files extracted earlier to your newly created user account<br />(TIP: location will be: <span style="COLOR: rgb(51,102,255)">/home/'username</span>' (bob in my case))<br /><br /></span><span style="FONT-WEIGHT: bold;font-family:arial;" ><br />6) Setting newcs files for use in CC5 using PuTTY<br /><br /></span><span style="font-family:arial;">a) For this we will use PuTTY.<br /><br />Open/Login PuTTY with:<br />- </span><span style="font-family:arial;">Host: IP.of.Guest (eg: <span style="COLOR: rgb(51,102,255)">10.1.1.50</span>)</span><span style="font-family:arial;"><br />- User: <span style="COLOR: rgb(51,102,255)">root</span><br />- Password: (the password you set in 3c (you <span style="COLOR: rgb(51,102,255)">wrote it down</span>))<br /></span><span style="font-family:arial;"><br /><br />b) Create directory's and copy files to these directorys:<br /><br /><span style="COLOR: rgb(204,51,204)">cd /var</span><br /><span style="COLOR: rgb(204,51,204)">mkdir /var/bin</span><br /><span style="COLOR: rgb(204,51,204)">ls</span><br />(you should now see bin)<br /><span style="COLOR: rgb(204,51,204)">cd /home/Username</span> (4ii c eg: bob)<br /><span style="COLOR: rgb(204,51,204)">ls</span><br />(should see the FTP'd files: newcs.xml, newcs.x86)<br /><span style="COLOR: rgb(204,51,204)">cp newcs.x86 /var/bin</span><br /><span style="COLOR: rgb(204,51,204)">cp newcs.xml /etc</span><br /><span style="COLOR: rgb(204,51,204)">cd /var/bin</span><br /><span style="COLOR: rgb(204,51,204)">ls</span><br />(should see newcs.x86)<br /><span style="COLOR: rgb(204,51,204)">chmod 755 newcs.x86</span><br /><span style="COLOR: rgb(204,51,204)">ls</span><br />(should now go from the colours white to green)<br /><br /><br />c) Edit the newcs.xml file to your card reader (newcs.xml config is a project by itself!):<br /><br /><span style="COLOR: rgb(204,51,204)">nano /etc/newcs.xml</span><br />(CC5 editor starts, note the ctrl characters at the bottom)<br />(remember to save your changes)<br /><br /><br />d) Linking the "libcrypto" file newcs expects to the actual </span><span style="font-family:arial;">"libcrypto" </span><span style="font-family:arial;">CC5 file:<br /><br /><span style="COLOR: rgb(204,51,204)">cd /lib</span><br /><span style="COLOR: rgb(204,51,204)">ln -sf libcrypto.so.0.9.8e libcrypto.so.0.9.8</span><br /></span><br /><span style="font-family:arial;"><br /></span><span style="font-family:arial;">e) Start NewCS<br /><br /><span style="COLOR: rgb(204,51,204)">cd /var/bin</span><br /><span style="COLOR: rgb(204,51,204)">ls</span><br /><span style="COLOR: rgb(204,51,204)">./newcs.x86</span><br />(depending on your newcs.xml settings you should see NewCS startup)<br /><br /><br />f) Optional: NewCS auto-start<br /><br /><span style="COLOR: rgb(204,51,204)">nano /etc/rc.d/rc.local</span><br />(</span><span style="font-family:arial;">You will see a line like: "touch" and so on. Under that line is a lot of empty space. Write next line exactly under that "touch" line)</span><br /><br /><span style="COLOR: rgb(204,51,204);font-family:arial;" >/var/bin/newcs.x86</span><br /><span style="font-family:arial;">(Save the changes)</span><br /><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >7) Methods for logging/viewing NewCS from your Host<br /><br /></span><span style="font-family:arial;">Depending on your newcs.xml file settings here are some ways to see what's going on:<br /><br />a) PuTTY<br />- Start your CC5 VM<br />- Login with PuTTY just as you did in 6a)<br />- Start NewCS with this command (assumes NewCS is not auto-started):<br /></span><span style="font-family:arial;"><span style="COLOR: rgb(204,51,204)">cd /var/bin</span><br /><span style="COLOR: rgb(204,51,204)">ls</span><br /><span style="COLOR: rgb(204,51,204)">./newcs.x86</span></span><br /><span style="font-family:arial;">- On your PuTTY terminal/console you will see the debug script</span><br /><br /><span style="font-family:arial;">b) Browser (assumes NewCS is already running either manually or auto-start)</span><br /><span style="font-family:arial;">- Using IE or other browser enter:</span><br /><span style="font-family:arial;">http: </span><span style="font-family:arial;">the.IP.of.Guest:httpd_port_set_in_newcsxml (eg: <span style="COLOR: rgb(51,102,255)">http://10.1.1.50:8080</span>)<br />- User: httpd_user_set_in_newcsxml (eg: <span style="COLOR: rgb(51,102,255)">admin</span>)<br />- Password: </span><span style="font-family:arial;">httpd_password_set_in_newcsxml (eg: <span style="COLOR: rgb(51,102,255)">password</span>)</span><br /><span style="font-family:arial;">This is kinda cool as you can actually make changes to your newcs.xml file thru your browser, plus see keys and all sorts of cool stuff.<br /><br />c) Telnet (simple logger)<br /></span><span style="font-family:arial;">- </span><span style="font-family:arial;">Host: IP.of.Guest, port: tcp_port_set_in_newcsxml (eg: <span style="COLOR: rgb(51,102,255)">10.1.1.50</span>, port <span style="COLOR: rgb(51,102,255)">1001</span>)</span><span style="font-family:arial;"><br />You will see any activity related to NewCS, eg: browser logins<br /><br />d) Logfile<br />If you set your newcs.xml file to log 'debug' to a logfile then you can pull this down with CoreFTPlite.<br />Tip: In your newcs.xml file set your logfile to your user directory.<br />Ie:<logfile><span style="COLOR: rgb(51,102,255)">/home/usename_4ii_c</span> ("bob" in 4ii C above)</logfile>.<br />This makes it easy to get access to the logfile.<br /></span><br /><br /><span style="FONT-WEIGHT: bold;font-family:arial;" >8) Method for starting CC5 as a non-GUI on your Host<br /><br /></span><span style="font-family:arial;">a) Create a desktop shortcut of the command prompt<br />(copy the Start>All Programs>Accessories "C:\" icon</span><span style="font-family:arial;"> command prompt shortcut and drag this copy to the desktop)<br /><br />b) Right click your new shortcut and go to 'properties'<br /><br />c) Set the target directory ("Start in:") to: <span style="COLOR: rgb(51,102,255)">"C:\Program Files\Sun\xVM VirtualBox\"</span><br />Set the target ("Target:") to:<br /><span style="COLOR: rgb(51,102,255)">C:\Windows\System32\cmd.exe /k VBoxHeadless.exe --startvm name_of_your_cc5_guest</span><br />eg: </span><span style="COLOR: rgb(51,102,255);font-family:arial;" >C:\Windows\System32\cmd.exe /k VBoxHeadless.exe --startvm ClarkConnectVM</span><br /><br /><span style="font-family:arial;">d) Apply/OK</span><br /><br /><span style="font-family:arial;">Now when you double-click this shortcut it will start VirtualBox and also start CC5. You won't be able to tell when it is ready (other than CPU usage), however its ready when you can login with PuTTY as root.</span><br /><br /><span style="font-family:arial;"><span style="FONT-STYLE: italic; FONT-WEIGHT: bold">Tip:</span> To stop NewCS Process:<br />- If in the terminal that you used to start NewCS - Scroll up to see the Process Number created.<br />Use this number in the following command: <span style="COLOR: rgb(204,51,204)">kill xxxx</span> (where 'xxxx' is the process number)<br />- If you cannot see the Process Number, or have just logged in then run:<br /><span style="COLOR: rgb(204,51,204)">ps ax_grep newcs</span> (please replace<span style="color:#cc33cc;"> _</span> with: "<span style="color:#cc33cc;">shift+\</span>" - I can't post the vertical bar character)<br /><span style="COLOR: rgb(204,51,204)">kill xxxx</span> (xxxx is the process found above)<br /><br /><span style="FONT-STYLE: italic; FONT-WEIGHT: bold">Tip:</span> To do an orderly shut down of CC5 do this:</span><br /><span style="font-family:arial;">- Login as root (with PuTTY)</span><br /><span style="font-family:arial;">- Issue the command: </span><span style="COLOR: rgb(204,51,204);font-family:arial;" >shutdown -h now</span><br /><br /><br /><span style="font-family:arial;">VirtualBox and CC5 will now sit in the background acting as a NewCS Server. In headless mode it boots up into CC5 in less than a minute (on my old PC) and doesn't use many CPU cycles.</span><br /><br /><span style="font-family:arial;">Hope this helps others. It looks complicated (and it kinda is!) but follow through the steps and you should be good to go.</span><br /><br /><span style="COLOR: rgb(204,51,204)">BIG THANKS to kapzas over on Eurocardsharing forum for allowing me to use his/her ClarkConnect How-To!!!</span><br /><br /><span style="font-family:arial;">Please let me know if I made any typos or other mistakes.</span>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-4144422562481006422009-08-20T22:16:00.001-07:002009-08-20T22:28:07.908-07:00NewCS 1.65 error screensaves (for reference)Plastic card inserted screenshot (so card detect active but no comm)<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg57_Sad7hMuIVwnLbLVErhcPna35hTXP_B-mEJ7T28FrdYTDNcknj7Qkz_BqT0PBqJDav53G6iS91UI8zhtEFEmYiDEXmShRUTP9UuyAH_hsJp4fgk9-3fOA9AgV8LynnNtZwbPHYfaRo/s1600-h/Plastic_Card_Inserted.png"><img style="cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg57_Sad7hMuIVwnLbLVErhcPna35hTXP_B-mEJ7T28FrdYTDNcknj7Qkz_BqT0PBqJDav53G6iS91UI8zhtEFEmYiDEXmShRUTP9UuyAH_hsJp4fgk9-3fOA9AgV8LynnNtZwbPHYfaRo/s400/Plastic_Card_Inserted.png" alt="" id="BLOGGER_PHOTO_ID_5372283890058762354" border="0" /></a><br /><br />No power on the Reader screenshot<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRKdau1Oj48LO0TG6dQWl2ZCyuOCgKq2XsnoBQnKDHiLAl678kbdD_1_4Ay776cD7zhD2tu8_jlA0-Gb1Y3kamuFCjJzAWH2Ku9Y8bMPlDTWxEewz6mDQBMAwcgtzMbGnQu-QPZd30kbQ/s1600-h/NO_Power.png"><img style="cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRKdau1Oj48LO0TG6dQWl2ZCyuOCgKq2XsnoBQnKDHiLAl678kbdD_1_4Ay776cD7zhD2tu8_jlA0-Gb1Y3kamuFCjJzAWH2Ku9Y8bMPlDTWxEewz6mDQBMAwcgtzMbGnQu-QPZd30kbQ/s400/NO_Power.png" alt="" id="BLOGGER_PHOTO_ID_5372283331095736002" border="0" /></a><br /><br />No card inserted screenshot<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxZ5GQZEmCF7Vuhyphenhyphenk8Y5YIMVlJH3Ba7SoxCEstmPY5FXcZqvp84h2r1Q1C3JhOY7fh45hCyXIG9plDEmmC6xGEnlU7AfWg2wC4aLJcByp5u4oOHT6xBjgHEhQLsx89p2O70fkUnrKAW8k/s1600-h/NO_Card_Inserted.png"><img style="cursor: pointer; width: 400px; height: 300px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxZ5GQZEmCF7Vuhyphenhyphenk8Y5YIMVlJH3Ba7SoxCEstmPY5FXcZqvp84h2r1Q1C3JhOY7fh45hCyXIG9plDEmmC6xGEnlU7AfWg2wC4aLJcByp5u4oOHT6xBjgHEhQLsx89p2O70fkUnrKAW8k/s400/NO_Card_Inserted.png" alt="" id="BLOGGER_PHOTO_ID_5372282570127029858" border="0" /></a>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-60524835165612798442009-08-18T14:14:00.000-07:002009-08-18T14:27:53.971-07:00NewCS 1.20 (RC13)Here is a printscreen of a successful 1.20 card load:<br /><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglJKD6B-dr2pa4qCgemSzqAlVpxRg7TXg7d7OLnlKo0yiNVCWgTkFqCzSVpN1b29a9I0-PwdrnelFepi540ptgbzFfZV0rgyrn1cEcsFS_iKs8XuvzRSFCKQ9DvG1o2_414cXvGLAmGpM/s1600-h/Card_In_newcs120_Anom.png"><img id="BLOGGER_PHOTO_ID_5371418483193020546" style="WIDTH: 400px; CURSOR: hand; HEIGHT: 203px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglJKD6B-dr2pa4qCgemSzqAlVpxRg7TXg7d7OLnlKo0yiNVCWgTkFqCzSVpN1b29a9I0-PwdrnelFepi540ptgbzFfZV0rgyrn1cEcsFS_iKs8XuvzRSFCKQ9DvG1o2_414cXvGLAmGpM/s400/Card_In_newcs120_Anom.png" border="0" /></a><br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc754S68aILNm9RxSxXJDUQR9AX1v8CDnt1QdPEyq5_-2TzLacbrRbPkUSpGE2MdC7FV7pPsCpjdg5H74x7WwToBvzbn1y1dGsIW3d_wWsJIsZkYqGQiv0JuSqM3YFh3UFJNp3HXTsgyM/s1600-h/Card_In_newcs120.png"></a>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-6247001138141775812009-08-12T00:53:00.000-07:002009-08-12T04:07:29.047-07:00HTPC info dump<div class="smallfont"> <strong>http://www.xpmediacentre.com.au/community/windows-7-media-center-software/37088-what-causes-pixilation-satellite-feed.html<br /><br />Re: FIXED What causes pixilation on a Satellite feed?</strong> </div> <hr style="color: rgb(209, 209, 225); background-color: rgb(209, 209, 225);" size="1"> <!-- / icon and title --> <!-- message --> <div class="msgborder"> <div id="post_message_254739">Arrh fixed it, basically there is a virtual tuner created by DVBlink which can be seen in 7MC so you need to change its priority to normal and then change the DVB-S (actual) tuner to use first or highest priority, I had them both set to highest priority meaning they were conflicting and causing nasty pixiliation!! This setting is found in DVBviewer under the hardware tab if anyone is having the same issue.<br />Drew.<br /><br />_________________________________<br /><br /><span style="font-weight: bold;">http://www.geekzone.co.nz/forums.asp?ForumId=84&TopicId=31967&page_no=4</span><br /><span style="font-weight: bold;"><br />RustyGonad: </span><br /><br />Acamd works with the native interface in DVBViewer so you don't need anything else in the Plugins folder, just Acamd and its files. If you are using SoftCSA get rid of it and most of your problems should disappear. The includes ffcsa or whatever its called.<br /><br />I use a fresh install of DVBViewer in its own directory ie c:\DVBViewer1 & c:\DVBViewer2 for the second tuner.<br /><br />When you install each one make sure you select PROGRAM DIRECTORY for the preferences. This makes each instance standalone. This is also critical to making dual tuners work, otherwise both copies share the same preferences, which is likely to cause havoc.<br /><br />Also in each DVBViewer make sure you select all the devices that aren't being used to DO NOT USE under Options/Hardware. You should only select 1 tuner for each one, and it should be PREFERRED.<br /><br />------------------------------------<br /><br />...You just need to adjust the cardclient.conf in Acamd with your IP address, the username/password and the provider id 096A.<br /><br /><div> Notepad is fine. Just remove the hash from the newcamd line at the bottom and put in your settings.<br /><br />When your client tries to access a scrambled channel it should connect to NewCS and you'll see a client logon message.<br /><br />Just one gotcha. Each client connection must use a different username for it to work. So for instance I've got two cards which are set up to allow 3 encrypted sessions each so I use 6 usernames total. These are set up in the NewCS config file which is again a notepad thing.<br /><br />_________________________________<br /><span style="font-weight: bold;"><br />http://www.iusmentis.com/technology/encryption/crashcourse/secretkeycrypto/</span><br /><span style="font-weight: bold;">http://www.birds-eye.net/definition/e/emm-entitlement_management_message.shtml</span><br /><h3>Protecting pay TV transmissions</h3> <p>Secret key encryption and smart cards are used for example in pay TV applications. Sometimes this is referred to as "conditional access" television. Television programs (usually premium movies, football or soccer matches and adult content) are encrypted using a secret key. To make it difficult for Eve to obtain this key, the secret key is changed every few minutes or sometimes even every few seconds. This way, even if Eve can successfully use a brute force attack to guess the key, she only has a very small portion of the television program. Alice has a set-top box and a smart card that allows her to decrypt the television programs. The set-top box passes the decrypted television program on to the television. Originally these boxes were designed to be placed on top of the television set, hence the name. </p> <p>Special messages, called Entitlement Control Messages (ECMs), are sent along with the program. These messages contain the secret keys. Of course the ECMs themselves are also encrypted, this time using a key stored on the smart card. Alice's set-top box receives the ECMs and passes them on to the smart card. The smart card decrypts the ECMs and extracts the secret keys contained therein. This allows the set-top box to decrypt the television program.</p> <p>The keys needed to decrypt the ECMs can be programmed on the smart card in advance. By regularly changing these keys, Alice is forced to purchase a new smart card every month or so. If Eve manages to make a copy of the smart card, or to extract the keys from it, she will only be able to watch the programs for the rest of that particular month.</p> <p>Another option is to regularly send out so-called Entitlement Management Messages (EMMs) that contain the keys needed to decrypt the ECMs. The EMMs themselves are then encrypted with keys stored on the smart card. The service provider then every month simply sends out a new EMM. This provides much greater flexibility, and Alice does not have to go to the store every month. Every smart card can now have a different key. The service provider sends out different EMMs for all the smart cards in the system. Every EMM thus is readable only by one smart card. If the service provider thinks a particular smart card has been copied illegally, he simply does not send out a new EMM for that particular smart card.</p>________________________________ </div><br /><span style="font-weight: bold;"></span><newcsconfig></newcsconfig><br /></div> </div>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0tag:blogger.com,1999:blog-3696738915771119667.post-80787256873160987242009-08-11T17:28:00.000-07:002009-08-13T16:43:06.164-07:00HTPC URLs<span style="font-weight: bold;">NewCS files:</span><br />Download:<br /><a href="http://www.skystar.org/arsiv/index.php?dir=cardsharing/newcs/&sort=a&sortMode=f">http://www.skystar.org/arsiv/index.php?dir=cardsharing/newcs/&sort=a&sortMode=f</a><br /><br />Configuration example from a Geekzone user:<br />(Note: Final working file name needs to be 'newcs.xml')<br /><a href="http://upload.info/m88y523bg935/newcs.xml.GZuserExample.xml">http://upload.info/m88y523bg935/newcs.xml.GZuserExample.xml</a><br /><br /><br /><span style="font-weight: bold;">ACamd files:<br /></span>Download:<br /><a href="http://www.dvbskystar.com/">http://www.dvbskystar.com/</a><br /><br />Configuration example from a Geekzone user:<br />(Note: Final working file name needs to be 'cardclient.conf')<br /><a href="http://upload.info/4m5suvuu2bev/cardclient.conf.GZuserExample.conf">http://upload.info/4m5suvuu2bev/cardclient.conf.GZuserExample.conf</a>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com2tag:blogger.com,1999:blog-3696738915771119667.post-15835366046525494462009-06-30T01:55:00.000-07:002009-07-01T13:23:35.302-07:00PC Fan Controller<span class="Apple-style-span" style="font-family:arial;">While looking into building my first mini-ITX PC, I found the two motherboards of choice (Intel DG45FC & Zotec 9300 ITX) had problems with fan control. I therefore decided to build fan controllers to allow standalone analogue fan control.<br /><br />In searching the net for ideas I found cpemma's excellent site which went offline shortly after I found it (don't you hate it when that happens!). I did however read enough to decide I liked the Micrel Low-Dropout Adjustable Regulator (MIC2941ABT) and this became the basis of my controller.<br /><br />After building a couple of test rigs the following circuit was settled on:</span><span style="font-family:arial;"><br /></span><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpm5x9654RxwDU8pJzPe1DBtlb-nAgLhLlwlF_vQ39PTQ_I_4z0OjH9RJHpMW3kjxp8XfTtFGPUHhq5qF3ad3pjAcTvNBy6XsHbv-JTrU5jFUASKvKou7Mnl6K6gOOthGboEFhYbHmLGs/s1600-h/Fan+Controller+Schm.gif"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 195px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5353067454895946914" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpm5x9654RxwDU8pJzPe1DBtlb-nAgLhLlwlF_vQ39PTQ_I_4z0OjH9RJHpMW3kjxp8XfTtFGPUHhq5qF3ad3pjAcTvNBy6XsHbv-JTrU5jFUASKvKou7Mnl6K6gOOthGboEFhYbHmLGs/s400/Fan+Controller+Schm.gif" /></a><span style="font-family:arial;"><br />By including a NTC (negative temperature coefficient) resistor the voltage output varies depending of the temperature of the Rntc (the thermal sensor). I also included a facility for "sliding" the voltage output by including Radj. Parallel resistors were also added to linearise the response of Rntc and also to desensitise Radj.<br /><br /></span><span style="font-family:arial;">This circuit results in a full-speed voltage of 11.6V and a low-speed voltage of 1.25V. The following graph shows a representation of both 5V/12V Voltages with respect to Temperature Vs. Radj:<br /><br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXVkkSXP9Ap1-y03KDNYYnJhIDBVmABW0-wWMJWrMKctytzVP88C2tkqR8ZUBIbSbjCdU8vrgm5KmNGjIqgY6B7nDY1XespjShBgWNcHsAkTbbTNPkCE2VGKmmiJwpYf0Rtyz-clL5SA/s1600-h/FanControl_TempChart1.gif"><img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 400px; DISPLAY: block; HEIGHT: 224px; CURSOR: pointer" id="BLOGGER_PHOTO_ID_5353060322254194546" border="0" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlXVkkSXP9Ap1-y03KDNYYnJhIDBVmABW0-wWMJWrMKctytzVP88C2tkqR8ZUBIbSbjCdU8vrgm5KmNGjIqgY6B7nDY1XespjShBgWNcHsAkTbbTNPkCE2VGKmmiJwpYf0Rtyz-clL5SA/s400/FanControl_TempChart1.gif" /></a><span style="font-family:arial;"><br />This graph is also a design tool allowing the total Radj value to be selected for a given temperature range.</span><br /><br /><span style="font-family:arial;">I also decided that there was no point in allowing the voltage to drop lower than 5V, as most fans would either stall or cause other problems at this low voltage. Utilisation of the PSU +5V line and a couple of Schottky diodes took care of this (these diodes only drop 0.2V).</span><br /><br /><span style="font-family:arial;">Another facility I wanted to retain was the ability for the motherboard to continue to read the fan RPM. This was easily accomplished by feeding the Fan RPM line back out to the motherboard's fan RPM sense pin (referenced to Ground).</span><br /><br /><span style="font-family:arial;">And finally I wanted this circuit to be housed in as small and neat a package as possible. This was accomplished </span><span><span class="Apple-style-span" style="font-family:arial;">by using a potting-box of 20x30x15mm and potting the circuitry when I sure it was working satisfactorily (potting still to be done).<br /><br /></span></span><span><span class="Apple-style-span" style="font-family:arial;">Here is a picture of the "version II" circuit in test operation mounted (via double-sided tape) in my Soltek SFF (the controller is the black box in top left corner):</span></span></p><div><span style="font-family:arial;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIii8sf0vCjrgRZvxqSZJoGYEd2UyAvvKEECQMq2BGMk3FNPz6QNTJmSzZRZR_appu1ePFne8vaSf8LvthEVLSDJ6YXW2DPMRZRMVDgQp-EC35_LENJahU3-CNNshfei75tTkxe1Wr1Bc/s1600-h/Picture+005.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 380px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIii8sf0vCjrgRZvxqSZJoGYEd2UyAvvKEECQMq2BGMk3FNPz6QNTJmSzZRZR_appu1ePFne8vaSf8LvthEVLSDJ6YXW2DPMRZRMVDgQp-EC35_LENJahU3-CNNshfei75tTkxe1Wr1Bc/s400/Picture+005.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5353420418645313602" /></a><br />And here is a close up of the controller itself (the plug with exposed pins allows the controller to be plugged in to the PSU's floppy-drive power socket):</span></div><div><span class="Apple-style-span" style="font-family:arial;"><br /></span></div><div><span style="font-family:arial;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEI1eWcXZ-811iIbtJWIfHOAJme7TID3f2OgAi7VlCq-gkh_rCxHp1WZudcSgyvs9YMGBzouXme7T1rEBHgC7lXYqmFMvlbS0YYwFp_aGXW7dgY0x6fm63P22wgtq3TMUWMejpqJqD1xQ/s1600-h/Picture+019.jpg"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 398px; height: 400px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEI1eWcXZ-811iIbtJWIfHOAJme7TID3f2OgAi7VlCq-gkh_rCxHp1WZudcSgyvs9YMGBzouXme7T1rEBHgC7lXYqmFMvlbS0YYwFp_aGXW7dgY0x6fm63P22wgtq3TMUWMejpqJqD1xQ/s400/Picture+019.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5353420987956975874" /></a><br />After leaving this running in my PC for a week I can report it works perfectly, complete with fan RPM feedback to the motherboard.<br /><p>A list of materials for this project is as follows:</p><p><span>a) 20mm x 30mm x 15mm Potting Box (RS Components Stock No. 509-024)<br />b) Micrel Low-Dropout Regulator (RS Components Stock No. 254-383)<br />c) NTC Chip Resistor (RS Components Stock No. 247-7503)<br />d) Veroboard (strip board)<br />e) 2.54 Molex PCB Headers (Jaycar Electronics Cat No. HM-3413)<br />f) 47uF SMD (surface-mount to save space) Tantalum Capacitors (Jaycar Electronics Cat No. RZ-6574)<br />g) 0.22uF Monolithic Capacitor (Jaycar Electronics Cat No. RC-5494)<br />h) Various metal-film resistors<br />i) Ribbon-cable (HDD IDE cable "recycled")<br />j) A super-fine tip soldering iron and steady hand (as much of the soldering is done inside the potting box).</span></p><p>The next step is to "pot" the circuit and for this I will use a RS Components thermally conductive potting compound. This wil provide heatsinking for the Micrel voltage regulator, although in testing I had the controller running into three fans and the worst the regulator heated was to around 45 degree C.</p><p>I hope this post helps somebody :-)</p></span></div>argohttp://www.blogger.com/profile/16776678809534213890noreply@blogger.com0