Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending arbitrary ATA commands? - block level access for SM over USB adapter for reading Newtons cards



Jim --

Just to clarify, S.M.A.R.T. is different from SmartMedia. S.M.A.R.T. stands for Self-Monitoring, Analysis, and Reporting
Technology Interface and is used by hard drive manufacturers to report any issues the drive is having while running. SmartMedia is a type of media used by devices.

You should be able to do everything you need to today using the block or raw interfaces (/dev/disk# and /dev/rdisk#). You will most likely want the raw interface since you don't want the data buffered.

If you are using USB devices, there either needs to be a driver for the device, or it must be USB Mass Storage Class compliant to work with Apple's native drivers. PCMCIA devices should 'just work', but you must have the media inserted in the adapter before inserting it into the PCMCIA slot (and yes, there is a feature request to make that 'just work' already).

HTH,

-- Chris


On Saturday, November 30, 2002, at 05:07 PM, Jim Witte wrote:

Hi,

I just noticed this thread and thought my question might have something to do with it. I want to make a program that will do block-level read/write to SmartMedia ATA cards. I want to start with ATA access over a USB adapter, then move to a PCMCIA adapter, then add CompactFlash support, and finally perhaps a linear-flash read mode. The reason for this is to make an application that can read and write information to Newton format stores, now that the Newton can deal with ATA cards (see Paul Guyot's www.kallisys.com/newton/ata). I don't neccessarily want to be able to *mount* a store like a disk on the desktop, but just be able to read data off the flash disk directly into a memory buffer where I can deal with it there inside an application. (A desktop-mounting utility might come next, as it would have to, since data in Newton stores is compressed in a way that I'm not sure anyone outside of Apple really knows.. perhaps Paul does.

Jim Witte
email@hidden
After Midnight Lizard Products

You may get more mileage by posting to email@hidden, but the short answer is, it's not likely to be supported by Apple.
<snip>
My question: is there a framework for sending arbitrary ATA commands
or something for accessing the familiar ATAIdentify structure?
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


------------------
6 Infinite Loop
M/S 306-2MS
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
email: email@hidden
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.