gPhoto2 kernel problems
Joel Hammer
Joel
Mon May 17 11:46:54 PDT 2004
I gave up using a GUI for this.
Is this camera using usb-storage?
If so,
Here are the usb modules I have on my 2.4.20 machine.
usb-storage 48704 1
scsi_mod 50092 5 [sg usb-storage sr_mod ide-scsi sd_mod]
usb-uhci 20964 0 (unused)
usbcore 54272 1 [usb-storage snd usb-uhci hid]
Maybe you need hid, too and some other scsi's.
If you have all these compiled, try to insmod them in the proper order,
starting from the bottom.
If they all load, then just plugging in your camera should show:
# cat /proc/scsi/usb-storage-0/1
Host scsi1: usb-storage
Vendor: NIKON
Product: Nikon Digital Camera E2500
Serial Number: 000003413137
Protocol: Transparent SCSI
Transport: Bulk
GUID: 04b001080000000003413137
Attached: Yes
cdrecord -scanbus will also show it.
To mount and transfer my pictures, this works:
#!/bin/bash
[ -d /mnt/camera ] || mkdir /mnt/camera
[ -d /mnt/camera ] || {
echo Cannot make /mnt/camera
echo Must exit
exit
}
echo Attempting to detect camera
echo xxx | grep yyy
while [ $? -eq 1 ]
do
cdrecord -scanbus | grep NIKON <---Change to your camera
done
echo Camera is detected
echo Will now mount camera
umount /mnt/camera
mount -t vfat /dev/sda1 /mnt/camera
cd /mnt/camera/dcim/100nikon <---Change for your camera
[ $? -eq 1 ] && {
echo cannot cd into /mnt/camera
exit
}
for i in `dir -1`
do
cp -i $i /disks/hdc5/Pictures <---change for your setup
[ $? -eq 0 ] && echo File successfully copied
rm -i $i
done
xv -dir /disks/hdc5/Pictures -vsmap -vsgeometry 1000x680
Joel
On Sun, Apr 27, 2003 at 02:20:16PM -0700, Bob Hemus wrote:
> I'm running RH 7.3 2.4.18 kernel. The gPhoto2 Manual says that RH 7.3
> will run gPhoto2. when I do:
> [rootOlocalhost root]H modprobe usb-uhci
> [ rootOlocalhost root]H modprobe usb ohci
> modprobe: Can't locate module ohci
> [rootOlocalhost root]H mount -t usbdevsf usb /proc/bus/usb
> mount: fs type usbdevsf not supported by kernel
> [rootOlocalhost root]H
> This is what I get. Do I need to patch the kernel up to 2.4.19 to get
> gphoto2 to work?
> If so I guess all my problems (well not quite all) will be solved?
> Bob
>
> _______________________________________________
> Linux-users mailing list
> Linux-usersOlinux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
More information about the Linux-users
mailing list