On Mon, 8 Nov 2004, L Rotger wrote: > Hi, > > I have a USB external case that works ok under a stock 2.4.27 with a Ali > PCI card (EHCI+OHCI). However I cannot make it "forget" the > characteristics of the hard disk. If I attach another hard disk > (different capacity, therefore different partition table) and reconnect > the USB case, it recognizes only the case and insists the HD inside is > the first one. How can I make it forget it (ie. delete > /proc/scsi/usb-storage-0, but I cannot delete it). What do I do? the > only procedure that works so far is rebooting the computer?
As Stephen Gowdy mentioned, you can try removing the usb-storage driver. On Mon, 8 Nov 2004, jong jong wrote: > Well, currently I configured it as part of kernel > instead of module..... :-( > > But anyway, if on an embedded device, there are only > limited device nodes, how to tell the kernel to > release the device node when a usb storage device is > disconnected? Obviously in kernel, usb driver knows > when a specific device is unplugged and scsi driver > knows a sd unit is detached, so is there any way we > can release the specific device node and reuse it next > time? Read section 4.3.1 of the SCSI-Programming-HOWTO. It explains the "remove-single-device" command. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
