On Sat, 21 Apr 2007, Wael Adel wrote:
> forgive me, i still have another question:
> i m using kerenl 2.6.18 and inside the kernel source there is
> usb-skeleton.c that contains the defines the following:
>
> #define USB_SKEL_MINOR_BASE 192
>
> 1. so when i make my device node i should make th
forgive me, i still have another question:
i m using kerenl 2.6.18 and inside the kernel source there is
usb-skeleton.c that contains the defines the following:
#define USB_SKEL_MINOR_BASE 192
1. so when i make my device node i should make the major number 180
and the minor number 192 ,
2. an
On Fri, 20 Apr 2007, Wael Adel wrote:
> but if the OMAP kit have different endpoints i.e it has 2 out endpoints and
> 2 in endpoints, can my both application talk to the kit in the same time.
> since i cant make differenet endpoints on the host side for each
> application?
Your driver can registe
On Thu, 19 Apr 2007, Wael Adel wrote:
> suppose that i have 2 different applications on the host and both
> talks to the OMAP device so i can achieve this by making 2 device
> nodes with different minor numbers or what?
You don't have to do anything. Use one device node with one minor number
an
On 4/19/07, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Thu, 19 Apr 2007, Wael Adel wrote:
>
> > Sorry may be i just express what i want in a wrong way so again what i
> > want is to load skeleton driver on my host computer side then make it
> > communicate with my OMAP kit.
> >
> > so i think this
On Thu, 19 Apr 2007, Wael Adel wrote:
> Sorry may be i just express what i want in a wrong way so again what i
> want is to load skeleton driver on my host computer side then make it
> communicate with my OMAP kit.
>
> so i think this could be the steps for using skeleton driver:
> 1) i should ch
On 4/19/07, Alan Stern <[EMAIL PROTECTED]> wrote:
> On Thu, 19 Apr 2007, nesta wrote:
>
> > hi all,
> >
> > 1. is skeleton.c a host driver?
>
> It is an example of how to write a USB device driver. However it does run
> on the host computer, if that's what you want to know.
yes, that is what i wa
On Thu, 19 Apr 2007, nesta wrote:
> hi all,
>
> 1. is skeleton.c a host driver?
It is an example of how to write a USB device driver. However it does run
on the host computer, if that's what you want to know.
> second i want to ask about the steps for using skeleton.c with my device
> which
hi all,
1. is skeleton.c a host driver?
second i want to ask about the steps for using skeleton.c with my device which
is OMAP kit.
1) i should change the vendor id and product id to be like the id of my kit.
2) mknod my_dev_node -c 180 0
3)in my user space application i can
open (my_dev_node