Rockbox mail archiveSubject: Re: Using Autorun.inf on an iPod
Re: Using Autorun.inf on an iPod
From: victor rajewski <askvictor_at_gmail.com>
Date: Fri, 9 Jun 2006 14:44:40 +1000
From http://www.microsoft.com/whdc/device/storage/usbfaq.mspx comes this:
Q: What must I do to trigger Autorun on my USB storage device?
The Autorun capabilities are restricted to CD-ROM drives and fixed
disk drives. If you need to make a USB storage device perform Autorun,
the device must not be marked as a removable media device and the
device must contain an Autorun.inf file and a startup application.
The removable media device setting is a flag contained within the SCSI
Inquiry Data response to the SCSI Inquiry command. Bit 7 of byte 1
(indexed from 0) is the Removable Media Bit (RMB). A RMB set to zero
indicates that the device is not a removable media device. A RMB of
one indicates that the device is a removable media device. Drivers
obtain this information by using the StorageDeviceProperty request.
For more information about the SCSI Inquiry command, see the T10
committee located at http://www.t10.org.
For more information about the StorageDeviceProperty, see the
STORAGE_DEVICE_DESCRIPTOR storage structure in the Windows DDK,
located at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/storage_r/hh/storage_r/structs-general_3c393126-f5c8-47d8-bfb5-6127ce656e9a.xml.asp.
For more information on Autorun.inf files see the "Creating an
AutoRun-Enabled Application" article located at
On 6/5/06, James Teh <jamie_at_jantrid.net> wrote:
> You do not need to install autorun.inf files, and in fact, you should
> not and cannot do so. This is only for .inf files which install software
> or drivers. The autorun.inf file should just run when you connect your
> device; I'm not sure why it isn't. Perhaps it doesn't like running batch
> files? <shrug>
> Mark wrote:
> > Hi,
> > This question is only indirectly related to RB in that it is about now
> > using an iPod as a true "flat file" MP3 player, where the file names are
> > still meaningful and so it can make sense to copy files directly to it.
> > I hope it isn't too off topic.
> > I'm trying to use autorun.inf on my iPod Nano as a way to launch a
> > simple automated sync utility I've written (it's a simple batch file).
> > Windows XP does see the iPod as a device which has autoplay enabled, and
> > I have written a simple autorun.inf file to launch this app, but every
> > time I try to "install" from the file menu (that is the way of running
> > the .inf file), I get an error message telling me that the "install"
> > failed, i.e. my program did not start.
> > I can launch the batch file from Windows Explorer, but that is a manual
> > way of doing something I had hoped would be automatic.
> > any ideas on why it seems that an autorun.inf file does not work on the
> > iPod?
> > Thanks,
> > Mark
> James Teh
> Email: jamie_at_jantrid.net
> WWW: http://www.jantrid.net/jamie/
> MSN Messenger: jamie_at_jantrid.net
> Jabber: jteh_at_jabber.org
> Yahoo: jcs_teh
Received on 2006-06-09