Re: Detecting the IPOD as HID device

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

 



On Wed, Aug 25, 2010 at 06:31:10PM +0200, Maciej Grela wrote:
> 2010/8/25 Greg KH <greg@xxxxxxxxx>:
> > 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?
> >
> 
> Yes, it does. My ipod classic has two configurations - one is normal usb-storage
> and the second one has audio and HID ifaces. The HID EP doesn`t seem to
> send any events and the audio says "cannot get freq at ep 0x81" so it`s not very
> useful at the moment.

Odds are the HID one is there so that a userspace Windows program can
control the device (iTunes?).  That's the easy way to write a userspace
Windows usb driver.  It probably isn't a real "HID" device at all,
especially if you can't parse the HID descriptors.

good luck,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux