Detecting the IPOD as HID device

Greg KH greg at kroah.com
Wed Aug 25 16:06:14 UTC 2010


On Wed, Aug 25, 2010 at 09:29:50PM +0530, Sandeep G.R wrote:
> Hi All,
> 
>              I have an iPOD and when connect to my linux host(ubuntu 10.04)
> by default it will detect as usb mass storage i need to write a driver so
> that when the iPOD is connected to the linux host the device should change
> its configuration from mass storage to HID device.

Why would you want to do that?

And what type of HID device?  Does the ipod export a HID device
interface already?

> How do i proceed with this. Whether i need to change the
> bInterfaceClass to USB_CLASS_HID or else any other methods. Any
> suggestion would be great.

You can't change the USB descriptor of a device from the host, that is
impossible.

thanks,

greg k-h



More information about the devel mailing list