Re: USB Flash Drive disconnected just before scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Thank you very much, setting usb-storage.delay_use=2 fixed the problem ! (it is 
still self-disconnecting with delay_use=3).

Is there any risk setting delay_use to a low value ?

Thanks again for your help.

Panard

> On Thu, 25 Feb 2010, Panard wrote:
> > Hello,
> > 
> > I've got a "CamSport" camera [1] that should act as an usb flash drive
> > when connected to a computer.
> > I'm using a powerbook 12" on linux kernel 2.6.32 (gentoo distribution).
> > Looking at the dmesg shows that the camsport is disconnected just before
> > usb-storage scans it.
> 
> Hmm, you don't have CONFIG_PRINTK_TIME enabled, so we don't know how
> much time elapsed between the disconnect and anything else.
> 
> > Below is the complete usb debug when plugging the camsport.
> > 
> > This is working well on Mac OS X (same laptop, same usb port), and I even
> > tested it on Windows on other computers, it is always working
> > (recognized as a usb storage).
> > On every recent linux I tested (ubuntu, gentoo, etc.), this hardware does
> > not work.
> > 
> > Any hints?
> 
> As you say, the camera disconnects itself.  Who knows why?
> 
> You might find it works better if you decrease the usb-storage scanning
> delay.  Add a line saying
> 
> 	options usb-storage delay_use=0
> 
> to your /etc/modprobe.conf (or /etc/modprobe.d/local.conf, as the case
> may be).
> 
> Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux