device-driver

Windows Driver Development: Deploy option missing in Visual Studio 2012

随声附和 提交于 2019-12-04 04:45:57
I was trying to compile and deploy the WFP sample obtained from MSDN called msnmntr but the same problem applies to all samples. This and all samples fail to deploy because there's one step in the documentation that are missing in Visual Studio 2012 Ultimate. It says: 1) Open the property pages for your driver package. Right-click the driver package project in Solution Explorer and select Properties. 2) In the property pages for the driver package, click Configuration Properties, click Driver Install, and then click Deployment. However there's no such option in the Visual Studio 2012 as you

How to register this tablet to Ubuntu udev list?

随声附和 提交于 2019-12-04 02:11:49
I've got a cheap android tablet and I need to use it to test apps on it. I am using Ubuntu so I first have to add the device to udev list. I connected the tablet, but adb does not see it $ adb devices List of devices attached $ The I tried using lsusb , but the device is not identified to the Ubuntu (USB debugging is checked! in tablet's properties) $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1

Paged pool memory or Nonpaged pool memory ?? (windows driver development)

孤者浪人 提交于 2019-12-03 16:12:14
I am newbie in windows driver development. I just want to know , a global variable in a driver will use paged pool memory or non paged pool memory ? Thanks and Regards Navaneeth Depends. The Non paged pool should be reserved for memory that must stay in RAM so if you are doing something critical that would affected by a memory page from disk operation then use non paged. See here for more info. Looking at this (though it discusses c++ as opposed to C) it would seem that by default the globals can be located in either by #pragma. Also on p22 of this we see how to do this. Finally this discuss

Android USB host mode “soft-mode” drivers for standard class-compliant USB devices

岁酱吖の 提交于 2019-12-03 14:25:53
问题 Now that the Android APIs support working directly with USB devices (since 3.1), I am curious if there has been any work to create "soft-mode" drivers for some of the more popular class-compliant devices (such as audio or HID). In other words, are there any open source projects that wrap up more useful communication with specific classes of devices into a Java class that can be added to an Android project? For my purposes, I am specifically interested in USB audio, but it seems that a

where is device driver code executed? Kernel space or User space?

走远了吗. 提交于 2019-12-03 12:10:24
问题 Part1: To the linux/unix experts out there, Could you please help me understanding about device drivers. As i understood, a driver is a piece of code that directly interacts with hardware and exposes some apis to access the device. My question is where does this piece of code runs, User space or Kernel space? I know that code that is executed in kernel space has some extra privileges like accessing any memory location(pls correct if i'm wrong). If we install a third party driver and if it

Programming a USB transfer cable / talking to a USB device driver

扶醉桌前 提交于 2019-12-03 09:59:38
问题 How do I programmatically access a USB transfer cable (such as Belkin's Easy Transfer Cable) from Windows? I'm familiar with libusb-win32, but from what I can tell, using that with newer devices and with Windows Vista seems iffy. I know that Windows Easy Transfer can do this. How do I write code that does the same thing as Windows Easy Transfer? If there is no canned documentation on how to do this, I'm willing to do some digging, but I don't know where to start. How do I watch what Windows

micromax a111 is not detected by adb

瘦欲@ 提交于 2019-12-03 08:31:31
Recently i've purchased micromax a111 android device. I am android developer. So tried this device for debugging option. But the adb is not able to detect the device. I have change the settings also, but not working out. If any one have the solution please help me regarding this. Mohan micromax doesn't have official PC-Suite, so you need to download a third party PC-Suite like Moborobo or Mobogenie, after installation you can restart the system, now your mobile will be detected. Add the vendor id to adb_usb.ini http://bootloader.wikidot.com/linux-android:adb-trace Find the device vendor id, it

How to Install Driver with a cat file?

狂风中的少年 提交于 2019-12-03 05:43:46
问题 I have kernel driver. When installing on 32 bit systems and Windows XP and below, I had no problem and used SetupCopyOEMInf, but 64 bit drivers are required to be signed. I have signed it and I need to have a cat file with the driver copied somewhere on the computer, and this method of install doesn't work. How should I install it? EDIT: Clarified the question. 回答1: In Windows Vista and Windows 7 there a new utility for handling drivers setup call PnPUtil. It handles exactly this kind of work

Android USB host mode “soft-mode” drivers for standard class-compliant USB devices

戏子无情 提交于 2019-12-03 04:14:12
Now that the Android APIs support working directly with USB devices (since 3.1), I am curious if there has been any work to create "soft-mode" drivers for some of the more popular class-compliant devices (such as audio or HID). In other words, are there any open source projects that wrap up more useful communication with specific classes of devices into a Java class that can be added to an Android project? For my purposes, I am specifically interested in USB audio, but it seems that a community-built set of classes derived from Linux kernel module sources could be beneficial to many projects.

Raw PDO to send IOCTL to upper filter driver (kbfiltr/moufiltr) to enable/disable device

ε祈祈猫儿з 提交于 2019-12-03 03:15:45
问题 I am quite new to driver development and trying to write a simple filter driver that will enable or disable a keyboard or mouse device. If I can make it work, I want to use it to disable the touchpad on my laptop when a mouse is plugged in. I realize there is probably software out there that does this already, but I am really interested in device drivers and want to learn how to do this myself. I am using the kbfiltr and moufiltr examples that ship with the WDK, installed as upper filter