Error:4- Unable to start the virtual device - emulation

When I run virtual device in genymotion, I get this error:
How I can handle this error?

that say your video card must be updated and with this current driver dont work, and you must be installed OpenGL and should be supported with on your video card

Related

Porting r5u870 driver but v4l2-compliance returns "VIDIO_QUERYCAP failed inappropriate ioctl for device"

I'm trying to reuse an old laptop webcam that uses an USB interface to communicate, is a Ricoh camera with chipset r5u870.
I found a repository on github that I forked since it doesn't work with the latest kernel and I made it compilable.
Once installed the driver it recognizes the webcam but when I use an application to access the video stream I receive the error VIDIO_QUERYCAP failed inappropriate ioctl for device; this seems strange to me since I see the ioctl related callbacks connected, so probably I'm missing something of the inner working of a v4l2 driver.
Is there any resource for understanding the failing point of a v4l2 driver? or any debugging hints?

Linux Virtual USB device driver

My goal is to create a virtual USB char device (not block device) for Linux 2.6.32 and above (I use debian squeeze) that would be recognize by the system.
I would like that this device be listed with lsusb as a normal USB device, and that every application could use libusb in order to open the device, and send control message, and make bulk write/read. But behind this virtual device, it's behavior would be set by my application. I want to set it's product ID, it's vendor ID, answer to USB status, and bulk read.
I've read some posts about how to use USB/IP in order to create a virtual USB device, and that's exactly what I want to do
Installation and emulation of virtual USB Device
http://breaking-the-system.blogspot.fr/2014/08/emulating-usb-devices-in-python-with-no.html
But unfortunately, when I tried with 2.6.32 kernel and above, I didn't succeed making it work. So I looked at how to create a kernel module that would create the virtual device :
http://pete.akeo.ie/2011/08/writing-linux-device-driver-for-kernels.html
This one looks great also, but the sample provided doest not indicate how to make it an USB device.
I've seen some post talking about it with windows but none that could help me with Linux.
I would like to avoid buying some USB programmable cards when it can be done with software.
Have anyone any leads on how to make the first methods works under newer kernel, or convert the sample code of the second method for making an USB device ?
I have fixed the code of http://breaking-the-system.blogspot.fr/2014/08/emulating-usb-devices-in-python-with-no.html (first method using USB/IP) to work with linux 4.3.
In the original code are missing USB requests like set configuration and get status. Without the implementation of all USB requests used for the OS driver the code will not work.
The fixed code can be downloaded in https://github.com/lcgamboa/USB-Emulation .
I guess raw-gadget kernel module is the thing that you want?
you can check the dummy_hcd and tests directory inside the repo, it will guide you how to create a virtual USB device

QNX Neutrino sound card not working

I have installed QNX 6.4.0 neutrino on an unused x86 box. It's all working fine, I can run my test code on there via the network connection (qconn).
However the sound does not work. When I click the audio settings I get an error, similarly if I run my code it can't find an audio card.
I had an on-board sound card (built-in). Running io-audio, I was not able to detect it. So I went a purchased a new off the shelf PCI sound card (CMI-8738), this also failed to be recognized by QNX.
When I run "pci -vvv | less" I am able to see both audio devices are connected (and I can see in the BIOS as well).
I read somewhere that I need to get some driver called deva-ctrl-cmpci.so, but I can't find that anywhere.
What can I do?

pre notifcation of an inserted usb device, before enumeration starts in linux?

Please help me, How can i get the pre notifcation of an inserted usb device, before enumeration starts in linux ?
You can use libudev to get notifications of added/removed devices.
Here's a tutorial for libudev. You can also use the code here to get started.
There's also libusb available for usb events/manipulation.

cuda on integrated gpu + external device

I have a dell desktop pc which has an integrated gpu.
If I add one more gpu over PCIe will I be able to run cuda? Probably yes.
The integrated gpu has its own driver (i915) and I am not sure what will happen with nvidia driver (for the second gpu) alongside.
Is there a special procedure, something to take into account?
edit: forgot to mention that OS is Ubuntu 11.10. sorry
Thanks in advance
UPDATE:
finally there is a problem. I just put the video card gtx 460. I want to have the display on integrated card so as to use the "good" card dedicated to computing. but if i dont plug the monitor cable to gtx I get the following message
System halted! Attention: Unsupported Video Configuration Detected
Action is Required
This computer has an add-in graphics card, but the monitor is plugged
into the integrated video connector. To attach the monitor cable to
the add-in graphics card:
Shut down the computer
Plug the monitor cable into the add-in graphics card connector. This may require a video adapter or video adapter cable. (provided
with the system)
Turn on the computer.
This message should not appear after completing these steps. For more
information or help, please refer to the system documentation.
Please help.
CUDA only supports NVidia GPUs so it won't even see the embedded intel one.
The CUDA startup functions also return the type and capabilities of all the CUDA devices found so you can pick which device to run a task on.
ps. You might want to manually set the app to 'use enhanced/performance graphics' in windows explorer->properties - we have had issues in laptops with Intel+Nvidia optima systems where the app doesn't see the Nvidia GPU by default for some reason

Resources