Hi!

I've got a Dimage5 camera from Minolta. (it seems to be nearly identical
to Dimage7, just less resolution) And I've not found much information.
I've seen Dimage7 listed somewhere as supported, somewhere else as not
supported...

The fact now is that I have the camera, have a working Win98 instalation
and have knowledge about C/C++. (I've never messed up with kernel
drivers... but... looks like a good ocasion to start, if needed) So I
can do any tests necessary, modify the kernel drivers... But I'd need
someone to guide me, since I'm new to kernel drivers and USB. Any help
will be welcome. ;)

BTW: I've tryed modifying "unusual_devs.h", but... in fact I don't know
what those flags do. And I've been unable to get it working this way.

So, that's what I get with "out-of-the-box" 2.4.17 kernel:

If I try to use it BEFORE I load usb-storage.o:

Jan  6 14:27:21 comac kernel: hub.c: USB new device connect on bus1/2,
assigned device number 2
Jan  6 14:27:21 comac kernel: [c12980c0] link (01298062) element
(01299244)
Jan  6 14:27:21 comac kernel:   Depth traverse
Jan  6 14:27:21 comac kernel:   0: [c1299240] link (00000001) e0 IOC
Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=2, PID=e1(OUT)
(buf=00000000)
Jan  6 14:27:21 comac kernel:
Jan  6 14:27:21 comac kernel: usb.c: error getting string descriptor 0
(error=-110)
Jan  6 14:27:22 comac kernel: Product: DIMAGE CAMERA
Jan  6 14:27:22 comac kernel: usb.c: USB device 2 (vend/prod
0x686/0x4008) is not claimed by any active driver.
Jan  6 14:27:22 comac kernel:   Length              = 18
Jan  6 14:27:22 comac kernel:   DescriptorType      = 01
Jan  6 14:27:22 comac kernel:   USB version         = 1.00
Jan  6 14:27:22 comac kernel:   Vendor:Product      = 0686:4008
Jan  6 14:27:22 comac kernel:   MaxPacketSize0      = 8
Jan  6 14:27:22 comac kernel:   NumConfigurations   = 1
Jan  6 14:27:22 comac kernel:   Device version      = 0.01
Jan  6 14:27:22 comac kernel:   Device Class:SubClass:Protocol =
00:00:00
Jan  6 14:27:22 comac kernel:     Per-interface classes
Jan  6 14:27:22 comac kernel: Configuration:
Jan  6 14:27:22 comac kernel:   bLength             =    9
Jan  6 14:27:22 comac kernel:   bDescriptorType     =   02
Jan  6 14:27:22 comac kernel:   wTotalLength        = 0020
Jan  6 14:27:22 comac kernel:   bNumInterfaces      =   01
Jan  6 14:27:22 comac kernel:   bConfigurationValue =   01
Jan  6 14:27:22 comac kernel:   iConfiguration      =   00
Jan  6 14:27:22 comac kernel:   bmAttributes        =   40
Jan  6 14:27:22 comac kernel:   MaxPower            =    0mA
Jan  6 14:27:22 comac kernel:
Jan  6 14:27:22 comac kernel:   Interface: 0
Jan  6 14:27:22 comac kernel:   Alternate Setting:  0
Jan  6 14:27:22 comac kernel:     bLength             =    9
Jan  6 14:27:22 comac kernel:     bDescriptorType     =   04
Jan  6 14:27:22 comac kernel:     bInterfaceNumber    =   00
Jan  6 14:27:22 comac kernel:     bAlternateSetting   =   00
Jan  6 14:27:22 comac kernel:     bNumEndpoints       =   02
Jan  6 14:27:22 comac kernel:     bInterface Class:SubClass:Protocol =
08:06:50
Jan  6 14:27:22 comac kernel:     iInterface          =   00
Jan  6 14:27:22 comac kernel:     Endpoint:
Jan  6 14:27:22 comac kernel:       bLength             =    7
Jan  6 14:27:22 comac kernel:       bDescriptorType     =   05
Jan  6 14:27:22 comac kernel:       bEndpointAddress    =   03 (out)
Jan  6 14:27:22 comac kernel:       bmAttributes        =   02 (Bulk)
Jan  6 14:27:22 comac kernel:       wMaxPacketSize      = 0010
Jan  6 14:27:22 comac kernel:       bInterval           =   00
Jan  6 14:27:22 comac kernel:     Endpoint:
Jan  6 14:27:22 comac kernel:       bLength             =    7
Jan  6 14:27:22 comac kernel:       bDescriptorType     =   05
Jan  6 14:27:22 comac kernel:       bEndpointAddress    =   84 (in)
Jan  6 14:27:22 comac kernel:       bmAttributes        =   02 (Bulk)
Jan  6 14:27:22 comac kernel:       wMaxPacketSize      = 0010
Jan  6 14:27:22 comac kernel:       bInterval           =   00

And then I shut it down:

Jan  6 14:27:33 comac kernel: usb.c: USB disconnect on device 2

