Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending vendor specific commands to mass storage device



hi David,

yes, I think you're right. I should probably make a
composite device where interface 0 is mass storage and
interface 1 is HID. Will this work fine on OSX? 

can I still access the HID part without problems using
the HID IOkit examples available from apple's website?

it would be cool if I could find an example descriptor
for mass storage + hid but I don't have any devices
here to hook up to my usb analyzer...

bert

--- David Ferguson <email@hidden> wrote:

> Normally, you would have separate interfaces for
> different functions. 
> For example, and Audio Class device has an Audio
> Control Interface 
> that does thinks like setting the volume, switching
> outputs, etc (It 
> also has an Audio Stream interface for
> sending/receiving audio 
> streams).  A Mass Storage interface could handle the
> file transfers 
> directly.
> 
> Perhaps your device want's both a HID and Mass
> Storage interface.
> 
> David Ferguson
> USB Software Team
> 
> At 3:25 AM -0700 10/18/05, bert wrote:
> >hi all,
> >
> >I already posted the message below to the mass
> storage
> >list but since it also falls into the category of
> USB
> >development I'm also posting it here.
> >
> >---
> >
> >I'm investigating whether to use HID or Mass
> storage
> >for my device hardware (audio player). Currently it
> is
> >a HID device but I need mass storage functionality
> to
> >transfer files to the memory of the device, so I'm
> >thinking of switching to that class.
> >
> >However, I still need to send device-specific
> commands
> >such as 'adjust volume'. How do I do this from an
> >application without writing drivers?
> >
> >thanks in advance,
> >
> >Bert
> >
> >
> >
> >
> >
> >
> >__________________________________
> >Yahoo! Music Unlimited
> >Access over 1 million songs. Try it free.
> >http://music.yahoo.com/unlimited/
> >  _______________________________________________
> >Do not post admin requests to the list. They will
> be ignored.
> >Usb mailing list      (email@hidden)
> >Help/Unsubscribe/Update your Subscription:
>
>http://lists.apple.com/mailman/options/usb/email@hidden
> >
> >This email sent to email@hidden
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Usb mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
http://lists.apple.com/mailman/options/usb/email@hidden
> 
> This email sent to email@hidden
> 



		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Re: sending vendor specific commands to mass storage device (From: David Ferguson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.