#define MODULE
#define __KERNEL__
#include
#include
#include
#define USB_SKEL_VENDOR_ID 0x045e
#define USB_SKEL_PRODUCT_ID 0x0039
MODULE_LICENSE("GPL");
static struct usb_device_id id_table [] = {
{ USB_D
I added in the code:
MODULE_DEVICE_TABLE(usb, id_table);
and:
name: "Usb test",
id_table: id_table,
what is "usb" , it's not define in my code and i don't have any
compilation error... ?
But same with this change my code doesn't detect new plugging :(
I don't understand where is the problem be
Hi, I'm new in kernel programming and i would like to do a simple code
witch can detect and plug/deplug usb device. So I read usb-skeleton.c
and there is some line I don't understand:
/* Define these values to match your devices */
#define USB_SKEL_VENDOR_ID 0xfff0
#defi