ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

6 Pages V  « < 3 4 5 6 >  
Start a new topic Add Reply
> Sdhc Controllers, VoodooSDC, IOSDHCIBlockStorage and other drivers
ivik
post Jun 20 2011, 11:55 AM
Post #81
It's alive!!!


Working with single pio with about 1MB/sec. But machine is usable. Not like in linux.
Funny thing is that with vanilla pcifamily, BAR is set for device 0550, but not for 0551.

This post has been edited by ivik: Jun 20 2011, 12:00 PM
quinielascom
post Jun 27 2011, 05:14 PM
Post #82
QUOTE (ivik @ Jun 20 2011, 05:55 AM) *
It's alive!!!


Working with single pio with about 1MB/sec. But machine is usable. Not like in linux.
Funny thing is that with vanilla pcifamily, BAR is set for device 0550, but not for 0551.


I see Apple Built In SDXC Reader attached to VoodoSDHC, How you did that?

Solved, now the question is if in your system profiler, under Card reader is available some info about Apple Built in card reader?

This post has been edited by quinielascom: Jun 28 2011, 12:33 AM
Acer Aspire 4320
Works: Integrated graphics Intel X3100 (QE/CI), Processor T7100 1.80GHz (2 cores, Speedstep), Audio ALC268 Codec (Only SPDIF not works), Network: BCM5787M, Wireless BCM4311 (Led Off), CardReader (Only SD, SDHC & MMC), USB 2.0, Firewire 400, Bluetooth, Battery, Shutdown, Restart, Sleep, ICH8 IDE/SATA Ports. No Works: Modem.
Operating Systems: Windows 7 Ultimate SP1, PCLinuxOS 2008, Snow Leopard 10.6.8 (32 bits).
Slice
post Jun 28 2011, 08:39 AM
Post #83
QUOTE (ivik @ Jun 20 2011, 03:55 PM) *
It's alive!!!

Congratulations!
Tell something about what you did.
QUOTE
Working with single pio with about 1MB/sec. But machine is usable. Not like in linux.
Funny thing is that with vanilla pcifamily, BAR is set for device 0550, but not for 0551.

One of them is Controller, another is Slot.
With 10.6.8 update we have new IOPCIFamily with new possibility. There are new hopes and new headache.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
ivik
post Jun 28 2011, 01:08 PM
Post #84
@quinielascom
Sysprofiler is empty. But services are recognized as apple ones. I can import pictures in preview.

@Slice
Main problem was init. Voltage must be set first and then frequency.
Dma and multiblock are broken.
I'm trying to get switching between dma and pio when data is smaller than 512 like in BSD driver.

