On Fri, 23 Mar 2012, Johan Hovold wrote: > > Still, maybe it's not necessary any more. If you remove that "if" > > statement, does it fix the problem? > > > I'm afraid I don't have time to debug this further today, but I did a > quick test removing the if statement above. It didn't oops at unload, That's an improvement. > but instead I got the following warning when the module was reloaded: > > > [ 291.257618] drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0 > [ 291.257830] ------------[ cut here ]------------ > [ 291.257854] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0x95/0xd0() > [ 291.257883] Hardware name: Vostro 1520 > [ 291.257893] sysfs: cannot create duplicate filename '/dev/char/188:0' I'll try to look at this more closely over the weekend. Unless you get to it first... Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html