public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] smsc-ircc2: Add PnP support.
       [not found]           ` <Pine.SOC.4.61.0411191934070.29328-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
@ 2004-11-19 18:29             ` matthieu castet
       [not found]               ` <419E3B7A.4000904-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: matthieu castet @ 2004-11-19 18:29 UTC (permalink / raw)
  To: Meelis Roos
  Cc: Linux Kernel list, Jean Tourrilhes, Adam Belay, Li, Shaohua,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Meelis Roos wrote:
>> Could you send me the result of : "for i in /sys/bus/pnp/devices/*; do 
>> cat $i/id $i/options; done" in order to see if other devices have 
>> missing resources ?
> 
> 
> PNP0c01
> PNP0200
> PNP0800
> PNP0c04
> PNP0303
> PNP0f13
> PNP0b00
> PNP0c02
> PNP0700
> port 0x3f0-0x3f0, align 0x0, size 0x6, 16-bit address decoding
> port 0x3f7-0x3f7, align 0x0, size 0x1, 16-bit address decoding
> irq 6 High-Edge
> dma 2 8-bit compatible
floppy : seem ok
> PNP0501
> Dependent: 01 - Priority acceptable
>    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 02 - Priority acceptable
>    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 03 - Priority acceptable
>    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 04 - Priority acceptable
>    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
serial miss irq
> SMCf010
> Dependent: 01 - Priority acceptable
>    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 02 - Priority acceptable
>    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 03 - Priority acceptable
>    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
> Dependent: 04 - Priority acceptable
>    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
irda : miss io,irq,dma
> PNP0401
> Dependent: 01 - Priority acceptable
>    port 0x378-0x378, align 0x0, size 0x3, 16-bit address decoding
>    port 0x778-0x778, align 0x0, size 0x3, 16-bit address decoding
>    irq 7 High-Edge
> Dependent: 02 - Priority acceptable
>    port 0x278-0x278, align 0x0, size 0x3, 16-bit address decoding
>    port 0x678-0x678, align 0x0, size 0x3, 16-bit address decoding
>    irq 5 High-Edge
> Dependent: 03 - Priority acceptable
>    port 0x3bc-0x3bc, align 0x0, size 0x3, 16-bit address decoding
>    port 0x7bc-0x7bc, align 0x0, size 0x3, 16-bit address decoding
>    irq 7 High-Edge
parallel port: miss dma
> TOS6200
> 

Could it be an acpi parsing problem ?
Is there a easy way to use ACPI_DUMP_RESOURCE_LIST in order to find all 
the resource find by acpi in order to see if it is an acpi problem or a 
pnpacpi problem ?

Matthieu


PS : I CC the message to acpi people : look 
http://marc.theaimsgroup.com/?t=110075024500002&r=1&w=2 for the begining.


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

* Re: [PATCH] smsc-ircc2: Add PnP support.
       [not found]               ` <419E3B7A.4000904-GANU6spQydw@public.gmane.org>
@ 2004-11-19 23:09                 ` Meelis Roos
       [not found]                   ` <Pine.SOC.4.61.0411200102580.12992-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2004-11-19 23:09 UTC (permalink / raw)
  To: matthieu castet
  Cc: Linux Kernel list, Jean Tourrilhes, Adam Belay, Li, Shaohua,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


I tried it with pnpbios (acpi=off) and it started to work after auto and 
activate (but not with auto alone):

nartsiss:/# modprobe smsc-ircc2
found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227
smsc_superio_flat(): IrDA not enabled
smsc_superio_flat(): fir: 0x00, sir: 0x00, dma: 15, irq: 0, mode: 0x02
FATAL: Error inserting smsc_ircc2 (/lib/modules/2.6.10-rc2/kernel/drivers/net/irda/smsc-ircc2.ko): No such device
nartsiss:/# echo activate > resources
pnp: Device 00:0f activated.
nartsiss:/# modprobe smsc-ircc2
found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227
smsc_superio_flat(): fir: 0x2e8, sir: 0x100, dma: 03, irq: 5, mode: 0x0e
SMsC IrDA Controller found
  IrCC version 2.0, firport 0x2e8, sirport 0x100 dma=3, irq=5
