Tuesday, 23 July 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, '30 day challenge: Chromebook Pixel'

For May 2013 I decided to try making a Chromebook Pixel my primary laptop. So how did it go? Well, the short version is that I’m still a happy Pixel user, almost three months after my one month challenge started.

Previously, I was using a Thinkpad 420s running Goobuntu. In fact, I’ve been using Thinkpads since 1998, when I got my first one in grad school. Before I talk about the Pixel, here’s what I like about Thinkpads:
- Thinkpad keyboards have been the best in the industry. Great depth and just-right resistance. I especially liked the Thinkpad’s dedicated back/forward buttons for web browsing, located right near the arrow keys. Unfortunately, Lenovo has moved to “chiclet” style keyboards and dropped the back/forward buttons in newer Thinkpads.
- Thinkpads have a red rubber TrackPoint in the middle of the keyboard. TrackPoint pointers are faster and more precise than trackpads or even mice for me, since you don’t have to take your hands off the keyboard. I didn’t think I could use a laptop without a TrackPoint.
- Thinkpads have a consistent power connector that doesn’t change very often. Most Google conference rooms have Thinkpad and Mac power connectors, so you don’t have to haul a power cord around with you.
- The Thinkpad 420s has a black magnesium case that’s not as cold on your lap when it wakes up as aluminum.
- The Thinkpad 420s has a 1600 x 900 widescreen. Until retina-type displays came out, that was one of the highest-resolution laptops you could get.

Okay, Thinkpads are great machines. But what’s not to like?
- Battery life. When I kept my screen pretty bright, I only got 2-3 hours of battery life.
- Heavy. I didn’t notice until I started using the Pixel, but my Thinkpad 420s was 5.2 pounds. That’s pretty darn hefty for a laptop these days.

Overall though, I was very pleased with my Thinkpad and expected to return to it after the 30 day challenge was up. After all, I’ve been using Thinkpads for 15 years.

Then the Chromebook Pixel surprised me. The main thing you need to know about the Chromebook Pixel is that the screen is phenomenal. The resolution is 2560 x 1700 and 239 pixels per inch (ppi), compared to 227 ppi for a Macbook Pro with retina display. To demonstrate the screen, the Pixel comes with an app called TimeScapes which is drop dead gorgeous. The screen is also a 3:2 aspect ratio, which seems weird for a few days but is actually much better for web browsing than a widescreen display because more of a web page fits on the screen.

The Pixel also comes with a terabyte of Google Drive storage for three years and 12 free Gogo wifi passes for airplane trips. And if you’re worried about the Chrome-only, cloud-only aspect of a Pixel, you can install Linux on it. Even Linus Torvalds likes it.

Okay, but how did it work over 30 days? Better than I expected. I was 12 days in when I realized I’d probably keep using the Pixel after the challenge was over. Let’s run down what’s good and bad:

Good:
- The screen. So nice. Although I don’t understand why they made it so glossy. Screens should be matte, in my opinion.
- Incredibly easy to set up. I use Chrome Sync to sign into Chrome, so basically I just logged in and all my settings, bookmarks, and extensions showed up like magic.
- No configuration. I spent most of this past January reconfiguring several new computers, so “no muss, no fuss” is a big plus.
- The battery life is better. More like five hours, so I’m not constantly looking for a power adapter. If Google puts a Haswell chip in the Pixel, the sucker should go practically all day.
- The trackpad works great. The physical texture of it is silky-smooth, and I never saw any of the glitches that affected the CR-48. Sometimes I do accidentally click when I’m touching the trackpad just to move the cursor, but that’s hard to get right.

There were a few times I missed a regular laptop though:
- John Dvorak’s blog got hacked, and I wanted to send Dvorak a snippet of code that I fetched from his server, but the Pixel doesn’t have wget installed of course. You can do SSH, so I could have SSH’ed into another computer to fetch the page, but I didn’t bother.
- At one point I was trying to download a list of my books from Good Reads in comma separated value (CSV) form so I could upload the file to My Library on Google Books. The Pixel didn’t know what to do with a .csv file, which surprised me since Gmail and Google Drive seem to handle them fine. I suspect that this is a temporary “slip between the cracks” sort of thing, since it looks like Google is working on editing Office docs on Chrome OS. There have been a few times that I’ve downloaded a file and just wanted a simple text editor to tweak 2-3 characters in the file though.
- When you have a ton of tabs open using a lot of memory, clicking back on a tab that had been unused for a long time could cause the tab to reload. If you had unsaved work in the tab, you might lose it. This got better (but not perfect) over time. I’m not sure if Chrome OS got better, or I just got more careful with my tab management though.

