Bug 17273 - camera-ptp.fdi prevents camera from connecting in mass storage mode
Summary: camera-ptp.fdi prevents camera from connecting in mass storage mode
Status: NEW
Alias: None
Product: hal
Classification: Unclassified
Component: hal-info (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Zeuthen (not reading bugmail)
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-23 13:11 UTC by kavol
Modified: 2008-08-23 13:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
lshal outputs (22.18 KB, application/x-compressed)
2008-08-23 13:11 UTC, kavol
Details

Description kavol 2008-08-23 13:11:39 UTC
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).


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.