Le mercredi 22 juin 2005 16:07 +0200, Stelian Pop a crit :
Ok, there are two separate problems here:
1. The sysfs intf entry is not created, and this causes the oops later
when trying to remove the entry, etc.
I've tracked this problem back to this patch:
[PATCH] driver core: fix error handling in bus_add_device
Once the patch above is reverted, I have no more oops, my driver can
be loaded/unloaded just fine, and the /sys/devices/.../ is present.
However, I'm not really sure if the problem comes from the above
patch or from my driver which should manually call
usb_create_sysfs_intf_files() or something equivalent.
2. There is still a problem with the early loading of the driver. If
loaded at boot, it won't work. If I rmmod/insmod it later it does.
Stelian Pop < XXXX@XXXXX.COM >
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to XXXX@XXXXX.COM
More majordomo info at http://www.yqcomputer.com/
Please read the FAQ at http://www.yqcomputer.com/