PCMCIA Bluetooth Card (AnyCom CF - 300) on ARM

Itzhak Ben-Akiva itzhak.benakiva at guardit-tech.com
Tue Sep 27 00:17:23 EDT 2005


Hi Dominik,

In my ARM documentation I found the following information for
Integrator/AP

-----------------------------------------------------------------------------
Window  PCI space  Size    PCI address           System bus addr
-----------------------------------------------------------------------------
 0      Memory     256MB   0x40000000-0x4FFFFFFF 0x40000000-0x4FFFFFFF
-----------------------------------------------------------------------------
 1      Memory     256MB   0x50000000-0x5FFFFFFF 0x50000000-0x5FFFFFFF
-----------------------------------------------------------------------------
 2      I/O        16MB    0x000000-0xFFFFFF     0x60000000-0x60FFFFFF
-----------------------------------------------------------------------------
Registers -         64KB        -                0x62000000-0x6200FFFF
-----------------------------------------------------------------------------

Based on this information, I tried to set up the i/o ports for pcmcia in
the file /etc/pcmcia/config.opts as follows:

include port 0x600-0x60f
include memory 0x40000000-0x4fffffff, memory 0x50000000-0x5fffffff

However, I still get the same results, i.e., REQUESTIO: resource in use.
But, as I enabled debug for pccard in the kernel, I get more info:

pcmcia_resource: pcmcia_socket0: odd IO request: base 0x300 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x340 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x380 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x3c0 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x200 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x240 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x280 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x2c0 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x100 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x140 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x180 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x1c0 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x40 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0x80 align 0x40
pcmcia_resource: pcmcia_socket0: odd IO request: base 0xc0 align 0x40
BT_DEBUG: pcmcia_request_io failed in bluecard_config
0.0: RequestIO: Resource in use
Uninitialised timer!
This is just a warning.  Your computer is OK
function=0x00000000, data=0x0
[<c0025c84>] (dump_stack+0x0/0x14) from [<c003f598>] (check_timer_failed
+0x4c/0x6c)
[<c003f54c>] (check_timer_failed+0x0/0x6c) from [<c003f6fc>] (del_timer
+0x28/0x80)
 r4 = C79CFC88
[<c003f6d4>] (del_timer+0x0/0x80) from [<bf047da4>] (bluecard_release
+0x2c/0x64 [bluecard_cs])
 r5 = C79CFBE0  r4 = C79CFBE0
[<bf047d78>] (bluecard_release+0x0/0x64 [bluecard_cs]) from [<bf048478>]
(bluecard_event+0x4ec/0x5b4 [bluecard_cs])
 r5 = C79CFBE0  r4 = C79CFBE0
[<bf047f8c>] (bluecard_event+0x0/0x5b4 [bluecard_cs]) from [<bf0153b0>]
(pcmcia_register_client+0x1f4/0x224 [pcmcia])
[<bf0151bc>] (pcmcia_register_client+0x0/0x224 [pcmcia]) from
[<bf047f30>] (bluecard_attach+0xb8/0x114 [bluecard_cs])
[<bf047e78>] (bluecard_attach+0x0/0x114 [bluecard_cs]) from [<bf01431c>]
(pcmcia_device_probe+0x80/0x108 [pcmcia])
 r7 = 00000000  r6 = C7DA423C  r5 = C7DA4200  r4 = BF04999C
[<bf01429c>] (pcmcia_device_probe+0x0/0x108 [pcmcia]) from [<c01473c4>]
(driver_probe_device+0x5c/0xa8)
 r7 = BF0499B0  r6 = BF0499B0  r5 = 00000000  r4 = C7DA423C
[<c0147368>] (driver_probe_device+0x0/0xa8) from [<c0147508>]
(__driver_attach+0x4c/0x78)
 r6 = C01474BC  r5 = C7C25DBC  r4 = C7DA42E4
[<c01474bc>] (__driver_attach+0x0/0x78) from [<c0146ae4>]
(bus_for_each_dev+0x50/0x84)
 r4 = 00000000
[<c0146a94>] (bus_for_each_dev+0x0/0x84) from [<c0147554>]
(driver_attach+0x20/0x28)
 r7 = BF01BB9C  r6 = BF049944  r5 = BF0499B0  r4 = BF0499C4
[<c0147534>] (driver_attach+0x0/0x28) from [<c0146f58>] (bus_add_driver
+0x6c/0x138)
[<c0146eec>] (bus_add_driver+0x0/0x138) from [<c014790c>]
(driver_register+0x34/0x38)
[<c01478d8>] (driver_register+0x0/0x38) from [<bf0141d8>]
(pcmcia_register_driver+0xf8/0x114 [pcmcia])
 r4 = BF04999C
[<bf0140e0>] (pcmcia_register_driver+0x0/0x114 [pcmcia]) from
[<bf04b014>] (init_bluecard_cs+0x14/0x1c [bluecard_cs])
 r7 = C02218D0  r6 = BF049A60  r5 = BF049A60  r4 = C02218E0
[<bf04b000>] (init_bluecard_cs+0x0/0x1c [bluecard_cs]) from [<c0051a74>]
(sys_init_module+0x155c/0x16bc)
[<c0050518>] (sys_init_module+0x0/0x16bc) from [<c0020d00>]
(ret_fast_syscall+0x0/0x2c)

Once again I thank you very much for your valuable help.

Itzhak

On Mon, 2005-09-26 at 09:38 +0200, Dominik Brodowski wrote:
> Hi Itzhak,
> 
> Please also send a lspci -vvv, thanks.
> 
> On Mon, Sep 26, 2005 at 10:35:28AM +0300, Itzhak Ben-Akiva wrote:
> > include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
> > include memory 0xc0000-0xfffff
> > include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
> > 
> > # High port numbers do not always work...
> > # include port 0x1000-0x17ff
> > 
> > # Extra port range for IBM Token Ring
> > include port 0xa00-0xaff
> 
> >From a first look at this file: x86-specific ports and port regions...
> probably not suitable for ARM.
> 
> 	Dominik




More information about the linux-pcmcia mailing list