usb

In Linux Driver, how to disable a specific USB Device [closed]

♀尐吖头ヾ 提交于 2019-12-13 17:08:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Assume a USB devices is powered by USB bus. Sometimes the firmware in the USB device encounter a problem and can't recovery by itself. I have to unplug and plug the USB device from the host. Is there a way that I can dis-power the USB device, and later re-enable the USB device in Linux driver or in shell command

Is there a way to communicate with USB devices from browser?

我们两清 提交于 2019-12-13 11:40:48
问题 Is there a way to communicate with USB devices within regular browser (FF, Safari, IE8, etc)? I assume it could be Javascript -> Java bridge or something else. Please advice P.S. Does it possible with minimal dependencies? If not, the whole point of browser-based software is useless (in my case) 回答1: If your CC and barcode scanners work as HID devices (basically, keyboard emulation), yes you can, and I have seen it done. If they're more complicated than that, it depends, the system is going

Mac OS analog to /dev/ttyUSBxx

 ̄綄美尐妖づ 提交于 2019-12-13 11:39:41
问题 I used to linux USB port naming, aka /dev/ttyUSBxx and currently trying to write some test software to read/wrtie raw data to USB ports on iMac, but i find it hard to detect to which port my usb hardware is connected. I have tried up to a using /dev/ttys"x" but no luck. In the system information i see the hardware attached at Location ID: 0xfa120000 / 6 maybe this can help somehow? 回答1: OS X doesn't create a /dev entry for raw access to USB devices, and there's no way to access them as TTY

Is there a way to install Java 7 onto a USB and use that for projects in eclipse? [closed]

≡放荡痞女 提交于 2019-12-13 11:29:18
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I have a computer and a Laptop. Because I code on both I put my eclipse workspace on a USB. But my computer has Java 7 and 6, but my laptop only has Java 6. I want to use Java 7 on my laptop too. Is there a way

Compiling a Java USB program with unusual errors/warnings [duplicate]

荒凉一梦 提交于 2019-12-13 08:20:02
问题 This question already has an answer here : javax.usb.UsbException: Properties file javax.usb.properties not found (1 answer) Closed 6 years ago . I was developing a USB reading Java program to get the name of the attached USB device. This is the code I wrote: import java.io.UnsupportedEncodingException; import java.util.List; import javax.usb.*; import javax.usb.UsbDevice; import javax.usb.UsbDisconnectedException; import javax.usb.UsbException; import javax.usb.UsbHostManager; import javax

Sony Alpha 77M2 Remote control over USB

我只是一个虾纸丫 提交于 2019-12-13 07:42:24
问题 I have three Sony Alpha 77M2 cameras, and I'm trying to take photos with all three simultaneously, and retrieve these photos. I can do the simultaneous shutter release using commercial remote triggers synced off a single transmitter, and I can control a single camera over USB using the Sony Remote Camera Control software - however this can't control more than one camera, and it won't let me run more than one instance on a single machine. My question, therefore, is whether there is an API

Need to find and open a USB serial device on linux

折月煮酒 提交于 2019-12-13 07:37:45
问题 I'm writing a small C application to run on my (Linux) QNAP NAS that will talk to an Arduino (I have no difficulty with any of the USB code for the arduino). (The arduino has a trusted application on it that accepts text commands via USB serial.) My wish was to find it using the USB vendor/product IDs (only half implemented at the moment). What I have so far (see below) works quite nicely in that it does find the device. // runs on NAS #include <stdio.h> #include <usb.h> main () { struct usb

Prevent duplicating application from USB memory

可紊 提交于 2019-12-13 07:05:15
问题 I wrote autorun application based on usb stick memory serial number. That means that the application will work only on specific registered serial number of the usb memory stick\device. I found out that advanced user could change the serial number of usb memory device and just copy my application from one usb stick memory device to another. I'm C++\C# developer, Is there any way i can prevent duplicating my application from one usb stick to another? 来源: https://stackoverflow.com/questions

SD card data sometimes NOT seen on PC when connected in USB mass storage mode (via phone) [duplicate]

◇◆丶佛笑我妖孽 提交于 2019-12-13 06:45:27
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: SDCard content exist but cant see them Phone running Linux Kernel(2.6.31) with SD card inserted. [ISSUE] When data is written to SD card (write syscall) the write returns successfully. However, when the card (via phone) is accessed as a mass storage device on PC, the data is not seen. Only after physically removing the card and reinserting it and then accessing it on PC as a mass storage device will show the

How to open / get available drivers from a USB device connected to Android?

僤鯓⒐⒋嵵緔 提交于 2019-12-13 06:27:32
问题 I made a similar post about how I can best send data to and receive data from a USB device connected to Android using the native API. Someone turned me toward a library for serial communication, so I'm trying to understand how to use that. I'm only using some of the example code so far just to see something working, but I'm stuck on trying to open the USB device. Here's a verbose print out of the USB device I'm using. It's a CDC device that should echo back what is sent to it. Here's that