RE: USB gadget with drivers "on board"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Apr 2010, Viral Mehta wrote:

> Hi,
> 
> > -----Original Message-----
> > From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
> > Sent: Wednesday, April 28, 2010 12:25 AM
> > To: Viral Mehta
> > Cc: linux-usb@xxxxxxxxxxxxxxx
> > Subject: RE: USB gadget with drivers "on board"
> >
> > On Tue, 27 Apr 2010, Viral Mehta wrote:
> >
> > > I want to store drivers/software for Windows
> > > as well as Linux BUT on different partitions and "on board".
> >
> > Why on different partitions?  Doesn't that just make your life harder?
> > What's wrong with putting everything into multiple top-level
> > directories on the same partition?
> >
> No. other way around, it makes user's life easier.

How?

For example, suppose the user's computer runs Windows.  If you create
the various setup and autorun files correctly, Windows will know to
look only in the appropriate directory.  The user won't have to worry
about it.

For that matter, what happens if you need to supply different drivers
for 32-bit Windows vs. 64-bit Windows?  Are you going to have separate
partitions for them as well?  What about Win-XP vs. Win-Vista vs.  
Win-7?

> Here is the scenario,
> I have one USB Digital Picture Frame. It has one NAND flash. I am doing 3 extra
> Partitions on it (other than for uImage and etc). One has software for Windows, other
> Partition has for Linux and third one will have for MAC. I will use those partitions
> As "Backing File" while emulating this device as CD-ROM.
> 
> Now 3 partitions because,why a Windows user should see MAC and Linux softwares ?

Why not?

> Or a Linux user will not care about softwares for Windows and MAC.

How do you know what the user will care about?  Maybe a Linux user will 
_want_ to see the Windows files.

> Or even I should not confuse a user by giving 3 choices.

People do it all the time.  Haven't you ever bought a program that came 
on a CD with different installation directories for Windows and Mac OS?  
Users don't seem to mind.

> Instead best user experience
> Will be if I can auto install those softwares by *detecting* OS on USB host.

> > There is no reliable way to do this.
> Yes, I have the same opinion.
> But any work around to achieve best user experience as I mentioned above.

You don't need to worry about this.  The user's experience will not be 
degraded.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux