How to install libusb-Win32 host driver into Windows IoT on Raspberry PI - raspberry-pi

I have a USB host C++ app running on Windows 10 that communicates by USB2 with an embedded USB device.
Now need to port to UWP C++ app on Windows IoT on Raspberry PI.
On my Windows 10, I first install the libusb-Win32 host driver into Windows.
Can't find how to do it in Windows IoT on Raspberry PI.

There is no out of box driver of libusb for Windows IoT Core, ARM, but you can build from source to target ARM architecture.
Source on GitHub.
If possible use modern USB API is easier.
Ref: "How to connect to a USB device (UWP app)".

Related

jsbrowser on Raspbian, operating system not supported

we are trying to run our app that integrates jsbrowser on Raspbian 4.4.50-v7+ (raspberry pi 3) and get the message that the operating system is not installed.
we integrated the linux 32 and 64 bit libraries.
how to get jxbrowser running on Raspbian ?
The Raspberry Pi is an ARM-based platform. According to JxBrowser system requirements this platform is not supported at the moment by the JxBrowser library.

Visual studio cannot connect to windows IoT raspberry pi

I am using Windows Insider Build 14342 windows 10 OS. Trying to connect to raspberry pi 3. I have installed the Iot Core in Raspberry and I can connect to the device using putty and powershell. The visual studio for some reason doesnt deploy my Application.
Its a basic blink example from ms-iot github. I have set ARM, Remote device and gave ip address of the device, selected Universal(unencrypted protocol) in properties of the project.
The project builds fine and doesnt deploy to my device. Am i missing something.
I had this problem before one week. Here are steps I use to solve this issue:
Open Network and sharing Center.
click on your Ethernet connection
click property
Select IP4
Change your IP to be in same rang with your raspberry pi
After that your visual studio will able to detect your device automatically.

NW.js build doesn't open for Raspberry Pi (Raspbian)

I have a desktop application (built with NW.js and the node-webkit-builder) that runs smoothly on Windows and OS X, however, I can't seem to open the executable on the Raspberry Pi. The NW.js builder outputs the 32- and 64-bit Linux distributions, as well, that I assume should operate on Raspbian or Ubuntu MATE. However, I keep getting the error:
cannot open the application since there isn't a readable executable.
Even after chmod +x the application, it doesn't work.
raspberry pi use arm architecture, you may checkout this: https://github.com/toxygen/armhf-node-webkit
Rasp Pis are using ARM processors and not the x32 and x64 processors the NW.js binaries support.
You will need to download a prebuilt for the ARM or build it yourself.
Here is a link to a prebuilt for 0.12.0. You will package your app just like you would on a x32/x64 machine.
Unfortunately ARM is still not an officially supported platform and if you wish to have prebuilts you will have to depend on community members/contributors.
You need the binary port of NW.js (node-webkit) for Raspberry Pi.
I have just created a repository with the node-webkit binary port that runs on Raspbian, tested and working on Raspberry Pi 1 and Raspberry Pi 3 so it is ARMv6 and ARMv7 compatible.
Here you can check it: https://github.com/jalbam/nwjs_rpi

WinCE 6.0 on VMWare Player - access host USB Bluetooth dongle

I made an WinCE 6.0 R2 image and load it into VMWare Player 3.1.3. The host operating system is a Windows XP Sp3. I followed this article and all worked fine (the article uses VMWare Workstation, but it worked fine also with VMWare Player).
My final goal is from the virtual machine WinCE to use the Bluetooth USB dongle attached to the Windows XP host computer. In the WinCE image I had added support for Bluetooth USB like in this Mike Hall's post. Also I want to mention that I had included support for USB Host when I created the BSP, and also USB drivers are checked.
When I go in WinCE -> Control Panel -> Bluetooth Device Properties, Bluetooth Manager is launched. But if I try to make a "Scan device" I am getting the following error:
Bluetooth hardware error 10050 (controller not present)
But the dongle is attached to the VMWare Player and disconnected from the host, so theoretically the transport layer is controlled by the virtual machine and WinCE can talk with EHCI of the USB.
Can anyone give me a hint to follow? Any suggestions are welcome.
I have no idea whether the stuff described at http://www.codeproject.com/KB/windows/bth4devemul.aspx is required in your case...
There the FreeBT.NET stack is installed on the host PC to enable the WM emulator to use a host-attached Bluetooth dongle...

Android 2.1 Superpad Tablet: can't connect Eclipse ADB to Superpad USB port

I am developing an Android app for a class I'm taking. I've been using the emulator to date. I know what to see if it runs on the real HW.
My PC runs Windows 7. I downloaded the latest google/Android USb driver. I have enabled the USB Debugging feature on the tablet already. When I plug the tablet into the PC via USB, the PC doesn't seem to see the tablet at all.
What do I need to do to get these two devices to see one another.
thanks,
wk
HI, I'm using superpad 3, and just have adb connection over ethernet, all you need is type cmd: "connect your.pad.ip" and then Eclipse will see your device.