hi, On Thu, Sep 01, 2005 at 09:55:08AM +0100, Russell King wrote: > On Wed, Aug 31, 2005 at 10:12:59PM +0200, Philippe Bourcier wrote: > > > if the patch doesn't help please give me the output of cbdump and cardctl > > > ident when the card is inserted and all drivers are loaded. > > > > i got http://pcmcia.arm.linux.org.uk/progs/cbdump.c > > > > $ cbdump > > pcilib: sysfs_read: tried to read 4 bytes at 128, but got only 0 > > Re-run it as root. It needs to access registers which are only available > to root.
00:03.1 CardBus bridge: Texas Instruments PCI1250 -- generic cardbus config registers Vendor ID [00] : 0x104c Device ID [02] : 0xac16 PCI command [04] : 0x0007 Base address [10] : 0x10001000 Memory Base 0 [1c] : 0x10c00000 Memory Limit 0 [20] : 0x10fff000 Memory Base 1 [24] : 0x11000000 Memory Limit 1 [28] : 0x113ff000 IO Base 0 [2c] : 0x00004800 IO Limit 0 [30] : 0x000048fc IO Base 1 [34] : 0x00004c00 IO Limit 1 [38] : 0x00004cfc Bridge control [3e] : 0x05c0 Subsystem vendor ID [40] : 0x0000 Subsystem device ID [42] : 0x0000 Legacy mode base [44] : 0x0001 -- TI specific config registers System control [80] : 0x0844b061 IRQ Mux [8c] : 0xcba97543 Retry [90] : 0xc0 Card control [91] : 0x83 Device control [92] : 0x62 Diagnostic [93] : 0x61 -- cardbus registers CB_SOCKET_EVENT [00] : 0x00000000 CB_SOCKET_MASK [04] : 0x00000006 CB_SOCKET_STATE [08] : 0x30000459 CB_SOCKET_FORCE [0c] : 0x00000000 CB_SOCKET_CONTROL [10] : 0x00000020 CB_SOCKET_POWER [20] : 0x00000000 -- exca registers I365_IDENT [00] : 0x84 I365_STATUS [01] : 0x6f I365_POWER [02] : 0x90 I365_INTCTL [03] : 0x79 I365_CSC [04] : 0x00 I365_CSCINT [05] : 0x08 I365_ADDRWIN [06] : 0xc1 I365_IOCTL [07] : 0x01 I365_GENCTL [16] : 0x00c0 I365_GBLCTL [1e] : 0x0000 I365_IO0_START [08] : 0x0310 I365_IO0_STOP [0a] : 0x031f I365_IO1_START [0c] : 0x03e8 I365_IO1_STOP [0e] : 0x03ef I365_MEM0_START [10] : 0x0001 I365_MEM0_STOP [12] : 0x8001 I365_MEM0_OFF [14] : 0x7fff I365_MEM0_PAGE [40] : 0xa0 I365_MEM1_START [18] : 0x0000 I365_MEM1_STOP [1a] : 0x0000 I365_MEM1_OFF [1c] : 0x0000 I365_MEM1_PAGE [41] : 0x00 I365_MEM2_START [20] : 0x0000 I365_MEM2_STOP [22] : 0x0000 I365_MEM2_OFF [24] : 0x0000 I365_MEM2_PAGE [42] : 0x00 I365_MEM3_START [28] : 0x0000 I365_MEM3_STOP [2a] : 0x0000 I365_MEM3_OFF [2c] : 0x0000 I365_MEM3_PAGE [43] : 0x00 I365_MEM4_START [30] : 0x0000 I365_MEM4_STOP [32] : 0x0000 I365_MEM4_OFF [34] : 0x0000 I365_MEM4_PAGE [44] : 0x00 00:03.0 CardBus bridge: Texas Instruments PCI1250 -- generic cardbus config registers Vendor ID [00] : 0x104c Device ID [02] : 0xac16 PCI command [04] : 0x0007 Base address [10] : 0x10000000 Memory Base 0 [1c] : 0x10400000 Memory Limit 0 [20] : 0x107ff000 Memory Base 1 [24] : 0x10800000 Memory Limit 1 [28] : 0x10bff000 IO Base 0 [2c] : 0x00004000 IO Limit 0 [30] : 0x000040fc IO Base 1 [34] : 0x00004400 IO Limit 1 [38] : 0x000044fc Bridge control [3e] : 0x05c0 Subsystem vendor ID [40] : 0x0000 Subsystem device ID [42] : 0x0000 Legacy mode base [44] : 0x0001 -- TI specific config registers System control [80] : 0x0844b061 IRQ Mux [8c] : 0xcba97543 Retry [90] : 0xc0 Card control [91] : 0x83 Device control [92] : 0x62 Diagnostic [93] : 0x61 -- cardbus registers CB_SOCKET_EVENT [00] : 0x00000000 CB_SOCKET_MASK [04] : 0x00000006 CB_SOCKET_STATE [08] : 0x30000459 CB_SOCKET_FORCE [0c] : 0x00000000 CB_SOCKET_CONTROL [10] : 0x00000020 CB_SOCKET_POWER [20] : 0x00000000 -- exca registers I365_IDENT [00] : 0x84 I365_STATUS [01] : 0x7f I365_POWER [02] : 0x90 I365_INTCTL [03] : 0x73 I365_CSC [04] : 0x00 I365_CSCINT [05] : 0x08 I365_ADDRWIN [06] : 0x41 I365_IOCTL [07] : 0x02 I365_GENCTL [16] : 0x00c0 I365_GBLCTL [1e] : 0x0000 I365_IO0_START [08] : 0x0340 I365_IO0_STOP [0a] : 0x035f I365_IO1_START [0c] : 0x0000 I365_IO1_STOP [0e] : 0x0001 I365_MEM0_START [10] : 0x0000 I365_MEM0_STOP [12] : 0x8000 I365_MEM0_OFF [14] : 0x4002 I365_MEM0_PAGE [40] : 0xa0 I365_MEM1_START [18] : 0x0000 I365_MEM1_STOP [1a] : 0x0000 I365_MEM1_OFF [1c] : 0x0000 I365_MEM1_PAGE [41] : 0x00 I365_MEM2_START [20] : 0x0000 I365_MEM2_STOP [22] : 0x0000 I365_MEM2_OFF [24] : 0x0000 I365_MEM2_PAGE [42] : 0x00 I365_MEM3_START [28] : 0x0000 I365_MEM3_STOP [2a] : 0x0000 I365_MEM3_OFF [2c] : 0x0000 I365_MEM3_PAGE [43] : 0x00 I365_MEM4_START [30] : 0x0000 I365_MEM4_STOP [32] : 0x0000 I365_MEM4_OFF [34] : 0x0000 I365_MEM4_PAGE [44] : 0x00 -- / \ ((__-^^-,-^^-__)) .''`. Philippe BOURCIER `-_---' `---_-' .-. : :' : http://bourcier.philippe.online.fr `--|o` 'o|--' /V\ `. `' \ ` / // \\ `- Linux Counter registered user #290012 ): :( /( )\ :o_o: ^^-^^ "-" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]