Mass storage device disconnects when not actively used

asked 2014-01-26 17:01:30 -0600

mildred gravatar image

updated 2014-09-28 16:12:21 -0600

mether gravatar image

I have a USB mass storage device (a Polaroid XS100 HD camera, 4255:1000) that cannot stay very long connected through USB. Within seconds of being connected, it disconnects itself. I suppose that's not a problem with the device itself because it works well on Mac OS X.

The systems logs when the device is connected :

Jan 26 23:43:32 moiraine kernel: usb 3-1: new high-speed USB device number 34 using xhci_hcd
Jan 26 23:43:32 moiraine kernel: usb 3-1: New USB device found, idVendor=4255, idProduct=1000
Jan 26 23:43:32 moiraine mtp-probe[7825]: checking bus 3, device 34: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Jan 26 23:43:32 moiraine mtp-probe[7825]: bus: 3, device: 34 was not an MTP device
Jan 26 23:43:32 moiraine kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 26 23:43:32 moiraine kernel: usb 3-1: Product: Storage
Jan 26 23:43:32 moiraine kernel: usb 3-1: Manufacturer: Ambarella
Jan 26 23:43:32 moiraine kernel: usb 3-1: SerialNumber: 123456789ABC
Jan 26 23:43:32 moiraine kernel: usb-storage 3-1:1.0: USB Mass Storage device detected
Jan 26 23:43:32 moiraine kernel: scsi34 : usb-storage 3-1:1.0
Jan 26 23:43:33 moiraine kernel: scsi 34:0:0:0: Direct-Access     AMBA     Storage          v1.0 PQ: 0 ANSI: 0
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: Attached scsi generic sg3 type 0
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: [sdc] 61831168 512-byte logical blocks: (31.6 GB/29.4 GiB)
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: [sdc] Write Protect is off
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: [sdc] Mode Sense: 8f 00 00 08
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Jan 26 23:43:33 moiraine kernel:  sdc: sdc1
Jan 26 23:43:33 moiraine kernel: sd 34:0:0:0: [sdc] Attached SCSI removable disk
Jan 26 23:43:34 moiraine kernel: FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jan 26 23:43:34 moiraine kernel: SELinux: initialized (dev sdc1, type vfat), uses genfs_contexts
Jan 26 23:43:34 moiraine udisksd[1845]: Mounted /dev/sdc1 at /run/media/mildred/9016-4EF8 on behalf of uid 1000

A few seconds later :

Jan 26 23:43:41 moiraine kernel: usb 3-1: USB disconnect, device number 34
Jan 26 23:43:42 moiraine udisksd[1845]: Cleaning up mount point /run/media/mildred/9016-4EF8 (device 8:33 no longer exist)

The device stays connected 10 seconds because shotwell is scanning the device for photos and videos. If shotwell is not running doing this job, the device disconnect before that. If I manage to click the Import All button on shotwell, the device ... (more)

edit retag flag offensive close merge delete

Comments

I would suggest to report a bug about this and see what developers have to say. It seems like a kernel problem (but I'm not sure). A workaround could be to create a udev rule about this device, may help.

NickTux gravatar imageNickTux ( 2014-01-26 17:14:42 -0600 )edit