One thing that annoyed me (selecting large blocks of text was slow when you had to scroll) was fixed when Chrome OS updated to a newer version. I have faith that other tiny annoyances–scrolling a page with two fingers doesn’t work for some reason when your cursor is over a tab instead of a web page, for example–will also be fixed. At the same time, I haven’t fully adapted to the touch screen and dedicated search button and don’t use either as much I could. But in general, the Pixel seems like it will just continue to get faster and better over time, not slower and cruftier like most machines.

So is the Pixel perfect? Not completely, but most of that (glossy screen vs. matte, trackpad vs. TrackPoint, chiclet vs. regular laptop keyboard) is a matter of personal preference. If you’re in the Apple ecosystem, I understand the decision to get a MacBook Pro with Retina display so you can run native apps. But I’m not in the Apple ecosystem, and I actually like a machine that discourages me from keeping too much data locally.

A lot of people poke fun at Chromebooks saying that they’re not much use without a WiFi connection. Personally, I believe that practically any computer is not much use without a network connection. Chromebooks are getting better at working well offline, but I have to say: the Pixel I’m using has an LTE option for when WiFi isn’t available, and I didn’t need to use the LTE connection on the Pixel any time in the last three months. Especially when you take the Google Drive storage and 12 internet passes into account, the Pixel is quite a good deal for a premium laptop. I’m going to keep using it.

This is getting long, so I’ll close with an anecdote. My Dad visited earlier this month. I gave him a Samsung Chromebook as a loaner for his visit and he’s been using it happily. He logged into his Gmail account in Chrome and his bookmarks and other Chrome settings just showed up. Dad’s laptop back home is about 5 years old, so we stopped by the Apple store. I was going to outfit him with a top-of-the-line MacBook; since he goes for years between upgrades, I wanted him to have a laptop that would last as long as possible. But after noticing the price, he balked. “Matt, we can buy ten Chromebooks for that much money,” he told me. We’re still discussing it, but the $250 Samsung Chromebook does everything he needs. I think more and more people will discover that’s true for them as well. I’ve been surprised how well the Chromebook Pixel works for me.

You may view the latest post at http://feeds.mattcutts.com/~r/mattcutts/uJBW/~3/6fbQQHD3pqI/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com

Wednesday, 17 July 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, '30 day challenge: no social media, no news'

I realized that I didn’t mention this widely: my current 30 day challenge (July 2013) is not to read any news or social media. So no Twitter, Google News, Techmeme, Google+, Hacker News, Reddit, Imgur, etc. So if you’re wondering why I haven’t replied to a question, that’s the reason. I might still share a link if I run across something interesting, but I’m trying not to read any social media or news.

Why am I doing this? I find it to be a useful challenge. I’m crunching on a bunch of stuff and really wanted to get my head down and focus on some projects. I did this challenge in January 2013 and got a ton of stuff done. After the no-news challenge in January, I started surfing Twitter less often. I’d still check in every 3-4 days to read the tweets that people were sending my way, but otherwise I’d hit Nuzzel to skim just the most important tweets.

Longer-term, I’m trying to find a healthier approach to news and social media. On the spectrum of books to magazines to newspapers to social media with its second-by-second focus, I’d like to shift my media consumption more toward books and research. I’d also like to spend less time consuming media and more time doing things. See Clay Johnson’s Information Diet book for more about those kinds of ideas.

You may view the latest post at http://feeds.mattcutts.com/~r/mattcutts/uJBW/~3/0ahehIrzrHY/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com

Tuesday, 2 July 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, 'Why I Think ViperChill is Some Sort of Scam'

Nothing to do with the fact that we share the same birthday, Louis Theroux is without a doubt my favourite journalist / documentary producer. His shows cover everything from brothels and the porn industry to profitable infomercial companies and even cities ravaged by drugs.

