linux-device-driver
How to create a virtual device in linux?
My question is pretty much the same as - How to create a virtual file? except I want to do it in Linux instead. I imagine what I need to do is create a virtual device and point the application logging[详细]
2023-03-08 03:07 分类:问答A Linux USB driver for a generic 2-way comm device
What would be the best existing Linux device driver to use for a generic device that requires 2-way communication (custom protocol)? Preferably bulk transfer, as fairly large blocks will need to be tr[详细]
2023-03-08 01:41 分类:问答Access to internal Xilinx FPGA block RAM
I\'m writing a devi开发者_Go百科ce driver for Xilinx Virtex-6 X8 PCI Express Gen 2 Evaluation/Development Kit SX315T FPGA. My OS is openSUSE 11.3 64 bit.[详细]
2023-03-07 23:38 分类:问答Bus error in memory read/write operation
I hav written a kernel program for memory read/write operation. #include<linux/kernel.h> #include<linux/module.h>[详细]
2023-03-07 11:31 分类:问答Reading a Linux device with fstream
I\'m attempting to get feedback from some hardware that is used over USBTMC and SCPI. I can read and write to the device using /dev/usbtmc0 in a C++ [io]fstream, alternating by reading and writing to[详细]
2023-03-07 07:22 分类:问答Why dev.bus is NULL in my device?
i\'m trying to understand how linux device/driver model works and to do this i\'ve written a little module. This module is simple, retrieves a pointer to a struct net_device (let\'s call it netdev) by[详细]
2023-03-07 04:37 分类:问答Kconfig and LKM
I\'m working with LKM outside the kernel tree and I want to use some compiling options for my module like MYLKM_CONFIG_{something}. I know that this can be done using the C preprocessing (#define // #[详细]
2023-03-06 21:35 分类:问答Linux Kernel Module debugging
Is there any method to debug Linux kerne开发者_如何学Gol module? I am looking for a GUI based facility like the ones used for user processes?If you can run your kernel in a virtual machine, VMware Wor[详细]
2023-03-06 10:50 分类:问答In an X Video Driver, what is the PROBE_TRYHARD flag used for in a call to a drivers Probe function?
While writing an X video driver, I was recently looking at xf86str.h, a standard Xorg header file, for the PROBE_ types, and noticed there was a third I had never heard of, namely PROBE_TRYHARD. Under[详细]
2023-03-05 23:39 分类:问答On Linux, how to skip loading drivers at startup?
On Linux (Android), how to skip loading drivers at startup? I want to load them at a later time. Is there a blanket command to skip loading the drivers? Is there another one to start loading all of th[详细]
2023-03-05 13:12 分类:问答