SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?.
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
(where "camera" is a directory in /mnt obviously) and it worked just fine for me. Right now I'm using the bare kernel that came with the Slack 10.2 discs I burned so I haven't done anything fancy with kernel modules.
Have you tried connecting the camera without adding any more modules?
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:
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set **** Is this needed? ****
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
CONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set
and this:
Code:
#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_SPLIT_ISO=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_ISP116X_HCD is not set
CONFIG_USB_OHCI_HCD=m
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
#
# USB Device Class drivers
#
# CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be needed; see USB_STORAGE Help for more information
#
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_ACECAD is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_ITMTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_YEALINK is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_KEYSPAN_REMOTE is not set
# CONFIG_USB_APPLETOUCH is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_PWC is not set
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_ZD1201 is not set
CONFIG_USB_MON=y
#
# USB port drivers
#
CONFIG_USB_USS720=m
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. Sorry I can't help ya anymore than that.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Quote:
Originally Posted by Toods
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?.
First try if it works with the modules that are compiled now.
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).
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
Quote:
Originally Posted by Toods
no, I haven't tried this yet, but I just suspect that when I recompiled the kernel, I trimmed-off too much.
Try it first -- just my 2 cents. Imagine you search for kernel modules that you don't need ... Even if I post now my kernel config I could not tell if any differences to yours are significant regarding the usb mass storage thing. Maybe it works even if you changed the kernel configuration!?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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):
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644
Rep:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.