Mounting usb camera memory card
Code:
# cat /etc/fstab I've tried: mount /dev/usb/ -t vfat /mount/ but I get the feeling that I don't have a module loaded, or I should add something to fstab. Help! :) Thanks |
You will want to list the loaded kernel modules: lsmod
do you have the following modules loaded (or compiled) in the kernel: vfat, fat, usb-uhci, usbcore, sd_mod, sbp2, scsi_mod, sr_mod My /etc/modules.conf contains the line: probeall usb-interface usb-uhci |
try
mount /dev/sdaX /mountpoint My camera shows up as a scsi disk. Check dmesg when you have it connected, it should show up there, then you know the correct sda. Hope this helps. |
OK jschiwal,
I did a lsmod and only "usb-uhci" and "usbcore" are loaded, I tried modprobing the others but I get errors: Code:
xionous:~# modprobe scsi_mod |
Here is my /etc/modules and /etc/modules.conf files. Does anything look familiar?
[root@matrix etc]# cat modules # /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. scsi_hostadapter [root@matrix etc]# cat modules.conf probeall scsi_hostadapter sbp2 usb-storage probeall usb-interface usb-uhci ehci-hcd alias eth1 eepro100 alias ieee1394-controller ohci1394 alias eth0 r8169 above snd-intel8x0 snd-pcm-oss alias sound-slot-0 snd-intel8x0 [root@matrix etc]# The first two lines of modules.conf pertain to usb storage. Now my distro is different, and debian systems do some things differently such as starting services. Anyway, here is an entry from my /etc/fstab file. Code:
This is for a usb hard drive formatted in fat32. A closer look at the lsmod listing reveals some of the module dependencies. Code:
[root@matrix etc]# lsmod | grep usb You can check if the module library files exist like this: [root@matrix etc]# locate sbp2 | grep 'lib/modules' /lib/modules/2.6.3-7mdk/kernel/drivers/ieee1394/sbp2.ko.gz /lib/modules/2.6.3-7mdk-i686-up-4GB/kernel/drivers/ieee1394/sbp2.ko.gz The second subdirectory is the kernel version. Type uname -r to check which kernel version you are currently running. Its possible that you have different kernel versions you can boot up to, and one of them has the support you need. Good luck poking around. |
All times are GMT -5. The time now is 01:48 PM. |