Re: Purpose of parameter in sysfs binary read

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

 



Greg KH wrote:
> On Wed, Aug 19, 2009 at 11:41:28AM -0600, Rick L. Vinyard, Jr. wrote:
>> Alan Cox wrote:
>> > On Tue, 18 Aug 2009 09:41:56 -0600
>> > "Rick L. Vinyard, Jr." <rvinyard@xxxxxxxxxxx> wrote:
>> >
>> >> Greg KH wrote:
>> >> > On Tue, Aug 18, 2009 at 08:55:29AM -0600, Rick L. Vinyard, Jr.
>> wrote:
>> >> > What are you using the binary sysfs attribute for?  It should ONLY
>> be
>> >> > used as a pass-through to and from hardware, with no interpretation
>> by
>> >> > the kernel at all.
>> >>
>> >> It's for the Logitech G13's game panel image (a simple binary bitmap
>> of
>> >> the pixels).
>> >>
>> >> It doesn't do any interpretation... just a few checks on the magic
>> >> number
>> >> and size.
>> >
>> > If its a bitmap image why not register the device as a framebuffer ?
>> >
>>
>> Would that preclude it also being registered as a HID? The primary
>> purpose
>> of the device is to function as a keypad input.
>
> Is the framebuffer a different USB interface?  Or are they all
> controlled through the same one?
>

Same USB interface. That's why I was thinking it might not work out. In
fact, it uses the same interrupt pipe as the HID reports.

--
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