upload a programme to Arduino-uno gives error "could not find any usb device" - arduino-uno

I was trying to upload a piece of code for the arduino but when I am trying to upload it to the board it is throwing up a error message that it could not find any usb device. I have already tried by changing the ports and the programmer but nothing seems to work.

Related

What is the path for MIT App Inventor to access a USB drive files connected via OTG?

I have a thumb drive with videos on it and it is connected to my Android using a USB OTG cable. The File Manager app on my phone sees the USB storage device and I can click into it and see the folders and videos I need, but I cant figure out the correct path to load them from the USB device in app inventor.
I have tried this:
file:///storage/usbdisk/MyCamera/RecentClips/front.mp4
when the file is in a folder on the USB drive like this:
d:/MyCamera/RecentClips/front.mp4
but I get an error:
Error 107: unable to load
How do I access files on a USB drive in MIT App Inventor?
I don't know, if it is possible to access the files, but you could try the file extension and its AvailableStorageDirectories method to find out the path

Kony : access a host name from android device

i'm using kony mobile fabric i'm trying to access the hostname http://youxel--tech:8080/mfconsole
from my android device but it says ERR_CONNECTION_REFUSEDit randomly works and randomly stops working is there anyone has an idea about solving this issue

Webusb: Access Denied trying to open printer on Windows

I am trying to allow a POS web app to print directly to a StarMicronics (or any receipt printer, for that matter) using the Chrome webusb API.
I am using the example here almost exactly except I have modified the vendorId filter to the Vendor ID of StarMicronics. I have also tried it with a completely empty filter. It works great on the Mac computers I have tested it on, but the problem is on Windows.
When I click the print button, Chrome opens up the connection window, my device is listed and I can select it and click Connect. So navigator.usb.getDevices() is working great. When I refresh the window, after having connected the website to the device, Chrome finds the device again with no problem.
The problem comes when I try to do device.open(). I get this error in the console: DOMException: Access Denied. From this point, I can't do either device.selectConfiguration() or device.claimInterface() because I get the error that the device must first be opened, obviously.
I have enabled all the flags I know of in Chrome:
#enable-experimental-web-platform-features
#enable-webusb
#new-usb-backend
But none of this has helped. I have also tried using other printers, such as an HP deskjet and a Dymo Label Writer all with the same resulting error message that access is denied.
Again, it is working fine on Macs.
Any help on this would be greatly appreciated.
You get the "Access Denied" error on Windows because there is already a driver that has claimed the device. The Windows driver model requires that the "winusb.sys" driver be loaded for any device that will be accessed by a userspace application like Chrome.
See my answer to this earlier question about smartcard readers which encounter the same difficulty on Windows.
You'll need to first download the Star Micronics Windows Driver (available here for the SP700). You want the "USB Vendor Class Driver" (again, available here for the SP700)
Of course, there is no auto-installer (to my knowledge), so you'll have to open up the StarUSBVendorClassDriver_... zipped folder, and navigate to Manuals/usb-vendor-class-driver_im_en.pdf.
In reading this, you'll notice that you actually need to install the driver from the CMD line with the following cmd (note the <version_here>, don't COPY+PASTE):
pnputil -a StarUSBVendorClassDriver_<version_here>\USBVendorClassDriver\SMJUSBCOM.INF
Once you have the correct driver installed, download the Zadig utility from the download page here. The website is ad-ridden, but I had no problems.
Open Zadig, toggle the "Options" menu dropdown, and toggle "List All Devices".
You should then see your device in the drop down below. Select it as shown below.
Then, on the LHS dropdown, you will see a "non WinUSB" driver selected. On the RHS, ensure that WinUSB is selected, and click "Replace Driver".
This should enable WebUSB! Happy printing!

JMF unable to add a Capture Device

I am trying to capture video via JMStudio.
When I try to run jmfinit it can detect my webcam and ask to select a video device and then exits without any error. But the device is not listed in jmfregistry.
When I try to add a device manually it is giving me an error
Could not add item
I have tried to run both (jmfinit and jmfregistry) as administrator and even tried to change the security settings but nothing seems to work.
I am using Windows 7 on my Sony Vaio laptop.

How can I get windows to remember my device after installing it so I don't get the new device message upon every connection?

I have a piece of hardware that we created that connects to my PC via USB. We also wrote the drivers for it. EVERY time I plug this device in, the new device message comes up, even though the drivers are installed. I can cancel the dialog and it works fine, but it looks like crap and I'll be selling this product and want it to function like other USB products and only throw this dialog up once.
How do I make this happen?
Do you have all of the USB device descriptor fields populated in your device? Specifically, I am asking about the serial number field.
http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx

Resources