<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>YorYor's Thoughts</title>
	<atom:link href="http://yoryor.net/index.php/feed" rel="self" type="application/rss+xml" />
	<link>http://yoryor.net</link>
	<description>All of my thoughts... and more.</description>
	<pubDate>Wed, 30 Jun 2010 06:02:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>AMD Phenom X4 9750 hit 124 degrees Celsius!</title>
		<link>http://yoryor.net/index.php/archives/67</link>
		<comments>http://yoryor.net/index.php/archives/67#comments</comments>
		<pubDate>Fri, 14 Aug 2009 19:43:32 +0000</pubDate>
		<dc:creator>yoryor</dc:creator>
		
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://yoryor.net/?p=67</guid>
		<description><![CDATA[Yeap, that&#8217;s right.
One of my 1U rackmount servers contained the above chip, and is running Ubuntu Linux with lm-sensors. Sure lm-sensors isn&#8217;t that accurate (all the engineering talk about tjunction temperature etc etc), but it&#8217;s the only reading I could get at that point in time (using &#8220;watch sensors&#8221; command) and I saw it hit [...]]]></description>
			<content:encoded><![CDATA[<p>Yeap, that&#8217;s right.</p>
<p>One of my 1U rackmount servers contained the above chip, and is running Ubuntu Linux with lm-sensors. Sure lm-sensors isn&#8217;t that accurate (all the engineering talk about tjunction temperature etc etc), but it&#8217;s the only reading I could get at that point in time (using &#8220;watch sensors&#8221; command) and I saw it hit 124 degrees Celsius before my screen froze. I guess the AMD CPU shut itself down at that specific moment.</p>
<p>Some hardware issues then caused me to man my panic stations, thinking it was a fried chip and/or board and/or power supply etc. Thankfully, it wasn&#8217;t burnt! Talk about building confidence in the chipmaker. They&#8217;re finally getting close to the only thing I like about Intel - throttling the chips to continue operations albeit at a lower performance.</p>
<p>Now, time to fix all the other niggling problems about the server once and for all.</p>
]]></content:encoded>
			<wfw:commentRss>http://yoryor.net/index.php/archives/67/feed</wfw:commentRss>
		</item>
		<item>
		<title>Samsung G800 as USB Modem in Ubuntu (Linux)</title>
		<link>http://yoryor.net/index.php/archives/63</link>
		<comments>http://yoryor.net/index.php/archives/63#comments</comments>
		<pubDate>Sat, 27 Jun 2009 17:42:13 +0000</pubDate>
		<dc:creator>yoryor</dc:creator>
		
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://yoryor.net/?p=63</guid>
		<description><![CDATA[Was charging my wife&#8217;s soon-to-be defunct Samsung G800 (due to a suspected faulty LCD flex cable/ribbon), when I thought I&#8217;d try to use it as a USB modem. Set the phone&#8217;s PC Connection option to &#8220;PC Studio&#8221; and connected. dmesg showed:
[116046.169752] usb 1-2: new full speed USB device using ohci_hcd and address 74
[116046.264136] usb 1-2: [...]]]></description>
			<content:encoded><![CDATA[<p>Was charging my wife&#8217;s soon-to-be defunct Samsung G800 (due to a suspected faulty LCD flex cable/ribbon), when I thought I&#8217;d try to use it as a USB modem. Set the phone&#8217;s PC Connection option to &#8220;PC Studio&#8221; and connected. dmesg showed:</p>
<p><code>[116046.169752] usb 1-2: new full speed USB device using ohci_hcd and address 74<br />
[116046.264136] usb 1-2: configuration #1 chosen from 1 choice<br />
[116046.130088] cdc_acm 1-2:1.0: ttyACM0: USB ACM device<br />
[116046.332116] usbcore: registered new interface driver cdc_acm<br />
[116046.332125] /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters</code></p>
<p>Tweaked my wvdial.conf a little, and tried this at first (I&#8217;m using M1 Mobile Broadband in Singapore):</p>
<p><code>[Dialer Defaults]<br />
Baud = 460800<br />
ISDN = 0<br />
Stupid Mode = yes<br />
New PPPD = yes<br />
Modem Type = Analog Modem<br />
Username = blank<br />
Password = blank<br />
Phone = *99#<br />
Modem = /dev/ttyACM0<br />
Init1 = ATZ<br />
Init2 = ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init3 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;sunsurf&#8221;<br />
Dial Command = ATDT<br />
Username = 6594763418<br />
Password = user123</code></p>
<p>did a wvdial, and got this:</p>
<p><code>--> WvDial: Internet dialer version 1.60<br />
--> Cannot get information for serial port.<br />
--> Initializing modem.<br />
--> Sending: ATZ<br />
ATZ<br />
OK<br />
--> Sending: ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ERROR<br />
--> Bad init string.<br />
--> Cannot get information for serial port.<br />
--> Initializing modem.<br />
--> Sending: ATZ<br />
ATZ<br />
OK<br />
--> Sending: ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ERROR<br />
--> Bad init string.<br />
--> Cannot get information for serial port.<br />
--> Initializing modem.<br />
--> Sending: ATZ<br />
ATZ<br />
OK<br />
--> Sending: ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
ERROR<br />
--> Bad init string.</code></p>
<p>Fine. Commented out the line that the phone didn&#8217;t like&#8230;</p>
<p><code>[Dialer Defaults]<br />
Baud = 460800<br />
ISDN = 0<br />
Stupid Mode = yes<br />
New PPPD = yes<br />
Modem Type = Analog Modem<br />
Username = blank<br />
Password = blank<br />
Phone = *99#<br />
Modem = /dev/ttyACM0<br />
Init1 = ATZ<br />
#Init2 = ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init3 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;sunsurf&#8221;<br />
Dial Command = ATDT<br />
Username = 6594763418<br />
Password = user123</code></p>
<p>Tada!</p>
<p><code>--> WvDial: Internet dialer version 1.60<br />
--> Cannot get information for serial port.<br />
--> Initializing modem.<br />
--> Sending: ATZ<br />
ATZ<br />
OK<br />
--> Sending: AT+CGDCONT=1,"IP","sunsurf"<br />
AT+CGDCONT=1,"IP","sunsurf"<br />
OK<br />
--> Modem initialized.<br />
--> Sending: ATDT*99#<br />
--> Waiting for carrier.<br />
ATDT*99#<br />
CONNECT<br />
--> Carrier detected.  Starting PPP immediately.<br />
--> Starting pppd at Sun Jun 28 01:34:22 2009<br />
--> Pid of pppd: 27727<br />
--> Using interface ppp0<br />
--> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> local  IP address 112.199.153.7<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> remote IP address 10.64.64.64<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> primary   DNS address 202.65.247.31<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]<br />
&#8211;> secondary DNS address 202.65.244.32<br />
&#8211;> pppd: ���� �[06][08]��[06][08][03]</code></p>
<p>As my mobile broadband is on a 1Mbps plan, I couldn&#8217;t test how fast the phone could go.<br />
But on Speedtest.net, it was hitting the max on my plan for sure. No complaints there.<br />
<img src="http://www.speedtest.net/result/505130193.png" alt="Speedtest.net Test Result" /></p>
<p>On another note, for those whose distro couldn&#8217;t pick up the phone and/or automatically modprobe and/or doesn&#8217;t support cdc_acm, you could fall back on the trusty old usbserial.<br />
lsusb gave me</p>
<p><code>Bus 001 Device 074: ID 04e8:6601 Samsung Electronics Co., Ltd Z100 Mobile Phone</code>,</p>
<p>so I</p>
<p><code>sudo modprobe usbserial vendor=0x04e8 product=0x6601</code></p>
<p>and got a /dev/ttyUSB0 to play with.<br />
Simple follow the same wvdial configurations as above, except replacing ACM0 with USB0.<br />
My tests with usbserial displayed a max of 0.5Mbps on Speedtest, so I believe that&#8217;s the legacy limitation of usbserial and something related to its buffers.</p>
]]></content:encoded>
			<wfw:commentRss>http://yoryor.net/index.php/archives/63/feed</wfw:commentRss>
		</item>
		<item>
		<title>ManUtd Belt?</title>
		<link>http://yoryor.net/index.php/archives/56</link>
		<comments>http://yoryor.net/index.php/archives/56#comments</comments>
		<pubDate>Fri, 15 May 2009 07:24:39 +0000</pubDate>
		<dc:creator>yoryor</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://yoryor.net/?p=56</guid>
		<description><![CDATA[Never thought I&#8217;d see this, but I snatched it up the moment I spotted it. Not gonna say from where in case the manufacturer gets pursued for making counterfeit goods. ;p

Some things you just don&#8217;t hesitate in buying. 
]]></description>
			<content:encoded><![CDATA[<p>Never thought I&#8217;d see this, but I snatched it up the moment I spotted it. Not gonna say from where in case the manufacturer gets pursued for making counterfeit goods. ;p</p>
<p><a href="http://yoryor.net/wp-content/uploads/2009/05/belt2.jpg"><img class="aligncenter size-medium wp-image-57" title="ManUtd Belt" src="http://yoryor.net/wp-content/uploads/2009/05/belt2-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>Some things you just don&#8217;t hesitate in buying. <img src='http://yoryor.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://yoryor.net/index.php/archives/56/feed</wfw:commentRss>
		</item>
		<item>
		<title>ZTE K3565-Z in (Ubuntu) Linux</title>
		<link>http://yoryor.net/index.php/archives/54</link>
		<comments>http://yoryor.net/index.php/archives/54#comments</comments>
		<pubDate>Fri, 15 May 2009 07:21:58 +0000</pubDate>
		<dc:creator>yoryor</dc:creator>
		
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://yoryor.net/?p=54</guid>
		<description><![CDATA[Just to add on to my previous post - after removing the deb of Vodafone Mobile Connect for Linux, the ZTE modem no longer auto-switched. Following is the udev rules file I added to make it auto-switch:
ACTION==&#8221;add&#8221;, SUBSYSTEM==&#8221;block&#8221;, SYSFS{idProduct}==&#8221;2000&#8243;, SYSFS{idVendor}==&#8221;19d2&#8243;, RUN+=&#8221;/usr/bin/eject /dev/sr1&#8243;
RUN+=&#8221;/sbin/modprobe usbserial vendor=0&#215;19d2 product=0&#215;0063&#8243;
ACTION==&#8221;add&#8221;, SUBSYSTEM==&#8221;block&#8221;, SYSFS{idProduct}==&#8221;0063&#8243;, SYSFS{idVendor}==&#8221;19d2&#8243;, RUN+=&#8221;/sbin/modprobe usbserial vendor=0&#215;19d2 product=0&#215;0063&#8243;
Put the above code [...]]]></description>
			<content:encoded><![CDATA[<p>Just to add on to my previous post - after removing the deb of Vodafone Mobile Connect for Linux, the ZTE modem no longer auto-switched. Following is the udev rules file I added to make it auto-switch:</p>
<blockquote><p>ACTION==&#8221;add&#8221;, SUBSYSTEM==&#8221;block&#8221;, SYSFS{idProduct}==&#8221;2000&#8243;, SYSFS{idVendor}==&#8221;19d2&#8243;, RUN+=&#8221;/usr/bin/eject /dev/sr1&#8243;<br />
RUN+=&#8221;/sbin/modprobe usbserial vendor=0&#215;19d2 product=0&#215;0063&#8243;<br />
ACTION==&#8221;add&#8221;, SUBSYSTEM==&#8221;block&#8221;, SYSFS{idProduct}==&#8221;0063&#8243;, SYSFS{idVendor}==&#8221;19d2&#8243;, RUN+=&#8221;/sbin/modprobe usbserial vendor=0&#215;19d2 product=0&#215;0063&#8243;</p></blockquote>
<p>Put the above code in /etc/udev/rules.d/46-ZTE.rules and do a &#8220;udevadm control &ndash;&ndash;reload_rules&#8221; (that&#8217;s a dashdash as per standard Linux command arguments). After that, once you insert the K3565-Z modem, check dmesg and it should report that ttyUSB1-5 have been attached to the device, and you can follow the wvdial procedures below.</p>
]]></content:encoded>
			<wfw:commentRss>http://yoryor.net/index.php/archives/54/feed</wfw:commentRss>
		</item>
		<item>
		<title>Vodafone/ZTE K3565-Z 3G USB Modem in Ubuntu (Linux)</title>
		<link>http://yoryor.net/index.php/archives/52</link>
		<comments>http://yoryor.net/index.php/archives/52#comments</comments>
		<pubDate>Fri, 17 Apr 2009 23:39:07 +0000</pubDate>
		<dc:creator>yoryor</dc:creator>
		
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://yoryor.net/?p=52</guid>
		<description><![CDATA[Well, got the modem some time back, but because it wasn&#8217;t automatically detected in Ubuntu Hardy 8.04, I didn&#8217;t mess with it again. Just the other day, decided to give it a shot again. I believe there was an update to udev on 11 Apr, and now the &#8220;ZeroCD&#8221; that gets detected and created is [...]]]></description>
			<content:encoded><![CDATA[<p>Well, got the modem some time back, but because it wasn&#8217;t automatically detected in Ubuntu Hardy 8.04, I didn&#8217;t mess with it again. Just the other day, decided to give it a shot again. I believe there was an update to udev on 11 Apr, and now the &#8220;ZeroCD&#8221; that gets detected and created is automatically ejected by the /etc/udev/rules.d/45-vmc-zte.rules&#8230; or was it because I had earlier tried to install the linux version of VMC Connect? Anyway, if the CDROM doesn&#8217;t get auto-ejected, eject it yourself. That serves as a trigger to the modem to switch to SD/MMC card reader mode, with the modem interface being available once you modprobe usbserial.</p>
<blockquote><p>sudo modprobe usbserial vendor=0&#215;19d2 product=0&#215;0063</p></blockquote>
<p>Thereafter, if you check the dmesg log, you should see 5 ttyUSB devices being created, 0-4. /dev/ttyUSB3 is the right modem interface, at least for me. Salient parts of my /etc/wvdial.conf:</p>
<blockquote><p>[Dialer Defaults]<br />
Baud = 460800<br />
ISDN = 0<br />
Stupid Mode = yes<br />
New PPPD = yes<br />
Modem Type = Analog Modem<br />
Username = blank<br />
Password = blank<br />
Phone = *99#</p></blockquote>
<blockquote><p>[Dialer K3565]<br />
Modem = /dev/ttyUSB3<br />
Init1 = ATZ<br />
Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0<br />
Baud = 9600</p></blockquote>
<p>And thereafter, a simple</p>
<blockquote><p>sudo wvdial K3565</p></blockquote>
<p>does the trick! Funny why the same sequence didn&#8217;t seem to work a month back&#8230; but no matter, as long as it works now. Sometimes, it&#8217;s just easier to use a stick modem than the clunky Huawei E220.</p>
]]></content:encoded>
			<wfw:commentRss>http://yoryor.net/index.php/archives/52/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