In a scene from one documentary, Louis and the Nazis, he’s asked over and over again whether he is Jewish while filming a family in their home. At one point the self-professed Nazi’s he is interviewing get pretty hostile, asking for the camera to be turned off as they want to ‘kick his ass’ for being a Jew. They convince themselves he’s Jewish without him answering the question.

I’ve embedded the clip below if you want to see (it’s only 3 minutes long).

Thursday, 27 June 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, 'Analysis: Revealing the Highest Earning Blogs that Sell Advertising'

It has been a long time since I published a data-centric blog post, even though they’re often my favourite to write and tend to get the best response. Today I’m going to share with you some of the biggest earning blogs (and a few non-blogs) on the web that don’t rely on affiliate links or selling products. Instead, they make a good portion of their income – and in some cases all of their income – through good ol’ advertising.

One site is pulling in over $10,000 per month with only two posts per week, while others are hammering out 50 articles per week and making a livable income as well.
Of course, there are blogs making much more money than this – Digital Photography School, Huffington Post, TechCrunch, etc – but there isn’t much inspiration when you think of how many people are actually working on those sites. Instead I’ve decided to focus on this with just a few people behind them (and often just one) to show you what is possible online.

To make this more accurate (and to make it easier on myself) I’ve sourced all of the information used in my analysis below directly from BuySellAds. They’re the biggest (open) blog advertising network that I’m aware of, though in recent years they have featured more and more sites which aren’t blogs. When the site started off they were heavily used by graphic design blogs – and still are – but a large number of other niche bloggers now use their services as well.

For my analysis I gathered the following statistics:

  • Impressions: Different ad units have different impression counts. I therefore simply took the highest number available to get an estimate of the actual site traffic
  • Ad Units: This is not how many individual ads can be purchased, but how many separate units there are across the site (does not include paid tweets)
  • Income: I’ve based this of what has been sold over the last 30 days. I haven’t accounted for BuySellAds fees because it’s more interesting to see what advertisers are willing to pay directly for a site
  • Posts per Week: This is as accurate as I could make it without mining RSS feeds or manually counting the posts each blog has made for months. I’m more accurate on lower numbers than I am on higher numbers
  • Domain Age: This may or may not coincide with when a blog was started. It’s simply when the domain was first registered by its current owner

The final point I want to make is that each website is making more money than what I report here. Some of them do have their own products for sale, use other forms of advertising besides BuySellAds or promote things as an affiliate. The aim with this post is to show you what people are doing, who is earning great money, and to try and inspire those who think that blogging or advertising is dead to reevaluate their views.

Bless This Stuff: $1,192/M & Crazy SEO Results

  • Impressions: 865,000
  • Ad Units: 1 (8)
  • Domain Age: November 2009

The first thing that’s apparent about this website is how much effort they’ve put into their design. I mean, even their ‘connect with us on Facebook’ box at the bottom of the blog homepage has a certain design flair to it. The fact that they’ve put so much work into their design seems to be a direct opposite to their content: Their posts often contain few words and just a smattering of images.

They’re clearly focusing on a market where people just want quick access to cool stuff (whether it’s a skateboard or a scooter or an awesome kettle) and to get the product across with images. Although this is the lowest earning blog on my list, they are making money elsewhere. They sell ads which aren’t part of the BSA network, such as utilising Google Adsense in the middle of their blog.

Also interesting is how many top rankings they have for all of these blog posts. The fresh content – even though it’s a minimal amount – definitely seems to be working and I’m sure they’re benefitting from those affiliate links where applicable.

Here’s another random post title of theirs that I put into Google.

Though they may be long-tail phrases, there are a lot of competing search phrases for each term but they seem to be beating other sites very easily (sometimes even the actual product manufacturer).

Who Unfollowed Me: $2,750/M

  • Impressions: 8,860,000
  • Ad Units: 2
  • Domain Age: March 2009

This is one of those sites I mentioned when I said (and some non-blogs) in brackets. Who.unfollowed.me is probably the least ambiguous domain name you’ll come across for a Twitter app: The site shows you who unfollowed you on Twitter.

