-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
An here's the code to add the destructor to the us_data:
void onetouch_connect_input(struct us_data *ss)
{
struct usb_device *udev = ss->pusb_dev;
struct usb_onetouch *onetouch;
...
ss->extra_destructor = onetouch_release_input;
ss->extra = ss;
...
return;
}
Something I've done seems wrong here. Once I have connected it it registers it
as an input device, and detects it's a mass-storage drive. It however does not
automount it like usual, and the system hangs on an insmod or when the device is
unplugged.
Nick Sillik
[EMAIL PROTECTED]
Nick Sillik wrote:
> I changed it to use the unusual devs code. Now I get this error when
> insmodding.
>
> usb-storage: This device (0d49,7010,0200 S 06 P 50) has an unneeded SubClass
> entry in unusual_devs.h
> Please send a copy of this message to
> <[email protected]>
>
> hmmm?
>
> Nick Sillik
> [EMAIL PROTECTED]
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCP23o2hKwjhIv2aMRAqF3AJoCoV8nkTplW0aLsnXqg6y3FtaxsQCgoSMb
rALoDzHbeylAJkissm8md54=
=c6TL
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel