--- Alan Stern <[EMAIL PROTECTED]> wrote:

> 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.

Thank you for alerting me to that. I wasn't aware of it. I've now set
outgoing messages to have 72 characters per line, instead of the
default, which I discover is 55.
> 
> > 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?

Yes, it is.
> 
> > > 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.

I understand.
> 
> > 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.

Here is a summary of what I've tried to do in accordance with your
request.

I booted up with the camera plugged in.

Immediately after booting up, I looked at the dmesg output. It may be
worth reporting the following lines:

"usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: device not accepting address 2, error -71
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: device not accepting address 3, error -71
usb 3-2: new full speed USB device using uhci_hcd and address 4
usb 3-2: device descriptor read/64, error -71
usb 3-2: device descriptor read/64, error -71
usb 3-2: new full speed USB device using uhci_hcd and address 5
usb 3-2: device descriptor read/64, error -71
usb 3-2: device descriptor read/64, error -71"

After bootup, I asked gphoto2 to auto-detect the camera. It didn't. I
unplugged the camera and plugged it back in. gphoto2 then detected the
camera correctly, but would not download any images.

I checked dmesg after that and found one new line added to the end. It
said, "usb 3-2: new full speed USB device using uhci_hcd and address
6".

I edited /boot/grub/grub.conf. What I think were the relevant lines
said beforehand,

"title Fedora Core (2.6.11-1.35_FC3)
         root (hd1,0)
         kernel /vmlinuz-2.6.11-1.35_FC3 ro root=LABEL=/ rhgb quiet
acpi=off"

I added a space and then "usbcore.usbfs_snoop=1" after "acpi=off".

I rebooted with the camera still plugged in.

I ran dmesg. Again there were a series of lines about errors re usb
3-2, but they differed from the lines the first time. I then followed
the steps I'd followed before amending grub.conf: failed auto-detect,
unplug camera, plug back in, gphoto2 auto-detects now, but won't
download, I look at dmesg, nothing more than the line, "usb 3-2: new
full speed USB device using uhci_hcd and address 6", which I take to be
the result of having unplugged the camera and plugged it back in. There
was no new information as a result of my amendment of grub.conf.

I next amended grub.conf, sustituting a "y" for the "1" I'd earlier
tried. I rebooted and went through all of the steps above, with exactly
the same result as before. Only one line was added to dmesg, the one
that acknowledged the replugging of the camera.

It's plain that I'm not doing what needs to be done to get usbfs_snoop
working. Having tried setting the thing by using "1" and then "y", I've
got no additional information at all. 

Can it be that I haven't inserted the information at the appropriate
point in my grub.conf file? Apart from raising that, I don't know what
else to think.
> 
> > 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!

Thanks again for your patience.

Leslie
> 
> Alan Stern
> 
> 



                
____________________________________________________ 
Do you Yahoo!? 
The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full 
Actor Database. 
http://au.movies.yahoo.com


-------------------------------------------------------
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
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to