Thanks to everyone who helped out with this. I've posted my findings (about how to detect iPods programmatically) onto my blog:
http://www.thismuchiknow.co.uk/?p=15 I'll now try and make some RB classes to detect them! Dave. > From: Dave Addey <[EMAIL PROTECTED]> > Reply-To: REALbasic NUG <[email protected]> > Date: Tue, 11 Jul 2006 09:44:05 +0100 > To: REALbasic NUG <[email protected]> > Conversation: Detecting iPods - request for help (if you have an iPod) > Subject: Detecting iPods - request for help (if you have an iPod) > > Hi all, > > I¹m writing some RB code to parse and detect iPods. And I need to ask your > help. In order to detect different iPods, I¹m trying to collect together as > many of the hidden iPod ³SysInfo² files as I can, as these files tell me the > model number etc. of the iPod. > > So, although it¹s a little off-topic, I wondered if I could ask the NUG¹s > help. Do you have an iPod (any iPod)? If so, would you be happy to share > the contents of your iPod¹s SysInfo file? If you would, here¹s what I need. > > The contents of a SysInfo file looks a little something like this (from my > 5th generation 60Gb white iPod Video): > > BoardHwName: iPod M25 > pszSerialNumber: XXXXXXXXXXX > ModelNumStr: MA003 > FirewireGuid: 0x000A2700147FDCA9 > HddFirmwareRev: BU011A > RegionCode: FB(0x001A) > PolicyFlags: 0x00000000 > buildID: 0x06118000 (6.1.1) > visibleBuildID: 0x01118000 (1.1.1) > boardHwRev: 0x00000000 (0.0 0) > boardHwSwInterfaceRev: 0x000B0005 (0.0.11 5) > bootLoaderImageRev: 0x00000000 (0.0 0) > diskModeImageRev: 0x00000000 (0.0 0) > diagImageRev: 0x00000000 (0.0 0) > osImageRev: 0x00000000 (0.0 0) > iPodFamily: 0x00000000 > updaterFamily: 0x00000000 > > I¹ve deliberately obfuscated my serial number (the second line, > pszSerialNumber) as I don¹t want everyone knowing it :-) > > I¹m hopeful that if I can collect a good range of these, then (together with > the ones I¹ve gathered from friends) I can put together some code to detect > all of the different iPods. I¹m also trying to work out what the RegionCode > equates to, so if you can let me know what country your iPod was purchased > in, that¹d be great too! > > So if you¹d like to help, please send your iPod¹s SysInfo files, together > with the type of iPod (model, disk size, colour of iPod (important!), and > country of purchase) to me, at [EMAIL PROTECTED] Or, if you¹d prefer, just > post the contents of the file as a reply to this email. I¹d recommend that > you remove your iPod serial number from the file first, as I have above. > > I¹m especially interested in iPod Minis, U2 iPods, and black iPods, but any > and all SysInfo files are useful (I still don¹t have many). > > To find out what iPod you have, check at the following link: > http://docs.info.apple.com/article.html?artnum=61688 > > To get the SysInfo file on a Mac: > > First up, make sure your iPod is set to mount as a hard disk on your Mac. > You can set this by plugging in your iPod and making sure the prefs option > at iTunes > Preferences > iPod > Music > ³Enable disk use² is turned on. > > Next, do the following: > > Open Terminal (it lives in the Applications/Utilities/ folder) > Type in: > > cd /Volumes > > and hit return. ³cd² just set the current directory to be a list of all > hard disks on your computer (so we can find the iPod). > > Then, type in: > > ls > > and hit return. "ls" will list all attached volumes, hopefully including > your iPod. On my mac, it went like this: > > Last login: Mon Jul 10 12:38:22 on ttyp1 > Welcome to Darwin! > Owl:~ dave$ cd /Volumes > Owl:/Volumes dave$ ls > iPod OS 10.1 Owl Unused 2 > Wolf > Elephant OS 9.2.2 Unused 1 > Unused 4 > > (As you can tell from the list above, this iPod is called "iPod".) > > Next, you want to change the current directory to point to your iPod. > (Don't worry, this won't damage it.) Type in: > > cd iPodName > > ...where iPodName is the name of your iPod in the list of volumes. If the > name has spaces in, then start typing the first word of the name, and press > Tab. Terminal will auto-complete the name. Alternatively, stick a > backslash before the spaces. For example, you would end up with: > > cd Name\ With\ Spaces/ > > The current directory is now your iPod. Next, type in the following: > > cp iPod_Control/Device/SysInfo ~/Desktop > > This will copy the iPod's SysInfo file to your desktop. Don't worry, it > won't affect the original file on the iPod at all. > > You can then go to the desktop, and you should see a file called "SysInfo". > Either email it to [EMAIL PROTECTED], or post its contents here, having > removed your serial number. > > To get the SysInfo file on a PC: > > Your iPod needs to be mounted as a hard disk on your PC, so that you can > browse to it via the File Explorer. Plug it in, and browse to the iPod¹s > hard disk. > > Once there, go to ³Tools: Folder Options², select the ³View² tab, and set > the ³Hidden files and folders² option to be ³Show hidden files and folders² > (if it is not already). Click ³Apply². You should now be able to see a > hidden folder called ³iPod_Control². Go into this folder, and into the > hidden subfolder called ³Device². In there should be a file called > ³SysInfo². Copy it (command-C), then go to somewhere else on your computer > such as your desktop and paste (command-V) the file there. > > Again, either email it to [EMAIL PROTECTED], or post its contents here, having > removed your serial number. > > Thanks for any help! > > Dave. > > > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives of this list here: > <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
