Author Archives

Get USB Report Descriptor with Linux

Came across this handy little hack today googlin around the internetz. On several occasions I’ve had the need to get the full device and report descriptors from an attached USB device. Today was another one of those occasions. If you run lsusb with the -v flag you will get a nice verbose output, but if [...]

Fixing Sigtool – Again

A year or so ago I wrote out some instructions detailing how to make SignatureTool.jar work in Unix type systems. Soon after I got word that somewhere around JDE 4.6 or JDE 4.7, RIM actually fixed the mistake in the sigtool. Sadly they missed one. If you attempt to sign a .cod file larger than [...]

Signing Servers Down Again

It’s 10:00pm EST, Jan. 28th and RIM’s signing servers have been down for the last sixty minutes. This wouldn’t be such an issue if the rest of the BlackBerry development tool suite wasn’t such a steaming pile of crap! Quite literally the only component that works – is the compiler. The simulator doesn’t sim and [...]

Introducing jQTemplate

Some time ago I started a little experiment to see what this whole “Web 2.0″ development thing was all about. The goal of the experiment was to develop a simple application without the help of any server side web framework, and instead use JSON as a data interchange format. All HTML, CSS, and JavaScript should [...]

NES USB Gamepad

This is mainly a show and tell post. What we have here is a NES controller that has been converted into a USB HID device. This means it can be connected to a computer without installing any drivers (Linux, Mac OS X, and Windows XP). The circuit, PCB design, and firmware for the Atmega8 micro-controller [...]

A Notch in the Cross Platform Blackberry Development Belt

In a previous post I listed 4 key items needed for BlackBerry development: Rapc compiler Signature tool Simulator Javaloader At the time of writing the first two worked fine. The third, Simulator, is if’y at best. And the fourth was just not possible. Until now. In late December, a saviour by the name of Nicolas [...]

Bug Fixes – Arduino LCD Library

Just a quick update on the Arduino LCD Library (bring it to version 0.3). I have worked many hours to iron out all the bugs in the code that checks the LCD modules busy flag. This is the part of the LCD modules controller that tells the arduino it’s in the middle of an internal [...]

Lean Mean Mediacenter Machine

A short time ago Handbrake began to ship with default encoding settings for the “Normal” profile using 2-pass h264 encoding. Sadly my XBox and XBMC just weren’t up to the task of decoding all those fancy h264 bits in software anymore. Naturally instead of adjusting the encoding parameters, I decided to begin the hunt for [...]

MenuItem Demystified

I’ve always been a bit confused as to what exactly the parameters to the MenuItem constructor do. Common practise for me, and others I assume, is to simply ignore the ordinal and priority parameters and override the Screen.makeMenu method to explicitly define order. While this is effective, it has a few caveats: makeMenu gets messy [...]

Simulator in Linux – Slightly More Reliable

Debug session with eclipse in Linux Disclaimer: I am not an expert with wine nor have I ever claimed to be. But if you setup an override for the msxml dll it seems as though the BlackBerry simulator is a bit more reliable in Linux. In fact, the JDWP seems to actually work for debugging [...]