Digital Camera modules
I want to connect my Fuji Digital camera as a USB device to retrieve images.
Could someone please tell me what kernel modules are needed for this as I currently compiled my kernel with them minimum number of modules and I fear more will be required?. Thank you. |
Have you tried connecting the camera without adding any more modules? I didn't have to do anything special with my camera, I just treated it like a mass storage device and did a:
Code:
mount -t vfat /dev/sda1 /mnt/camera |
Quote:
no, I haven't tried this yet, but I just suspect that when I recompiled the kernel, I trimmed-off too much. These are the relevant sections of my .config file: Code:
# Code:
# Thanks. |
I have no idea what I'm doing when it comes to kernels and modules. I just got lucky and mine worked so I figured I'd see if I wasn't the only one. :p Sorry I can't help ya anymore than that. :(
|
Quote:
Have you looked at the gphoto2 website http://www.gphoto.org/proj/libgphoto2/support.php if you need gphoto2 and libgphoto2 to access your camera? I got a Fujifilm Finepix F810 that works nicely as a mass storage device. I have hotplug, udev and kernel 2.6.13 running. If you first check if your configuration is ok and if the camera works, I will post the parts of my kernel configuration here (the ones you posted). |
Thanks for your replies.
I suppose what I could do then is to look at the '.config' file for the 'bare' kernel (2.4.32 I presume?) and probably figure out which modules I need by comparison with my kernel. |
Quote:
|
Right, I've connected up the camera to the USB port.
It is seen when I do 'dmesg' and the usb-storage module is running as shown by 'lsmod', but when I try: Code:
mount -t vfat /dev/sda1 /mnt/camera Code:
mount: dev/sda1 is not a valid block device. Should I have declared /dev/sda in fstab for example? Any help appreciated. Thank you. |
It works with my camera fine, but I don't know if you got another model and if this is handled different.
If I mount the camera as root with "mount -t vfat /dev/sda1 /mnt/camera" there is no error and I can browse on my cameras Xd card and view, copy etc. the files. The modules that are loaded when I do this (I removed some which I'm sure are not involved with this but left some I'm not sure about, especially the nls codepage ones): nls_cp437 5632 1 usb_storage 72512 1 ohci_hcd 18436 0 ehci_hcd 30344 0 uhci_hcd 30608 0 nls_iso8859_15 4480 8 nls_cp850 4736 7 evdev 7424 0 Did you search, if your camera is supposed to be recognized as mass storage device? Not all Fuji cameras are supposed to to so. EDIT: I don't need an fstab entry, it should work if you mount it manually. |
Thank you for your continuing help.
I think my problem is more to do with recognition of the 'sdx' SCSI drive. I have just looked through my kernel module config file and notice that 'CONFIG_BLK_DEV_SD is not set'. This is the 'SCSI disk support' module. I have a feeling this is the key, so I will recompile my kernel modules today and report back here. Thanks again. |
My general SCSI parts, after that there come some special SCSI devices:
# # SCSI device support # CONFIG_SCSI=y CONFIG_SCSI_PROC_FS=y # # SCSI support type (disk, tape, CD-ROM) # CONFIG_BLK_DEV_SD=y # CONFIG_CHR_DEV_ST is not set CONFIG_CHR_DEV_OSST=m CONFIG_BLK_DEV_SR=y CONFIG_BLK_DEV_SR_VENDOR=y CONFIG_CHR_DEV_SG=m CONFIG_CHR_DEV_SCH=m |
All times are GMT -5. The time now is 03:01 PM. |