At 12:53 PM 10/9/2003, Greg KH wrote:
On Wed, Oct 08, 2003 at 04:49:40PM -0400, G. Del Merritt wrote:
> I have a device that I want to handle specially.  While it advertises
> usb-storage capabilities (and PTP), I do NOT want the kernel (or the
> hotplug system) to try to mount it as a filesystem.  I just want "raw" USB
> access enabled.

What do you mean by this?  How are you going to talk to the device,
through usbfs/libusb?

Yes, I will talk to the USB device that is plugged in to the USB port on the system via libusb. I haven't dug into libusb's internals; does it require usbfs?


Can't you just not build the usb-storage kernel driver?  That would
prevent it from ever binding to the device if it is not present :)

I will see if renaming that module helps, but it doesn't seem to loaded anyway, according to lsmod.


> The sym53c8xx module is indeed loaded according to lsmod; my guess is that
> the kernel is allowing it to probe.

This is not a usb driver, but a pci driver, right?  Look at your
modules.conf file, or your distro's startup scripts for where it loads
this driver.  It has nothing to do with USB though.

I confess I am confused. I only see this driver attempt to probe (I presume) the USB device that I just plugged in when I plug it in.


Since writing this, I moved to a more recent kernel - 2.4.20-20.9 (uniprocessor, though I was running SMP on the prior kernel) - which doesn't report the error(s) from the SCSI side, although it does still show this message after my hotplug agent runs:

Oct 9 16:19:01 horseshoe kernel: sym53c875-0-<0,*>: FAST-20 WIDE SCSI 40.0 MB/s (50.0 ns, offset 15)

I'm also in the process of flipping on USB debug messages with "make xconfig", so perhaps I'll have more to work with soon. That the SCSI module would load each time the USB device's cable was plugged in still suggests to me that USB is somehow related.

-Del



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to