[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-laptop-discuss
Subject:    Re: [laptop-discuss] sdhost doesn't support my hardware
From:       "Garrett D'Amore" <gdamore () opensolaris ! org>
Date:       2008-10-29 14:33:19
Message-ID: 4908742F.5080803 () opensolaris ! org
[Download RAW message or body]

Douglas Atique wrote:
> Hi,
> 
> I am using SXCE b99 and I tried to attach sdhost to my driver. My hardware:
> 
> &lt;excerpt cmd="/usr/X11/bin/scanpci"&gt;
> pci bus 0x0008 cardnum 0x03 function 0x02: vendor 0x104c device 0x803b
> Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
> &lt;/excerpt&gt;
> 

Some TI card readers are supported, and some are not.  And to make 
matters more confusing, its not the model that matters, but how the 
controller is wired in to the laptop and how BIOS configures it.  
Basically, TI has two modes -- one mode is standard compliant and works 
with the driver, the other is proprietary and does not.

The node you list below is *not* the standard compliant node, and will 
not work with sdhost.  We need to write a completely separate driver for 
this part, and I've not had the chance to get to it yet.  (Its further 
confounded by the fact that the only info I've been able to get on this 
part is by reverse engineering some Linux sources... TI has not been 
willing to provide any docs on this part, as yet.)

    -- Garrett
> &lt;excerpt cmd="prtconf -pv"&gt;
> Node 0x00001e
> assigned-addresses:  82081a10.00000000.dc004000.00000000.00001000
> reg:  00081a00.00000000.00000000.00000000.00000000.02081a10.00000000.00000000.00000000.00001000
>                 
> compatible: 'pci104c,803b.104d.8212.0' + 'pci104c,803b.104d.8212' + 'pci104d,8212' \
>                 + 'pci104c,803b.0' + 'pci104c,803b' + 'pciclass,018000' + \
>                 'pciclass,0180'
> model:  'Mass storage controller'
> power-consumption:  00000001.00000001
> devsel-speed:  00000001
> interrupts:  00000003
> max-latency:  00000004
> min-grant:  00000007
> subsystem-vendor-id:  0000104d
> subsystem-id:  00008212
> unit-address:  '3,2'
> class-code:  00018000
> revision-id:  00000000
> vendor-id:  0000104c
> device-id:  0000803b
> name:  'pci104d,8212'
> &lt;/excerpt&gt;
> 
> I tried to be smart and did:
> update_drv -a -i '"pci104c,803b"' sdhost
> 
> I got the following reply:
> devfsadm: driver failed to attach: sdhost
> Warning: Driver (sdhost) successfully added to system but failed to attach
> 
> In /var/adm/messages there was the following:
> Oct 29 13:43:35 zoetekauwer sdhost: [ID 477125 kern.warning] WARNING: Unable to \
>                 determine clock frequencies
> Oct 29 13:43:35 zoetekauwer sdhost: [ID 852830 kern.warning] WARNING: Failed \
> initializing slot 0 
> Any help appreciated. Testing help offered.
> 
> Cheers,
> Douglas
> 

_______________________________________________
laptop-discuss mailing list
laptop-discuss@opensolaris.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic