Re: Does the Memory Stick work in linux?

Ulrich Plate <[email protected]> Mon, 18 Aug 2003 14:13:08 +0200
Newsgroups gmane.linux.hardware.sony
Message-ID <[email protected]>
Mark Kaufer wrote:

> As I mentioned in my second email, nothing gets written to anything in
> /var/log/ when the MS is inserted or removed.

Have you checked dmesg?

> John, is yours coming up as a SCSI device or IDE?  If SCSI, what /dev/
> file do you use out of curiosity?

I'm not John, and I'm running Gentoo instead of the distributions
you've been discussing here, but I do have the built-in memory stick
slot in my PCGR505R/GK showing up as a SCSI device (at /dev/sda):

---------------------------------------------------------------------
In /usr/src/linux/.config:
--------------------------
CONFIG_SCSI=y
CONFIG_USB_STORAGE=y
---------------------------------------------------------------------
Output of dmesg (no memory stick inserted, hence the error messages):
---------------------------------------------------------------------
scsi2 : SCSI emulation for USB Mass Storage devices
  Vendor: Sony      Model: MSC-U02           Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi2, channel 0, id 0, lun 0
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Current sd00:00: sense key Not Ready
Additional sense indicates Medium not present
sda : block size assumed to be 512 bytes, disk size 1GB.
 /dev/scsi/host2/bus0/target0/lun0: I/O error: dev 08:00, sector 0
 I/O error: dev 08:00, sector 0
 unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
Device not ready.  Make sure there is a disc in the drive.
---------------------------------------------------------------------

Whenever there *is* a stick in the slot, I simply mount it as /dev/sda1,
works without any problems whatsoever.

HTH
Ulrich Plate