Summary: | camera-ptp.fdi prevents camera from connecting in mass storage mode | ||
---|---|---|---|
Product: | hal | Reporter: | kavol |
Component: | hal-info | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | lshal outputs |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 18477 [details] lshal outputs Hello. When I connect HP PhotoSmart 618 set to mass storage (aka USB Disk Device) mode, the system is unable to recognize it as a disk drive. It looks like this: usb 4-1: new full speed USB device using uhci_hcd and address 29 usb 4-1: configuration #1 chosen from 1 choice scsi10 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 29 usb-storage: waiting for device to settle before scanning usb 4-1: usbfs: USBDEVFS_CONTROL failed cmd kio_kamera rqt 33 rq 102 len 0 ret -110 usb 4-1: usbfs: USBDEVFS_CONTROL failed cmd kio_kamera rqt 33 rq 102 len 0 ret -110 I've tracked this problem down to file /usr/share/hal/fdi/information/10freedesktop/10-camera-ptp.fdi which belongs to package hal-info. If I remove the file and restart hald, it works: usb 4-1: new full speed USB device using uhci_hcd and address 31 usb 4-1: configuration #1 chosen from 1 choice scsi12 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 31 usb-storage: waiting for device to settle before scanning scsi scan: INQUIRY result too short (5), using 36 scsi 12:0:0:0: Direct-Access HP CAMERA A002 PQ: 0 ANSI: 0 sd 12:0:0:0: [sdb] 62337 512-byte hardware sectors (32 MB) sd 12:0:0:0: [sdb] Write Protect is off sd 12:0:0:0: [sdb] Mode Sense: 0f 00 00 00 sd 12:0:0:0: [sdb] Assuming drive cache: write through sd 12:0:0:0: [sdb] 62337 512-byte hardware sectors (32 MB) sd 12:0:0:0: [sdb] Write Protect is off sd 12:0:0:0: [sdb] Mode Sense: 0f 00 00 00 sd 12:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 12:0:0:0: [sdb] Attached SCSI removable disk sd 12:0:0:0: Attached scsi generic sg1 type 0 usb-storage: device scan complete I also attach lshal outputs for the first and second case (numbered respectively).