usb

libv4l2: error turning on stream: No space left on device

可紊 提交于 2019-12-09 15:52:06
问题 I try to get stereo pair for opencv. I connect Logitech B910 and Logitech C910 webcams to usb. But have this error. I played with quirks parametrs and set outfmt=mjpeg in mplayer, but have this error again. Where can I find bug in uvcvideo or usb drivers? What monitoring or debuging tools I should use? 回答1: This is a badly worded error message ; the cause is not having enough USB bandwidth on the controller. As you have guessed, if you could just get your cameras to use MJEPG your problem

Android development in IntelliJ IDEA causes computer to freeze

我们两清 提交于 2019-12-09 15:23:18
问题 I am using IntelliJ IDEA (10.5) for Android development with latest Google USB Driver (version 4) for debugging. After some time of development in IntelliJ IDEA when Android device (Nexus One) is connected via USB, the computer (with Windows 7, 32 bit) freezes. No blue screen just freeze. Everything is visible but screen is not updating. I have to restart the computer. Is anyone experiencing similar issues? Any solutions? 回答1: Sorry, not sure how to comment on your original post (the field is

Access dev machine localhost via usb

十年热恋 提交于 2019-12-09 14:40:46
问题 My activity needs to communicate with a java server located on my dev machine. Actually, using the emulator, I can access the server socket via the special 10.0.2.2 address. Now I'd like to test my app on my phone connected via usb, but it seems like I can't use 10.0.2.2 to access my dev machine localhost anymore. Naturally using a wifi router and a proper lan addressing does the trick, but I need to use usb connection instead. Any hint ? edit: Just added different scenarios to let everyone

Unable to get the elements in uiautomator tool when the app is running on the device

你。 提交于 2019-12-09 13:21:08
问题 I am having a setup where web Application in my PC is accessing the app info running on the connected device.(through USB debugging). and continuously sends the app data to the Web Application(PC). I am automating this using selenium(web GUI) and appium(device) for my automation testing.. Issue: I am unable to connect to the device from uiautomator.bat tool once the app is getting launched in the device and communicating with the Web app(In my PC). Getting the below error. Is there a

How to interface with PKCS#11 compliant HSM device in PHP

空扰寡人 提交于 2019-12-09 12:04:37
问题 How can I use key material from a PKCS#11 compliant HSM (for example a SafeNet iKey 2032 [USB] or a Aladdin eToken PRO [USB]) in PHP application running on a Linux server? 回答1: I have not seen, and a cursory search has not found, a PCKS#11 glue library for PHP. Probably not the answer you're looking for. (: If you have better search fu than I, do update this thread. I think your best bet would be to write a C program that calls PKCS#11 and accesses the HSM, and call that from your PHP app as

Accessing an iOS device over USB on mac

巧了我就是萌 提交于 2019-12-09 11:56:26
问题 I have a mobile app that needs to transfer files to a database. However, one of the specifications for this is that, if the user does not have a wireless network set up it should be able to be plugged into a mac and transfer a file to the database. The issue I am running into, however, is how to get said files off the iPad and onto the computer via USB. I have spent the last week looking into various solutions, mainly IOKit and applescript, but both of these seem to be unable to locate the

Android to PC USB Read/Write

点点圈 提交于 2019-12-09 06:38:23
问题 I have a program on PC taking in string input from USB ( old program) I have a Android (4.X) tablet which needs to provide string input on USB to the program running on PC. When I used the sample code on Android, following code gives empty hashmap. The PC( tried on 32 bit XP and 64 bit Windows 7) has Android driver. mManager = (UsbManager)getSystemService(Context.USB_SERVICE); HashMap<String, UsbDevice> devices = mManager.getDeviceList(); Any real working code example talking to PC over USB

Communicating with an USB device over “USB Virtual Serial Port” using C#?

你说的曾经没有我的故事 提交于 2019-12-09 04:57:02
问题 I recently plugged in an USB embedded device(mbed lpc1768) using a normal USB cable to a Windows 7 desktop. According to the docs that came with the program running on the device it communicates with the host(desktop) over a USB Virtual Serial Port. Where do I start if I need to read/write data using c#? Could I use the SerialPort .NET class or do I need to use the LibUsbDotNet library or perhaps something else? 回答1: It is excellent news when I find out that a USB device communicates in VCP

Reading the serial number of USB storage device in Vb

萝らか妹 提交于 2019-12-09 03:51:13
问题 Is it possible to read the serial number of a USB drive using VB. 回答1: this will give you the info on your drives in .net, including usb devices Just import these Imports Scripting Imports System.IO Private Class USBsn Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim driveNames As New List(Of String) For Each drive As DriveInfo In My.Computer.FileSystem.Drives Try Dim fso As Scripting.FileSystemObject Dim oDrive As Drive fso =

Any way to use HTML as an interface to a C/C++ program?

淺唱寂寞╮ 提交于 2019-12-09 02:31:54
问题 I'm developing a product that is interfaced over USB. I want to write a control app for it, but I cannot program a GUI for poo, so I came up with the idea of using a web page (local to the app's install directory) as the interface to the program. So, the line of communication would be: User --> HTML page (not hosted - it's local) --> C++ program --> USB port I'd like to do it this way because it's portable, at least UI wise, and I can write HTML fluently. My question is this: would it be