No transceiver found. Defaulting to Fast pin select
IrDA: Registered device irda0

>>> Could you send me the result of : "for i in /sys/bus/pnp/devices/*; do cat 
>>> $i/id $i/options; done" in order to see if other devices have missing 
>>> resources ?

The output with pnpbios is below for comparision.

>> PNP0c01
>> PNP0200
>> PNP0800
>> PNP0c04
>> PNP0303
>> PNP0f13
>> PNP0b00
>> PNP0c02
>> PNP0700
>> port 0x3f0-0x3f0, align 0x0, size 0x6, 16-bit address decoding
>> port 0x3f7-0x3f7, align 0x0, size 0x1, 16-bit address decoding
>> irq 6 High-Edge
>> dma 2 8-bit compatible
> floppy : seem ok
>> PNP0501
>> Dependent: 01 - Priority acceptable
>>    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 02 - Priority acceptable
>>    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 03 - Priority acceptable
>>    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 04 - Priority acceptable
>>    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
> serial miss irq
>> SMCf010
>> Dependent: 01 - Priority acceptable
>>    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 02 - Priority acceptable
>>    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 03 - Priority acceptable
>>    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
>> Dependent: 04 - Priority acceptable
>>    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
> irda : miss io,irq,dma
>> PNP0401
>> Dependent: 01 - Priority acceptable
>>    port 0x378-0x378, align 0x0, size 0x3, 16-bit address decoding
>>    port 0x778-0x778, align 0x0, size 0x3, 16-bit address decoding
>>    irq 7 High-Edge
>> Dependent: 02 - Priority acceptable
>>    port 0x278-0x278, align 0x0, size 0x3, 16-bit address decoding
>>    port 0x678-0x678, align 0x0, size 0x3, 16-bit address decoding
>>    irq 5 High-Edge
>> Dependent: 03 - Priority acceptable
>>    port 0x3bc-0x3bc, align 0x0, size 0x3, 16-bit address decoding
>>    port 0x7bc-0x7bc, align 0x0, size 0x3, 16-bit address decoding
>>    irq 7 High-Edge
> parallel port: miss dma
>> TOS6200
>>

PNP0c01
PNP0200
PNP0000
PNP0100
PNP0800
PNP0c04
PNP0303
PNP0f13
irq 12 High-Edge
PNP0b00
PNP0c02
PNP0700
port 0x3f0-0x3f0, align 0x0, size 0x6, 16-bit address decoding
port 0x3f7-0x3f7, align 0x0, size 0x1, 16-bit address decoding
irq 6 High-Edge
dma 2 8-bit byte-count compatible
PNP0501
irq 3,4,5,7,10,11 High-Edge
Dependent: 01 - Priority acceptable
    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 02 - Priority acceptable
    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 03 - Priority acceptable
    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 04 - Priority acceptable
    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
SMCf010
PNP0510
port 0x100-0x130, align 0xf, size 0x8, 16-bit address decoding
irq 3,4,5,7,10,11 High-Edge
dma 1,2,3 16-bit byte-count compatible
Dependent: 01 - Priority acceptable
    port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 02 - Priority acceptable
    port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 03 - Priority acceptable
    port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 04 - Priority acceptable
    port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
PNP0401
dma 1,2,3 8-bit byte-count compatible
Dependent: 01 - Priority acceptable
    port 0x378-0x378, align 0x0, size 0x3, 16-bit address decoding
    port 0x778-0x778, align 0x0, size 0x3, 16-bit address decoding
    irq 7 High-Edge
Dependent: 02 - Priority acceptable
    port 0x278-0x278, align 0x0, size 0x3, 16-bit address decoding
    port 0x678-0x678, align 0x0, size 0x3, 16-bit address decoding
    irq 5 High-Edge
