[linux-usb-devel] RE: linux 2.6 porting issue

2005-04-22 Thread Lan, Oliver
Greg, I put some printk in the devio.c (in Fedora 2.6.10) today and found out something strange. When I submit an URB to kernel, I specified signr 36 to send back to my program. And I put printk in the async_completed() in devio.c after send_sig_info() call which return 0 (means ok) with right si

Re: [linux-usb-devel] RE: linux 2.6 porting issue

2005-04-14 Thread Randy.Dunlap
On Thu, 14 Apr 2005 17:16:33 -0700 Lan, Oliver wrote: | Greg, | In my program, I have following lines: | struct usbdevfs_urb *pURB; | pURB->type = USBDEVFS_URB_TYPE_BULK; | pURB->endpoint = endpoint; | pURB->buffer = pBuffer; | pURB->buffer_length = iBufferLen; |

[linux-usb-devel] RE: linux 2.6 porting issue

2005-04-14 Thread Lan, Oliver
Greg, In my program, I have following lines: struct usbdevfs_urb *pURB; pURB->type = USBDEVFS_URB_TYPE_BULK; pURB->endpoint = endpoint; pURB->buffer = pBuffer; pURB->buffer_length = iBufferLen; pURB->signr = signal; pURB->number_of_packets = iNumPacke

[linux-usb-devel] Re: linux 2.6 porting issue

2005-04-13 Thread Greg KH
On Wed, Apr 13, 2005 at 07:19:24AM -0700, Lan, Oliver wrote: > And we found out usbdevfs was not supported on Linux 2.6.10, the mount > -t usbdevfs command failed with Kernel not support usbdevfs message. It has been called "usbfs" for over 2 years. That also works on 2.4 and I think on 2.2. >