-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 13 Aug 2002 00:10, Morten Holm Larsen wrote:
> <snip>
>
> > mknod /dev/usb/hiddev0 c 180 96
> > mknod /dev/usb/hiddev1 c 180 97
> > mknod /dev/usb/hiddev2 c 180 98
>
> What about /dev/input/eventXX?
Your configuration (without CONFIG_USB_HIDINPUT) doesn't support the input 
layer for HID devices. Are you familiar with how hiddev and the input layer 
work?

> > and so on (to hiddev15, no further) if required.
>
> If I only use hiddev and USB-hub, can I the :
>
> #define HIDDEV_MINOR_BASE       13
> #define HIDDEV_MINORS           99
>
> in linux-2.4.19/drivers/usb/hiddev.c ?
You could, but this will break other things later. Why not use the standard 
device numbers?

> <snip>
>
> > > > What does /proc/bus/usb/drivers show?
> > >
> > >  No such file
> >
> > Something is wrong. Do you have the hid module loaded?
>
> I reboot my 2.4.19 kernel and now /proc/bus/usb/drivers show:
>          usbdevfs
>          hub
>  96-111: hiddev
>          hid
>
> And now I can read from /dev/usb/hiddevXX, so Jubii :o)
>
> And now /proc/bus/usb/devices show:
>
> <snip>
> C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
> E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
Which is correct.

> But how can I force to be:
> C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=hid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
> I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
> E:  Ad=82(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

Why would you want to? You don't need to use that other interface, but if you 
don't claim the interface, you will never get access to it.

Brad
- -- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9WCZ8W6pHgIdAuOMRAhogAJ49oBcFekBor7trr35CXmgPxdn/twCghsSq
0Mf2t5VwXxFpZJ+Oix8Nfmk=
=YxZI
-----END PGP SIGNATURE-----



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to