What’s so impressive to me that a simple one-page website started a few years ago is still pulling in over 8 million pageviews per month
. To figure out why that’s happening – I assumed the service would just be a one-time thing – I decided to use it on my own account. The reason why people are returning is actually quite obvious now that I know about it: You want to keep checking who is unfollowing you on a regular basis. Every time you come back to the site, you click a little brown button in the sidebar and you’re once more told who is no longer receiving your 140 characters of wisdom.

The income is fairly low for a site which does get so much traffic, but you should know by now that all traffic is not created equal. That being said, there is a pro version of the service for $4.99 per year, which may be bringing in quite a bit more revenue for them.

Hong Kiat: $5,400/M

  • Impressions: 5,500,000
  • Ad Units: 6
  • Domain Age: May 2006

Hong Kiat is one of those blogs which feels like they’ve been around as long as the internet. I distinctly remember back in the day when Digg.com was popular that user MuhammadSaleem would keep getting them onto the homepage of the site, making me thinking he probably has (or did) something to do with their marketing / ownership. I could just email and ask them about that, but speculating is more interesting ;)

At 24 posts per week, they clearly aren’t targeting your typical RSS reader, but likely someone who comes back to the sites manually and picks out topics which catch their eye. Loosely focused on design, you’ll notice that their homepage is littered with different authors for each topic. Word from a source of mine is that regular contributors don’t really get much in the way of financial payment (though there are probably some exceptions) but do it to build up their own profile and to get used to writing for a large audience.

Their write for us page also doesn’t mention any form of monetary compensation for getting on their site, just guidelines on how to get accepted as a publisher there. I have an interview going live on the site in a few days, so I’ll share a link to that when it’s up!

Logopond: $7,105/M

  • Impressions: 4,060,000
  • Ad Units: 7
  • Domain Age: June 2006

Just like Hong Kiat, Logopond is one of those sites that seems like it has been around forever. There’s honestly not much to say about this site, other than it allows designers to showcase their best logo designs. It’s something that you probably couldn’t duplicate yourself very easily, because you really need the audience of designers there who are willing to give feedback to other designers. It has been in many a freelancers bookmarks for a long, long time.

What I did want to point out though was something pretty interesting. Check this out:

For me this really borders on the verge of deceptive advertising. I mean, how small is that ‘powered by’ on the right hand side, and that Top 10 link just jumps straight out at you. The only reason I realised it was an ad was because I clicked on top 10 – which is a feature a website like this should totally have – and ended up on Wix.com

Wix, coincidentally, filed for a $75m Wall Street IPO just two weeks ago. They’ve already raised $58.5M from previous funding rounds, so they have to do something with that cash. Again, to me, it seems a little deceptive though. When you click on ‘Top 10′ on a logo design portal, the last thing you want to do is build a free website, surely.

Abduzeedo: $8,250/M

  • Impressions: 4,300,000
  • Ad Units: 5
  • Domain Age: December 2006

The last site I’ll feature here which has a heavy design focus, Abduzeedo started this blog as a lone-Brazilian, Fabio Sasso, but in recent years has branched it out to include other writers as well. He built up his name by sharing in-depth tutorials for Photoshop, helped by the fact that he’s seen as a genius by many with the software. Another way Fabio was able to grow his audience was by being a regular contributor on PSDTuts, which in its prime found itself constantly on the homepage of Digg and Reddit.

Honestly, there’s not much you can duplicate here unless you’re a Photoshop wizard, but it is one of the best sites of its kind. I do wonder though how much of his audience is interested in so many topics per week, which are very different to what the site used to cover ‘back in the day’.

Bike EXIF: $8,719/M

  • Impressions: 1,205,000
  • Ad Units: 3
  • Domain Age: November 2008

This is by far my favourite example. Not because of how much money the site makes (they don’t make the most) and not because I’ve had a growing interest in bikes over the last few months. Instead, I love that they’re making so much money on advertising by posting such few posts. A big contradiction to many of the other sites on this post, and particularly BuySellAds as a whole.

As you’ll see from the latest post when I took the screenshot, they’re also in the process of publishing a physical book about the best bike designs they’ve seen – very similar to what each of their blog posts are about – so that will be another great income source for the website. I think the key to their success is that they’ve really honed in on a subset of a very bike industry (automotive >> motorbikes >> custom bikes), stayed consistent, and highlighted each bike in a really attractive way.

