Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Marcel Holtmann
Hi Jiri, > > For me the task of converting HID reports into input events shouldn't be > > actually the job of the HID core layer. My understanding is that the HID > > core should support multiple transport layers. This is currently > > achieved through the hid_device abstraction and used by

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Jiri Kosina
On Mon, 5 Mar 2007, Marcel Holtmann wrote: > no, because if I recall correctly these are the boot mode drivers and > actually not used at all in any modern distribution. That's correct. > For me the task of converting HID reports into input events shouldn't be > actually the job of the HID

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Dmitry Torokhov
Hi Marcel, On 3/5/07, Marcel Holtmann <[EMAIL PROTECTED]> wrote: Hi Dmitry, > > This also means that the current keyboard and mouse > > input devices will become a HID driver. > > Are you talking about usbmouse and usbkbd? no, because if I recall correctly these are the boot mode drivers and

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Marcel Holtmann
Hi Dmitry, > > This also means that the current keyboard and mouse > > input devices will become a HID driver. > > Are you talking about usbmouse and usbkbd? no, because if I recall correctly these are the boot mode drivers and actually not used at all in any modern distribution. For me the

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Harold Sargeant
On 06/03/07, Li Yu <[EMAIL PROTECTED]> wrote: Dmitry Torokhov wrote: > If we define HID "bus" allowing drivers to bind on VID:PID and provide > default library module for parsing HID reports and providing access to > HID transports (USB/BT) then writing tiny drivers adjusting just a > part of

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Jiri Kosina
On Tue, 6 Mar 2007, Li Yu wrote: > > If we define HID "bus" allowing drivers to bind on VID:PID and provide > > default library module for parsing HID reports and providing access to > > HID transports (USB/BT) then writing tiny drivers adjusting just a > > part of hid_input_event and relying

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Jiri Kosina
On Tue, 6 Mar 2007, Li Yu wrote: If we define HID bus allowing drivers to bind on VID:PID and provide default library module for parsing HID reports and providing access to HID transports (USB/BT) then writing tiny drivers adjusting just a part of hid_input_event and relying on default

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Harold Sargeant
On 06/03/07, Li Yu [EMAIL PROTECTED] wrote: Dmitry Torokhov wrote: If we define HID bus allowing drivers to bind on VID:PID and provide default library module for parsing HID reports and providing access to HID transports (USB/BT) then writing tiny drivers adjusting just a part of

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Marcel Holtmann
Hi Dmitry, This also means that the current keyboard and mouse input devices will become a HID driver. Are you talking about usbmouse and usbkbd? no, because if I recall correctly these are the boot mode drivers and actually not used at all in any modern distribution. For me the task of

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Dmitry Torokhov
Hi Marcel, On 3/5/07, Marcel Holtmann [EMAIL PROTECTED] wrote: Hi Dmitry, This also means that the current keyboard and mouse input devices will become a HID driver. Are you talking about usbmouse and usbkbd? no, because if I recall correctly these are the boot mode drivers and actually

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Jiri Kosina
On Mon, 5 Mar 2007, Marcel Holtmann wrote: no, because if I recall correctly these are the boot mode drivers and actually not used at all in any modern distribution. That's correct. For me the task of converting HID reports into input events shouldn't be actually the job of the HID core

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-06 Thread Marcel Holtmann
Hi Jiri, For me the task of converting HID reports into input events shouldn't be actually the job of the HID core layer. My understanding is that the HID core should support multiple transport layers. This is currently achieved through the hid_device abstraction and used by the USB

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Tue, 6 Mar 2007, Robert Marquardt wrote: > I do not know too much about the Linux innards, but my opinion is that > the HID API to userland should be the bare reports. Windows is handling > it that way for a good reason. Far too many HID devices have either > non-informative descriptors

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Robert Marquardt
Jiri Kosina wrote: In addition to that, as I stated in some previous e-mail, I am currently working on new 'hidraw' interface, which will provide more flexibility to userland applications willing to operate on raw HID data, than they currently have with hiddev. I do not know too much about

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Liyu
Dmitry Torokhov wrote: > If we define HID "bus" allowing drivers to bind on VID:PID and provide > default library module for parsing HID reports and providing access to > HID transports (USB/BT) then writing tiny drivers adjusting just a > part of hid_input_event and relying on default

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Dmitry Torokhov
On 3/5/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: On Mon, 5 Mar 2007, Li Yu wrote: > Under standard HID device driver development means, we need to write > one interrupt handler for each new HID device to report event to input > subsystem. However, although the most of they can not merge into

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Mon, 5 Mar 2007, Li Yu wrote: > Under standard HID device driver development means, we need to write > one interrupt handler for each new HID device to report event to input > subsystem. However, although the most of they can not merge into > mainstream kernel tree, they have only some

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Mon, 5 Mar 2007, Marcel Holtmann wrote: > actually, I don't think we need a simple driver interface. We need a HID > driver interface in general. For example that you can register a driver > for one or multiple report ID and then it handles input and output for > these report IDs. This also

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Dmitry Torokhov
On 3/5/07, Marcel Holtmann <[EMAIL PROTECTED]> wrote: This also means that the current keyboard and mouse input devices will become a HID driver. Are you talking about usbmouse and usbkbd? -- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Marcel Holtmann
Hi Li, > == > HID device simple driver interface > == actually, I don't think we need a simple driver interface. We need a HID driver interface in general. For example that you can register a driver for one or multiple report ID and

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Marcel Holtmann
Hi Li, == HID device simple driver interface == actually, I don't think we need a simple driver interface. We need a HID driver interface in general. For example that you can register a driver for one or multiple report ID and

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Dmitry Torokhov
On 3/5/07, Marcel Holtmann [EMAIL PROTECTED] wrote: This also means that the current keyboard and mouse input devices will become a HID driver. Are you talking about usbmouse and usbkbd? -- Dmitry - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Mon, 5 Mar 2007, Marcel Holtmann wrote: actually, I don't think we need a simple driver interface. We need a HID driver interface in general. For example that you can register a driver for one or multiple report ID and then it handles input and output for these report IDs. This also

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Mon, 5 Mar 2007, Li Yu wrote: Under standard HID device driver development means, we need to write one interrupt handler for each new HID device to report event to input subsystem. However, although the most of they can not merge into mainstream kernel tree, they have only some

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Dmitry Torokhov
On 3/5/07, Jiri Kosina [EMAIL PROTECTED] wrote: On Mon, 5 Mar 2007, Li Yu wrote: Under standard HID device driver development means, we need to write one interrupt handler for each new HID device to report event to input subsystem. However, although the most of they can not merge into

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Liyu
Dmitry Torokhov wrote: If we define HID bus allowing drivers to bind on VID:PID and provide default library module for parsing HID reports and providing access to HID transports (USB/BT) then writing tiny drivers adjusting just a part of hid_input_event and relying on default implemenattaion

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Robert Marquardt
Jiri Kosina wrote: In addition to that, as I stated in some previous e-mail, I am currently working on new 'hidraw' interface, which will provide more flexibility to userland applications willing to operate on raw HID data, than they currently have with hiddev. I do not know too much about

Re: [linux-usb-devel] [DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-05 Thread Jiri Kosina
On Tue, 6 Mar 2007, Robert Marquardt wrote: I do not know too much about the Linux innards, but my opinion is that the HID API to userland should be the bare reports. Windows is handling it that way for a good reason. Far too many HID devices have either non-informative descriptors

[DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-04 Thread Li Yu
== HID device simple driver interface == Note If you just begin to study from writing input device driver, please see the input-programming.txt, I am afraid this is not you want, do

[DOC] The documentation for HID Simple Driver Interface 0.5.0

2007-03-04 Thread Li Yu
== HID device simple driver interface == Note If you just begin to study from writing input device driver, please see the input-programming.txt, I am afraid this is not you want, do