device-driver

PCI driver 'Oops: Kernel access of bad area' error

若如初见. 提交于 2020-01-24 19:30:38
问题 I wanted to write a simple PCI express driver for Xilinx FPGA. But I am not able to request memory region for PCI. Question is: How to claim that I/O memory area for custom driver. I want to write 3. byte of that area using driver. Below are the details. What am I missing ? Thanks 1-) I am getting this error: [ 4.345350] Unable to handle kernel paging request for data at address 0x00000005 [ 4.353978] Faulting instruction address: 0x80000000002c9370 [ 4.358337] Oops: Kernel access of bad area

Need to write driver for USB peripheral device?

╄→гoц情女王★ 提交于 2020-01-15 09:12:13
问题 I'm working on designing a USB peripheral which will occasionally connect to a Windows PC, and transfer a few KB of data in each direction. There will be a custom PC application that controls the data transfers, using a proprietary protocol (i.e. for the USB payloads). I see at the following link that Microsoft describes how to write a driver for a USB device. But do I need one? Developing Windows client drivers for USB devices The PC application is the only application that we intend to know

Need to write driver for USB peripheral device?

帅比萌擦擦* 提交于 2020-01-15 09:12:07
问题 I'm working on designing a USB peripheral which will occasionally connect to a Windows PC, and transfer a few KB of data in each direction. There will be a custom PC application that controls the data transfers, using a proprietary protocol (i.e. for the USB payloads). I see at the following link that Microsoft describes how to write a driver for a USB device. But do I need one? Developing Windows client drivers for USB devices The PC application is the only application that we intend to know

Why won't eclipse detect my android device?

不羁岁月 提交于 2020-01-14 17:50:11
问题 I am using the Alcatel One Touch 918N as my device in running my code from eclipse. The device seems to appear on my computer since it is able to read the files stored in it but the problem is it does not appear on the Devices tab in eclipse. I've tried following the instructions from here and here, and downloaded the USB Driver from this site but when i tried installing the driver, it still says that: Windows was unable to install your Alcatel Android phone and Windows could not find driver

Documentation about device driver programming on kernel 3.x

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-13 20:32:29
问题 I have some homework which I should program a virtual device driver on kernel 3.x Can you suggest some documentation about it? I'm using fedora btw. I know there are lots of tutorials, but there is some difference between 2.x and 3.x. 回答1: There is no major difference between the last 2.6.x series kernel and the 3.x series. It's an arbitrary distinction. The reference work for Linux device drivers is the aptly named Linux Device Drivers. It's somewhat out of date (being based on 2.6.10), but

Windows Driver Development: Deploy option missing in Visual Studio 2012

倾然丶 夕夏残阳落幕 提交于 2020-01-12 18:49:09
问题 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

Windows Driver Development: Deploy option missing in Visual Studio 2012

笑着哭i 提交于 2020-01-12 18:47:42
问题 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

How to intercept and translate USB events

老子叫甜甜 提交于 2020-01-04 13:09:21
问题 I would like to use the Philips LFH-2330 to view images (with Windows Image Viewer or another viewer such as IrfanView, etc.) The LFH-2330 is a foot controller with four pedals (see here for example) used to control audio playback software for transcription. It comes with its own driver and software. The simplest setup for me would be a piece of software that would catch pedal events from the controller and trigger keyboard events instead (right pedal => right arrow, left pedal => left arrow)

How to intercept and translate USB events

拟墨画扇 提交于 2020-01-04 13:07:40
问题 I would like to use the Philips LFH-2330 to view images (with Windows Image Viewer or another viewer such as IrfanView, etc.) The LFH-2330 is a foot controller with four pedals (see here for example) used to control audio playback software for transcription. It comes with its own driver and software. The simplest setup for me would be a piece of software that would catch pedal events from the controller and trigger keyboard events instead (right pedal => right arrow, left pedal => left arrow)

Rescan device tree for hardware changes during Driver installation

♀尐吖头ヾ 提交于 2020-01-02 17:35:07
问题 I'm using InstallShield to install my application, a driver and a service. I need to install the plug-N-play driver only if it's hardware ID was found in the device manager. The driver installation is done using DPInst.exe. My problem, is that a user can sometimes manually uninstall the driver (After it was installed or even uninstall the "Unknown driver" under "Other devices" ) and then I can't find the hardware ID in the device tree, although the device is plugged. If I rescan the device