linux-device-driver
Writing USB Device Driver in Linux
ALSA or libusb api are two choices; both are new to me; its been years since I wrote a device driver and it was for Unix back in the 80\'s, but I do know I can figure out how, once I know what tools t[详细]
2023-03-05 12:43 分类:问答Can someone help me replace "lock_kernel" on a block device driver?
Thank you for looking at this post. I am trying to patch up a network block device driver. If you need to see the sources they are at http : / / code.ximeta.com.[详细]
2023-03-05 10:14 分类:问答Embedded System USB to Android Device
I am writing an Android 2.1 application that needs to get data from a USB device. The USB device is an embedded system i created. The embedded system has no OS. Also, the android device does not send[详细]
2023-03-04 04:19 分类:问答How to include C backtrace in a kernel module code?
So I am trying to find out what kernel processes are calling some functions in a block driver. I thought including backtrace() in the C library would make it easy. But I am having trouble to load the[详细]
2023-03-02 21:57 分类:问答Linux kernel network driver. How do I deal with transmit errors after hard_start_xmit() has returned success?
In a linux network driver, I must provide a function, hard_start_xmit(), that actually sends packets on the wire. I understand that if it can\'t send the packet, hard_start_xmit() should return an err[详细]
2023-03-02 04:33 分类:问答PCI device driver exporting information to /proc file system
I was asked this question in an interview. You are writing a PCI driver and you want to export the hardware-related information to the /proc filesystem. The interesting thing is that I searched the dr[详细]
2023-02-28 04:41 分类:问答Kernel Function Failing on interrupt but not on ioctl
Im writing a kernel driver interfacing over i2c and I do a read from the bus interface chip in multiple places. Some are done from the user space via an ioctl and others occur on an interrupt. The rea[详细]
2023-02-26 18:59 分类:问答Getting Error:Too few arguments where i clearly have the correct number
I\'m writing code to access the i2c driver(from kernel space) using the standard interface in \"/linux/i2c.h\"[详细]
2023-02-25 09:01 分类:问答File System in Linux [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari[详细]
2023-02-25 05:50 分类:问答Embedded device drivers development notes [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-25 02:38 分类:问答