Posted by error454 on 03/16/2011
A warning for those who enter
What are the consequences of a device whose mass storage driver is down-revved? What dangers loom on the horizon for those that ignore these dangers? It is these questions that I seek to answer through the use of two extremely realistic and likely scenarios.
Read the rest of this entry »
Posted in WebOS | Tagged: fail, hp, mass storage, palm, usb, webos | Leave a Comment »
Posted by error454 on 10/03/2010
Falsely accused, sysfs does hard time.
I am building a track record of choosing projects that somehow flex the limits of what is easily doable on the Palm Pre.
First I wanted to use the Palm Pre as a mass storage device on my Xbox 360. The unraveling of that rabbit-hole took a full month. Now I want to be able to create and mount regular files as USB devices on the Palm Pre (an app I’m calling USB Mass Storage Tool). This time I am hitting a technical limitation imposed by Palm.
The current limitation is that sysfs is not available for applications to read/write from within the jailed environment in which apps run.
Posted in Ares, PDK, WebOS | Tagged: palm pre, proc, ps3, sysfs, usb, wii, xbox | 3 Comments »
Posted by error454 on 09/16/2010
The joy of discovery!
15 days ago, I set out to determine why I couldn’t use my Palm Pre on my Xbox 360. We all start somewhere, but I started with absolutely no knowledge of the composite gadget framework or Palm’s rockhopper composite driver. In retrospect, I spent a lot of time asking silly questions and researching irrelevant things. But once again I have been awarded for persistence, while picking up some great knowledge and tools for the future.
For the last 2 days, I have relished the joy of discovery. Truth be told, this problem was solved 2 years ago by one Felipe Balbi on the linux-usb mailing list. The next logical question is why the problem exists on so many devices if it was fixed 2 years ago? Am I really the first person to discover this problem and solution and actually care enough to try and get it fixed on Palm and Android devices?
Read on as I reveal all that I know. (Palm users can skip to the good stuff by grabbing the latest UberKernel release and plugging in to their Xbox 360)
Read the rest of this entry »
Posted in Android, WebOS | Tagged: android, droid, droid2, evo, mass storage, sd, storage, usb, webos, xbox, xbox 360, xbox360 | Leave a Comment »
Posted by error454 on 09/12/2010
In my last post, I incorrectly theorized that the reason my Xbox 360 could not see my Palm Pre was because the mass storage driver was implemented as BOT instead of CBI. BOT or Bulk Only Transfer has only 2 endpoints, bulk-in & bulk-out. CBI or Control Bulk Interrupt has 3 endpoints, bulk-in, bulk-out and interrupt.
After spending some time in the code, I finished my cosmetic CBI driver hack, essentially making the Pre look identical to my working USB thumb drive in every single way. This was not the solution! I now have a working solution and it happens to be BOT, so we can safely say that the CBI vs BOT theory is moot.
Lab notes below.
Posted in PDK, WebOS | Tagged: mass storage, pdk, usb, webos, xbox 360 | 1 Comment »