Then, I load usb-storage.o and try again:

Jan  6 14:27:49 comac kernel: Initializing USB Mass Storage driver...
Jan  6 14:27:49 comac kernel: usb.c: registered new driver usb-storage
Jan  6 14:27:49 comac kernel: USB Mass Storage support registered.
Jan  6 14:28:01 comac kernel: hub.c: USB new device connect on bus1/2,
assigned device number 3
Jan  6 14:28:01 comac kernel: [c12980c0] link (01298062) element
(01299244)
Jan  6 14:28:01 comac kernel:   Depth traverse
Jan  6 14:28:01 comac kernel:   0: [c1299240] link (00000001) e0 IOC
Stalled CRC/Timeo Length=7ff MaxLen=7ff DT1 EndPt=0 Dev=3, PID=e1(OUT)
(buf=00000000)
Jan  6 14:28:01 comac kernel:
Jan  6 14:28:01 comac kernel: usb.c: error getting string descriptor 0
(error=-110)
Jan  6 14:28:01 comac kernel: Product: DIMAGE CAMERA
Jan  6 14:28:01 comac kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Jan  6 14:28:01 comac kernel:   Vendor: MINOLTA   Model: DIMAGE
CAMERA    Rev: 1.00
Jan  6 14:28:01 comac kernel:   Type:
Direct-Access                      ANSI SCSI revision: 02
Jan  6 14:28:01 comac kernel: Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
Jan  6 14:28:01 comac kernel: SCSI device sda: 31264 512-byte hdwr
sectors (16 MB)
Jan  6 14:28:01 comac kernel: sda: Write Protect is off
Jan  6 14:28:01 comac kernel:  sda:<7>usb-storage: queuecommand() called

Jan  6 14:28:01 comac kernel:  sda1

There seems to have some trouble, but detects it properly and knows the
compactflash card is 16 Mbs. Then I try "cat /proc/scsi/scsi"

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SONY     Model: CD-ROM CDU701    Rev: 1.0f
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: SAMSUNG  Model: CDRW/DVD SM-308B Rev: BS01
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: MINOLTA  Model: DIMAGE  CAMERA   Rev: 1.00
  Type:   Direct-Access                    ANSI SCSI revision: 02

But when I try the "mount /dev/sda1 /mnt/disk"...

Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=056b8d20)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=056b8d20)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: uhci.c: fcc0: host controller halted. very
bad
Jan  6 14:28:37 comac kernel: usb.c: USB disconnect on device 3
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980c0] link (01298092) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 SPD
Stalled CRC/Timeo Length=f MaxLen=f DT0 EndPt=3 Dev=3, PID=e1(OUT)
(buf=0667df30)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 SPD IOC
Active Length=0 MaxLen=e DT1 EndPt=3 Dev=3, PID=e1(OUT) (buf=0667df40)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: [c12980f0] link (01298062) element
(06511000)
Jan  6 14:28:37 comac kernel:   0: [c6511000] link (06511030) e0 Stalled
CRC/Timeo Length=7 MaxLen=7 DT0 EndPt=0 Dev=3, PID=2d(SETUP)
(buf=012c6680)
Jan  6 14:28:37 comac kernel:   1: [c6511030] link (00000001) e3 IOC
Active Length=0 MaxLen=7ff DT1 EndPt=0 Dev=3, PID=69(IN) (buf=00000000)
Jan  6 14:28:37 comac kernel:
Jan  6 14:28:37 comac kernel: Device 08:01 not ready.
Jan  6 14:28:37 comac kernel:  I/O error: dev 08:01, sector 0
Jan  6 14:28:37 comac kernel: Device not ready.  Make sure there is a
disc in the drive.
Jan  6 14:28:37 comac kernel: Device not ready.  Make sure there is a
disc in the drive.
Jan  6 14:28:38 comac kernel: sda : READ CAPACITY failed.
Jan  6 14:28:38 comac kernel: sda : status = 1, message = 00, host = 0,
driver = 08
Jan  6 14:28:38 comac kernel: Info fld=0xa00 (nonstd), Current sd00:00:
sns = 70  2
Jan  6 14:28:38 comac kernel: Raw sense data:0x70 0x00 0x02 0x00 0x00
0x0a 0x00 0x00
Jan  6 14:28:38 comac kernel: sda : block size assumed to be 512 bytes,
disk size 1GB.
Jan  6 14:28:38 comac kernel:  sda: I/O error: dev 08:00, sector 0
Jan  6 14:28:38 comac kernel:  I/O error: dev 08:00, sector 0
Jan  6 14:28:38 comac kernel:  unable to read partition table

The camera disconects (a "USB disconnected" message apears in the LCD)
and "mount" fails with a "Medium not found" message.

Anyone can help me to get it working?


--
Daniel Moreno - ComaC
Port pa'Linux del FinalBurn: http://comac2k.cjb.net/fbpre/
(http://fblinux.emuunlim.com/ kamin sun)




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

Reply via email to