Gail Koontz <[EMAIL PROTECTED]> writes:

> The list of supported cameras has an entry for "Canon PowerShot Pro90
> SI."
> When I cold start the system with the camera attached, an entry is
> created
> for it in /proc/bus/usb/devices (along with those for the 2 USB ports)
> - multiple lines, one of which identifies it
> as a "Canon PowerShot Pro90 IS," which is correct. No driver is
> identified.
> That seems reasonable, because if the camera type is being compared to
> some
> list with the "IS" part reversed, it isn't ever going to match. Is
> there any
> way I can fix this?

o The author/maintainer of the kernel USB storage code reads this
  list, and can give the real answers.  My non-expert advice is ...

o What is the "list of supported cameras"?  For what follows, the
  camera has to be a "USB storage device".  When using the camera
  under W*ndows, does it appear as a letter drive ("E:", "F:", etc.)
  or do you need to run a special Canon program to access the images?
  If the latter, gPhoto (http://www.gphoto.org/) might work.
  If the former ...

o Driver matching doesn't work off the ascii name of the camera, but
  instead by the vendor, product ID, and revision codes.  In
  /proc/bus/usb/devices there should be a "P:" line like:

    P:  Vendor=054c ProdID=0010 Rev= 3.22

o That's the one for my Sony camera.  For what follows, you need to
  look at and possibly compile the kernel from source.  If you haven't
  done this before, see the Kernel HOWTO and http://www.kernel.org/

o Look in the kernel source tree in drivers/usb/storage/unusual_devs.h
  You'll probably have to make an additional entry like:

    UNUSUAL_DEV(  0x054c, 0x0010, 0x0106, 0x0322, 
                "Sony",
                "DSC-S30/S70/S75/505V/F505", 
                US_SC_SCSI, US_PR_CB, NULL,
                US_FL_SINGLE_LUN | US_FL_START_STOP | US_FL_MODE_XLATE ),

o Again, this is the one for the Sony cameras.  Note how the first
  two hex numbers match what's in the /proc/bus/usb/devices file. The
  next two are a range of revision numbers which must enclose the
  actual camera's revision.

o I'm not sure about the other #define'd constants, but the above
  might be a starting point.  Compile/install/boot the new kernel and
  see if the camera is recognized.


> I have another question too. To transfer pictures from the camera, do I
> always have to shut down the system and reboot? Or once the proper
> driver is
> identified will I be able to plug in the camera "on the fly?" Some sort
> of
> mount, maybe?

o When working properly, the camera is recognized when plugged into
  and powered up on a running system.  You don't have to reboot.  A
  /dev/sdX (X==some number) device file is created which can be used
  to mount the camera.  An entry is automatically made in /etc/fstab,
  and possibly some automounter software also runs.

o Hope this helps.


--
MARK
[EMAIL PROTECTED]

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to