<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 18, 2013 at 9:43 AM, Tom Lichti <span dir="ltr"><<a href="mailto:tom@redpepperracing.com" target="_blank">tom@redpepperracing.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">
<div class="im">On Tue, Jun 18, 2013 at 9:38 AM, Mike Perkins <span dir="ltr"><<a href="mailto:mikep@randomtraveller.org.uk" target="_blank">mikep@randomtraveller.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 18/06/13 14:05, Daryl McDonald wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I'm not understanding how to view /var/log/messages.<br>
<br>
</blockquote></div>
As root, "cat /var/log/messages"; although that could give you thousands of lines if your host has been up long, or "tail -<n> /var/log/messages" where <n> is a number (that's /just/ a number after the hyphen). That will display the last n lines of the log.<br>
<br>
I would also have a look at dmesg. You don't need to be root to do that and if you try "dmesg | more" you'll see how the system boots up and what it thinks it finds.<br>
<br>
The first few pages can be skipped over as that's the software finding out what CPU and memory you have. Later on you'll see what peripherals it finds.<div><br></div></blockquote><div><br></div></div><div>Instead of trying to find the needle in a haystack, do this:</div>
<div><br></div><div>grep -i -E "kworld|dvb" /var/log/messages</div></div></div></div></blockquote><div><br></div><div> daryl@daryl-A780L3C:~$ grep -i -E "kworld|dvb" /var/log/messages</div><div>grep: /var/log/messages: No such file or directory</div>
<div>daryl@daryl-A780L3C:~$</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div><br></div><div>and</div><div><br></div><div>dmesg | grep -i -E "kworld|dvb"</div></div></div></div></blockquote><div><br></div><div> daryl@daryl-A780L3C:~$ dmesg | grep -i -E "kworld|dvb"</div>
<div>[ 21.955268] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)</div><div>[ 21.965500] saa7134: card=10 -> Kworld/KuroutoShikou SAA7130-TVPCI </div><div>[ 21.965566] saa7134: card=50 -> Pinnacle PCTV 300i DVB-T + PAL 11bd:002d</div>
<div>[ 21.965576] saa7134: card=55 -> LifeView FlyDVB-T DUO / MSI TV@nywhere D 5168:0306 4e42:0306</div><div>[ 21.965584] saa7134: card=59 -> Kworld/Tevion V-Stream Xpert TV PVR7134 </div><div>[ 21.965585] saa7134: card=60 -> LifeView/Typhoon/Genius FlyDVB-T Duo Car 5168:0502 4e42:0502 1489:0502</div>
<div>[ 21.965588] saa7134: card=61 -> Philips TOUGH DVB-T reference design 1131:2004</div><div>[ 21.965591] saa7134: card=63 -> Kworld Xpert TV PVR7134 </div><div>[ 21.965602] saa7134: card=70 -> Compro Videomate DVB-T300 185b:c900</div>
<div>[ 21.965604] saa7134: card=71 -> Compro Videomate DVB-T200 185b:c901</div><div>[ 21.965626] saa7134: card=84 -> LifeView FlyDVB Trio 5168:0319</div><div>[ 21.965627] saa7134: card=85 -> AverTV DVB-T 777 1461:2c05 1461:2c05</div>
<div>[ 21.965629] saa7134: card=86 -> LifeView FlyDVB-T / Genius VideoWonder D 5168:0301 1489:0301</div><div>[ 21.965633] saa7134: card=88 -> Tevion/KWorld DVB-T 220RF 17de:7201</div><div>[ 21.965636] saa7134: card=90 -> Kworld ATSC110/115 17de:7350 17de:7352</div>
<div>[ 21.965644] saa7134: card=94 -> LifeView FlyDVB-T Hybrid Cardbus/MSI TV 5168:3306 5168:3502 5168:3307 4e42:3502</div><div>[ 21.965650] saa7134: card=97 -> LifeView FlyDVB-S /Acorp TV134DS 5168:0300 4e42:0300</div>
<div>[ 21.965661] saa7134: card=103 -> Compro Videomate DVB-T200A </div><div>[ 21.965662] saa7134: card=104 -> Hauppauge WinTV-HVR1110 DVB-T/Hybrid 0070:6700 0070:6701 0070:6702 0070:6703 0070:6704 0070:6705</div>
<div>[ 21.965681] saa7134: card=114 -> KWorld DVB-T 210 17de:7250</div><div>[ 21.965710] saa7134: card=131 -> Twinhan Hybrid DTV-DVB 3056 PCI 1822:0022</div><div>[ 21.965713] saa7134: card=133 -> NXP Snake DVB-S reference design </div>
<div>[ 21.965725] saa7134: card=140 -> Avermedia DVB-S Pro A700 1461:a7a1</div><div>[ 21.965726] saa7134: card=141 -> Avermedia DVB-S Hybrid+FM A700 1461:a7a2</div><div>[ 21.965733] saa7134: card=145 -> AVerMedia MiniPCI DVB-T Hybrid M103 1461:f636 1461:f736</div>
<div>[ 21.965746] saa7134: card=153 -> Kworld Plus TV Analog Lite PCI 17de:7128</div><div>[ 21.965752] saa7134: card=156 -> Hauppauge WinTV-HVR1120 DVB-T/Hybrid 0070:6707 0070:6709 0070:670a</div>
<div>[ 21.965796] saa7134: card=182 -> Kworld PCI SBTVD/ISDB-T Full-Seg Hybrid 17de:b136</div><div>[ 21.965808] saa7134: card=189 -> Kworld PC150-U 17de:a134</div><div>[ 22.697848] cx23885_dvb_register() allocating 1 frontend(s)</div>
<div>[ 22.697851] cx23885[0]: cx23885 based dvb card</div><div>[ 22.729041] DVB: registering new adapter (cx23885[0])</div><div>[ 22.729043] DVB: registering adapter 0 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...</div>
<div>daryl@daryl-A780L3C:~$ </div><div><br></div><div style>Above are the results of the suggested serches, Thanks Tom</div><div style>Daryl</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>The '-i' modifier says to ignore case, and -E is extended regexp, so it will look for lines with kworld OR dvb.</div>
<div><br></div><div>If you want to view the whole file, by all means do the above, but trying to find a single line amongst thousands by eye is going to be difficult.</div><span class=""><font color="#888888"><div><br></div>
<div>Tom</div><div> </div></font></span></div></div>
</div>
<br>_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br></blockquote></div><br></div></div>