Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-04 Thread David Brownell
> > Also for usbfs be careful not to use USBDEVFS_URB_TYPE_INTERRUPT if > > your host controller is OHCI, otherwise you will likely kill your > > system. Use BULK instead, directed to the INT endpoint. > > I thought this was fixed in the latest round of usb-ohci patches? No, that 0120 patch mad

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-04 Thread Dan Streetman
On 3 Apr 2002, Dmitri wrote: >On Wed, 2002-04-03 at 20:06, Daniel Cruz wrote: > >> Please enlight me on that, why is USB time critical?... I understand is not >> greatly fast, but there si anything else?.. > >If you use Isoc pipe it will probably be serviced around few >milliseconds, but in the

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-04 Thread Greg KH
On Wed, Apr 03, 2002 at 06:39:14PM -0500, Dan Streetman wrote: > > On Wed, 3 Apr 2002, Greg KH wrote: > > >Do you have to write a kernel driver? Can you just use usbfs or libusb > >to talk to your device from userspace? It handles INT transactions > >pretty well. > > libusb supports INTs? Do

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Oliver Neukum
On Thursday 04 April 2002 00:48, Daniel Cruz wrote: > Hello Gentlemen, > > I'm new in this mailing group, also new at USB and I will start writing a > driver for a USB device, my device only uses INT transactions and my Kernel > is 2.4.17. > > Any idea for a good start point?, should I use usb-ske

RE: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Curran, Dominic
Subject: [linux-usb-devel] Writing a Linux USB driver > > > > Hello Gentlemen, > > I'm new in this mailing group, also new at USB and I will > start writing a > driver for a USB device, my device only uses INT transactions > and my Kernel > is 2.4.17. > >

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Dmitri
On Wed, 2002-04-03 at 20:06, Daniel Cruz wrote: > Please enlight me on that, why is USB time critical?... I understand is not > greatly fast, but there si anything else?.. If you use Isoc pipe it will probably be serviced around few milliseconds, but in theory the request can be just dropped on

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Greg KH
On Wed, Apr 03, 2002 at 06:10:34PM -0800, Daniel Cruz wrote: > > The firmware in the microcontroller is written to be used with a HID driver, > so that is the driver I'm using now, however since timing is very important > in my application, I think is better to go with a device-specific driver.

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Daniel Cruz
> On Wed, Apr 03, 2002 at 06:10:34PM -0800, Daniel Cruz wrote: > > > > The firmware in the microcontroller is written to be used with a HID driver, > > so that is the driver I'm using now, however since timing is very important > > in my application, I think is better to go with a device-s

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Brad Hards
On Thu, 4 Apr 2002 12:20, Daniel Cruz wrote: > I'm using a Microchip microcontroller with low speed USB support, the > microcontroller with a minimum set of peripherals will conform a board for > a > robotics application so basically the board will read information from > encoders and analog i

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Dan Streetman
On Wed, 3 Apr 2002, Greg KH wrote: >Do you have to write a kernel driver? Can you just use usbfs or libusb >to talk to your device from userspace? It handles INT transactions >pretty well. libusb supports INTs? Do you mean via BULK calls, I looked at the CVS code and it doesn't look like the

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Daniel Cruz
> On Wed, Apr 03, 2002 at 02:48:00PM -0800, Daniel Cruz wrote: > > > > Hello Gentlemen, > > > > I'm new in this mailing group, also new at USB and I will start writing a > > driver for a USB device, my device only uses INT transactions and my Kernel > > is 2.4.17. > > > > Any idea for a

Re: [linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Greg KH
On Wed, Apr 03, 2002 at 02:48:00PM -0800, Daniel Cruz wrote: > > Hello Gentlemen, > > I'm new in this mailing group, also new at USB and I will start writing a > driver for a USB device, my device only uses INT transactions and my Kernel > is 2.4.17. > > Any idea for a good start point?, should

[linux-usb-devel] Writing a Linux USB driver

2002-04-03 Thread Daniel Cruz
Hello Gentlemen, I'm new in this mailing group, also new at USB and I will start writing a driver for a USB device, my device only uses INT transactions and my Kernel is 2.4.17. Any idea for a good start point?, should I use usb-skeleton as a start point, cause I read it only supports Bulk tran