View Full Version : Digital Camera
p3dro
2005-04-16, 06:28 PM CDT
Hey guys I've got a Kodak digital camera, and when i plug it via USB, i hear my proc doing something, but i get nothing, and my quick connect light (a feature that it has) blinks instead of being a solig green, the manual says that there a connection problem, when this happens. I'm new to all this so I'm not sure how i can m ount it, if i even can, or how can i get to my file in my camera.
Thanks
ianmac
2005-04-16, 06:33 PM CDT
Does your camera use flash media? I could never get my camera to connect, but when I take the SD card out of the camera and plug it into an SD card reader, Linux will recognise it as an external drive and I can mount that easily. You may try plugging the flash media into a card reader and see if the system recognises it that way.. if you can't get the camera to connect normally.
p3dro
2005-04-16, 06:40 PM CDT
i don't have a media reader, and i've always used my cam, i wonder if is even possible.
james_in_denver
2005-04-16, 11:09 PM CDT
can you please post the last 30-50 lines of "/var/log/messages" after you plug your USB camera in?????
Most cameras will show up as a SCSI device, something like "/dev/sd??", and many of them use the "FAT32" filesystem........
So you can just "mount" them like any other disk device....
p3dro
2005-04-16, 11:55 PM CDT
please show me how to mount anything, I'm still reading FC3 Linux for Dummies
i can seem to be able to access the file you want me top copy ... how do you do this, thanks again.
ChadRioux
2005-04-17, 12:14 AM CDT
What type of camera are you using.. luckily my Kodak mounted automatically. Also, P3dro the best way to learn is to play.. keep it up man..
p3dro
2005-04-17, 12:27 AM CDT
i have a Kodak DX 7590, and i'm playing, ut i sooooooooooooooo different from everything i've ever touched
AndyGreen
2005-04-17, 02:18 AM CDT
Plug your device in.
tail -n50 /var/log/messages
copy the results here.
p3dro
2005-04-17, 08:58 AM CDT
Apr 17 10:54:37 localhost gdm(pam_unix)[4400]: session opened for user p3dro by (uid=0)
Apr 17 10:54:38 localhost gconfd (p3dro-4756): starting (version 2.8.1), pid 475 6 user 'p3dro'
Apr 17 10:54:38 localhost gconfd (p3dro-4756): Resolved address "xml:readonly:/e tc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Apr 17 10:54:38 localhost gconfd (p3dro-4756): Resolved address "xml:readwrite:/ home/p3dro/.gconf" to a writable configuration source at position 1
Apr 17 10:54:38 localhost gconfd (p3dro-4756): Resolved address "xml:readonly:/e tc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Apr 17 10:55:21 localhost gconfd (p3dro-4756): Resolved address "xml:readwrite:/ home/p3dro/.gconf" to a writable configuration source at position 0
Apr 17 10:56:47 localhost kernel: usb 1-2: USB disconnect, address 2
Apr 17 10:56:48 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed
Apr 17 10:57:06 localhost kernel: usb 1-2: new full speed USB device using uhci_ hcd and address 3
Apr 17 10:57:29 localhost su(pam_unix)[5080]: session opened for user root by p3 dro(uid=500)
Apr 17 10:59:40 localhost kernel: usb 1-2: USB disconnect, address 3
Apr 17 11:00:14 localhost kernel: usb 1-2: new full speed USB device using uhci_ hcd and address 4
Apr 17 11:01:01 localhost crond(pam_unix)[5231]: session opened for user root by (uid=0)
Apr 17 11:01:01 localhost crond(pam_unix)[5231]: session closed for user root
Apr 17 11:03:37 localhost su[5080]: Warning! Could not relabel with user_u:obj ect_r:devpts_t, not relabeling.
Apr 17 11:03:37 localhost su(pam_unix)[5080]: session closed for user root
Apr 17 11:03:46 localhost su(pam_unix)[5287]: session opened for user root by p3 dro(uid=500)
Apr 17 11:08:13 localhost kernel: usb 1-2: USB disconnect, address 4
Apr 17 11:09:28 localhost kernel: usb 1-2: new full speed USB device using uhci_ hcd and address 5
AndyGreen
2005-04-17, 10:41 AM CDT
Your camera is not a USB Mass Storage Class-compliant device, unless there is another mode you can select for the USB interface from the camera's local UI. Therefore it won't "just work".
You don't give the Kodak model number, but you may find gphoto2 may support it.
yum install gphoto2
gphoto2
TheCowGod
2005-04-17, 10:25 PM CDT
I have a nikon camera that woulnt work untill i changed the usb type to mass storage driver. look through the menu's in your camera for some connection options. mess with those, it may work, it may not :)
p3dro
2005-04-18, 06:09 AM CDT
well i'll try it all ... thanks for all your help.
p3dro
2005-04-18, 09:24 AM CDT
Curious question ... how do you mount a device, and how do you even know if the system is seeing it?
I'm confused about this ... like if you hook up a CD drive, or my camera in this case, how do you know that is mountable, or how did you guys even know that i didn't have a mass strorage device, how do you even know what to mount ... sorry newbie confusion moment!
Thanks again in advance
AndyGreen
2005-04-18, 09:35 AM CDT
If it was a USB Mass Storage Class -compatible device, that is noticed by the driver for USB Mass Storage Class devices in Linux, which proceeds to add a fake SCSI device (eg, /dev/sda) representing what is on your USB device; specifically, it also adds devices to represent every partition on the device (eg, /dev/sda1, /dev/sda2 and so on).
When it does this, it leaves a recognizable message in /var/log/messages about what it is doing. That your device was connecting without USB error, but did not get this message left in the logs, strongly suggests it is not USB Mass Storage Class -compliant.
As for mounting, you mount a filesystem rather than a device or a partition. A filesystem is just a bunch of bits in some kind of order according to certain rules. A normal file can easily contain a filesystem. But you meet them most often taking up the space of a partition (eg, /dev/sda1). So you most often are giving the device file representing a partition when you mount something. As described earlier, the Linux USB Mass Storage Class driver is the magic bridge that goes from seeing a compatible device being plugged in, to faking up device nodes representing the partitions, so you can mount them.
p3dro
2005-04-18, 04:15 PM CDT
Andy you da'man ... thanks so much ... is all making sense now
arjay
2005-06-01, 03:58 AM CDT
EDIT: Andy I think I am on my way with this - please ignore. Cheers
Andy (Guiness)
Yup it's me again - pardon me for butting in but I am trying to install gphoto2 and am having a similar problem to some of the people you have been advising
I have tried yum install gphoto2 but this is what I get:
[root@localhost ~]# yum install gphoto2
Setting up Install Process
Setting up Repos
base 100% |=========================| 1.1 kB 00:00
updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 865/865
Nothing to do
I thought maybe this was because it was already on the computer but if I try:
[root@localhost ~]# gphoto2
This is what I get:
Usage: gphoto2 [-?] [-?|--help] [--usage] [--debug] [--quiet]
[--force-overwrite] [-v|--version] [--list-cameras] [--list-ports]
[--stdout] [--stdout-size] [--auto-detect] [--port=path]
[--speed=speed] [--camera=model] [--filename=filename]
[--usbid=usbid] [-a|--abilities] [-f|--folder folder] [-R|--recurse]
[--no-recurse] [-l|--list-folders] [-L|--list-files]
[-m|--mkdir STRING] [-r|--rmdir STRING] [-n|--num-files]
[-p|--get-file STRING] [-P|--get-all-files] [-t|--get-thumbnail STRING]
[-T|--get-all-thumbnails] [--get-raw-data=STRING] [--get-all-raw-data]
[--get-audio-data=STRING] [--get-all-audio-data]
[-d|--delete-file STRING] [-D|--delete-all-files]
[-u|--upload-file STRING] [--list-config] [--get-config=STRING]
[--capture-preview] [-F|--frames count] [-I|--interval seconds]
[--capture-image] [--capture-movie] [--capture-sound]
[--show-exif=STRING] [--show-info=STRING] [--summary] [--manual]
[--about] [--shell]
[root@localhost ~]#
I also have the tar file and have untarred it to a temporary directory which gives me these files:
ABOUT-NLS ChangeLog config.log configure depcomp INSTALL m4 missing packaging TODO
aclocal.m4 config.guess config.rpath configure.in doc install-sh Makefile.am mkinstalldirs po
AUTHORS config.h.in config.sub COPYING gphoto2 intl Makefile.in NEWS README
What files do I use to install from here?
Thanks
Richard
AndyGreen
2005-06-01, 04:12 AM CDT
That is gphoto2 happily installed -- it's a commandline app. You can use it from the commandline as it is, or install a GUI frontend.
Apparently the official "Fedora" GUI frontend for this is now gthumb
yum install gthumb
Run it and File | Import Photos...
arjay
2005-06-01, 04:33 AM CDT
Yes - thanks for that - it took me a while to figure out the CLI part of it!
linuxted
2005-06-07, 09:03 PM CDT
This used to work but now when I plug in the camera to the USB port I just get a blinking green light on the camera.
Here is the result of a log file:
$tail -10 /var/log/messages
Jun 7 19:55:18 c-24-6-0-24 gconfd (tburmas-4605): starting (version 2.8.1), pid 4605 user 'tburmas'
Jun 7 19:55:18 c-24-6-0-24 gconfd (tburmas-4605): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Jun 7 19:55:18 c-24-6-0-24 gconfd (tburmas-4605): Resolved address "xml:readwrite:/home/tburmas/.gconf" to a writable configuration source at position 1
Jun 7 19:55:18 c-24-6-0-24 gconfd (tburmas-4605): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Jun 7 19:55:26 c-24-6-0-24 gconfd (tburmas-4605): Resolved address "xml:readwrite:/home/tburmas/.gconf" to a writable configuration source at position 0
Jun 7 19:58:50 c-24-6-0-24 kernel: Machine check events logged
Jun 7 20:00:04 c-24-6-0-24 kernel: usb 2-3: new full speed USB device using ohci_hcd and address 4
Any help is appreciated
linuxted
2005-06-07, 09:15 PM CDT
When I unplug the camera, insert the Flash card into a USB2.0 card reader I get the following
$tail -10 /var/log/messages
Jun 7 20:00:04 c-24-6-0-24 kernel: usb 2-3: new full speed USB device using ohci_hcd and address 4
Jun 7 20:00:26 c-24-6-0-24 su(pam_unix)[4841]: session opened for user root by tburmas(uid=500)
Jun 7 20:01:01 c-24-6-0-24 crond(pam_unix)[4864]: session opened for user root by (uid=0)
Jun 7 20:01:01 c-24-6-0-24 crond(pam_unix)[4864]: session closed for user root
Jun 7 20:08:03 c-24-6-0-24 kernel: usb 2-3: USB disconnect, address 4
Jun 7 20:13:45 c-24-6-0-24 kernel: usb 4-2: new full speed USB device using ohci_hcd and address 2
Jun 7 20:13:45 c-24-6-0-24 kernel: Initializing USB Mass Storage driver...
Jun 7 20:13:45 c-24-6-0-24 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 7 20:13:45 c-24-6-0-24 kernel: usbcore: registered new driver usb-storage
Jun 7 20:13:45 c-24-6-0-24 kernel: USB Mass Storage support registered.
I'd rather use the card reader since it is faster, but it also no longer "just works" :(
linuxted
2005-06-07, 09:18 PM CDT
When I unplug the camera, insert the Flash card into a USB2.0 card reader I get the following
$tail -10 /var/log/messages
Jun 7 20:00:04 c-24-6-0-24 kernel: usb 2-3: new full speed USB device using ohci_hcd and address 4
Jun 7 20:00:26 c-24-6-0-24 su(pam_unix)[4841]: session opened for user root by tburmas(uid=500)
Jun 7 20:01:01 c-24-6-0-24 crond(pam_unix)[4864]: session opened for user root by (uid=0)
Jun 7 20:01:01 c-24-6-0-24 crond(pam_unix)[4864]: session closed for user root
Jun 7 20:08:03 c-24-6-0-24 kernel: usb 2-3: USB disconnect, address 4
Jun 7 20:13:45 c-24-6-0-24 kernel: usb 4-2: new full speed USB device using ohci_hcd and address 2
Jun 7 20:13:45 c-24-6-0-24 kernel: Initializing USB Mass Storage driver...
Jun 7 20:13:45 c-24-6-0-24 kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 7 20:13:45 c-24-6-0-24 kernel: usbcore: registered new driver usb-storage
Jun 7 20:13:45 c-24-6-0-24 kernel: USB Mass Storage support registered.
I'd rather use the card reader since it is faster, but it also no longer "just works" :(
Hmmmmmmmm I unplugged and plugged it in and the autodetect worked :eek:
RossGoodman
2006-01-16, 05:07 PM CST
I have a nikon camera that woulnt work untill i changed the usb type to mass storage driver. look through the menu's in your camera for some connection options. mess with those, it may work, it may not :)
Hi, What camera are you using.
Trying with my D50 I get:
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 120
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 121
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 122
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 123
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 124
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 125
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 126
Jan 17 00:11:07 ross-fc3 kernel: Buffer I/O error on device sda, logical block 127
etc
teethlikelions
2006-01-18, 02:23 PM CST
i'm pretty new to this usb mass storage stuff.... but i just plugged my card reader into the usb and my tail of /var/log/messages reads :Jan 18 16:17:09 artax kernel: usb 1-2: new high speed USB device using ehci_hcd and address 11
Jan 18 16:17:09 artax kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jan 18 16:17:14 artax kernel: Vendor: Multi Model: Flash Reader Rev: 1.00
Jan 18 16:17:14 artax kernel: Type: Direct-Access ANSI SCSI revision: 00
Jan 18 16:17:29 artax scsi.agent[4417]: Attribute /sys/devices/pci0000:00/0000:00:10.4/usb1/1-2/1-2:1.0/host4/target4:0:0/4:0:0:0/type does not exist
Jan 18 16:17:32 artax kernel: Attached scsi removable disk sda at scsi4, channel 0, id 0, lun 0
not sure what to read into this or what to do with it, but i'm not getting it as its own mounted drive or whatever.... do i need some program to read it?
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.