Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 1999 07:38:54 +0200 (CEST)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   USB support for Kodak DC240 (umass)?
Message-ID:  <199907190538.HAA22171@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Hi,

I got a digital camera (Kodak DC240) which supports USB.

It works very well under Windows98:  As soon as it is plugged
in, the camera is recognized as some kind of "disk drive", with
a directory /dcim/100dc240 containing all the images in JPEG
format.  It's also nicely fast, downloading 8 Mbyte of images
takes only a few seconds (would take 20 minutes through a
standard serial cable!).

Now, of course I'd like to use it under FreeBSD.  Since it
is accessed like a disk drive, I thought that it might work
with the umass driver, but I didn't...

The camera uses CompactFlash cards, which "emulate" ATA disks.
So I guess the problem is that the camera is using the 8070i
(ATA) subclass, which is not implemented in the umass driver
yet.

Is the 8070i support planned for the not-too-far future?
Kodak freely provides programming docs for developers, but
unfortunately I'm not an USB expert at all myself, so it's not
of much use for me.

I've attached the output of usbdevs and usb_dump below, in case
it might be of any use.  I cannot lend the camera to anybody,
I'm afraid, but of course I'm willing to make any experiments
and try everything that would help in this matter.

Regards
   Oliver


# usbdevs -v
Controller /dev/usb0:
addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00
 port 1 addr 2: self powered, config 1, KODAK DC240 Zoom Digital Camera(0x0120), Eastman Kodak Company(0x040a), rev 1.03
 port 2 powered

# ./usb_dump -c 1 -i -f /dev/ugen0
Product: KODAK DC240 Zoom Digital Camera
Vendor:  Eastman Kodak Company
address 2

# ./usb_dump -c 1 -d -f /dev/ugen0
DEVICE descriptor:
bLength=18 bDescriptorType=1 bcdUSB=1.00 bDeviceClass=0 bDeviceSubClass=0
bDeviceProtocol=0 bMaxPacketSize=8
idVendor=0x040a idProduct=0x0120 bcdDevice=103
iManufacturer=1 iProduct=2 iSerialNumber=0 bNumConfigurations=1

CONFIGURATION descriptor:
bLength=9 bDescriptorType=2 wTotalLength=32 bNumInterface=1
bConfigurationValue=1 iConfiguration=0 bmAttributes=40 bMaxPower=100 mA

  INTERFACE descriptor index 0:
  bLength=9 bDescriptorType=4 bInterfaceNumber=0 bAlternateSetting=0
  bNumEndpoints=2 bInterfaceClass=0 bInterfaceSubClass=0
  bInterfaceProtocol=0 iInterface=0

    ENDPOINT descriptor index 0:
    bLength=7 bDescriptorType=5 bEndpointAddress=1-out
    bmAttributes=2 wMaxPacketSize=64 bInterval=0

    ENDPOINT descriptor index 1:
    bLength=7 bDescriptorType=5 bEndpointAddress=2-in
    bmAttributes=2 wMaxPacketSize=64 bInterval=0

# ./usb_dump -c 1 -D -f /dev/ugen0
DEVICE descriptor:
bLength=18 bDescriptorType=1 bcdUSB=1.00 bDeviceClass=0 bDeviceSubClass=0
bDeviceProtocol=0 bMaxPacketSize=8
idVendor=0x040a idProduct=0x0120 bcdDevice=103
iManufacturer=1 iProduct=2 iSerialNumber=0 bNumConfigurations=1

Current configuration is number 1

CONFIGURATION descriptor index 0:
bLength=9 bDescriptorType=2 wTotalLength=32 bNumInterface=1
bConfigurationValue=1 iConfiguration=0 bmAttributes=40 bMaxPower=100 mA

  INTERFACE descriptor index 0, alt index 0:
  bLength=9 bDescriptorType=4 bInterfaceNumber=0 bAlternateSetting=0
  bNumEndpoints=2 bInterfaceClass=0 bInterfaceSubClass=0
  bInterfaceProtocol=0 iInterface=0

    ENDPOINT descriptor index 0:
    bLength=7 bDescriptorType=5 bEndpointAddress=1-out
    bmAttributes=2 wMaxPacketSize=64 bInterval=0

    ENDPOINT descriptor index 1:
    bLength=7 bDescriptorType=5 bEndpointAddress=2-in
    bmAttributes=2 wMaxPacketSize=64 bInterval=0


-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907190538.HAA22171>