Re: [linux-usb-devel] USB transfer

2003-08-11 Thread Oliver Neukum
Am Dienstag, 5. August 2003 09:10 schrieb mama: > Hello > > Could yout point me a reason why grabbing datas from usb device these datas > includes some incorrect numbers ? Is it synchronization or what ?? > > I put it in my endpoint2 fifo buffer incrementing datas ( from 1 to 64). > I wrote a dev

Re: [linux-usb-devel] USB transfer

2003-08-06 Thread Oliver Neukum
> > > if ( buffersNotAllocated ) AllocateBuffers();//these are my > > > defined functions > > > ssize_t retval = 0 ; > > > sRead.nOffset = 0; > > > retval=usb_bulk_msg (my_dev, usb_rcvbulkpipe > > > (my_dev,endpoint_r),sRead.pBuff, frame_size, &count, HZ*5); > > > wait_for_urb (sRead.

Re: [linux-usb-devel] USB transfer

2003-08-06 Thread mama
- Original Message - From: "Oliver Neukum" <[EMAIL PROTECTED]> To: "mama" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 05, 2003 10:04 AM Subject: Re: [linux-usb-devel] USB transfer > Am Dienstag, 5. August 2003 09:10 schrieb ma

[linux-usb-devel] USB transfer

2003-08-05 Thread mama
Hello Could yout point me a reason why grabbing datas from usb device these datas includes some incorrect numbers ? Is it synchronization or what ?? I put it in my endpoint2 fifo buffer incrementing datas ( from 1 to 64). I wrote a device driver and I use it to read these datas from. I insert fr

Re: [linux-usb-devel] USB transfer buffer for DMA in stack?

2003-06-23 Thread Matthew Dharm
No, it is not safe to DMA from the stack in all architectures. Matt On Mon, Jun 23, 2003 at 08:01:57PM +0300, Tuukka Toivonen wrote: > Is it OK to have the USB transfer buffer (parameter 7 to usb_control_msg()) > in kernel stack? > > The documentation says that "This buffer has to be allocated a

[linux-usb-devel] USB transfer buffer for DMA in stack?

2003-06-23 Thread Tuukka Toivonen
Is it OK to have the USB transfer buffer (parameter 7 to usb_control_msg()) in kernel stack? The documentation says that "This buffer has to be allocated as a non-pageable contiguous physical memory block" and if it's placed in stack it works on x86, but is it safe thing to do across all architect

Re: [linux-usb-devel] Usb Transfer in Bluetooth

2001-11-04 Thread Greg KH
On Mon, Nov 05, 2001 at 11:41:27AM +0530, Praveen wrote: > Hi ! > >I am testing PPP over the Bluetooth stack using Usb as a transport >medium in VXWORKS. >I am using Ericsson ROC101008 Bluetooth module with an usb >support in it. And OHCI controller as a Host. Ericsson devices ar

[linux-usb-devel] Usb Transfer in Bluetooth

2001-11-04 Thread Praveen
Hi ! I am testing PPP over the Bluetooth stack using Usb as a transport medium in VXWORKS. I am using Ericsson ROC101008 Bluetooth module with an usb support in it. And OHCI controller as a Host. Initially i receives ping response from the peer, quite well.. As time goe