On Thu, 24 Mar 2005, Matthew Dharm wrote: > Well, let's start with the obvious: Remove the line of code you mention, > and instead do: > snprintf(onetouch->name, 128, "Maxtor Test String"); > > If that doesn't fix the problem, then it's not the culprit and you need to > keep looking. > > If that is the problem, then my guess is more that this is a udev-related > issue than anything else, as the two strings you're sourcing data from are > coming from udev. > > I would be interested in seeing what your debug printouts show at detach > time, to see if you're really disconnecting the device properly. That plus > the USB Storage debugging should be telling.
There's another possible cause for these errors, although it's unlikely. Maybe your various object files have somehow gotten out of sync, so that your code thinks struct input_dev is different from what the input core thinks. Try doing a "make clean" and start over fresh. While you're at it, also turn on CONFIG_USB_DEBUG in the kernel configuration. Alan Stern ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel