2009/10/2 Jenny Hopkins hopkins.jenny@gmail.com:
And even worse - now I've sent it to alug social list! Oh someone shoot me now, please!
....
Sorry Mark - I just realised that I sent this mail to you a few days ago rather than the alug list.
2009/9/29 MJ Ray mjr@phonecoop.coop:
Jenny Hopkins wrote:
I've got a problem with an HP Photosmart R507 camera on an ubuntu jaunty system. The camera is set to behave as a disk drive. When plugged into a debian system it is assigned to be /dev/hdc1 and can be mounted. However, with the ubuntu, it won't assign a device. here is the tail of dmesg:
[14522.580027] usb 4-4: new full speed USB device using ohci_hcd and address 4 [14522.805646] usb 4-4: configuration #1 chosen from 1 choice [14522.815803] scsi8 : SCSI emulation for USB Mass Storage devices [14522.840286] usb-storage: device found at 4 [14522.840295] usb-storage: waiting for device to settle before scanning
lsusb shows the camera listed.
Doesn't matter. It's not recognising it as a SCSI disk. It would show something like:
scsi 0:0:0:0: Direct-Access CBM Flash Disk 5.00 PQ: 0 ANSI: 2 usb-storage: device scan complete
Does it complete the scan?
The only time i have anything like that was after reboot, when i got: [ 22.880604] scsi scan: INQUIRY result too short (5), using 36 [ 22.880618] scsi 6:0:0:0: Direct-Access HP PhotoSmart R507 A001 PQ: 0 ANSI: 0 [ 22.896587] sd 6:0:0:0: [sdb] 498176 512-byte hardware sectors: (255 MB/243 MiB) [ 22.901837] sd 6:0:0:0: [sdb] Write Protect is off [ 22.901846] sd 6:0:0:0: [sdb] Mode Sense: 0f 00 00 00 [ 22.901853] sd 6:0:0:0: [sdb] Assuming drive cache: write through [ 22.921851] sd 6:0:0:0: [sdb] 498176 512-byte hardware sectors: (255 MB/243 MiB) [ 22.928857] sd 6:0:0:0: [sdb] Write Protect is off [ 22.928865] sd 6:0:0:0: [sdb] Mode Sense: 0f 00 00 00 [ 22.928870] sd 6:0:0:0: [sdb] Assuming drive cache: write through [ 22.928883] sdb: sdb1 [ 22.948024] sd 6:0:0:0: [sdb] Attached SCSI removable disk [ 22.948163] sd 6:0:0:0: Attached scsi generic sg1 type 0
However trying to mount either sdb1 or sg0 denied they existed.
Otherwise the plugging and unplugging of the camera just shows: [14522.580027] usb 4-4: new full speed USB device using ohci_hcd and address 4 [14522.805646] usb 4-4: configuration #1 chosen from 1 choice [14522.815803] scsi8 : SCSI emulation for USB Mass Storage devices [14522.840286] usb-storage: device found at 4 [14522.840295] usb-storage: waiting for device to settle before scanning
and it never does.
Have you any suspicious-looking stalled processes? Can you remove the USB devices and rmmod usb-storage or does it complain that the module is in use? If so, something has failed badly in the USB drivers and only a reboot will clear it, in my experience.
Anyway - Back with PC and camera now, and I can rmmod usb_storage happily, whether camera is plugged in or not - it just doesn't seem to be being used.
Thanks for the pointers - it would be great to go there and fix it instead of flapping around again.
Nope, I'm flapping again.
If I plug the camera in to my laptop the device is scanned, scan complete and can be mounted. usb modules running and showing >0 are usb_storage firmware_class (?) scsi_mod usbcore
Now plug back in to PC. scan does not settle. usb modules list shows: lsmod | grep usb usb_storage 99648 0 usbhid 42336 0 usblp 20224 0
modprobe scsi_mod: FATAL: Module scsi_mod not found
Thanks,
Sorry about getting mails all going to wrong places right, left and centre.
Jenny