As far as I can tell, they rarely use their own images (some are watermarked with Bike Exif) making me think that each blog post is fairly ease to create in terms of creativity, and just mainly requires the posting of other peoples pictures. It’s a great site for people who are interested in this subject. Love it!

Codrops: $10,615/M

  • Impressions: 3,430,000
  • Ad Units: 6
  • Domain Age: October 2006

This is another website I have absolutely fallen in love with since performing this research. A quick look over on their blog and you’ll find some amazing tutorials for web developers and designers. And I mean really amazing. I honestly can’t over-hype their site unless I said finding them was better than seeing my child for the first time (side note: I don’t have kids).

Like Bike Exif, this is another style of website which really fits in with my own ideas and goals I have when building and growing a blog. Though I have ran sites which posts dozens of posts per week – and made a lot of money from them – I much prefer to pump out higher quality content on a less frequent basis. That’s exactly what the team over at Codrops are doing. They don’t write a lot, but when they do write something, you’re going to want to share it with your friends.

In a niche like web development – or any niche for that matter – where there is a ton of competition and an especially large audience, never underestimate the power of doing more by saying less. Signal vs noise.

The App Guys Are Taking Over

I was quite amazed about how many app sites I found on BuySellAds to be making such a great income. I’ve decided to put them all in one category here, so you can see exactly what I’m talking about.

  • Impressions: 1,000,000
  • Ad Units: 5
  • Domain Age: August 2010

  • Impressions: 2,820,000
  • Ad Units: 7
  • Domain Age: December 2008

  • Impressions: 350,000
  • Ad Units: 3
  • Domain Age: August 2008

  • Impressions: 430,000
  • Ad Units: 8
  • Domain Age: January 2011

There are a few things I think you can take away from this. First of all, always be looking to take advantage of new niche opportunities as they rise. Angry Birds and the whole app eco-system was really only built up over the last few years. It’s also growing at an alarming rate. The best earning app site is actually the most recent, at just two years old. I’m sure they’ve been making money for quite a long time as well.

I really don’t want to downplay the success of SmartAppsforKids, but it’s not a remarkable website in any sense of the word. They do their little giveaways and their app reviews, but no doubt they’re relying on Google for a huge portion of the traffic they receive. I can’t imagine they have a very loyal readership. Their Facebook page suggests they have 34,000 fans, which is fairly impressive, but their updates only get one like at most.

Though there are sites making more money than all of those I’ve featured here today, I’ve tried to share those which can either a) be replicated in some form; b) motivate you to take action or try a new idea; c) inspire you to see that this making money online stuff is really possible in a huge number of industries.

Make sure you’re on my email list (subscribe below or in the right sidebar) because I have some really incredible content coming up over the next couple of weeks. They’re going to make this blog post look like I barely cared about it. Thank you as always for reading!

You may view the latest post at http://www.viperchill.com/profitable-blogging/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com

Wednesday, 19 June 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, 'Funny SEO emails, part 6'

Folks at Google get cold-call emails out of the blue just like everybody else. Here’s an email that a colleague of mine got recently:

I was on your website www.google.com and wanted to shoot you a quick note. I think I can make a few changes (aesthetically and/or SEO – wise) to make your site convert more visitors into leads and to get it placed higher in the organic search results, for a few of the select terms.

This is NOT like one of those foreign emails you probably get in your inbox every day. Just to be upfront I have 3 agents that work with me for development /SEO.

I would just need to know which (if not both) services you’re open to checking out information about, either web design or SEO. Would you be open to seeing more brief info / quote for what I would like to accomplish?

Regards,
XXXXXX XXXXX

So this person is offering help to convert Google visitors into leads. Or, you know, to improve Google’s rankings in organic search results. Sigh.

Earlier this week, I got a different email that said

I would like to extend our knowledge to your audience in the form of a uest post [sic]. This post will be written by a college educated writer fluent in English.

To recap we will provide-
- 100% original guest post with statical [sic] data and studies from professional writers.

Here’s my rule of thumb: if someone sends you an email with an SEO offer out of the blue, be skeptical. For example, check out some other fun SEO emails that I’ve gotten in the past.

