I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / I-Opener Areas / I-Opener Technical Stuff
iop QNX questions, acap, dsm, np-misc.fs
questions about details of iOpener QNX image, esp. what's an acap file, what's DSM, and what is np-misc.fs

New Messageiop QNX questions, acap, dsm, np-misc.fs (modified 0 times) slylock
Profile
In my "running V2 image in QEMU emulator" thread, I talk about trying to find the email address book on an old iOpener Sandisk. I found it, but it's an acap file, named <ten digit number>_addressbook.acap. I figured out that acap is Application Configuration Access Protocol, and a description of it is "a protocol for arbitrary clients to store and retrieve client-specific configuration from a server. ACAP fills a niche somewhere between a full-blown directory service, a file system, and specialized single-service protocol support." Appears to be a standard designed to be used by IMAP servers, and I know the iOpener was IMAP based, so this is cool. My first question is, did the iOpener engineers develop their own IMAP client, or did they copy something that was open source? I'm curious to find out how acap got involved, sounds like something you'd use only if you already had source code for it.

Second, is there an acap file reader out there? Google didn't turn up anything, so I suspect not. I was able to get the email address out by hand, but a general purpose reader would be nice for future use.

Next, I found the acap files inside a directory labeled dsm. Searching around for DSM turned up only "Durable Storage Munger." Should that be Durable Storage Manager? Is it isolated to the embedded world? Or the Unix world? I could find almost no info about it.

Finally, while making backups of the files in the Sandisk, I found one, np-misc.fs, was corrupt, which might explain why the iOpener stopped working. Generally, what is an fs file? I'm guessing fs stands for file system, does an fs file get mounted? Perhaps this is something unique to QNX, as the fs directory where QNX mounts file systems (instead of mnt) seems to be uniquely QNX. Am I correct that the "np" in the name stands for NetAppliance, and those np-* files are something the iOpener engineers came up with?

Thanks,
Matt

06-28-2005 17:00:47

New MessageRE:iop QNX questions, acap, dsm, np-misc.fs (modified 1 times) Wild_Pencil
Profile | Email
A lot of what's been done in QNX for the IOpener is nothing short of brilliant. It's a remarkable piece of work under the hood -- from the built-in HTTP server to manage the local settings, all the way through to the XML-HTTP "language" designed throughout the application. I'm not sure who came up with that particular mechanism -- it might have been something that came as a developer's kit for QNX. If all of that infrastructure was created in-house by Netpliance's engineers, then I really hope they all managed to find better jobs in a more competent company. It's really a programming work of art.

If you spend enough time deciphering the HTML/XML language, you could reverse-engineer enough of it to build your own IOpener Service Portal and restore some of that stock IOpener's functionality. You'd need to trick the IOpener into phoning a computer/gateway that you control. From there, you could forge the needed DNS entries to make the IOpener contact your Portal to download your software upgrade.

It's a lot of work and effort.. but everything is right in there, buried in the XML-HTTP source code.

Oh.. and an "fs" file is a filesystem embedded within a file. You'd do something like "mount myfile.fs /mnt -o loop" to mount it to a directory. They're probably cramfs or qnx4 files. In Linux, typing "file myfile.fs" will usually tell you what kind of filesystem it is. If you're lucky, your Linux kernel has support for that filesystem as a module, and you can just mount it with the loopback directive as mentioned earlier.

06-30-2005 16:25:14

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3