2010/8/26 Sandeep G.R <grsandeep85@xxxxxxxxx>: > > On Thu, Aug 26, 2010 at 10:05 AM, Greg KH <greg@xxxxxxxxx> wrote: >> On Thu, Aug 26, 2010 at 07:07:43AM +0530, Sandeep G.R wrote: >>> On Wed, Aug 25, 2010 at 10:12 PM, Greg KH <greg@xxxxxxxxx> wrote: >>> > >>> > 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 >>> >>> Hi Greg, >>> >>> If i connect the ipod to the linux host and check for >>> the command the message appears as follows: >> >> Ok, and what are you going to do with this HID interface? You can >> switch to it easily from userspace, but then the issue is controlling >> the device properly. >> >> good luck, >> >> greg k-h >> > Hi Greg, > > I need to send the IAP commands which is provided by the iPOD, > and if i connect the iPOD to the linux host i can control the iPOD from my > linux host, i can play audio/video which is present in the iPOD from linux > host, also the sound output is directed to external speaker which is > connected to linux host but if you connect headset to iPOD at the same time > you will not be able to listen songs. For this reason i need to make it to > detect as HID device. How to proceed any suggestions will be great. > Hi, Are these IAP commands described somewhere ? Br, Maciej Grela _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel