* USB timeout Canon Powsrshot S30
@ 2004-01-06 18:27 Robin Rosenberg
2004-01-13 17:51 ` Patrick Mansfield
0 siblings, 1 reply; 3+ messages in thread
From: Robin Rosenberg @ 2004-01-06 18:27 UTC (permalink / raw)
To: linux-kernel
I'm having problem with retrieving av big avi from my camera. I get a timeout. The avi is just above 10MB which
is about as large as it can be. Retrieving the thumbinail works fine. This is what comes in the log with USB_DEBUG set.
The camera uses PTP for picture transfer, not USB Mass Storage. I have not had any problems with this camera before,
but I have not had larger files that ~5MB either. The same problem occurs with any kernel (2.4 mandrake, 2.6 vanilla
or 2.6 mandrake).
Can I change the timeout somehow? There are lots of modules and I'm not sure which one is responsible for what.
Jan 6 12:28:28 h6n2fls33o811 kernel: drivers/usb/core/usb.c: registered new driver usbfs
Jan 6 12:28:28 h6n2fls33o811 kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
Jan 6 12:28:28 h6n2fls33o811 kernel: uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
Jan 6 12:28:28 h6n2fls33o811 kernel: hub 1-0:1.0: USB hub found
Jan 6 12:28:02 h6n2fls33o811 usb: Initierar USB-kontroller (usb-uhci): succeeded
Jan 6 12:28:03 h6n2fls33o811 usb: Monterar USB-filsystem succeeded
Jan 6 12:33:45 h6n2fls33o811 kernel: hub 1-0:1.0: new USB device on port 2, assigned address 2
Jan 6 12:33:57 h6n2fls33o811 kernel: usb 1-2: bulk timeout on ep3in
(The occasional swedish i18in is I believe close enough to the english original to be understood, but I don't like editing logs).
-- robin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB timeout Canon Powsrshot S30
2004-01-06 18:27 USB timeout Canon Powsrshot S30 Robin Rosenberg
@ 2004-01-13 17:51 ` Patrick Mansfield
2004-01-14 9:02 ` Robin Rosenberg
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Mansfield @ 2004-01-13 17:51 UTC (permalink / raw)
To: Robin Rosenberg; +Cc: linux-kernel
On Tue, Jan 06, 2004 at 07:27:00PM +0100, Robin Rosenberg wrote:
>
> I'm having problem with retrieving av big avi from my camera. I get a timeout. The avi is just above 10MB which
> is about as large as it can be. Retrieving the thumbinail works fine. This is what comes in the log with USB_DEBUG set.
>
> The camera uses PTP for picture transfer, not USB Mass Storage. I have not had any problems with this camera before,
> but I have not had larger files that ~5MB either. The same problem occurs with any kernel (2.4 mandrake, 2.6 vanilla
> or 2.6 mandrake).
>
> Can I change the timeout somehow? There are lots of modules and I'm not sure which one is responsible for what.
>
> Jan 6 12:28:28 h6n2fls33o811 kernel: drivers/usb/core/usb.c: registered new driver usbfs
> Jan 6 12:28:28 h6n2fls33o811 kernel: drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
> Jan 6 12:28:28 h6n2fls33o811 kernel: uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
> Jan 6 12:28:28 h6n2fls33o811 kernel: hub 1-0:1.0: USB hub found
> Jan 6 12:28:02 h6n2fls33o811 usb: Initierar USB-kontroller (usb-uhci): succeeded
> Jan 6 12:28:03 h6n2fls33o811 usb: Monterar USB-filsystem succeeded
> Jan 6 12:33:45 h6n2fls33o811 kernel: hub 1-0:1.0: new USB device on port 2, assigned address 2
> Jan 6 12:33:57 h6n2fls33o811 kernel: usb 1-2: bulk timeout on ep3in
>
> (The occasional swedish i18in is I believe close enough to the english original to be understood, but I don't like editing logs).
Are you using gphoto2? It passes down the timeout value to the kernel, try
changing the timeout there.
-- Patrick Mansfield
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB timeout Canon Powsrshot S30
2004-01-13 17:51 ` Patrick Mansfield
@ 2004-01-14 9:02 ` Robin Rosenberg
0 siblings, 0 replies; 3+ messages in thread
From: Robin Rosenberg @ 2004-01-14 9:02 UTC (permalink / raw)
To: Patrick Mansfield; +Cc: linux-kernel
tisdagen den 13 januari 2004 18.51 skrev Patrick Mansfield:
> Are you using gphoto2? It passes down the timeout value to the kernel, try
> changing the timeout there.
Couldn't find a timeout setting, but I tried the --debug option which gives this
4.327410 canon/usb.c(2): canon_usb_long_dialogue: ERROR: Packet of size 10714682 is too big (max reasonable size specified is 10485760)
4.327876 canon/usb.c(2): canon_usb_get_file: canon_usb_long_dialogue() returned error (-102).
4.328175 canon/library.c(2): get_file_func: getting image data failed, returned -102
4.328444 libgphoto2/gphoto2-filesys.c(2): Download of 'MVI_1601.AVI' from '/DCIM/116CANON' (type 1) failed. Reason: 'Corrupted data'
4.328757 gphoto2-camera(2): Operation failed!
*** Fel (-102: 'Corrupted data') ***
Which probably sends me off to another list.
The timeout message in the usb log is quite disinformative (if the message above is correct).
But you did help me get further. Thanks.
-- robin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-14 9:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06 18:27 USB timeout Canon Powsrshot S30 Robin Rosenberg
2004-01-13 17:51 ` Patrick Mansfield
2004-01-14 9:02 ` Robin Rosenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome