mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Unhiding devices in pci bus
       [not found] <alpine.BSF.1.00.0808292135320.32255@anduin.net>
@ 2008-08-29 23:36 ` J.A. Magallón
  0 siblings, 0 replies; 3+ messages in thread
From: J.A. Magallón @ 2008-08-29 23:36 UTC (permalink / raw)
  To: Linux-Kernel

On Fri, 29 Aug 2008 21:43:32 +0200 (CEST), Erik Inge Bolsø <knan-lkml@anduin.net> wrote:

> You are doing the setpci magic trick, I assume?
> 
> if not, add 
> "setpci -d 197b:2381 AE=47"
> to your boot scripts.
> 
> (From the stock linpus boot scripts.)
> 

It has never worked for me.

But FYI, 2-6-27-rc5 boots fine with the card inserted and detects the
reader. No hack needed.
And ether and wifi both work.
But it has other problems.

-- 
J.A. Magallon <jamagallon()ono!com>     \               Software is like sex:
                                         \         It's better when it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam18 (gcc 4.3.1 20080626 (GCC) #1 SMP

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Unhiding devices in pci bus
  2008-08-29 14:36 "J.A. Magallón"
@ 2008-08-29 15:43 ` "J.A. Magallón"
  0 siblings, 0 replies; 3+ messages in thread
From: "J.A. Magallón" @ 2008-08-29 15:43 UTC (permalink / raw)
  To: Linux-Kernel


On 2008.08.29, at 16:36, J.A. Magallón wrote:

> Hi all...
>
> I have an Aspire One, and the JMicron SD Card reader is hidden from  
> sysfs
> space, it only shows if I do an lspci -H1 (direct hardware access):
> ...
> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
> Express Port 1 (rev 02)
> 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
> Express Port 2 (rev 02)
> 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
> Express Port 3 (rev 02)
> 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI  
> Express Port 4 (rev 02)
> ...

Forgot to say that this only happens after you have inserted a card
once. You can then remove it and the device stays there.
Unfortunately I can't boot with the card in, because udev hangs
forever on boot...

>
> 04:00.0 System peripheral: JMicron Technologies, Inc. Device 2382
> 04:00.2 SD Host controller: JMicron Technologies, Inc. Device 2381
> 04:00.3 System peripheral: JMicron Technologies, Inc. Device 2383
> 04:00.4 System peripheral: JMicron Technologies, Inc. Device 2384
>
> one:~# lspci -t
> -[0000:00]-+-00.0
>           +-02.0
>           +-02.1
>           +-1b.0
>           +-1c.0-[0000:01]--
>           +-1c.1-[0000:02]----00.0
>           +-1c.2-[0000:03]----00.0
>           +-1c.3-[0000:04]--
>           +-1d.0
>           +-1d.1
>           +-1d.2
>           +-1d.3
>           +-1d.7
>           +-1e.0-[0000:05]--
>           +-1f.0
>           +-1f.2
>           \-1f.3
>
> one:~# lspci -H1 -t
> -[0000:00]-+-00.0
>           +-02.0
>           +-02.1
>           +-1b.0
>           +-1c.0-[0000:01]--
>           +-1c.1-[0000:02]--
>           +-1c.2-[0000:03]----00.0
>           +-1c.3-[0000:04]--+-00.0
>           |                 +-00.2
>           |                 +-00.3
>           |                 \-00.4
>           +-1d.0
>           +-1d.1
>           +-1d.2
>           +-1d.3
>           +-1d.7
>           +-1e.0-[0000:05]--
>           +-1f.0
>           +-1f.2
>           \-1f.3
>
> lspci -M:
>
> ...
> 00: Primary host bus
> 	1e.0 Bridge to 05-05
> 	1c.3 Bridge to 04-04
> 	1c.2 Bridge to 03-03
> 	1c.1 Bridge to 02-02
> 	1c.0 Bridge to 01-01
> ...
>
> If I load the driver (sdhci), it does not detect anything. It looks  
> like
> it is hidden/hung after one of the pci bridges, how can I make this  
> device
> visible for the driver ?
>
> Thanks.
>
> --
> J.A. Magallon <jamagallon()ono!com>     \               Software is  
> like sex:
>                                         \         It's better when  
> it's free
> Mandriva Linux release 2009.0 (Cooker) for i586
> Linux 2.6.25-jam13 (gcc 4.3.1 20080515 (GCC) #1 SMP
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux- 
> kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

--
J.A. Magallon <jamagallon()ono!com>     \               Software is  
like sex:
                                          \         It's better when  
it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam13 (gcc 4.3.1 20080515 (GCC) #1 SMP




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Unhiding devices in pci bus
@ 2008-08-29 14:36 "J.A. Magallón"
  2008-08-29 15:43 ` "J.A. Magallón"
  0 siblings, 1 reply; 3+ messages in thread
From: "J.A. Magallón" @ 2008-08-29 14:36 UTC (permalink / raw)
  To: Linux-Kernel

Hi all...

I have an Aspire One, and the JMicron SD Card reader is hidden from  
sysfs
space, it only shows if I do an lspci -H1 (direct hardware access):
...
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express  
Port 4 (rev 02)
...
04:00.0 System peripheral: JMicron Technologies, Inc. Device 2382
04:00.2 SD Host controller: JMicron Technologies, Inc. Device 2381
04:00.3 System peripheral: JMicron Technologies, Inc. Device 2383
04:00.4 System peripheral: JMicron Technologies, Inc. Device 2384

one:~# lspci -t
-[0000:00]-+-00.0
            +-02.0
            +-02.1
            +-1b.0
            +-1c.0-[0000:01]--
            +-1c.1-[0000:02]----00.0
            +-1c.2-[0000:03]----00.0
            +-1c.3-[0000:04]--
            +-1d.0
            +-1d.1
            +-1d.2
            +-1d.3
            +-1d.7
            +-1e.0-[0000:05]--
            +-1f.0
            +-1f.2
            \-1f.3

one:~# lspci -H1 -t
-[0000:00]-+-00.0
            +-02.0
            +-02.1
            +-1b.0
            +-1c.0-[0000:01]--
            +-1c.1-[0000:02]--
            +-1c.2-[0000:03]----00.0
            +-1c.3-[0000:04]--+-00.0
            |                 +-00.2
            |                 +-00.3
            |                 \-00.4
            +-1d.0
            +-1d.1
            +-1d.2
            +-1d.3
            +-1d.7
            +-1e.0-[0000:05]--
            +-1f.0
            +-1f.2
            \-1f.3

lspci -M:

...
00: Primary host bus
	1e.0 Bridge to 05-05
	1c.3 Bridge to 04-04
	1c.2 Bridge to 03-03
	1c.1 Bridge to 02-02
	1c.0 Bridge to 01-01
...

If I load the driver (sdhci), it does not detect anything. It looks like
it is hidden/hung after one of the pci bridges, how can I make this  
device
visible for the driver ?

Thanks.

--
J.A. Magallon <jamagallon()ono!com>     \               Software is  
like sex:
                                          \         It's better when  
it's free
Mandriva Linux release 2009.0 (Cooker) for i586
Linux 2.6.25-jam13 (gcc 4.3.1 20080515 (GCC) #1 SMP




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-29 23:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <alpine.BSF.1.00.0808292135320.32255@anduin.net>
2008-08-29 23:36 ` Unhiding devices in pci bus J.A. Magallón
2008-08-29 14:36 "J.A. Magallón"
2008-08-29 15:43 ` "J.A. Magallón"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®