Accessing USB device using firefox - firefox

Is there any way to access an USB device through Firefox on a local computer?
More details: I have created a USB device using microchip 18F2250 that sends data of thermal and humidity sensors & able to receive data to control a robotic arm..
The device has been tested on a C#2010 program to access the USB device successfully..
Now I run a HTML/javascript web page as a local server (http://localhost:8000/..bla bla bla..) & I need to access the USB device from this firefox bowser..
Notes : cannot use Chrome and its plug in WebUSB, I'm restricted to Firefox only for some reasons.
Any help??

Related

Samsung Smart TV remote control

Where I can find samsung smart tv remote control protocol specification?
I've captured traffic of samsung smart view app with wireshark.
Communication is done using websockets but i don't know how GeneratorServerHello and ServerAckMsg is generated.

Using USB device on PC in Android Studio Emulator

I am developing an app that A dongle (USB) device must connect to Android OS supported device(mobile phones, tablets...) via OTG (On-The-Go) cable. The problem starts here. I need to do debug while the dongle is connected to the Mobile phone. Unfortunately, such situation makes connecting mobile phone to PC and debugging method impossible. ( Mobile phone has 1 socket but I need 2, one for connecting the dongle to mobile phone and other for connecting mobile phone to pc for debugging)
Is there a way such that the Android Studio Emulator can access to USB device on the PC?
EDIT I have found an alternative way like connecting the mobile phone to PC via Bluetooth which is explained here.
EDIT 2: A better and clear way : Installing Genymotion and Virtual Box.
Another option (I use daily) is
adb connect phone_ip
The phone should be connected to wifi (the host also).
Lots of sources for that on the net (here is one)
mordy.

USB Bluetooth dongle stop working

Windows 7 32bit, Dell laptop.
I find my USB Bluetooth dongle stop working, I used it very rare. When I connected USB dongle, it show 'Unknown device' message, and driver not installed. In taskbar show notifications 'USB device not recognized'.
In Device Manager this USB Bluetooth dongle shown as "Unknown device". I tried right click on icon, 'Uninstall Driver Software', then Action > "Scan for hardware changes", it refreshes and show message driver installed successfully in windows taskbar. But, in Device Manager, this USB dongle still yellow "Unknown Device". When right click in icon, device status is "Windows has stopped this device because it has reported problems. (Code 43)' I tried to ininstall every item under "Universal Serial Bus controllers" menu in Device Manager, then rebooted PC, but this not help. I uninstalled all Bluetooth devices from Device Manager, include Bluetooth Radios and Network adapters:
But this not help, too. From MSDN Bluetooth FAQ I read that Windows 7 include in-box support for Bluetooth.
How to install built-in the system Bluetooth drivers in Windows 7 and enable Bluetooth? (I need only transfer files, not audio capabilities).
I find the problem: USB Bluetooth Adapter dongle is faulty. So this is hardware issue.

How to get Windows driver for my device to open an html file when the device is connected to computer?

I have a USB to serial port device and the associated device driver for Windows (written by someone at work). Is it possible to get the Windows driver for my device to open an html file when the device is connected to computer?
The html file would have a link that runs a Java Webstart application. So the html file would be written out onto disk by the driver when it was installed and whenever the device is plugged in and the driver invoked, it launches the application after the user clicks the link in the browser. This is the easy part.
The hard part is knowing how to get the driver to open the html file. Any help appreciated.
If all you're interesting is manipulating a file, you can use the corresponding kernel APIs. See here for details: http://msdn.microsoft.com/en-us/library/windows/hardware/ff565384(v=vs.85).aspx . Read carefully, there some things to watch out from that do not exist in user mode.

Can Windows be set up to automatically launch an application when an HID-compliant USB device is plugged in?

I have a custom HID-compliant USB device. I would like to set up Windows to launch an application when this device is plugged in. Is this possible through a configuration setting? Or do I need to write an application (for example, one that resides in the system tray on Windows startup) that detects when the device is inserted?
I know that my Canon camera and my Nokia phone can start applications or AutoPlay when they are plugged in, but they are not HID devices.
You should be able to achieve this by monitoring for a WMI Win32_DeviceChangeEvent, or RegisterDeviceNotification.
Win32_DeviceChangeEvent: http://msdn.microsoft.com/en-us/library/aa394124(VS.85).aspx
RegisterDeviceNotification: http://msdn.microsoft.com/en-us/library/aa363431(VS.85).aspx

Resources