On Sat, 8 May 2004, Wayne Stallwood wrote:
On Friday 07 May 2004 23:33, Wayne Stallwood wrote:
On Friday 07 May 2004 17:20, Leon Stedman wrote:
When I attempt to access the camera under gphoto: kernel: usb-uhci.c: interrupt, status 3, frame# 1901 kernel: SCSI device (ioctl) reports ILLEGAL REQUEST. kernel: SCSI device sda: 12288 512-byte hdwr sectors (6 MB) kernel: sda: test WP failed, assume Write Enabled kernel: sda: I/O error: dev 08:00, sector 0 kernel: I/O error: dev 08:00, sector 0 kernel: unable to read partition table is logged.
http://www.mail-archive.com/linux-usb-users@lists.sourceforge.net/ msg06729.html
You can find the file you need to modify in /drivers/usb/storage of the kernel source, means a recompile I know but at least it can be made to work.
It's been submitted so maybe it appears in later kernels now (can't see it in 2.4.21)
I can report some progress:
I added the following to Linux/drivers/usb/unusual_dev.h UNUSUAL_DEV( 0x8ca, 0x105, 0x0000, 0x9999, "Aiptek", "Mega DV", US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP | US_FL_MODE_XLATE),
recompiled the module and used the new usb-storage.o module. I am using 2.4.20-8 RedHat.
Added to /etc/fstab the line: /dev/sda1 /mnt/cam auto noauto,owner,user,rw 0 0
I can now read the camera, but the files are corrupt, blocks of the picture appear in the wrong places. The JPEG files, which I expect to be of the same size, are of different sizes.
Running fdisk gives: Disk /dev/sda: 6 MB, 6291456 bytes 2 heads, 32 sectors/track, 192 cylinders Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System /dev/sda1 * 1 192 6137+ 1 FAT12 Partition 1 has different physical/logical beginnings (non-Linux?): phys=(0, 1, 1) logical=(0, 0, 14)
The internal memory should be 16 MB.
Anyone suggest the next move please?
Leon Stedman