Hibernation/sleep works, but BAR is set to 0 after resume in S3.
I'm still on 10.6.7.
Slice
post Jun 30 2011, 09:17 AM
Post #85
I've tryed your suggestion
CODE
bool VoodooSDHC::cardInit(UInt8 slot)
{
    isHighCapacity = false;
    powerSD(slot);
    calcClock(slot, 400000);
    SDCommand(slot, SD_GO_IDLE_STATE, SDCR0, 0);

and system is 10.6.8 with new IOPCIFamily.
No luck. The same trouble
CODE
Jun 30 13:11:25 MacDell kernel[0]: VoodooSDHC ::: an SDHC driver for Ricoh, TI, and JMicron SD Host Controllers ::: rev 20100827
Jun 30 13:11:25 MacDell kernel[0]: VoodooSDHC: wakeup requested with state 2
Jun 30 13:11:52 MacDell kernel[0]: AppleBCM5751Ethernet:        a        0 interruptOccurred - Not my interrupt
Jun 30 13:11:52 MacDell kernel[0]: VoodooSDHC: I/O error during SDMA transfer: Status: 0x8000, Error: 0x20, Block: 1024, Offset: 0, Blocks: 4
Jun 30 13:11:52 MacDell kernel[0]: IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
Jun 30 13:11:52 MacDell kernel[0]: disk2: general error.
Jun 30 13:11:52 MacDell kernel[0]: VoodooSDHC: I/O error during SDMA transfer: Status: 0x8000, Error: 0x20, Block: 3779580, Offset: 0, Blocks: 4

I see also IRQ conflict. Next try to exclude BCM5751.

EDITED: doesn't influence.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
ivik
post Jul 1 2011, 12:01 PM
Post #86
PIO or multipio works?
Slice
post Jul 1 2011, 12:27 PM
Post #87
QUOTE (ivik @ Jul 1 2011, 04:01 PM) *
PIO or multipio works?

Didn't try yet. I tried old driver named IOSDHCI...fully_working_with_polling. It freezes my system but not works.
Going to recompile VoodooSDHC in PIO mode...
New behaviour
CODE
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC ::: an SDHC driver for Ricoh, TI, and JMicron SD Host Controllers ::: rev 20100827
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: running start()
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: we have found 1 SD Host Controllers
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: starting card power management
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: controller slot == 0
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: wakeup requested with state 2
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: controller slot == 0
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: reportRemovability
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: reportEjectability
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: reportLockability
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: reportMaxReadTransfer
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: reportMaxWriteTransfer
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: in power_sd(slot) function :: 0x1e021a1
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: BaseClock :: 33MHz
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: SD Clock :: 257KHz
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: initializing spec 2.0 SD card
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending CMD_55
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: sending APP_CMD_41
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: got response to APP_CMD_41: 0x80ff8000
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: standard SD (without HC)
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: BaseClock :: 33MHz
Jul 1 16:47:04 MacDell kernel[0]: VoodooSDHC: SD Clock :: 16500KHz
Jul 1 16:47:06 MacDell kernel[0]: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00005e00 0x325b5aa3 0x9affffff 0x800a8000
Jul 1 16:47:06 MacDell kernel[0]: VoodooSDHC: WIDE_BUS_MODE :: setting 4 bit mode
Jul 1 16:47:06 MacDell kernel[0]: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00000000 0x00000000 0x00000000 0x00000920
Jul 1 16:47:06 MacDell kernel[0]: VoodooSDHC: properly switched to 4 bit mode
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: HIGHSPEED_CARD_MODE
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: BaseClock :: 33MHz
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: SD Clock :: 33000KHz
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: Card Init: Host Control = 0x6
Jul 1 16:47:07: --- last message repeated 1 time ---
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: reportBlockSize: 200
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: reportMaxValidBlock
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: reportWriteProtection
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: getVendorString
Jul 1 16:47:07: --- last message repeated 1 time ---
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: getProductString
Jul 1 16:47:07: --- last message repeated 1 time ---
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x0 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC: S Returning error: 0x208021
Jul 1 16:47:07 MacDell kernel[0]: IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
Jul 1 16:47:07 MacDell kernel[0]: disk1: general error.
Jul 1 16:47:07 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:07 MacDell kernel[0]: VoodooSDHC Int Status 0x208000 Timeout = 0xe
Jul 1 16:47:08 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 1 status = 0x0 state = 0x1f70a02
Jul 1 16:47:10 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 2 status = 0x0 state = 0x1f70a02
Jul 1 16:47:11 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 3 status = 0x0 state = 0x1f70a02
Jul 1 16:47:13 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 4 status = 0x0 state = 0x1f70a02
Jul 1 16:47:14 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 5 status = 0x0 state = 0x1f70a02
Jul 1 16:47:15 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 6 status = 0x0 state = 0x1f70a02
Jul 1 16:47:17 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 7 status = 0x0 state = 0x1f70a02
Jul 1 16:47:18 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 8 status = 0x0 state = 0x1f70a02
Jul 1 16:47:19 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 9 status = 0x0 state = 0x1f70a02
Jul 1 16:47:21 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 10 status = 0x0 state = 0x1f70a02
Jul 1 16:47:22 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 11 status = 0x0 state = 0x1f70a02
Jul 1 16:47:22 MacDell kernel[0]: IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
Jul 1 16:47:22 MacDell kernel[0]: disk1: general error.
Jul 1 16:47:22 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:22 MacDell kernel[0]: VoodooSDHC Int Status 0x0 Timeout = 0xe
Jul 1 16:47:23 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 1 status = 0x0 state = 0x1f70a02
Jul 1 16:47:25 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 2 status = 0x0 state = 0x1f70a02
Jul 1 16:47:26 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 3 status = 0x0 state = 0x1f70a02
Jul 1 16:47:27 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 4 status = 0x0 state = 0x1f70a02
Jul 1 16:47:29 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 5 status = 0x0 state = 0x1f70a02
Jul 1 16:47:30 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 6 status = 0x0 state = 0x1f70a02
Jul 1 16:47:31 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 7 status = 0x0 state = 0x1f70a02
Jul 1 16:47:33 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 8 status = 0x0 state = 0x1f70a02
Jul 1 16:47:34 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 9 status = 0x0 state = 0x1f70a02
Jul 1 16:47:35 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 10 status = 0x0 state = 0x1f70a02
Jul 1 16:47:37 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 11 status = 0x0 state = 0x1f70a02
Jul 1 16:47:37 MacDell kernel[0]: IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
Jul 1 16:47:37 MacDell kernel[0]: disk1: general error.
Jul 1 16:47:37 MacDell kernel[0]: READING FROM CARD!
Jul 1 16:47:37 MacDell kernel[0]: VoodooSDHC Int Status 0x0 Timeout = 0xe
Jul 1 16:47:38 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 1 status = 0x0 state = 0x1f70a02
Jul 1 16:47:39 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 2 status = 0x0 state = 0x1f70a02
Jul 1 16:47:41 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 3 status = 0x0 state = 0x1f70a02
Jul 1 16:47:42 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 4 status = 0x0 state = 0x1f70a02
Jul 1 16:47:43 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 5 status = 0x0 state = 0x1f70a02
Jul 1 16:47:45 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 6 status = 0x0 state = 0x1f70a02
Jul 1 16:47:46 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 7 status = 0x0 state = 0x1f70a02
Jul 1 16:47:47 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 8 status = 0x0 state = 0x1f70a02
Jul 1 16:47:49 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 9 status = 0x0 state = 0x1f70a02
Jul 1 16:47:50 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 10 status = 0x0 state = 0x1f70a02
Jul 1 16:47:51 MacDell kernel[0]: VoodooSDHC: Stuck in while loop 1: pass = 11 status = 0x0 state = 0x1f70a02
Jul 1 16:47:51 MacDell kernel[0]: IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
Jul 1 16:47:51 MacDell kernel[0]: disk1: general error.
Jul 1 16:47:51 MacDell kernel[0]: READING FROM CARD!
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Slice
post Jul 1 2011, 05:29 PM
Post #88
VoodooSDHC.kext works fine in Dell Inspiron but in Dell Latitude D420.
The difference is a present of PCMCI RicohRC476.
And I found in Linux sources something interesting
CODE
    /* search pci cardbus bridge that contains the mmc controller */
    /* the io region is already claimed by yenta_socket... */
    while ((pci_dev =
        pci_get_device(PCI_VENDOR_ID_RICOH, PCI_DEVICE_ID_RICOH_RL5C476,
                   pci_dev))) {
        /* try to init the device */
        if (!sdricoh_init_mmc(pci_dev, pcmcia_dev)) {
            dev_info(&pcmcia_dev->dev, "MMC controller found\n");
            return 0;
        }

    }

Not sure it is relevant.

Hmm. No error in kernel.log. And no mounted media?!
CODE
| | | +-o IOBlockStorageDriver <class IOBlockStorageDriver, id 0x10000046c, registered, matched, active, busy 1 (137332 ms), retain 6>
| | | | {
| | | | "IOProviderClass" = "IOBlockStorageDevice"
| | | | "IOMatchCategory" = "IODefaultMatchCategory"
| | | | "IOProbeScore" = 0x0
| | | | "Statistics" = {"Errors (Read)"=0x0,"Total Time (Write)"=0x0,"Latency Time (Read)"=0x0,"Latency Time (Write)"=0x0,"Bytes (Read)"=0x0,"Retries (Read)"=0x0,"Bytes (Write)"=0x0,"Errors (Write)"=0x0,"Retries (Write)"=0x0,"Operations (Read)"=0x0,"Operations (Write)"=0x0,"Total Time (Read)"=0x0}
| | | | "IOPropertyMatch" = {"device-type"="Generic"}
| | | | "CFBundleIdentifier" = "com.apple.iokit.IOStorageFamily"
| | | | "IOClass" = "IOBlockStorageDriver"
| | | | }
| | | |
| | | +-o Apple Built In SDXC Reader Media <class IOMedia, id 0x100000476, registered, !matched, active, busy 1 (137328 ms), retain 8>
| | | | {
| | | | "Content" = ""
| | | | "Content Hint" = ""
| | | | "Size" = 0x73600000
| | | | "Preferred Block Size" = 0x200
| | | | "Whole" = Yes
| | | | "Writable" = Yes
| | | | "Leaf" = No
| | | | "Ejectable" = Yes
| | | | "Removable" = Yes
| | | | "Open" = Yes
| | | | }
| | | |
| | | +-o AppleXsanFilter <class AppleXsanFilter, id 0x100000478, !registered, !matched, active, busy 0, retain 7>
| | | {
| | | "IOProviderClass" = "IOMedia"
| | | "IOMatchCategory" = "IOStorage"
| | | "IOProbeScore" = 0x1388
| | | "IOPropertyMatch" = {"Whole"=Yes}
| | | "CFBundleIdentifier" = "com.apple.driver.XsanFilter"
| | | "IOParentMatch" = {"IOPropertyMatch"={"device-type"="Generic"},"IOProviderClass"="IOBlockStorageDevice"}
| | | "IOClass" = "AppleXsanFilter"
| | | }
| | |

It is 10.6.8...
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
majosa
post Jul 2 2011, 07:49 AM
Post #89
QUOTE (Slice @ Jul 1 2011, 07:29 PM) *
VoodooSDHC.kext works fine in Dell Inspiron but in Dell Latitude D420.
The difference is a present of PCMCI RicohRC476.
And I found in Linux sources something interesting

Not sure it is relevant.

Is need a double initialization with sd device and mmc device? This explains why the SD behavior changes if I change the MMC address device
majosa
post Aug 2 2011, 06:48 PM
Post #90
I tried use a compiled VoodooSDHC with PIO mode and now appears the SD device on disk utility but it can't mount. Freeze using interruptions
Loading
CODE
02/08/11 20:37:20 kernel C: AMDAErrorStatus: 0x00 Argument 0x00000000
02/08/11 20:37:20 kernel VoodooSDHC: ADMASystemAddr[1]: 0x00000000 ADMASystemAddr[0]: 0x00000000
02/08/11 20:37:20 kernel VoodooSDHC: SlotIntStatus: 0x0000 HostControllerVer: 0x0200
02/08/11 20:37:20 kernel VoodooSDHC: Response[1]: 0x00000000 Response[0]: 0x00000000
02/08/11 20:37:20 kernel VoodooSDHC: Response[3]: 0x00000000 Response[2]: 0x00000000
02/08/11 20:37:20 kernel VoodooSDHC: End of Register Dump************************************************
02/08/11 20:37:20 kernel VoodooSDHC: reportRemovability
02/08/11 20:37:20 kernel VoodooSDHC: reportEjectability
02/08/11 20:37:20 kernel VoodooSDHC: reportLockability
02/08/11 20:37:20 kernel VoodooSDHC: reportMaxReadTransfer
02/08/11 20:37:20 kernel VoodooSDHC: reportMaxWriteTransfer
02/08/11 20:37:45 kernel VoodooSDHC: BaseClock :: 33MHz
02/08/11 20:37:45 kernel VoodooSDHC: SD Clock :: 257KHz
02/08/11 20:37:45 kernel VoodooSDHC: in power_sd(slot) function :: 0x1c021a1
02/08/11 20:37:45 kernel VoodooSDHC: initializing spec 2.0 SD card
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: sending CMD_55
02/08/11 20:37:45 kernel VoodooSDHC: got response to APP_CMD_41: 0xc0ff8000
02/08/11 20:37:45 kernel VoodooSDHC: we have HC card
02/08/11 20:37:45 kernel VoodooSDHC: BaseClock :: 33MHz
02/08/11 20:37:45 kernel VoodooSDHC: SD Clock :: 16500KHz
02/08/11 20:37:47 kernel VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00400e00 0x325b5900 0x003bad7f 0x800a4000
02/08/11 20:37:47 kernel VoodooSDHC: WIDE_BUS_MODE :: setting 4 bit mode
02/08/11 20:37:47 kernel VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00000000 0x00000000 0x00000000 0x00000920
02/08/11 20:37:47 kernel VoodooSDHC: properly switched to 4 bit mode
02/08/11 20:37:47 kernel VoodooSDHC: Card Init: Host Control = 0x2
02/08/11 20:37:47 kernel VoodooSDHC: Card Init: Host Control = 0x2
02/08/11 20:37:47 kernel VoodooSDHC: reportBlockSize: 200
02/08/11 20:37:47 kernel VoodooSDHC: reportMaxValidBlock
02/08/11 20:37:47 kernel VoodooSDHC: reportWriteProtection
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14
02/08/11 20:37:47 kernel VoodooSDHC Int Status 0x0 Timeout = 14


IOReg, now without block using vanilla IOPCIFamily
CODE
| | | +-o pci1180,822@5,1 <class IOPCIDevice, id 0x100000195, registered, matched, active, busy 0 (74 ms), retain 9>
| | | | +-o VoodooSDHC <class VoodooSDHC, id 0x100001538, registered, matched, active, busy 0 (37 ms), retain 6>
| | | | +-o IOBlockStorageDriver <class IOBlockStorageDriver, id 0x10000153a, registered, matched, active, busy 0 (31 ms), retain 7>
| | | | +-o Apple Built In SDXC Reader Media <class IOMedia, id 0x10000153b, registered, matched, active, busy 0 (25 ms), retain 9>
| | | | +-o IOMediaBSDClient <class IOMediaBSDClient, id 0x10000153c, registered, matched, active, busy 0 (6 ms), retain 5>
| | | | +-o IOFDiskPartitionScheme <class IOFDiskPartitionScheme, id 0x10000153f, !registered, !matched, active, busy 0 (16 ms), r$
| | | | +-o Untitled 1@1 <class IOMedia, id 0x100001541, registered, matched, active, busy 0 (16 ms), retain 8>
| | | | +-o IOMediaBSDClient <class IOMediaBSDClient, id 0x100001542, registered, matched, active, busy 0 (5 ms), retain 6>
majosa
post Aug 3 2011, 06:29 PM
Post #91
Multiblock mode have problems. Single mode PIO works correctly and now reads SD biggrin.gif

Under DMA, now the system try mount the drive when I put out the SD !?

CODE
03/08/11 20:23:47 diskarbitrationd[12] unable to probe /dev/disk1 (status code 0xFFFFFFFC).
03/08/11 20:23:47 diskarbitrationd[12] unable to probe /dev/disk1 (status code 0xFFFFFFFC).
03/08/11 20:23:47 diskarbitrationd[12] unable to probe /dev/disk1 (status code 0xFFFFFFFC).
03/08/11 20:23:47 diskarbitrationd[12] unable to probe /dev/disk1 (status code 0xFFFFFFFC).
03/08/11 20:23:47 diskarbitrationd[12] unable to probe /dev/disk1 (status code 0xFFFFFFFC).
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
03/08/11 20:23:47 kernel VoodooSDHC: media not present, require remount
03/08/11 20:23:47 kernel IOBlockStorageDriver[IOBlockStorageDriver]; executeRequest: request failed to start!
03/08/11 20:23:47 kernel disk1: media is not present.
akbar102
post Aug 5 2011, 09:06 PM
Post #92
jmicron realase mac os x driver for sd controller:

ftp://driver.jmicron.com.tw/CardReader/MAC_OS_X/SD/
drew
post Aug 6 2011, 10:58 AM
Post #93
Tested, didn't works for me. I have this:

JMB38X SD Host Controller 197B:2381
JMB38X SD/MMC Host Controller 197B:2382
JMB38X MS Host Controller 197B:2383
JMB38X xD Host Controller 197B:2384

This release contains 2 kext:

HSSDBlockStorage.kext:
CODE
<key>IOKitPersonalities</key>
    <dict>
        <key>HSSDBlockStorage</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.jmicron.driver.HSSDBlockStorage</string>
            <key>IOClass</key>
            <string>HSSDBlockStorageDriver</string>
            <key>IOCommandPoolSize</key>
            <integer>32</integer>
            <key>IOProviderClass</key>
            <string>HSSDDevice</string>
            <key>Physical Interconnect</key>
            <string>PCIe</string>
            <key>Physical Interconnect Location</key>
            <string>External</string>
        </dict>
    </dict>


An in the JMB38X.kext:
CODE
<key>IOKitPersonalities</key>
    <dict>
        <key>JMB38X</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.jmicron.driver.JMB38X</string>
            <key>IOClass</key>
            <string>JMB38X</string>
            <key>IOPCIMatch</key>
            <string>[color="#FF0000"][b]0x2392197B[/b][/color]</string>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
        </dict>
    </dict>


I tryed to modify the IOPCIMatch string to 2381, 2382, 2383 and 2384, but didn't works. I can't see any sign in IORegExplorer or in dmesg.

Any idea?

This post has been edited by drew: Aug 6 2011, 11:03 AM
akbar102
post Aug 6 2011, 02:58 PM
Post #94
QUOTE (drew @ Aug 6 2011, 11:58 AM) *
Tested, didn't works for me. I have this:

JMB38X SD Host Controller 197B:2381
JMB38X SD/MMC Host Controller 197B:2382
JMB38X MS Host Controller 197B:2383
JMB38X xD Host Controller 197B:2384

This release contains 2 kext:

HSSDBlockStorage.kext:
CODE
<key>IOKitPersonalities</key>
    <dict>
        <key>HSSDBlockStorage</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.jmicron.driver.HSSDBlockStorage</string>
            <key>IOClass</key>
            <string>HSSDBlockStorageDriver</string>
            <key>IOCommandPoolSize</key>
            <integer>32</integer>
            <key>IOProviderClass</key>
            <string>HSSDDevice</string>
            <key>Physical Interconnect</key>
            <string>PCIe</string>
            <key>Physical Interconnect Location</key>
            <string>External</string>
        </dict>
    </dict>


An in the JMB38X.kext:
CODE
<key>IOKitPersonalities</key>
    <dict>
        <key>JMB38X</key>
        <dict>
            <key>CFBundleIdentifier</key>
            <string>com.jmicron.driver.JMB38X</string>
            <key>IOClass</key>
            <string>JMB38X</string>
            <key>IOPCIMatch</key>
            <string>[color="#FF0000"][b]0x2392197B[/b][/color]</string>
            <key>IOProviderClass</key>
            <string>IOPCIDevice</string>
        </dict>
    </dict>


I tryed to modify the IOPCIMatch string to 2381, 2382, 2383 and 2384, but didn't works. I can't see any sign in IORegExplorer or in dmesg.

Any idea?

yes it didn't show anything .may be changing device id in dsdt help with this.i am not use my card reader to test it
bautzen
post Aug 28 2011, 01:01 PM
Post #95
QUOTE (sdhc @ Dec 13 2010, 01:32 PM) *
Hi to all, hi slice.

CODE
08:03.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]