You may view the latest post at http://feeds.mattcutts.com/~r/mattcutts/uJBW/~3/AsXRii3AX-g/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com

Monday, 17 June 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, 'Backlinks XXX is Now Public (And We're Giving Away $5,000)'

How would it help your business if you could look over my shoulder and watch as I take a plain website and turn it into an email marketing and monetisation machine? Seeing exactly what I do, step-by-step, on a site that is already getting hundreds of targeted visitors every single day (but it’s only 3 pages).

That’s exactly what you have the opportunity to watch today with the public launch of Backlinks XXX. It has been out for one month now to my private email list – that’s why we have so many awesome testimonials – but there are still lots of big things coming.

Myself and Diggy would love for you to check it out (note: there’s an autoplaying video on that page).


For the next month I’m going to be working on one of the case study sites (there’s 6 inside the course) to take it into a site that converts highly, gets customers and makes money. All of our top search rankings were achieved in just a couple of weeks, and after penguin 2.0 our rankings went even higher.

If you’re a current member of the product (thank you!) we’ve just uploaded a podcast on the final page of the course, answering some of the most frequent questions we have received. Also, we have a totally free 40 minute webinar coming soon – exclusive to members – that will help you even further in turning these concepts into a real business.

The sales page is quite ‘selly’, but if the product is not for you then no problem at all. Usual updates will remain, well, usual.

Have an Audience? We’ve Got Prizes…

The public launch of Backlinks XXX also means that we’re opening up our affiliate program. We’re giving 49% commission to every sale you generate for us. Our refund rate has been very low (especially compared to CB average) and our conversion rate has been very high. We’re debuting today with a much better sales video, which should help your marketing efforts as well.

Please note, we have two people actively monitoring affiliates, so please don’t buy the product for yourself through your own link in order to ‘game’ the competition. Clickbank gives us quite a bit of information as a vendor, and subsequently your account will be removed.

Serious stuff out of the way, here’s what we have up for grabs:

In all honesty, I don’t know too much about video cameras, but the reviews and specs for this on Amazon we’re ridiculous. If you wanted another camera in the same price range, we’re happy to send that to you instead.

Have a camera already but want to add a bit of flair to your video productions? This green screen and copy of Camtasia Studio (Windows and Mac) will have you up and running in no time.

Third place prize for affiliates is an unlimited-site-license copy of Wishlist Member software, which is what we rely on to power all of our membership websites.

If you don’t have a big audience, that’s totally fine too. We’re giving away $750 to one lucky affiliate, whether you’ve made one sale or one hundred. The winner will be picked at random using a random number generator online.

The competition ends on 17th July 2013. You can find your affiliate link here: http://backlinksxxx.com/affiliates/

You may view the latest post at http://www.viperchill.com/backlinks-xxx/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com

Monday, 13 May 2013

[Build Backlinks Online] TITLE

Build Backlinks Online has posted a new item, 'Playing with a USB Missile Launcher'

This is the last half-finished “hairball” blog post about USB devices on Linux. I actually did manage to get a working program that controlled a USB foam missile launcher. Unfortunately, I didn’t document all the steps, so this blog post just sort of stops at some point.

I got a USB Missile Launcher for Christmas. The manufacturer, Dream Cheeky, provides software–but only for Windows XP. And I thought to myself, “wouldn’t it be fun to practice some USB reverse engineering skills?” Because another Christmas present was a USB protocol analyzer from Total Phase. I should note that plenty of other people have apparently already written drivers/software for USB missile launcher toys, but I wanted to poke around myself.

Total Phase makes a high-speed USB 2.0 protocol analyzer for $1200, or a regular-speed USB protocol analyzer for $400. Here’s a trick someone mentioned: if you get the cheaper protocol analyzer and need to work with a high-speed USB device, you may be able to plug the high-speed device into a low-speed USB hub to slow the device down.

I decided to start with ladyada’s excellent guide to hacking a Kinect by reverse engineering USB packets. So here’s what I did.

Step 1. Make sure the device works. It would suck to attempt to reverse engineer a broken device. I keep a Windows XP computer lying around, so I downloaded the software for it, installed the program, and plugged in the USB rocket launcher. After the install, XP wanted to restart, so I restarted the XP computer (unplugging my USB rocket launcher after the computer was off), then started the rocket launcher software back up, then plugged in the USB device. Sure enough, everything worked fine. The controls are: pan left/right, tilt up/down, and fire. Tip: the rocket launcher uses bursts of air, so don’t jam the foam rockets down hard on the launcher.

Step 2. Probe the device. I plugged the USB rocket launcher into a Linux machine running Ubuntu 10.04 (Lucid Lynx). I ran the command sudo lsusb -vv and the relevant info from the list of USB devices on my system was this:

  Bus 002 Device 045: ID 0a81:0701 Chesen Electronics Corp. USB Missile Launcher  Device Descriptor:    bLength                18    bDescriptorType         1    bcdUSB               1.10    bDeviceClass            0 (Defined at Interface level)    bDeviceSubClass         0     bDeviceProtocol         0     bMaxPacketSize0         8    idVendor           0x0a81 Chesen Electronics Corp.    idProduct          0x0701 USB Missile Launcher    bcdDevice            0.01    iManufacturer           1 Dream Link    iProduct                2 USB Missile Launcher v1.0    iSerial                 0     bNumConfigurations      1    Configuration Descriptor:      bLength                 9      bDescriptorType         2      wTotalLength           34      bNumInterfaces          1      bConfigurationValue     1      iConfiguration          0       bmAttributes         0xa0        (Bus Powered)        Remote Wakeup      MaxPower              100mA      Interface Descriptor:        bLength                 9        bDescriptorType         4        bInterfaceNumber        0        bAlternateSetting       0        bNumEndpoints           1        bInterfaceClass         3 Human Interface Device        bInterfaceSubClass      0 No Subclass        bInterfaceProtocol      0 None        iInterface              0           HID Device Descriptor:            bLength                 9            bDescriptorType        33            bcdHID               1.00            bCountryCode            0 Not supported            bNumDescriptors         1            bDescriptorType        34 Report            wDescriptorLength      52           Report Descriptors:              ** UNAVAILABLE **        Endpoint Descriptor:          bLength                 7          bDescriptorType         5          bEndpointAddress     0x81  EP 1 IN          bmAttributes            3            Transfer Type            Interrupt            Synch Type               None            Usage Type               Data          wMaxPacketSize     0x0001  1x 1 bytes          bInterval              20  Device Status:     0x0000    (Bus Powered)  

Note that my Vendor ID = 0x0a81 and my Product ID = 0×0701. Also note that bNumEndpoints = 1. An endpoint is a channel for USB data communication. Then we get the Endpoint info:

        Endpoint Descriptor:          bLength                 7          bDescriptorType         5          bEndpointAddress     0x81  EP 1 IN          bmAttributes            3            Transfer Type            Interrupt            Synch Type               None            Usage Type               Data          wMaxPacketSize     0x0001  1x 1 bytes          bInterval              20  

According to ladyada’s write-up, the “IN” means that data goes IN to the computer from the device, and the “Interrupt” transfer type is good for sending large amounts of small data quickly (e.g. a USB mouse).

Step 3. Prepare your Linux system to talk to the device. First, let’s review ladyada’s steps, which is for Windows. She installs libusb-win32 and then runs a program called inf-wizard to make a driver shell. Then plugging the device into Windows will attach the LibUSB-win32 device driver. Next, she installed Python and PyUSB.

I wanted to stick with Linux. I didn’t need libusb-win32 or inf-wizard.exe, and I already had Python installed. So my next step was to download PyUSB, extract the zip into a directory, change into that directory, then run sudo python setup.py install in that directory to install PyUSB. Since you’re installing PyUSB system-wide, you do need to run that command with “sudo” to run it as root.

Step 4. Write a short program on your Linux machine to talk to the device. I made a file missile-launcher.py and executable access with “chmod ugo+rx missile-launcher.py” next. Here’s the short program I ended up with:

  #!/usr/bin/python    import usb.core  import usb.util  import sys     # find our device  dev = usb.core.find(idVendor=0x0a81, idProduct=0x0701)     # was it found?  if dev is None:      raise ValueError('Device not found')    # Linux kernel sets up a device driver for USB device, which you have  # to detach. Otherwise trying to interact with the device gives a  # 'Resource Busy' error.  try:    dev.detach_kernel_driver(0)  except Exception, e:    pass # already unregistered     # set the active configuration. With no arguments, the first  # configuration will be the active one  dev.set_configuration()     print "all done"  

Note that my “idVendor=0x0a81, idProduct=0×0701″ parameters use the values I found from lsusb -vv. If you compare against ladyada’s short program you’ll notice one major difference. My code has these lines:

  # Linux kernel sets up a device driver for USB device, which you have  # to detach. Otherwise trying to interact with the device gives a  # 'Resource Busy' error.  try:    dev.detach_kernel_driver(0)  except Exception, e:    pass # already unregistered  

Ladyada’s PyUSB program for Windows didn’t have anything like that. But when I ran the program under Linux, I got the error message “usb.core.USBError: Resource busy”. It turns out that the Linux kernel tries to use a default kernel driver, and that prevents my program from talking to the device. Detaching the kernel driver lets me talk to the device just fine. I picked up this tip Ken Shirriff’s post about a USB panic button with Linux and Python. In theory you could also unbind the USB device from a command-line, but I prefer to do it right in my PyUSB program directly.

Note that you will need to run the python program as root, e.g. “sudo ./missile-launcher.py” or else you’ll get a warning message like “usb.core.USBError: Access denied (insufficient permissions)”.

At this point, you have a small working program that opens up a connection to the USB rocket launcher. If the USB rocket launcher isn’t plugged in, you’ll get a “Device not found” error, and if the USB device is plugged in, you’ll get an “all done” message and the program exits gracefully.

Step 5: Try to read from the USB device. In ladyada’s guide, she tried sending 0b11000000 = 0xC0 (“Read Vendor data from Device”) to a Kinect. I got no response from that, but I did get a response sending 0b10000000. That corresponds to sending:
- a ’1′ to read from the device
- a message type of ’00′ = standard. Ladyada got a response sending to ’10′ = vendor
- ’000′ (reserved bits, so always 0)
- ’00′ to say the recipient of the message is the device.
Then sending a request of 0 got back a result of two zero bytes:

  bRequest  0  array('B', [0, 0])  

Interestingly, running the same program again would get a “usb.core.USBError: Unknown error” response. At that point, I would unplug the USB device and then plug it back in to reset it. I didn’t get any other responses from trying to send message types of class or vendor (as opposed to standard), nor did I get any responses from try to send messages to the interface or endpoint (as opposed to the device). See ladyada’s guide for more details about fuzzing the device and what all the various bit fields mean.

Step 6: Set up the Linux computer to use the Total Phase Beagle. The CD worked nicely with HTML documentation on it. First, you copy some udev rules so that the device is writable by anyone when the Beagle is plugged in:


cd /media/Total\ Phase/drivers/linux/
sudo cp 99-totalphase.rules /etc/udev/rules.d/
sudo chmod 644 /etc/udev/rules.d/99-totalphase.rules

If you’ve already plugged in the Beagle, you’ll need to unplug it and plug it back in for these rules to fire. Next, you’ll need the Data Center software. You can get it off the CD, but I’d recommend downloading the latest software and user’s manual from the website instead. My CD had software version 4.20 for example and the website was up to 5.01. Extract the software zip file (either from online or the CD). Then follow the directions in the online manual (or user manual PDF). The directions according to the manual are

  1. Install the USB drivers and Data Center software. Copying the udev rules is enough for USB drivers on Linux. Unpacking the zip is all you need for the Data Center software, because the executable is self-contained.
  2. Plug the Beagle analyzer into the analysis machine. This was my Linux machine.
  3. Plug the Beagle analyzer into the bus to be analyzed. In this case, this was my XP computer. Don’t plug the USB missile launcher in yet though.
  4. Start the Data Center software. Run the program “Data Center” in the directory you extracted from the .zip file. Follow the rest of the instruction in the Quick Start section.

You may view the latest post at http://feeds.mattcutts.com/~r/mattcutts/uJBW/~3/LLA_S3A0Ncw/ You received this e-mail because you asked to be notified when new updates are posted. Best regards, Build Backlinks Online peter.clarke@designed-for-success.com