Where to find USB VID and PID?

2014-02-04 Thread Eric Fowler
I have an Emcraft SmartFusion2 board with a USB interface, running ucLinux. When I plug the board to a Windows machine, said Win machine sees an 'unknown device', which usually (always) means VID_ and PID_. This is separate and independent of the USB and JTAG interfaces that are used for

Re: Where to find USB VID and PID?

2014-02-04 Thread Greg Freemyer
On Tue, Feb 4, 2014 at 2:54 PM, Eric Fowler eric.fow...@gmail.com wrote: I have an Emcraft SmartFusion2 board with a USB interface, running ucLinux. When I plug the board to a Windows machine, said Win machine sees an 'unknown device', which usually (always) means VID_ and PID_. This

How to map more than 1 page of buffer to kernel address?

2014-02-04 Thread m silverstri
Hi, I need to map an buffer object to kernel address. What should I buffer is more than 1 page and I want to map the whole buffer to the kernel address? https://www.kernel.org/doc/htmldocs/device-drivers/API-dma-buf-kmap.html dma_buf_kmap -- Map a page of the buffer object into kernel address