I am attempting to connect a digital camera (Toshiba PDR-3310)
via USB slot 1, but cannot successfully mount it. Below are results
of some of the things I've tried.
What else should I try?
Brian Cluff suggested setting up and running a hotplug daemon such as
"hotplug" of "murasaki" and watching logs in
/var/log/messages
... and/or ...
/var/log/syslog
to determine what device to use and mount the next available scsi device,
if that is the way the camera connects.
I don't know how to set up and run a hotplug daemon, but I checked to if
such exists on my system and the following results seem to indicate that
such a daemon exists:
$ slocate hotplug
/etc/hotplug
/etc/hotplug/hotplug.functions
/etc/hotplug/blacklist
/etc/hotplug/usb.usermap.orig
/etc/hotplug/ieee1394.agent
/etc/hotplug/net.agent
/etc/hotplug/pci.agent
/etc/hotplug/pci.rc
/etc/hotplug/usb.agent
/etc/hotplug/usb.distmap
/etc/hotplug/usb.handmap
/etc/hotplug/usb.rc
/etc/hotplug/usb.usermap
/sbin/hotplug
/usr/share/man/man8/hotplug.8.bz2
/usr/share/doc/hotplug-2001_06_12
/usr/share/doc/hotplug-2001_06_12/ChangeLog
/usr/share/doc/hotplug-2001_06_12/README
/usr/share/doc/kernel-doc-2.4.18/usb/hotplug.txt
When I tried to mount the camera, I got the following results:
# mount -t vfat /dev/sda1 /mnt/camera
Result: mount: /dev/sda1: unknown device
# mount -t vfat /dev/sdb1 /mnt/camera
Result: mount: /dev/sdb1: unknown device
Checking /var/log/messages and syslog gives these results:
# tail /var/log/messages
Result:
Aug 17 09:26:10 localhost pppd[13682]: secondary DNS address 155.212.1.5
Aug 17 09:44:35 localhost pppd[13682]: Terminating on signal 15.
Aug 17 09:44:36 localhost pppd[13682]: Connection terminated.
Aug 17 09:44:36 localhost pppd[13682]: Connect time 18.5 minutes.
Aug 17 09:44:36 localhost pppd[13682]: Sent 226542 bytes, received 1297859
bytes.
Aug 17 09:44:36 localhost pppd[13682]: Exit.
Aug 17 09:44:44 localhost kernel: hub.c: Cannot enable port 1 of hub 1,
disabling port.
Aug 17 09:44:44 localhost kernel: hub.c: Maybe the USB cable is bad?
Aug 17 09:44:45 localhost kernel: hub.c: USB new device connect on bus2/1,
assigned device number 12
Aug 17 09:45:07 localhost su(pam_unix)[14031]: session opened for user root
by (uid=501)
# tail /var/log/syslog
Result:
Aug 17 09:44:35 localhost pppd[13682]: Terminating on signal 15.
Aug 17 09:44:36 localhost pppd[13682]: Connection terminated.
Aug 17 09:44:36 localhost pppd[13682]: Connect time 18.5 minutes.
Aug 17 09:44:36 localhost pppd[13682]: Sent 226542 bytes, received 1297859
bytes.
Aug 17 09:44:36 localhost pppd[13682]: Exit.
Aug 17 09:44:44 localhost kernel: hub.c: Cannot enable port 1 of hub 1,
disabling port.
Aug 17 09:44:44 localhost kernel: hub.c: Maybe the USB cable is bad?
Aug 17 09:44:45 localhost kernel: hub.c: USB new device connect on bus2/1,
assigned device number 12
Aug 17 09:44:45 localhost kernel: WARNING: USB Mass Storage data integrity
not assured
Aug 17 09:44:45 localhost kernel: USB Mass Storage device found at 12