<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Charging my Blackberry 8700 On Ubuntu 7.04 with bcharge</title>
	<atom:link href="http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/feed/" rel="self" type="application/rss+xml" />
	<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/</link>
	<description>Part Time Nerd::Full Time Dad</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:07:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Anthony Valentine</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2433</link>
		<dc:creator>Anthony Valentine</dc:creator>
		<pubDate>Fri, 07 Sep 2007 17:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2433</guid>
		<description>Oops.  I put the &#039;is running&#039; code inside the loop by mistake.

Here is the script again, slightly better:


#!/bin/bash

MYPID=$$
MYNAME=$(basename $0)
RUNNING=$( ps -ef &#124; egrep -v &quot;${MYPID}&#124;grep&quot; &#124; grep -i ${MYNAME} )

### Start a new instance only if one isn&#039;t currently running
if [ -z &quot;${RUNNING}&quot; ]; then

        while true
        do
                ### Stop the loop when the /dev/bb device(s) go away
                if [ -e &quot;$(ls /dev/bb* 2&gt; /dev/null &#124; tail -n1)&quot; ]; then
                        bcharge &amp;&gt; /dev/null
                else
                        exit 0
                fi

                sleep 1
        done

else
        exit 0
fi</description>
		<content:encoded><![CDATA[<p>Oops.  I put the &#8216;is running&#8217; code inside the loop by mistake.</p>
<p>Here is the script again, slightly better:</p>
<p>#!/bin/bash</p>
<p>MYPID=$$<br />
MYNAME=$(basename $0)<br />
RUNNING=$( ps -ef | egrep -v &#8220;${MYPID}|grep&#8221; | grep -i ${MYNAME} )</p>
<p>### Start a new instance only if one isn&#8217;t currently running<br />
if [ -z "${RUNNING}" ]; then</p>
<p>        while true<br />
        do<br />
                ### Stop the loop when the /dev/bb device(s) go away<br />
                if [ -e "$(ls /dev/bb* 2&gt; /dev/null | tail -n1)" ]; then<br />
                        bcharge &amp;&gt; /dev/null<br />
                else<br />
                        exit 0<br />
                fi</p>
<p>                sleep 1<br />
        done</p>
<p>else<br />
        exit 0<br />
fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Valentine</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2432</link>
		<dc:creator>Anthony Valentine</dc:creator>
		<pubDate>Fri, 07 Sep 2007 17:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2432</guid>
		<description>Also,  If you copy the udev rules file from the barry tarball to /etc/udev/rules.d, you won&#039;t have to start bcharge manually.  You will need to change the &quot;RUN&quot; parameter in the file to match whatever you name your loop script.

As root:
cp barry-0.8/udev/10-blackberry.rules /etc/udev/rules.d</description>
		<content:encoded><![CDATA[<p>Also,  If you copy the udev rules file from the barry tarball to /etc/udev/rules.d, you won&#8217;t have to start bcharge manually.  You will need to change the &#8220;RUN&#8221; parameter in the file to match whatever you name your loop script.</p>
<p>As root:<br />
cp barry-0.8/udev/10-blackberry.rules /etc/udev/rules.d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Valentine</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2431</link>
		<dc:creator>Anthony Valentine</dc:creator>
		<pubDate>Fri, 07 Sep 2007 17:24:27 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2431</guid>
		<description>Thanks for your script.  I have improved upon it a little:


#!/bin/bash

while true
do
        MYPID=$$
        MYNAME=$(basename $0)
        RUNNING=$( ps -ef &#124; egrep -v &quot;${MYPID} &#124; grep&quot; &#124; grep -i ${MYNAME} )

        ### Start a new instance only if one isn&#039;t currently running
        if [ -z &quot;${RUNNING}&quot; ]; then

                ### Stop the loop when the /dev/bb device(s) go away
                if [ -e &quot;$(ls /dev/bb* 2&gt; /dev/null &#124; tail -n1)&quot; ]; then
                        bcharge &amp;&gt; /dev/null
                else
                        exit 0
                fi

                sleep 1
        else
                exit 0
        fi

done</description>
		<content:encoded><![CDATA[<p>Thanks for your script.  I have improved upon it a little:</p>
<p>#!/bin/bash</p>
<p>while true<br />
do<br />
        MYPID=$$<br />
        MYNAME=$(basename $0)<br />
        RUNNING=$( ps -ef | egrep -v &#8220;${MYPID} | grep&#8221; | grep -i ${MYNAME} )</p>
<p>        ### Start a new instance only if one isn&#8217;t currently running<br />
        if [ -z "${RUNNING}" ]; then</p>
<p>                ### Stop the loop when the /dev/bb device(s) go away<br />
                if [ -e "$(ls /dev/bb* 2&gt; /dev/null | tail -n1)" ]; then<br />
                        bcharge &amp;&gt; /dev/null<br />
                else<br />
                        exit 0<br />
                fi</p>
<p>                sleep 1<br />
        else<br />
                exit 0<br />
        fi</p>
<p>done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smoosh</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2271</link>
		<dc:creator>smoosh</dc:creator>
		<pubDate>Fri, 03 Aug 2007 17:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2271</guid>
		<description>&quot;Not pretty but functional&quot;

Much like myself :)</description>
		<content:encoded><![CDATA[<p>&#8220;Not pretty but functional&#8221;</p>
<p>Much like myself <img src='http://smooshspace.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richard williams</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2270</link>
		<dc:creator>richard williams</dc:creator>
		<pubDate>Fri, 03 Aug 2007 16:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2270</guid>
		<description>works for me with debian etch and bb 8703
not pretty but functional.

thanks.</description>
		<content:encoded><![CDATA[<p>works for me with debian etch and bb 8703<br />
not pretty but functional.</p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smoosh</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2183</link>
		<dc:creator>smoosh</dc:creator>
		<pubDate>Wed, 18 Jul 2007 16:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2183</guid>
		<description>Jetpeach:  Not sure about the Synching....all my synching is doen wireless through the enterprise server, so I really only plug it in to charge it.

Ashwani:  Glad it worked for you :)</description>
		<content:encoded><![CDATA[<p>Jetpeach:  Not sure about the Synching&#8230;.all my synching is doen wireless through the enterprise server, so I really only plug it in to charge it.</p>
<p>Ashwani:  Glad it worked for you <img src='http://smooshspace.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwani</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2182</link>
		<dc:creator>Ashwani</dc:creator>
		<pubDate>Wed, 18 Jul 2007 16:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2182</guid>
		<description>Works great. Thanks.. rudimentary script? dude.. your simple script just saved a life here..

cheers.</description>
		<content:encoded><![CDATA[<p>Works great. Thanks.. rudimentary script? dude.. your simple script just saved a life here..</p>
<p>cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jetpeach</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-2179</link>
		<dc:creator>jetpeach</dc:creator>
		<pubDate>Wed, 18 Jul 2007 07:35:11 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-2179</guid>
		<description>thanks for the tip. does syncing and other functions  work well with ubuntu 7.04? i am thinking of getting a 8700g but want to make sure it works well with ubuntu...</description>
		<content:encoded><![CDATA[<p>thanks for the tip. does syncing and other functions  work well with ubuntu 7.04? i am thinking of getting a 8700g but want to make sure it works well with ubuntu&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaron</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-1955</link>
		<dc:creator>aaron</dc:creator>
		<pubDate>Sun, 17 Jun 2007 23:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-1955</guid>
		<description>works for me. thanks alot.</description>
		<content:encoded><![CDATA[<p>works for me. thanks alot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smoosh</title>
		<link>http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/comment-page-1/#comment-1919</link>
		<dc:creator>smoosh</dc:creator>
		<pubDate>Thu, 14 Jun 2007 02:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://smooshspace.com/2007/06/13/charging-my-blackberry-8700-on-ubuntu-704-with-bcharge/#comment-1919</guid>
		<description>You only say that because you didn&#039;t live it man.  :)</description>
		<content:encoded><![CDATA[<p>You only say that because you didn&#8217;t live it man.  <img src='http://smooshspace.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
