baslinux AT lists.ibiblio.org
Subject: Baslinux mailing list
List archive
- From: David Moberg <davidjmoberg AT gmail.com>
- To: baslinux AT lists.ibiblio.org
- Subject: Re: [BL] USB and the digital camera
- Date: Tue, 15 Nov 2005 14:39:24 -0800
Steven wrote:
>
> sindi keesan wrote:
> >
> > Steven's non-experimental kernel might not even work with
> > usb-storage and the full insmod, it might need to be compiled
> > to work with usb-storage, which it was not.
>
> See below.
>
> > Another problem is that his kernel is not scsi
>
> I suspect scsi capability can be added. I just did:
> ---------------
> insmod scsi_mod
> ---------------
> and it went in without error message. I've got no scsi
> hardware so I can't test whether it actually does anything.
>
> Then I did:
> ------------------
> insmod usbcore
> insmod usb-uhci
> insmod usb-storage
> ------------------
> Again no error message. And I've also got no USB hardware
> so I can't test whether that actually does anything.
Well, it does something. There is only one problem. As soon as
I plug in a usb-storage device, I get the following error message:
usb-storage: bus_reset() requested but not implemented
As you would expect, when you try to access the USB drive:
cat: /dev/sda: No such device
I then tried building my own kernel. I got the 2.2.26 source from
kernel.org, set CONFIG_SCSI, CONFIG_SD, CONFIG_USB,
CONFIG_UHCI, and CONFIG_USB_STORAGE to Y, and built
and booted that kernel. And I got the exact same error message.
I then built a 2.4.31 kernel with the exact same config. It worked
and did not give any error messages.
I therefore conclude that 2.4 is needed for USB storage.
Everything else which I have works with your 2.2.26 kernel,
except for APM and ACPI, as expected.
sindi keesan wrote:
> Also, Steven's non-experimental kernel might not even work with
> usb-storage and the full insmod, it might need to be compiled to work with
> usb-storage, which it was not.
It appears that it would work, if the 2.2.26 usb-storage support
wasn't as buggy.
> ... I think the usb-storage device also is pseudo-scsi.
It is. usb-storage is SCSI commands sent over the USB. Just as
ide-cs is IDE commands sent over PCMCIA.
> If usb-storage inserts properly, you should get a message assigning the
> USB device to something like sda1 (if you have no other scsi block
> devices).
Not if usb-storage comes from 2.2.26.
> ls should list directories including /dcim, and the
> pictures would be in a subdirectory of that. dcim - digital camera images?
On my camera it is under /dcim/100_fuji (FUJIFILM camera)
> I could not figure out if ALL digital cameras worked as usb storage
> devices, from online reading.
I have a Kodak camera which requires gphoto, which
provides its own driver (which should work with Steven's
kernel. I haven't tested it yet.)
Ron Clarke wrote:
> If Sindi, or anyone else, is willing to do a little hand-holding,
> I would very much like to learn how to get the pictures off the
> camera and onto my computer.
You can try my 2.4.31 kernel, which I just uploaded. You need:
PC with working math coprocessor and USB
ext2 IDE hard drive partition with some version of BL installed
(not loop or ramdisk)
http://us.share.geocities.com/davidjmoberg/zimage-usb.gz
Boot BL with the 2.4 kernel. Plug in camera. Then try to mount
the camera:
mount /dev/sda1 /mnt
You can then copy the pictures from your camera to disk and
reboot with your usual kernel to send the pictures somewhere
else.
Please let us know if it works!
David
-
[BL] USB and the digital camera,
Ron Clarke, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
-
Re: [BL] USB and the digital camera,
3aoo-cvfd, 11/15/2005
-
Re: [BL] USB and the digital camera,
David Moberg, 11/15/2005
- Re: [BL] USB and the digital camera, David Moberg, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
- Re: [BL] USB and the digital camera, David Moberg, 11/16/2005
- Re: [BL] USB and the digital camera, sindi keesan, 11/17/2005
- Re: [BL] USB and the digital camera, sindi keesan, 11/17/2005
- Re: [BL] USB and the digital camera, sindi keesan, 11/17/2005
- Re: [BL] USB and the digital camera, 3aoo-cvfd, 11/17/2005
- Re: [BL] USB and the digital camera, sindi keesan, 11/17/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
-
Re: [BL] USB and the digital camera,
David Moberg, 11/15/2005
-
Re: [BL] USB and the digital camera,
3aoo-cvfd, 11/15/2005
-
Re: [BL] USB and the digital camera,
sindi keesan, 11/15/2005
Archive powered by MHonArc 2.6.24.