Dependent: 03 - Priority acceptable
    port 0x3bc-0x3bc, align 0x0, size 0x3, 16-bit address decoding
    port 0x7bc-0x7bc, align 0x0, size 0x3, 16-bit address decoding
    irq 7 High-Edge
PNP0a03
PNP0e03
PNP0e00
Dependent: 01 - Priority acceptable
    port 0x3e0-0x3e0, align 0x0, size 0x2, 16-bit address decoding
    irq <none> High-Edge
Dependent: 02 - Priority acceptable
    port 0x3e0-0x3e0, align 0x0, size 0x2, 16-bit address decoding
    irq 3,4,5,7,10,11 High-Edge

-- 
Meelis Roos (mroos-Y27EyoLml9s@public.gmane.org)


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

* Re: Re: [PATCH] smsc-ircc2: Add PnP support.
       [not found]                   ` <Pine.SOC.4.61.0411200102580.12992-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
@ 2004-11-20 11:43                     ` Ville Syrjälä
  0 siblings, 0 replies; 3+ messages in thread
From: Ville Syrjälä @ 2004-11-20 11:43 UTC (permalink / raw)
  To: Meelis Roos
  Cc: matthieu castet, Linux Kernel list, Jean Tourrilhes, Adam Belay,
	Li, Shaohua, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sat, Nov 20, 2004 at 01:09:36AM +0200, Meelis Roos wrote:
> 
> I tried it with pnpbios (acpi=off) and it started to work after auto and 
> activate (but not with auto alone):
> 
> nartsiss:/# modprobe smsc-ircc2
> found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227
> smsc_superio_flat(): IrDA not enabled
> smsc_superio_flat(): fir: 0x00, sir: 0x00, dma: 15, irq: 0, mode: 0x02
> FATAL: Error inserting smsc_ircc2 
> (/lib/modules/2.6.10-rc2/kernel/drivers/net/irda/smsc-ircc2.ko): No such 
> device
> nartsiss:/# echo activate > resources
> pnp: Device 00:0f activated.
> nartsiss:/# modprobe smsc-ircc2
> found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e): LPC47N227
> smsc_superio_flat(): fir: 0x2e8, sir: 0x100, dma: 03, irq: 5, mode: 0x0e
> SMsC IrDA Controller found
>  IrCC version 2.0, firport 0x2e8, sirport 0x100 dma=3, irq=5
> No transceiver found. Defaulting to Fast pin select
> IrDA: Registered device irda0

It is using the legacy probe instead of the pnp probe. Did you actually 
apply the pnp patch?

I'm not entirely sure what has been discussed since somebody removed 
me from the CC list...

-- 
Ville Syrjälä
syrjala-ORSVBvAovxo@public.gmane.org
http://www.sci.fi/~syrjala/


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

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

end of thread, other threads:[~2004-11-20 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1CVAfT-0002n9-Rn@rhn.tartu-labor>
     [not found] ` <419E16E5.1000601@free.fr>
     [not found]   ` <419E17FF.1000503@free.fr>
     [not found]     ` <Pine.SOC.4.61.0411191822030.9059@math.ut.ee>
     [not found]       ` <419E2D2B.4020804@free.fr>
     [not found]         ` <Pine.SOC.4.61.0411191934070.29328@math.ut.ee>
     [not found]           ` <Pine.SOC.4.61.0411191934070.29328-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
2004-11-19 18:29             ` [PATCH] smsc-ircc2: Add PnP support matthieu castet
     [not found]               ` <419E3B7A.4000904-GANU6spQydw@public.gmane.org>
2004-11-19 23:09                 ` Meelis Roos
     [not found]                   ` <Pine.SOC.4.61.0411200102580.12992-ptEonEWSGqKptlylMvRsHA@public.gmane.org>
2004-11-20 11:43                     ` Ville Syrjälä

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