Skip to contentSkip to conversation

pcmcia subsystem completely broken

DISCUSSION Michal Purzynski 2 participants 2 messages Apr 26, 2006

lore
Share & tools
lore
#0 lore raw

hey,

i'd like to ask how do i cope with new pcmcia subsystem which was introduced after 2.6.13. previous one was working very well for me, yet i cannot get my most important pcmcia card working with recent kernels. this card is an Option Globetrotter GPRS pcmcia card, exposing "serial port" to linux when properly detected.due to some braindamage linux is unable to detect this serial port properly until i configure replacing CIS during start - than it works. but, linux is not looking for it automagically when putting file in /lib/firmware, all has to be forced manually in /etc/pcmcia/config, like this
card "Option Wireless Technology GSM/GPRS GlobeTrotter"
#Use Manufacturing ID to match all GlobeTrotter variants
manfid 0x0013, 0x0000
cis "cis/GLOBETROTTER.cis"
bind "serial_cs"

as you can see, i'm using old pcmcia-cs tools, since it's not possible to replace firmware on demand with pcmciautils - 1st. hence first question - when it will be possible ? i supposed old tools will finally stop working and i'll be fried after that change.

second problem with it - even after serial port is detected properly, i'm still unable to communicate with that card, no AT command is delivered, no reaction from card.

what can be wrong with new pcmcia subsystem ? once again - it was working excelent with old code, pre 2.6.13.

machine is an Apple PowerBook G4 laptop, revision 5,4.__

CC me, i'm not subscribed

#1 lore raw

Hi,

Quoted 8 lines · Michal Purzynski

#Use Manufacturing ID to match all GlobeTrotter variants manfid 0x0013, 0x0000
cis "cis/GLOBETROTTER.cis"
bind "serial_cs"

as you can see, i'm using old pcmcia-cs tools, since it's not possible to replace firmware on demand with pcmciautils - 1st. hence first question - when it will be possible ?

Since 2.6.13 or so. You need to add a line to the serial_id table in drivers/serial/serial_cs.c, though:

	PCMCIA_DEVICE_CIS_MANF_CARD(0x0013, 0x0000, "GLOBETROTTER.cis");

and GLOBETROTTER.cis needs to be available in /lib/firmware/ . Of course the default kernel firmware loading mechanism (either udev or hotplug) must work, too...

Quoted 2 lines

i supposed old tools will finally stop working and i'll be fried after that change.

Old tools will only be removed once there's no regression. Oh, and where did you read that replacing firmware on demand wasn't possible with pcmciautils?

Quoted 3 lines

second problem with it - even after serial port is detected properly, i'm still unable to communicate with that card, no AT command is delivered, no reaction from card.

Please post a lspcmcia and dmesg output to the linux-pcmcia list at linux-pcmcia (AT) lists (DOT) infradead (DOT) org

Dominik