linux-device-driver
Linux USB driver probe() problem
I\'m currently work on kernel-mode USB driver for Seowon SWU-3220A WiMAX USB modem. It is a complex device (after plugging it appear in system as USB CDROM, and driver needs to switch it to modem mode[详细]
2023-04-08 18:10 分类:问答Queuing multiple task_struct structures?
I would like to queue up multiple struct task_structs in my block device driver. Here, each task_struct would correspond to a userlevel thread which uses the ioctl() system call to send a userspace bu[详细]
2023-04-08 04:33 分类:问答The same Makefile succeeded in Ubuntu 10.04 LTS but failed in Angstrom on Beagle Board
I tried to compile chardev.c from this tutorial using the following Makefile: obj-m:= chardev.o KDIR:= /lib/modules/$(shell uname -r)/build[详细]
2023-04-06 11:25 分类:问答Android apps, communicating with a device via USB port
I am new to Android Platform and I Like to know whether it is possile for an Android device(开发者_运维技巧App) to communicate withLinux system via USB port for 2 way communication . If yes how it can[详细]
2023-04-05 04:07 分类:问答How can I pause for 100+ milliseconds in a linux driver module?
I\'m writing a kernel driver for a device that produces regular amounts of data for reading periodically.The user space program is ideally suited to making this a blocking d开发者_C百科river.[详细]
2023-04-03 17:11 分类:问答Android - Read "device attribute" fails with error "invalid length"
I am working on the TI OMAP platform with Android as the operating system. For one UseCase, we have to toggle one of the LED\'s in the device. The LED has number of \"Device Attributes\" and from the[详细]
2023-04-02 05:40 分类:问答How to un-insert pages inserted into a vma with vm_insert_page?
I use vm_insert_page to insert a page to a userspace VMA, now I want to remove that page from that VMA. But I don\'t want the whole VMA g开发者_运维问答ot unmapped, just that exact page range only. Wh[详细]
2023-04-02 04:21 分类:问答How can I monitor the NIC status(up/down) in a C program without polling the kernel?
Now I need to get the status of the NIC(up or down) in the real time. That means I have to catch the kernel interrupt when the NIC up or down in a blocked loop.[详细]
2023-03-31 15:22 分类:问答How to Write a timer in mac80211
How can I write a timer in mac80211 to periodic send a Frame? And how can I call the other function by tra开发者_StackOverflow中文版nsmit the corresponding parameters ?[详细]
2023-03-30 23:04 分类:问答How to learn the structure of Linux wireless drivers (mac80211)?
There is so many structures in the Linux wireless driver mac80211. Things like struct net_device, struct ieee80211_hw, struct ieee80211_vif and struct ieee80211_local and so on. So many structures tha[详细]
2023-03-30 14:58 分类:问答