Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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 am currently slaving away trying to get my digital camera working in mandrake 9.1. My camera uses usb mass storage and all three modules are present in lsmod:
However I have had absolutely no luck in actually mounting my camera. A few times the mount command succeeded but all I got were a load of link files from sda. (?)
When trying "mount -t devfs /dev/sda1 /home/roy-svork/Camera", initalially it said special device sda1 not found, but just now it has been succesfull but is just a mirror of /dev
i have tried with vfat, devfs, usbfs all to no avail.
The only clue is some messages which I think should not occur in /var/log/messages:
Does your camera use USB 2.0 or USB 1.1? If it uses USB 1.1, then your problem may be because it is using the USB 2.0 module (usb-uhci), whereas USB 1.1 uses the 'usb-ohci' module. 'usb-ohci' is missing from your lsmod ouput. Try:
modprobe usb-ohci
and then try your camera again, using the mount command given above by Brian1.
[root@localhost roy-svork]# modprobe usb-ohci
/lib/modules/2.4.21-0.13mdk/kernel/drivers/usb/usb-ohci.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
modprobe: insmod /lib/modules/2.4.21-0.13mdk/kernel/drivers/usb/usb-ohci.o.gz failed
modprobe: insmod usb-ohci failed
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
Originally posted by geoff_f Does your camera use USB 2.0 or USB 1.1? If it uses USB 1.1, then your problem may be because it is using the USB 2.0 module (usb-uhci), whereas USB 1.1 uses the 'usb-ohci' module. 'usb-ohci' is missing from your lsmod ouput. Try:
modprobe usb-ohci
and then try your camera again, using the mount command given above by Brian1.
I think things may have become a little confused. The box I am currently sitting at uses USB 1.1 and uses the UHCI module. An old PII box of mine (now deceased) used the OHCI module for USB 1.1. I've just read a little bit in the kernel source Docs directory, and it seems that USB 2.0 uses the EHCI module. I think the uhci/ohci thing is simply a matter of two early competing standards. UHCI = Universal Host Controller Interface; OHCI = Open Host Controller Interface. EHCI = Enhanced Host Controller Interface, perhaps?
Thymox, thanks for setting me straight; I've been operating under the misconception that OHCI = USB 1.1 and UHCI = USB 2.0 (U = Ultra - wrong, of course). My system has both object modules, with only OHCI being mentioned by lsmod. I presumed that UHCI was not loaded because I had no USB 2.0 devices. However, after reading your post, I found ehci-hcd.o in a sub-directory 'hcd' of where the usb kernel modules are stored.
Roy-Svork, sorry for the confusion. This is how I got my digital camera to work in Mandrake 9.1; it might help:
You never did identify this hardware, what is the manufacturer and model of this camera?
Is this a 'vanilla' (out of the box) Mandrake kernel, or did you compile it yourself?
Your system looks like it's getting the right modules for a SD card,
via your listing (sd_mod):
-usb-storage 72952 0
>scsi_mod 103284 5 [scsimon sd_mod sr_mod ide-scsi usb-storage]
-usb-uhci 24652 0 (unused)
-usbcore 72992 2 [usb-storage usb-uhci]
Anyone know where Roy-Svork might get a driver for this one???
Or anyone have a success story with it?
A common factor with this problem seems to be usb-uhci. Certainly the first link given by faheyd lists usb-uhci as the usb module. My camera (and a usb printer and scanner) work perfectly well with usb-ohci. Perhaps the next thing to try should be:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.