> > <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?
I feign that it is a normel char device driver, so I can "cat
/dev/usb/hiddevX" and "echo /dev/usb/hiddevX"

But is the char code on 8 bit or UNICODE (8-16-32) ?

>
> > > 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?
See below.

<snip>
> > But how can I force it 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.

I am trying to make a embedded linux system, that take imput for e.g. 30
keypads, and now each keypad take to minors number (I'am only using the
first "If=0"). So I have to do something.

Furthermore the system shall only handle USB keypad and USB HUB, so it
will be easy to change hiddev.c whitout any things to break.


/morten
-- 
--------------------------------------------------------------------------
                     Morten Holm Larsen
 (o>                 M.Sc.E.E stud.
 //\                 Phone  +45 98129195
 V_/_                Email  [EMAIL PROTECTED]
                     URL    www.kom.auc.dk/~mhla00

Vi h�rs.....skall inom kort till heling�r o k�pa �l.
--------------------------------------------------------------------------




-------------------------------------------------------
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_code1
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to