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.
The above reboot info suggests this could be a pointer. I'll check for stalled processes and do the rmmod things you suggest when i'm next in the same room as the camera and ubuntu over the next few days.
I've one camera (the Nisis DV4) which refuses to work on one workstation in a similar way at the moment. I'm sure it used to work. I think some USB devices are less than perfect and different kernel versions trigger the problems.
I'm puzzled that lsmod doesn't show any e/ohci_usb type modules and won't probe for them, but maybe this is an ubuntu thing.
"Won't probe for them"? Do you have the .ko files in /lib/modules? Anyway, I don't think that's related.
Ok, I'll ignore it then.
Thanks for the pointers - it would be great to go there and fix it instead of flapping around again.
Someone muttered something about firmware - would there be any way i can check that out?
Many thanks,
Jenny