Hello I recently picked up a pentax optio s4, after seeing its cousin the optio s worked as a mass-storage device. I've been having trouble making the camera work under linux, though.
I'm running 2.4.23-pre5-ben0 ( a 2.4.23 kernel plus some patches for better linuxppc support) on PPC. I've got the usb subsystem compiled into the kernel with usb-storage compiled as a module. The scsi subsysem is compiled as a module. lsmod output looks like this: usb-storage 25172 0 sg 29444 0 (autoclean) (unused) st 29648 0 (autoclean) (unused) sr_mod 15432 0 (autoclean) (unused) sd_mod 12108 0 (autoclean) (unused) scsi_mod 82540 5 (autoclean) [usb-storage sg st sr_mod sd_mod] I've also compiled with CONFIG_SCSI_MULTI_LUN=y When i plug in the camera, linux *seems* to recognize the camera and load the usb-storage module, but the scsi subsystem isn't happy at all. here's dmesg output: hub.c: new USB device 10:19.0-1, assigned address 3 usb.c: USB device 3 (vend/prod 0xa17/0x6) is not claimed by any active driver. SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi0 : SCSI emulation for USB Mass Storage devices Vendor: Pentax Model: Optio S Rev: 1000 Type: Direct-Access ANSI SCSI revision: 02 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 3 USB Mass Storage support registered. Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0 scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 sda: Unit Not Ready, sense: Current 00:00: sense key Unit Attention Additional sense indicates Power on,reset,or bus device reset occurred scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 scsi: device set offline - not ready or command retry failed after bus reset: host 0 channel 0 id 0 lun 0 sda : READ CAPACITY failed. sda : status = 0, message = 00, host = 5, driver = 08 Current sd00:00: sense key Unit Attention Additional sense indicates Power on,reset,or bus device reset occurred sda : block size assumed to be 512 bytes, disk size 1GB. /dev/scsi/host0/bus0/target0/lun0: I/O error: dev 08:00, sector 0 I/O error: dev 08:00, sector 0 unable to read partition table lsusb says Bus 002 Device 003: ID 0a17:0006 Pentax Corp. Pentax Optio S and /proc/bus/usb/devices says T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0a17 ProdID=0006 Rev=10.00 S: Manufacturer=PENTAX S: Product=PENTAX OPTIO S4 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=05 Prot=01 Driver=usb-storage E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=1ms I saw the note about adding another UNUSUAL_DEV to unusual_devs.h at http://www.qbik.ch/usb/devices/ , but it seems that change has been made, at least in part. Even if i add USE_FL_MODE_XLATE, the scsi subsystem still doesn't like the camera. Any suggestions as to how i can debug this problem better, or what things i should try hacking to make it work? Thanks ==rob -- Rob Latham Chicago, IL USA ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
