On Mon, 12 Sep 2005, Leslie Katz wrote:
> In case it may be of any assistance in dealing with my
> problem, I take the liberty of including now the
> entire output from "cat /proc/bus/usb/devices":
Good, but in the future can you widen your email client's margin settings
to avoid folding of lines that are shorter than ~72 characters? It does
make things harder to read when there's lots of folding.
> T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 6
> Spd=12 MxCh= 0
> D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS= 8
> #Cfgs= 1
> P: Vendor=2770 ProdID=9120 Rev= 1.00
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
> Driver=(none)
> E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=83(I) Atr=03(Int.) MxPS= 1 Ivl=3ms
This is the DSC, right?
> > To get more information, set the "usbfs_snoop=y"
> > parameter for the usbcore
> > module. Then post the output from dmesg, showing
> > what happens when you
> > try to run gphoto2.
>
> I'm sure it's unnecessary for me to say so, but my
> knowledge of these matters is rather glancing.
>
> I ran the command "/sbin/lsmod" and got a list of my
> loaded modules. There isn't one called "usbcore". The
...
> I googled for "usbcore module", but got no assistance
> for present purposes.
This means that usbcore was compiled into your kernel instead of being
built as a separate module.
> Is it possible that some other loaded module has a
> parameter which, when set appropriately, would provide
> the equivalent output?
No.
> Finally, assuming I had usbcore, am I right to think I
> could set the parameter by doing this:
>
> echo "y" > /sys/module/usbcore/usbfs_snoop
It should be /sys/module/usbcore/parameters/usbfs_snoop (this may vary
depending on which version of the kernel you use). And maybe "1" would be
better than "y"; I'm not sure. But basically, yes.
At any rate, when a subsystem has been compiled into the kernel instead of
built as a module, you can set parameters for it on the boot command line.
For instance, you could interactively edit the grub boot parameters when
you start up, and add
usbcore.usbfs_snoop=1
to the end of the line. That would have the desired effect.
> I apologise for not being able to do more to help
> myself. I appreciate very much your taking the trouble
> to reply to my original post.
Nobody is expected to understand everything about Linux, except possibly
Linus himself!
Alan Stern
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users