Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.2-ben1 and pcmcia on Tibook 667 dvi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bug138
n00b
n00b


Joined: 09 Feb 2004
Posts: 5

PostPosted: Mon Feb 09, 2004 5:24 am    Post subject: 2.6.2-ben1 and pcmcia on Tibook 667 dvi Reply with quote

I've seen a few posts about buggy pcmcia support in the 2.6.2 kernel. I'm new to gentoo and to linux on ppc. Has anyone gotten pcmcia working on this tibook?
Back to top
View user's profile Send private message
rt_clik
n00b
n00b


Joined: 18 Jun 2002
Posts: 70
Location: Rohnert Park, California, US

PostPosted: Mon Feb 09, 2004 8:42 am    Post subject: Reply with quote

I'm running 2.6.2-ben1 on my TiPB 1GHz (old) 15". I only use PCMCIA for two things (unless you count the internal Airport slot, which I also use without problem):

Compact Flash (from my digital camera) via a PC Card adapter
Iomega Clik! PC Card Drive

...both worked like a champ. The only difference I found from the 2.4.xx kernels was that my Clik! drive mounts at sda4 instead of hde4. Had to watch dmesg for a bit to figure that out, but didn't notice any stability issues.

I suppose stability may be dependent on what device you are trying to use, and the maturity of the modules (or compiled-in kernel code) that device uses.

Sorry I cannot report on a broader range of devices.
Back to top
View user's profile Send private message
bug138
n00b
n00b


Joined: 09 Feb 2004
Posts: 5

PostPosted: Wed Feb 11, 2004 9:50 pm    Post subject: memory and ports map Reply with quote

What are you using in your /etc/pcmcia/config.opts ?

I used the results of lspci -v, the ports and memory reported by the PCMCIA controller chip, but when I insert a card it reports that it can't map memory.

BTW, the airport is not a pcmcia card.
Back to top
View user's profile Send private message
rt_clik
n00b
n00b


Joined: 18 Jun 2002
Posts: 70
Location: Rohnert Park, California, US

PostPosted: Wed Feb 11, 2004 11:19 pm    Post subject: Reply with quote

The port is essentially a modified PCMCIA port, and the card is essentially a non-removable card with an antennae jack instead of an attached antennae (like seen with insertable Wi-Fi cards). Even if the protocol is highly modified, the original Airport has the same footprint as a PCMCIA card, behaves in a similar manner, so for all intents and purposes...is a PCMCIA card. Not looking for a hardware argument...

Just backed up that file prior to upgrading pcmcia-cs the other night. Don't have the machine handy, but I'll post my current working copy somewhere for you to take a peak at later tonight.
Back to top
View user's profile Send private message
rt_clik
n00b
n00b


Joined: 18 Jun 2002
Posts: 70
Location: Rohnert Park, California, US

PostPosted: Thu Feb 12, 2004 4:44 am    Post subject: Reply with quote

Just double-checked, and this still works with the pcmcia-cs-3.2.7 package.

Code:
#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------

# Original, non-working ppc config on TiPB
#include port 0x1000-0x1fff
#include memory 0x90000000-0x9003ffff

# Config for TiPB and presumably iBooks, but that is unconfirmed.
include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0x80000000-0x80ffffff


# all other modules should be kernel modules on ppc


Good luck.
Back to top
View user's profile Send private message
bug138
n00b
n00b


Joined: 09 Feb 2004
Posts: 5

PostPosted: Sat Feb 14, 2004 12:35 am    Post subject: tibook 667 dvi Reply with quote

This port and memory range causes all sorts of pcmcia errors for me. Are you using a TiBook 667mhz dvi? This seems like pretty hardware specific stuff, and it won't work across motherboards and chipsets.

lspci -v reports:

01:1a CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)

Memory window 0: 90000000-9ffff000 (prefetchable)
Memory window 1: f3000000-f31ff000
I/O window 0: 00001000-00008fff
I/O window 1: 00009000-000090ff

However, when I use these values for memory and ports in config.opts, I still get errors about being unable to map card memory space.
Back to top
View user's profile Send private message
rt_clik
n00b
n00b


Joined: 18 Jun 2002
Posts: 70
Location: Rohnert Park, California, US

PostPosted: Sat Feb 14, 2004 3:43 am    Post subject: Reply with quote

The laptop I'm using is one of the first series of 1GHz, 15", GigE TiPBs.

My lspci -v:

Code:
0001:01:1a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
        Flags: bus master, medium devsel, latency 168, IRQ 58
        Memory at a0000000 (32-bit, non-prefetchable)
        Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 90000000-9ffff000 (prefetchable)
        Memory window 1: f3000000-f31ff000
        I/O window 0: 00001000-00008fff
        I/O window 1: 00009000-000090ff
        16-bit legacy interface ports at 0001


Looks pretty much the same as yours. Not sure what's up.
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Tue Feb 17, 2004 12:11 am    Post subject: Reply with quote

Going off topic, the reason Airport is not considered PCMCIA is because it is not PCMCIA. It is ATA, and you will notice that airport works on your TiBook (assuming it is selected in the kernel config) regardless of whether or not PCMCIA/Cardbus/etc are selected.

That said I have *heard* that PCMCIA cards (based on orinoco I believe) *may* work in the airport card slot.

BTW, person with troubles, you *are* building PCMCIA into the kernel, are you not? (as opposed to building it as a module)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum