Re: [linux-usb-devel] USB driver problem

2004-09-25 Thread Oliver Neukum
Am Samstag, 25. September 2004 07:42 schrieb justin: > static void bally_read_bulk_callback (struct urb *purb) > { >   struct usb_bally *dev = (struct usb_bally *)purb->context; >   int result = 0; >   >   // if interrupted, just return >   if (purb->status == -ENOENT) >   { >     return; >   } >

Re: [linux-usb-devel] Usb Driver: problem with pci_pool_alloc.

2001-04-24 Thread David Brownell
> > The transfer/setup problem probably indicates that your pci_map_single > > code (which you had to write for the SH processor, as I recall) is not > > behaving correctly. > > I want to clarify better the problem that I have with transfer and > setup: OK, you're right that data structures allo

Re: [linux-usb-devel] Usb Driver: problem with pci_pool_alloc.

2001-04-24 Thread Orazio Privitera
"david-b/OU=internet/DD.RFC-822=david-b"@[EMAIL PROTECTED] wrote: > > The transfer/setup problem probably indicates that your pci_map_single > code (which you had to write for the SH processor, as I recall) is not > behaving correctly. > I want to clarify better the problem that I have with tra

Re: [linux-usb-devel] Usb Driver: problem with pci_pool_alloc.

2001-04-23 Thread David Brownell
The transfer/setup problem probably indicates that your pci_map_single code (which you had to write for the SH processor, as I recall) is not behaving correctly. Sounds like you may not be using the correct version of the pci_pool code, or there's some problem caused by other changes you've made.

Re: [linux-usb-devel] USB driver problem

2001-03-16 Thread Benoit PAPILLAULT
I've got the same error, either by using the libusb or ioctl() directly. I ended by doing a kernel module ... and i'm currently doing it :-) - Original Message - From: "hariharan swaminathan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 15, 2001 6:05 PM Subject: [linu

Re: [linux-usb-devel] USB driver problem

2001-03-15 Thread hariharan swaminathan
The device specification says its a HID class device. It's working in Windows. But the descriptor structure in linux has 0xFF for DeviceClass, DeviceSubClass & DeviceProtocol ( Vendor specific ? ). That's why i started writing a seperate driver. I am supposed to use set_report for sending data

Re: [linux-usb-devel] USB driver problem

2001-03-15 Thread Matthew Dharm
Are you sure it's an HID class device? Most of these devices are Storage Class or Vendor Specific. Matt On Thu, Mar 15, 2001 at 10:35:04PM +0530, hariharan swaminathan wrote: > Hi, > > I am new to usb-driver programming. > I am trying to write a usb driver for a smartcard reader > The device i