I tried all all voodoo sdhc, all, form voodoolabs and from here, also last posted from slice (thanks). Teorically my chip is supported and in verbose i read:

VoodooSDHC ::: an SDHC driver for Ricoh, TI, and JMicron SD Host Controllers :::
VoodooSDHC: initializing SD host controller
VoodooSDHC: we have found 1 SD Host Controllers

and so.. but then .. nothing...

Nothing card is mounting,never, from ioreg i read that the Card inserted is always on false. So the problem is that the card is not mounted never, nothing cards. Many have this problem here with Texas Instruments chipset: http://forum.voodooprojects.org/index.php#c7

Inserting the pci104c:803b in info.plist the stuff doesn't change.

Now, Slice, can you try to solve this problem one time for all, only you can. The chipset is found but then nothing...

Thanks Slice. Say me what i do for test;)


Hi to all (and special thnaks to Slice for his last Chameleon_2.0_RC5m_r1291 which resolved intermittent boot on dual core mode for HP NC6400 and NC4400 boots. You have made the miracle. Many thanks, really!!!) Anyway....

I would like (as many others here) to understand and maybe see an end to this problem. I own a TIxx12 (like in quote):

my lspci -nn is:

00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)
00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 01)
00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 [8086:27d0] (rev 01)
00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 [8086:27d2] (rev 01)
00:1c.3 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 [8086:27d6] (rev 01)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 [8086:27c8] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 [8086:27c9] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 [8086:27ca] (rev 01)
00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 [8086:27cb] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller [8086:27cc] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev e1)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge [8086:27b9] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
00:1f.2 SATA controller [0106]: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller [8086:27c5] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus Controller [8086:27da] (rev 01)
01:06.0 CardBus bridge [0607]: Texas Instruments PCIxx12 Cardbus Controller [104c:8039]
01:06.2 Mass storage controller [0180]: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) [104c:803b]
01:06.3 SD Host controller [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller [104c:803c]
01:06.4 Communication controller [0780]: Texas Instruments PCIxx12 GemCore based SmartCard controller [104c:803d]

08:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM5753M Gigabit Ethernet PCI Express [14e4:16fd] (rev 21)
10:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11a/b/g [14e4:4312] (rev 01)

My System Profiler for PCI device appears as shown in picture below.

I have installed IOSDHCIBlockDevice.kext adding in Info.plist 0x803b104c using THIS guide but it's a Mass Storage Controller and not an SD Host controller [104c:803c]. However I have tried to insert this last one code too, but nothing changed: NO SD Card mounted.
Same results using any VoodooSDxx kext provided from Voodoolabs.
In system profiler have I to see a loaded driver for both SD Host controller and Mass Storage??
When I insert a PCMCIA card reader I haven't problems, the OSX reads and writes without problem on SD card (2GB).

Have you time to help TIxx12 owner too? It will be great appreciated, I am sure about.

I am not a developer so I don't know how could I help you, but feel free to try to ask me what you need to investigate.

thank you

Attached File  Schermata_2011_08_28_a_15.05.45.png ( 97.17K ) Number of downloads: 36


This post has been edited by bautzen: Aug 28 2011, 01:11 PM
funkyfrank
post Dec 28 2011, 05:15 PM
Post #96
Hi,

any idea how I get my R5U822 Ricoh PCIe card reader (id e822/1180) working in Snow Leopard 64bit?
Thanks for ideas.
Slice
post Feb 8 2012, 07:17 AM
Post #97
I still have no full solution.
Here is more or less working version 1.1.2
with DMA
Attached File  VoodooSDHC.kext_v112.zip ( 31.9K ) Number of downloads: 350

without DMA ( SIO no Multiblock)
Attached File  VoodooSDHC.kext_noDMA.zip ( 32.19K ) Number of downloads: 133


Feedback. please.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
Kogen Mantis
post Feb 10 2012, 05:16 PM
Post #98
QUOTE (Slice @ Feb 8 2012, 08:17 AM) *
...
Feedback. please.


Hi Slice.
I have tried both and Attached File  VoodooSDHC.kext_v112.zip ( 31.9K ) Number of downloads: 350
is working fine now on Dell E6400 @ OS 10.7.3.

Here is part of my kernel.log:
CODE
Feb 10 22:17:29 localhost kernel[0]: FireWire runtime power conservation disabled. (2)
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC ::: an SDHC driver for Ricoh, TI, and JMicron SD Host Controllers ::: rev 20110208
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: initializing SD host controller
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: running start()
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: we have found 1 SD Host Controllers
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: dump PCI
Feb 10 22:17:29 localhost kernel[0]: (00)=08221180 (04)=02100106 (08)=08050121 (0c)=00804010
Feb 10 22:17:29 localhost kernel[0]: (10)=f1eff600 (14)=00000000 (18)=00000000 (1c)=00000000
Feb 10 22:17:29 localhost kernel[0]: (20)=00000000 (24)=00000000 (28)=00000000 (2c)=02331028
Feb 10 22:17:29 localhost kernel[0]: (30)=00000000 (34)=00000080 (38)=00000000 (3c)=00000312
Feb 10 22:17:29 localhost kernel[0]: (40)=00000000 (44)=00000000 (48)=00000000 (4c)=00000000
Feb 10 22:17:29 localhost kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
Feb 10 22:17:29 localhost kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
Feb 10 22:17:29 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready
Feb 10 22:17:29 localhost kernel[0]: venderid: 0x8086 deviceid: 0x10f5.
Feb 10 22:17:29 localhost kernel[0]: (50)=00000000 (54)=00000000 (58)=00000000 (5c)=00000000
Feb 10 22:17:29 localhost kernel[0]: (60)=00000000 (64)=00000000 (68)=00000000 (6c)=00000000
Feb 10 22:17:29 localhost kernel[0]: (70)=00000000 (74)=00000000 (78)=00000000 (7c)=00000000
Feb 10 22:17:29 localhost kernel[0]: BTCOEXIST off
Feb 10 22:17:29 localhost kernel[0]: wl0: Broadcom BCM432b 802.11 Wireless Controller
Feb 10 22:17:29 localhost kernel[0]: 5.100.98.75
Feb 10 22:17:29 localhost kernel[0]: (80)=fe020001 (84)=48004000 (88)=00000000 (8c)=00000000
Feb 10 22:17:29 localhost kernel[0]: (90)=00000000 (94)=00000000 (98)=00000000 (9c)=00000000
Feb 10 22:17:29 localhost kernel[0]: (a0)=00000000 (a4)=00000000 (a8)=00000000 (ac)=02331028
Feb 10 22:17:29 localhost kernel[0]: (b0)=00020004 (b4)=00000000 (b8)=00000000 (bc)=000000a0
Feb 10 22:17:29 localhost kernel[0]: (c0)=00000000 (c4)=00000000 (c8)=00000000 (cc)=00000000
Feb 10 22:17:29 localhost kernel[0]: (d0)=00000000 (d4)=00000000 (d8)=00000000 (dc)=00000000
Feb 10 22:17:29 localhost kernel[0]: (e0)=01e021a1 (e4)=00000000 (e8)=00000040 (ec)=00000000
Feb 10 22:17:29 localhost kernel[0]: (f0)=00000000 (f4)=00000000 (f8)=022000c1 (fc)=00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: starting card power management
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: controller slot == 0
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Register Dump ******************************************************
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SDMASysAddr: 0x06559000 PresentState: 0x01fa0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: BlockSize: 0x3200 BlockCount: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: TransferMode: 0x0027 Command: 0x193a
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: HostControl: 0x03 PowerControl: 0x0e
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: BlockGapControl: 0x00 WakeupControl: 0x00
Feb 10 22:17:29 localhost kernel[0]: FireWire (OHCI) VendorID 1180 ID 832 PCI now active, GUID 394fc0001dce0890; max speed s400.
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ClockControl: 0x0003 TimeoutControl: 0x0e
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SoftwareReset: 0x00 NormalIntStatus: 0x0080
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntStatus: 0x0000 NormalIntStatusEn: 0x01ff
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntStatusEn: 0xe3ff NormalIntSignalEn: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntSignalEn: 0x0000 CMD12ErrorStatus: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Capabilities[1]: 0x00000000 Capabilities[0]: 0x01e021a1
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: MaxCurrentCap[1]: 0x00000000 MaxCurrentCap[0]: 0x00000040
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ForceEventCMD12ErrStatus: 0x0000 ForceEventErrorIntStatus: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: AMDAErrorStatus: 0x00 Argument 0x0002e600
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ADMASystemAddr[1]: 0x00000000 ADMASystemAddr[0]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SlotIntStatus: 0x0000 HostControllerVer: 0x0400
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Response[1]: 0x00000000 Response[0]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Response[3]: 0x00000c00 Response[2]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: End of Register Dump************************************************
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: wakeup requested with state 2
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: reportRemovability
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: reportEjectability
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: controller slot == 0
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Register Dump ******************************************************
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SDMASysAddr: 0x00000000 PresentState: 0x01fa0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: BlockSize: 0x0000 BlockCount: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: TransferMode: 0x0000 Command: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: HostControl: 0x00 PowerControl: 0x00
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: BlockGapControl: 0x00 WakeupControl: 0x00
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ClockControl: 0x0000 TimeoutControl: 0x0e
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SoftwareReset: 0x00 NormalIntStatus: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntStatus: 0x0000 NormalIntStatusEn: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntStatusEn: 0x0000 NormalIntSignalEn: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ErrorIntSignalEn: 0x0000 CMD12ErrorStatus: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Capabilities[1]: 0x00000000 Capabilities[0]: 0x01e021a1
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: MaxCurrentCap[1]: 0x00000000 MaxCurrentCap[0]: 0x00000040
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ForceEventCMD12ErrStatus: 0x0000 ForceEventErrorIntStatus: 0x0000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: AMDAErrorStatus: 0x00 Argument 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: ADMASystemAddr[1]: 0x00000000 ADMASystemAddr[0]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: SlotIntStatus: 0x0000 HostControllerVer: 0x0400
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Response[1]: 0x00000000 Response[0]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: Response[3]: 0x00000000 Response[2]: 0x00000000
Feb 10 22:17:29 localhost kernel[0]: VoodooSDHC: End of Register Dump************************************************


And here is part when SDHC card is inserted:
CODE
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: in power_sd(slot) function :: 0x1e021a1
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: BaseClock :: 33MHz
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: SD Clock :: 257KHz
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: initializing spec 2.0 SD card
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: sending CMD_55
Feb 10 22:30:52: --- last message repeated 4 times ---
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: got response to APP_CMD_41: 0xc0ff8000
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: we have HC card
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: BaseClock :: 33MHz
Feb 10 22:30:52 DellBook kernel[0]: VoodooSDHC: SD Clock :: 16500KHz
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00400e00 0x325b5900 0x003cdc7f 0x800a4040
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: WIDE_BUS_MODE :: setting 4 bit mode
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00000000 0x00000000 0x00000000 0x00000920
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: properly switched to 4 bit mode
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: Card Init: Host Control = 0x2
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: Card Init: Host Control = 0x3
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: reportBlockSize: 200
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: reportMaxValidBlock
Feb 10 22:30:54 DellBook kernel[0]: VoodooSDHC: reportWriteProtection

P.S. > I also have a RicohRC476 present just like your D420.

This post has been edited by Kogen Mantis: Feb 10 2012, 10:33 PM
HacBook Pro: Lenovo ThinkPad T420 (4180A32) in UEFI Only | added 128GB mSATA | replaced WiFi to DW1510 | running OSX 10.8.4
Slice
post Feb 12 2012, 07:07 PM
Post #99
My Dell Inspiron also has
CODE
HostControllerVer:        0x0400

And the driver works.

But Latitude D420/D430 has
CODE
HostControllerVer:        0x0200

And the driver doesn't work in any combination of patches.
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.4, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2
majosa
post Mar 11 2012, 05:34 PM
Post #100
QUOTE (Slice @ Feb 12 2012, 08:07 PM) *
My Dell Inspiron also has
CODE
HostControllerVer:        0x0400

And the driver works.

But Latitude D420/D430 has
CODE
HostControllerVer:        0x0200

And the driver doesn't work in any combination of patches.


I looked for the HostControllerVer of SD host in my laptop and it is the problematic version
CODE
11/03/12 18:26:35,000 kernel: VoodooSDHC ::: an SDHC driver for Ricoh, TI, and JMicron SD Host Controllers ::: rev 20110208
11/03/12 18:26:35,000 kernel: VoodooSDHC: initializing SD host controller
11/03/12 18:26:35,000 kernel: VoodooSDHC: running start()
11/03/12 18:26:35,000 kernel: VoodooSDHC: we have found 1 SD Host Controllers
11/03/12 18:26:35,000 kernel: VoodooSDHC: dump PCI
11/03/12 18:26:35,000 kernel: (00)=08221180 (04)=02100002 (08)=08050019 (0c)=00804000
11/03/12 18:26:35,000 kernel: (10)=d8001800 (14)=00000000 (18)=00000000 (1c)=00000000
11/03/12 18:26:35,000 kernel: (20)=00000000 (24)=00000000 (28)=00000000 (2c)=30bb103c
11/03/12 18:26:35,000 kernel: (30)=00000000 (34)=00000080 (38)=00000000 (3c)=00000211
11/03/12 18:26:35,000 kernel: (40)=00000000 (44)=00000000 (48)=00000000 (4c)=00000000
11/03/12 18:26:35,000 kernel: (50)=00000000 (54)=00000000 (58)=00000000 (5c)=00000000
11/03/12 18:26:35,000 kernel: (60)=00000000 (64)=00000000 (68)=00000000 (6c)=00000000
11/03/12 18:26:35,000 kernel: (70)=00000000 (74)=00000000 (78)=00000000 (7c)=00000000
11/03/12 18:26:35,000 kernel: (80)=fe020001 (84)=48004000 (88)=00000000 (8c)=00000000
11/03/12 18:26:35,000 kernel: (90)=00000000 (94)=00000000 (98)=00000000 (9c)=00000000
11/03/12 18:26:35,000 kernel: (a0)=00000000 (a4)=00000000 (a8)=00000000 (ac)=30bb103c
11/03/12 18:26:35,000 kernel: (b0)=00020000 (b4)=00000000 (b8)=00000000 (bc)=000000a0
11/03/12 18:26:35,000 kernel: (c0)=00003000 (c4)=40000000 (c8)=00000000 (cc)=00000000
11/03/12 18:26:35,000 kernel: (d0)=00000000 (d4)=00000000 (d8)=00000000 (dc)=00000000
11/03/12 18:26:35,000 kernel: (e0)=01c021a1 (e4)=00000000 (e8)=00000040 (ec)=00000000
11/03/12 18:26:35,000 kernel: (f0)=00000000 (f4)=00000000 (f8)=002000c0 (fc)=00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: starting card power management
11/03/12 18:26:35,000 kernel: VoodooSDHC: controller slot == 0
11/03/12 18:26:35,000 kernel: VoodooSDHC: Register Dump ******************************************************
11/03/12 18:26:35,000 kernel: VoodooSDHC: SDMASysAddr: 0x00000000 PresentState: 0x01f20000
11/03/12 18:26:35,000 kernel: VoodooSDHC: BlockSize: 0x0000 BlockCount: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: TransferMode: 0x0000 Command: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: HostControl: 0x00 PowerControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: BlockGapControl: 0x00 WakeupControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: ClockControl: 0x0000 TimeoutControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: SoftwareReset: 0x00 NormalIntStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntStatus: 0x0000 NormalIntStatusEn: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntStatusEn: 0x0000 NormalIntSignalEn: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntSignalEn: 0x0000 CMD12ErrorStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: Capabilities[1]: 0x00000000 Capabilities[0]: 0x01c021a1
11/03/12 18:26:35,000 kernel: VoodooSDHC: MaxCurrentCap[1]: 0x00000000 MaxCurrentCap[0]: 0x00000040
11/03/12 18:26:35,000 kernel: VoodooSDHC: ForceEventCMD12ErrStatus: 0x0000 ForceEventErrorIntStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: AMDAErrorStatus: 0x00 Argument 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ADMASystemAddr[1]: 0x00000000 ADMASystemAddr[0]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: SlotIntStatus: 0x0000 HostControllerVer: 0x0200
11/03/12 18:26:35,000 kernel: VoodooSDHC: Response[1]: 0x00000000 Response[0]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: Response[3]: 0x00000000 Response[2]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: End of Register Dump************************************************
11/03/12 18:26:35,000 kernel: VoodooSDHC: wakeup requested with state 2
11/03/12 18:26:35,000 kernel: VoodooSDHC: controller slot == 0
11/03/12 18:26:35,000 kernel: VoodooSDHC: Register Dump ******************************************************
11/03/12 18:26:35,000 kernel: VoodooSDHC: SDMASysAddr: 0x00000000 PresentState: 0x01f20000
11/03/12 18:26:35,000 kernel: VoodooSDHC: BlockSize: 0x0000 BlockCount: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: TransferMode: 0x0000 Command: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: HostControl: 0x00 PowerControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: BlockGapControl: 0x00 WakeupControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: ClockControl: 0x0000 TimeoutControl: 0x00
11/03/12 18:26:35,000 kernel: VoodooSDHC: SoftwareReset: 0x00 NormalIntStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntStatus: 0x0000 NormalIntStatusEn: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntStatusEn: 0x0000 NormalIntSignalEn: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ErrorIntSignalEn: 0x0000 CMD12ErrorStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: Capabilities[1]: 0x00000000 Capabilities[0]: 0x01c021a1
11/03/12 18:26:35,000 kernel: VoodooSDHC: MaxCurrentCap[1]: 0x00000000 MaxCurrentCap[0]: 0x00000040
11/03/12 18:26:35,000 kernel: VoodooSDHC: ForceEventCMD12ErrStatus: 0x0000 ForceEventErrorIntStatus: 0x0000
11/03/12 18:26:35,000 kernel: VoodooSDHC: AMDAErrorStatus: 0x00 Argument 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: ADMASystemAddr[1]: 0x00000000 ADMASystemAddr[0]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: SlotIntStatus: 0x0000 HostControllerVer: 0x0200
11/03/12 18:26:35,000 kernel: VoodooSDHC: Response[1]: 0x00000000 Response[0]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: Response[3]: 0x00000000 Response[2]: 0x00000000
11/03/12 18:26:35,000 kernel: VoodooSDHC: End of Register Dump************************************************
11/03/12 18:26:35,000 kernel: VoodooSDHC: reportRemovability
11/03/12 18:26:35,000 kernel: VoodooSDHC: reportEjectability
11/03/12 18:26:35,000 kernel: VoodooSDHC: reportMaxReadTransfer
11/03/12 18:26:35,000 kernel: VoodooSDHC: reportMaxWriteTransfer
11/03/12 18:29:10,000 kernel: VoodooSDHC: in power_sd(slot) function :: 0x1c021a1
11/03/12 18:29:10,000 kernel: VoodooSDHC: BaseClock :: 33MHz
11/03/12 18:29:10,000 kernel: VoodooSDHC: SD Clock :: 257KHz
11/03/12 18:29:10,000 kernel: VoodooSDHC: initializing spec 2.0 SD card
11/03/12 18:29:10,000 kernel: VoodooSDHC: sending CMD_55
11/03/12 18:29:10,000 kernel: VoodooSDHC: sending CMD_55
11/03/12 18:29:11,000 kernel: VoodooSDHC: sending CMD_55
11/03/12 18:29:11,000 kernel: VoodooSDHC: sending CMD_55
11/03/12 18:29:11,000 kernel: VoodooSDHC: got response to APP_CMD_41: 0x80ff8000
11/03/12 18:29:11,000 kernel: VoodooSDHC: standard SD (without HC)
11/03/12 18:29:11,000 kernel: VoodooSDHC: BaseClock :: 33MHz
11/03/12 18:29:11,000 kernel: VoodooSDHC: SD Clock :: 16500KHz
11/03/12 18:29:13,000 kernel: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00002600 0x325f5a83 0xc93efbcf 0xff928040
11/03/12 18:29:13,000 kernel: VoodooSDHC: WIDE_BUS_MODE :: setting 4 bit mode
11/03/12 18:29:13,000 kernel: VoodooSDHC: PCIRegP response order (3,2,1,0) :: 0x00000000 0x00000000 0x00000000 0x00000920
11/03/12 18:29:13,000 kernel: VoodooSDHC: properly switched to 4 bit mode
11/03/12 18:29:13,000 kernel: VoodooSDHC: Card Init: Host Control = 0x2
11/03/12 18:29:13,000 kernel: VoodooSDHC: Card Init: Host Control = 0x2
11/03/12 18:29:13,000 kernel: VoodooSDHC: reportBlockSize: 200
11/03/12 18:29:13,000 kernel: VoodooSDHC: reportMaxValidBlock
11/03/12 18:29:13,000 kernel: VoodooSDHC: reportWriteProtection
11/03/12 18:29:18,000 kernel: VoodooSDHC: I/O timeout during SDMA transfer: Status: 0x0, Error: 0x0, Block: 0, Offset: 0, Blocks: 1


This post has been edited by majosa: Mar 11 2012, 05:36 PM

6 Pages V  « < 3 4 5 6 >
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: