On Sat, Nov 27, 2004 at 11:39:37PM +0800, Jeffrey Lim wrote:
> Note: pls cc me in any replies as i'm not subscribed to the list.
>
> hi guys, i've been trying to write a usb mouse driver for a custom
> mouse, but i'm getting stuck.
>
> I previously started out with trying to hack usbmouse.c, but
so u're saying there's no way to come up with a driver to wrestle
control away from the hid code, unless the kernel does not have the
support for the hid?
Look in hid-core.c or equivalent source files, there should be a hid
blacklist you can add the PID/VID of your usb mouse to. Recompile and the
On Sat, 27 Nov 2004 19:17:20 -0800, Randy.Dunlap <[EMAIL PROTECTED]> wrote:
> >
> > i've tried unloading hid, but u know what? It always loads itself (by
> > modprobe, i suppose) in the end when i plug in my mouse.
> > /proc/bus/usb/devices tells me that. My custom module (hacked from
> > usbmouse.
On Sat, 27 Nov 2004 09:13:15 -0800, Randy.Dunlap <[EMAIL PROTECTED]> wrote:
>
> Yes, that's a config problem. You'll need to disable
> HID support (or at least unload the HID driver(s))
> in order to try usbmouse.
>
i've tried unloading hid, but u know what? It always loads itself (by
modprobe,
Jeffrey Lim wrote:
On Sat, 27 Nov 2004 09:13:15 -0800, Randy.Dunlap <[EMAIL PROTECTED]> wrote:
Yes, that's a config problem. You'll need to disable
HID support (or at least unload the HID driver(s))
in order to try usbmouse.
i've tried unloading hid, but u know what? It always loads itself (by
mo
(Note: pls cc me in any replies as i'm not subscribed to this list)
On Sat, 27 Nov 2004 08:35:49 -0800, Randy.Dunlap <[EMAIL PROTECTED]> wrote:
> (moved from lkml to linux-usb-devel list)
>
hm, thanks.
>
> Is your USB mouse a full HID device, or does it only
> support the HID Boot Protocol?
>
(moved from lkml to linux-usb-devel list)
Jeffrey Lim wrote:
Note: pls cc me in any replies as i'm not subscribed to the list.
hi guys, i've been trying to write a usb mouse driver for a custom
mouse, but i'm getting stuck.
I previously started out with trying to hack usbmouse.c, but
apparently aft
Jeffrey Lim wrote:
(Note: pls cc me in any replies as i'm not subscribed to this list)
On Sat, 27 Nov 2004 08:35:49 -0800, Randy.Dunlap <[EMAIL PROTECTED]> wrote:
(moved from lkml to linux-usb-devel list)
hm, thanks.
Is your USB mouse a full HID device, or does it only
support the HID Boot Proto