I want to use xpcom to connect Mozilla Firefox to a serial port. The final result should be an xpi addon that can be installed on various environments (cross-platform Windows/Linux with Firefox 3.*). Where should I start?
I have found an example here: http://forums.mozillazine.org/viewtopic.php?f=19&t=1083965&start=0 , but I think that code will only work on Linux... Can I do something similar in Windows?
XPCOM is not for serial port communication. From what I can see, it is any interface to MS COM.
Please research your questions a little.
Related
I'm a bit new in UEFI driver development.
I have an UEFI application-bootloader that checks all USB tokens that are currently present in system. It works ok on hardware and Vmware VM, but I would like to test in NT32 emulator from EDK2 to be able to use source-level debugging.
Vmware has required feature for forwarding any removable device from host to VM. I try to do the same for NT32.
Have anyone worked on this issue before? Is it possible to forward USB token? Or maybe this token can be emulated somehow?
Continuous searching haven't gave me much information.
I suspect that it can be done with some tricky settings in package file Nt32Pkg/Nt32Pkg.dsc.
Possibly gEfiNt32PkgTokenSpaceGuid.PcdWinNtPhysicalDisk or gEfiNt32PkgTokenSpaceGuid.PcdWinNtVirtualDisk parameters can be useful, but I'm not sure.
Thanks everyone in advance for your efforts.
When connecting HoloLens via USB to my computer, the device portal is still not available after setting it up as explained in the install tools page.
All I get in the browser 127.0.0.1:10080 is the generic "unable to connect" page.
Is there any way to know what is failing? What could I check? Any tip will be appreciated!
EDIT: browsers used: Edge, Firefox and Chrome.
EDIT2: Hololens development mode is on.
Connecting over USB requires the PC be running IPoverUSB, which is installed with the Windows 10 SDK. You can verify that it's running by checking the Services tab of Task Manager for IpOverUsbSvc.
FYI, another resolution to this issue may be the USB port you are using.
I initially was using a USB 3 port (which I've used to flash my HoloLens many times) and had the same issues.
On a whim, I switched to an older USB2 port and it's working perfectly now. SO try different USB ports if you are having this issue.
i am having a problem with this Scanner (Kodak i1120). I have a thinclient with an active rdp session. The thinclient can Scan without any problem but the rdp session can not. I have tried multiple Software and multiple protocols (TWAIN and ISIS) but can not make it work. Have anyone does something similar in the past?
I would appreciate all the help i can get....
Thanks!
If you're using RDP, look into Microsoft RemoteFX USB Redirection (you need an RDP 7.1 client for it to work).
This will allow your RDP session to access the USB device connected to your thin client. It does require installing the scanner drivers on the server for it to work properly.
You can also look into other networking options, like Silex...
I am trying to create a system for controlling my home appliances using arduino over internet.
Arduino Uno will act as a web server and recieve the commands from remote browser.
In doing to I am not sure as how to protect arduino from unauthorized requests from web.
Is there a way to do this, or is there any library available for this. Please suggest.
What i suggest you is to do what a lot of people does, so: use a raspberry (or a beaglebone or another linux embedded board) for the web interface and the arduino for the sensors/actuators.
This way you can install a real webserver, with a lot more functionalities than the bare arduino. You can then interface the webpages to the serial port to send the arduino the commands
So, I need to read data coming in from the USB port. Normally I do this with Realterm when I am on a Windows computer. But now I am on a linux computer and would like to do the same thing. What is a good replacement?
Thanks
Use libusb - see http://www.libusb.org/
It comes with lots of functions/source/samples for USB and allows reading/writing etc.
It is licensed under LGPL 2.1
realterm is a windows terminal emulator. Here is the SuperUser thread that got closed on the same subject.