SLES8 vs. Microtech USB Cameramate
I have SLES8 with the latest (precompiled) kernel updates on an AMD64 (HDAMB) system. I also have a Microtech USB Cameramate compact flash/smart card reader. It appears that it does not work. It recognizes it as a usb-storage device, but that's it. It *appears* that the Microtech CompactFlash (DPCM) support is not enabled in the kernel, but I cannot find a kernel compile .config file to check. (Also, I'd *rather* stick with mainstread kernel binaries if I can. Don't really want to o off in a tangent and confuse the Yast2 updates.) -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
On Sat, Oct 25, 2003 at 06:08:06PM -0700, Stephen Williams wrote:
I have SLES8 with the latest (precompiled) kernel updates on an AMD64 (HDAMB) system. I also have a Microtech USB Cameramate compact flash/smart card reader. It appears that it does not work. It recognizes it as a usb-storage device, but that's it.
It *appears* that the Microtech CompactFlash (DPCM) support is not enabled in the kernel, but I cannot find a kernel compile .config file to check.
It should be enabled. But you can check in /proc/config.gz -Andi
Andi Kleen ak-at-suse.de |suse-amd64| wrote:
On Sat, Oct 25, 2003 at 06:08:06PM -0700, Stephen Williams wrote:
I have SLES8 with the latest (precompiled) kernel updates on an AMD64 (HDAMB) system. I also have a Microtech USB Cameramate compact flash/smart card reader. It appears that it does not work. It recognizes it as a usb-storage device, but that's it.
It *appears* that the Microtech CompactFlash (DPCM) support is not enabled in the kernel, but I cannot find a kernel compile .config file to check.
It should be enabled. But you can check in /proc/config.gz
Doh! (Slaps forhead) I shoulda guessed that. Yes indeed, all the configure options needed are enabled, but it still does not work. The following dmesg output is the result of my attempt to plug in an access the device. "fdisk /dev/sdc" and "fdisk /dev/sdd" just get me error messages. What's worse, if I unplug the device and plug it back in, it locks up the system. The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep." hub.c: USB new device connect on bus1/3, assigned device number 2 usb.c: USB device 2 (vend/prod 0x7af/0x6) is not claimed by any active driver. Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi: limiting sg entries to 128 scsi2 : SCSI emulation for USB Mass Storage devices Vendor: Model: Rev: Type: Direct-Access ANSI SCSI revision: 02 Vendor: Microtec Model: CameraMate (DPCM Rev: 0100 Type: Direct-Access ANSI SCSI revision: 02 sg_attach: dev3=(21:3) sd: find_free_slot ...<7>sd: ... found 08:20 Attached scsi removable disk sdc at scsi2, channel 0, id 0, lun 0 sg_attach: dev4=(21:4) sd: find_free_slot ...<7>sd: ... found 08:30 Attached scsi removable disk sdd at scsi2, channel 0, id 0, lun 1 SCSI device sdc: 62592 512-byte hdwr sectors (32 MB) sdc: test WP failed, assume Write Enabled sdc:<3>hub.c: USB device not accepting new address (error=-110) hub.c: already running port 3 disabled by hub (EMI?), re-enabling... usb.c: USB disconnect on device 2 hub.c: USB new device connect on bus1/3, assigned device number 3 usb.c: USB device not accepting new address=3 (error=-110) hub.c: USB new device connect on bus1/3, assigned device number 4 usb.c: USB device not accepting new address=4 (error=-110) usb-storage: host_reset() requested but not implemented scsi: device set offline - command error recover failed: host 2 channel 0 id 0 lun 0 SCSI disk error : host 2 channel 0 id 0 lun 0 return code = 8000002 Current sd08:20: sns = 70 0 Raw sense data:0x70 0x00 0x00 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 I/O error: dev 08:20, sector 0 I/O error: dev 08:20, sector 2 I/O error: dev 08:20, sector 0 unable to read partition table sdd : READ CAPACITY failed. sdd : status = 0, message = 00, host = 7, driver = 00 sdd : sense not available. sdd : block size assumed to be 512 bytes, disk size 1GB. sdd:SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 unable to read partition table WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 0 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 2 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 4 SCSI disk error : host 2 channel 0 id 0 lun 1 return code = 70000 I/O error: dev 08:30, sector 6
The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel.
Can you try it with the kernel from ftp://ftp.suse.com/pub/people/ak/test7/ [on SLES8 you may need to install it with --nodeps --force, but it works] -Andi
Andi Kleen ak-at-suse.de |suse-amd64| wrote:
The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel.
Can you try it with the kernel from ftp://ftp.suse.com/pub/people/ak/test7/
[on SLES8 you may need to install it with --nodeps --force, but it works]
It took a while for me to get around to this, and in the mean time I got UnitedLinux SP3, which includes k_smp-2.4.21-143. I'm having slightly less trouble with the Microtech USB Cameramate, in that puging and unpluging the module hasn't crashed the kernel, yet, but I still can't read the medai. Nov 10 20:37:52 wing kernel: hub.c: new USB device 02:00.0-3, assigned address 5 Nov 10 20:37:52 wing kernel: WARNING: USB Mass Storage data integrity not assure d Nov 10 20:37:52 wing kernel: USB Mass Storage device found at 5 Nov 10 20:37:53 wing kernel: sdc : READ CAPACITY failed. Nov 10 20:37:53 wing kernel: sdc : status = 0, message = 00, host = 7, driver = 00 Nov 10 20:37:53 wing kernel: sdc : sense not available. Nov 10 20:37:53 wing kernel: sdc : block size assumed to be 512 bytes, disk size 1GB. Nov 10 20:37:53 wing kernel: sdc: I/O error: dev 08:20, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 2097144 Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 2097144 Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 0 Nov 10 20:37:53 wing kernel: unable to read partition table Nov 10 20:37:53 wing kernel: I/O error: dev 08:20, sector 0 Nov 10 20:37:53 wing kernel: sddr09: could not read card info Nov 10 20:37:53 wing last message repeated 2 times Nov 10 20:37:53 wing kernel: sdd : READ CAPACITY failed. Nov 10 20:37:53 wing kernel: sdd : status = 1, message = 00, host = 0, driver = 08 Nov 10 20:37:53 wing kernel: Current sd00:00: sense key None Nov 10 20:37:53 wing kernel: sdd : block size assumed to be 512 bytes, disk size 1GB. Nov 10 20:37:53 wing kernel: sdd: I/O error: dev 08:30, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 2097144 Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 2097144 Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 0 Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 0 Nov 10 20:37:53 wing kernel: unable to read partition table Nov 10 20:37:53 wing kernel: I/O error: dev 08:30, sector 0 Nov 10 20:37:53 wing kernel: sddr09: could not read card info Nov 10 20:37:53 wing last message repeated 2 times Nov 10 20:37:53 wing kernel: sdf : READ CAPACITY failed. Nov 10 20:37:53 wing kernel: sdf : status = 1, message = 00, host = 0, driver = 08 Nov 10 20:37:53 wing kernel: Current sd00:00: sense key None Nov 10 20:37:53 wing kernel: sdf : block size assumed to be 512 bytes, disk size 1GB. Nov 10 20:37:53 wing kernel: sdf: Write Protect is off Any attempt to read from medai fails. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
"Stephen Williams" <1mc9i5i02@sneakemail.com> writes:
Andi Kleen ak-at-suse.de |suse-amd64| wrote:
The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel. Can you try it with the kernel from ftp://ftp.suse.com/pub/people/ak/test7/ [on SLES8 you may need to install it with --nodeps --force, but it works]
It took a while for me to get around to this, and in the mean time I got UnitedLinux SP3, which includes k_smp-2.4.21-143.
I'm having slightly less trouble with the Microtech USB Cameramate, in that puging and unpluging the module hasn't crashed the kernel, yet, but I still can't read the medai.
This really looks like a hardware issuse. Does the same camera work at other systems? Is your USB port working with other devices? Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas Jaeger aj-at-suse.de |suse-amd64| wrote:
"Stephen Williams" <1mc9i5i02@sneakemail.com> writes:
Andi Kleen ak-at-suse.de |suse-amd64| wrote:
The device works fine on a Pentium system (RedHat 7.x) with a similar vintage kernel.
Can you try it with the kernel from ftp://ftp.suse.com/pub/people/ak/test7/ [on SLES8 you may need to install it with --nodeps --force, but it works]
It took a while for me to get around to this, and in the mean time I got UnitedLinux SP3, which includes k_smp-2.4.21-143.
I'm having slightly less trouble with the Microtech USB Cameramate, in that puging and unpluging the module hasn't crashed the kernel, yet, but I still can't read the medai.
This really looks like a hardware issuse. Does the same camera work at other systems? Is your USB port working with other devices?
Yes, and yes. Actually, it is a "cameramate" flash card reader, not a camera. I've got it working in a Linux/Intel system with RedHat 7.3. Also, the USB ports on the Opteron have successfully run a prom programmer that I built, so the ports are OK. The Microtek Cameramate is an oddball device. There are Linux drivers for it in the tree, but they are relatively recent. It is plausible to me that the cameramate driver has never been tested on a 64bit system. -- Steve Williams "The woods are lovely, dark and deep. steve at icarus.com But I have promises to keep, http://www.icarus.com and lines to code before I sleep, http://www.picturel.com And lines to code before I sleep."
participants (3)
-
Andi Kleen
-
Andreas Jaeger
-
Stephen Williams