Re: HID device lying about Usage

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

 



On Fri, Jan 29, 2010 at 12:07:43PM +0100, Simon Richter wrote:
> Hi,
> 
> On Thu, Jan 28, 2010 at 01:13:32PM -0800, Greg KH wrote:
> 
> > >  - Add an IGNORE quirk to the table, and use the device via the
> > >    endpoints.
> 
> > Yup, I recommend this one.  And then write either a new kernel driver,
> > or a userspace program using libusb to talk to the device.
> 
> I guess it'd be an userspace driver, since all the kernel could do would
> be very similar to what hidraw does.
> 
> > What type of device is this really?
> 
> It's a microcontroller inside a watch that allows me access to the
> internal "data bank". The protocol is packet based, with packets being
> encapsulated in HID reports in both directions.
> 
> > >  - Invent a new quirk that prevents the device from being connected to
> > >    anything but hidraw.
> 
> > If you really want to send HID commands to it.  Does it accept them?
> > Odds are, it doesn't.
> 
> I have a working protocol implementation on top of hidraw.

Then hey, you answered your own question :)

thanks,

greg k-h
--
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