Questions tagged [device-emulation]

Anything related to the software emulation of hardware devices.

Anything related to the software emulation of hardware devices.

92 questions
39
votes
2 answers

How to emulate USB devices?

The rest of my team will make for my application a simple non-standard USB microphone, but until they finish it I will have to emulate it, for integration testing purposes. Is there any risk in a physical loopback? Yes there is Will a physical…
Jader Dias
  • 81,082
  • 147
  • 410
  • 611
33
votes
6 answers

Android: Simulate WiFi in the emulator?

I would like to check from my app whether the device has WiFi connectivity, but in order to do that, I must first find a way to get "WiFi" in the emulator. Just going to Settings -> Wireless controls -> Wifi says Unable to start Wi-Fi, while logcat…
Felix
  • 84,032
  • 41
  • 145
  • 163
20
votes
2 answers

Simulating a TWAIN Device

Our company is using some software that ONLY accepts input from an "Imaging Device" i.e. a TWAIN device (e.g. scanner). The problem is that we are receiving our files digitally, so using an actual scanner would require us to print, scan, and shred…
biggusjimmus
  • 2,568
  • 3
  • 25
  • 31
17
votes
4 answers

Simulate a faulty block device with read errors?

I'm looking for an easier way to test my application against faulty block devices that generate i/o read errors when certain blocks are read. Trying to use a physical hard drive with known bad blocks is a pain and I would like to find a software…
SteveG
  • 317
  • 1
  • 2
  • 7
16
votes
5 answers

Simulators/emulators for mobile browser testing on ubuntu / linux

I'm building the mobile version of a website and I want a way to test it. The problem with a lot of free emulators is that they are for windows. I know I could run them in wine, just wondering if there are native GNU/Linux applications. PS: I want…
Gabriel Solomon
  • 26,777
  • 15
  • 55
  • 76
14
votes
3 answers

How to decode the Nintendo logo from gameboy?

I've tried to decode the following bitmap using the background pallete scheme described at http://imrannazar.com/GameBoy-Emulation-in-JavaScript:-Graphics CE ED 66 66 CC 0D 00 0B 03 73 00 83 00 0C 00 0D 00 08 11 1F 88 89 00 0E DC CC 6E E6 DD DD…
Julio Rodrigues
  • 3,221
  • 3
  • 19
  • 30
10
votes
1 answer

Entering HALT mode with master interrupt enabled but no Interrupt Enable (0xFF0F = 0)?

According to Gameboy Programming Manual, HALT mode is canceled by the following events, which have the starting addresses indicated. A LOW signal to the /RESET terminal Starting address: 0x0000 The interrupt-enable flag and its corresponding…
GabrielOshiro
  • 6,951
  • 4
  • 40
  • 53
8
votes
2 answers

How to catch a memory write and call function with address of write

I would like to catch memory writes to specific memory ranges and call a function with the address of the memory location being written to. Preferably, after the write to memory has already happened. I know this can be done by the operating system…
tgiphil
  • 1,226
  • 10
  • 21
7
votes
2 answers

.NET compact framework - detecting if under emulator?

Is there a way to detect whether we are running on emulator or real device from .NET CF code? Thanks Dominik
cubesoft
  • 3,294
  • 7
  • 44
  • 90
6
votes
1 answer

Mouse emulation in a different program

I'm working on my own software to operate the mouse on my computer using C# and the kinect SDK. I really want to try using it to play a game like Red Alert, or some sort of RTS, or even just for general navigation. The problem that I've found is…
Pete.Mertz
  • 1,232
  • 1
  • 16
  • 34
6
votes
2 answers

Mouse missing inside the mobile device emulator in Chrome dev tools, how to get it back?

I'm not sure if something just changed with dev tools with an update or if I accidentally pressed something on the settings but I no longer get the circle mouse indicator inside the mobile emulator. Is there a way to get it back? Steps to…
user967451
6
votes
2 answers

Does QEMU emulate TLB?

I have a very simple question, does QEMU emulate TLB? What happens when a guest linux system executes an "invlpg" instruction as it is for the invalidation of a TLB entry. I am aware that QEMU has softmmu link which is used for translating the guest…
6
votes
1 answer

Serial Port Emulator for Mac OSX

Are there any serial port emulator on Mac OSX? I'm working on a program controlling serial device (RS232) on Mac. I used to verify my program with com0com for serial device, but which is windows-only. I have read this thread, but still in vain.…
Qiao
  • 149
  • 2
  • 8
6
votes
2 answers

How to add new QEMU machine types without modifying the mainline source code?

Can a new machine type be added for qemu-system-arm -M without having to recompile qemu or write code? Are there docs to do this? I would like to be able to emulate raspberry pi and pandaboard using qemu. I know that meego's fork of…
Lord Loh.
  • 2,237
  • 4
  • 35
  • 62
5
votes
2 answers

How to emulate a SATA disk drive in QEMU

I want to emulate a SATA disk drive in QEMU to check a device driver I'm trying to develop. How can this be done? Would greatly appreciate your help.
Dragonight
  • 543
  • 5
  • 15
1
2 3 4 5 6 7