WinCE 6.0 on VMWare Player - access host USB Bluetooth dongle - windows-xp

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...

Related

Device descriptor request failed

I tried working with my RPi Pico today and my computer doesn't recognize the usb I triple checked the cable is power and data. And yes I'm holding the button
I've also had this annoying issue. Seems to happen even more often on the Pi Pico W.
Use my laptop USB-C port to connect via a USB-C to USB 3.0 hub and this happens every so often.
Bought a powered hub from Amazon: "UGREEN USB C Hub 4 Ports, USB C to USB Hub 3.0". It has a separate USB-C power input in addition to the laptop USB-C connection and it works fine when no other USB devices are connected to the hub. Seems to be an issue similar to what Foibled2 mentioned where the underlying issue may be power related.
I'm struggling with the same thing. Other than uninstalling in Device Manager and rebooting (sometimes several times) I can get it to recover.
There must be a better way.
I've seen references to Zadig, etc. But finally figured out the issue in my circumstance.
I disabled all of my other USB serial devices (Prolific USB for GPS tracker; and CH340 USB for Android Nano).
After that, I could plug / unplug my R Pi Pico between application and USB drive mode without rebooting.
Works now as advertised. Hope this helps short cut a few hours for someone else!

How to install libusb-Win32 host driver into Windows IoT on 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)".

ethernet testing with Android Tablet 4.2.2

I am planning to develop a Ethernet test tool on android tablet. I know that it's better to run at wireless at Android. But I need the following information.
Does Android has driver support for Ethernet Cable
Does android has driver to access ethernet on USB port?
I know that this is not a programming question. But I found nowhere else to get the answers for these queries. Please don't consider this as off-topic. It would be helpful for me, if I can get the details.
Yes Android includes Ethernet over USB driver, and this function can be accessed by at least two ways:
(1) Adb port forwarding enabled by the following command in terminal. This requires adb being installed. Use any port number you want.
adb forward tcp:1234 tcp:1234
(2) USB tethering. It's usually found in Settings -> Wireless & Networks -> More... -> Tethering & portable hotspot -> USB tethering. If you connect your android device to a Linux computer via micro-USB cable and enable this function, your Linux computer will consider this cable as an "Ethernet" connection (actually shown as 'usb0' by ifconfig).
The answer is Yes. Android has Ethernet over USB Driver. I would use USB tethering. You can find it in Settings -> Wireless & Networks -> More... -> Tethering & portable hotspot -> USB tethering. If you connect your android device to a Linux computer via micro-USB cable.
I was able to find the documentation online for my question.
Thanks for help. I will close this postLink.

How do I use Xperia Ray through Eclipse for Android programming?

I downloaded the Suite for the phone, the Google USB drivers and the Phone's connection drivers. So far, the phone works perfectly with the PC but Eclipse still refuses to see the phone and Device Manager is convincing me that I have no hardware compatible with the Google USB drivers. Therefore the Google USB drivers are downloaded but not installed or assigned to any device. I followed every answer on stackoverflow that there is so far, but none have solved the problem.
First, set your device into USB / debug mode.
Second, after you connect your device to the USB make sure your drivers is installed properly.
And last verify that adb.exe can detect you device from cmd (if running in windows) ..(path to your SDK)\platform-tools\adb device
If last step fails, then re-install you device driver, it should be handled automatically by sony pc-companion for your xperia phone.
You also have to enable USB-Debugging in Settings->Developer Options on your phone.

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.