killme
Mon Jul 16 02:44:03 CDT 2007
Thanks. In that case, is it possible to use a kernel mode driver or
something similar to read the SD card information by communicating with the
USB function driver or HCI driver?
But problem with this approach is that USB to SD - card communication path &
logic may be device specific.
"Yue Zuo [MSFT]" wrote:
> Sorry that I just noticed that you are using a USB card reader instead of a
> standard SD controller. I don't think you can get the CID via a USB reader
> unless the reader maps those information to some USB descriptors and then
> you can retrieve them by sending USB IOCTL. If you it were in a SD
> controller, you could use the IOCTL pointed in the following link:
>
>
http://msdn2.microsoft.com/en-us/library/ms789769.aspx
>
>
> Thanks,
> -yue
> --
> This email is provided "AS IS" with no warranties, and confers no rights.
> Use of any included script samples are subject to the terms specified at
>
http://www.microsoft.com/info/cpyright.htm
>
>
> "killme" <killme@discussions.microsoft.com> wrote in message
> news:4E019FF3-2A61-47C3-A663-869B8D36955D@microsoft.com...
> > Hi,
> >
> >
> > Sorry. It is SD memory card only. not SDIO card.
> >
> > Thanks.
> >
> > "Yue Zuo [MSFT]" wrote:
> >
> >> Could you clarify the question? CID register only exists in a SD memory
> >> card, not in a SDIO card. The SDIO card provides similar information in
> >> CIS
> >> area of CCCR. They take different ways.
> >>
> >> Thanks,
> >> -yue
> >>
> >> --
> >> This email is provided "AS IS" with no warranties, and confers no rights.
> >> Use of any included script samples are subject to the terms specified at
> >>
http://www.microsoft.com/info/cpyright.htm
> >>
> >>
> >> "killme" <killme@discussions.microsoft.com> wrote in message
> >> news:0B22345E-7640-46E0-A15F-1B11D658EB6D@microsoft.com...
> >> > Hi,
> >> >
> >> > I have to read in an application the CID of the SDIO card. The SD
> >> > card
> >> > is connected to the desktop through USB.
> >> > Is there any way to do this in application? (CE supports a
> >> > DeviceIoControl code for this if I remember)
> >> > Or, if there's no device IO control code supported, can it be done
> >> > in a
> >> > driver? (In XP, I think we can open the SDBus interface and post a SDB
> >> > request packet to send the command to query the CID, if I am correct.
> >> > But
> >> > in
> >> > 2000, SDBus interface itself is not supported.)
> >> > Is there a way to support in windows 2000 and above in either
> >> > application
> >> > or driver?
> >> >
> >> > Thanks.
> >> >
> >>
>