>From: Davide Cavallari
>On Fri, Jul 16, 2004 at 04:40:25PM +0300, Juhana Sadeharju wrote:
>>
>> #if 0
>> UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
>> "EagleTec",
>> "External Hard Disk",
>> US_SC_SCSI, US_PR_BULK, NULL,
>> US_FL_FIX_INQUIRY ),
>> #endif
>
>I tried this hack. `make modules` compiled fine without any error. I
>tried to plug/unplug many many times, but unfortunately it didn't work.
>Nothing happens, usb-storage.o is not loaded by hotplug and even if I
>manually load it, the device is not recognised:
Did you replace the old usb-storage.o with the new one in /lib/modules/
dir tree? Did you boot the computer? Don't use insmod. Don't keep
the old version in /lib/modules/ tree. Save the old version to
elsewhere.
What is the "hotplug"? I have kernel 2.4.18 and have never heard of
"hotplug". You could test without "hotplug" with the things which
are in kernel 2.4.18 and in redhat 7.3. What are those things?
See the second approach below: what thing makes the floppy disk
light blink there?
Have you tested the mobile drive with MS Windows 2000 or XP?
I have two different approaches one could try after recompiling the
"usb-storage.o". Follow the steps carefully.
First approach:
Turn computer off. Plug the mobile drive in. Turn computer on.
If mobile drive now goes "wild" and starts moving the disk heads
back and forth, don't worry. Continue the boot process.
Check "/etc/sysconfig/hwconf" for anything which looks like
it could be the mobile drive.
For example, hwconf says this about Jetflash (I don't have Lacie now;
I borrowed one some months ago):
device: sda
driver: ignore
desc: "Jetflash 128MB"
Then in fstab I have the device "/dev/sda1" (filesystem is vfat)
Second approach:
Unplug the mobile drive. Turn computer off. Turn computer on.
After Linux is up, watch the floppy disk light (it is off).
Plug the mobile drive in. Wait and watch the floppy disk light.
When the light goes on for a moment, Linux has recognized that
you inserted an usb device. If the light stays off, then unplug,
plug and wait for the light again (as many times as necessary).
After light has blinked, "hwconf" does say nothing about the device.
You should check file "/proc/scsi/usb-storage-0/1" (or similar)
instead:
# cat /proc/scsi/usb-storage-0/1
Host scsi1: usb-storage
Vendor: USB
Product: Solid state disk
Protocol: Transparent SCSI
Transport: Bulk
Attached: Yes
Note: when the floppy disk light blinks, it may be necessary to
mount the disk as fast as possible. The usb system could go off
if you wait for too long. I have not seen this problem for long
time; perhaps because the floppy light rule is better and works
everytime.
Maybe it would be better to return the devices if they don't work
immediately in Linux. That would give clear signal to manufacturers
that having no proper Linux support is a failure in their product.
(Or that there really is a problem in the device. :-)
Besides trying MS Windows 2000/XP, you could try some older Linux
(like RedHat 7.3) which I have --- just in case the problem indeed
is in newer Linux. With RH7.3 I never had to reconfigure the kernel;
the usb storage support was already on.
Try also some other USB port. Like those plain USB ports in back of
the computer if you have so far tested on HUB box.
I will ask if somebody here has the same mobile drive which I could
test in my computer. Lacie is a good device and only option if
money does not grow on trees. It would be sad if they would not work
in Linux.
Regards,
Juhana
--
http://music.columbia.edu/mailman/listinfo/linux-graphics-dev
for developers of open source graphics software
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users