Sierra Wireless CIS [Was: Re: Epia MII 10000, 2.6.13-mm2, cs: pcmcia_socket0: unable to apply power]

Dominik Brodowski linux at dominikbrodowski.net
Sat Sep 17 09:07:35 EDT 2005


On Fri, Sep 16, 2005 at 07:00:47AM +0200, Sander wrote:
> Dominik Brodowski wrote (ao):
> > On Wed, Sep 14, 2005 at 01:21:46PM +0200, Sander wrote:
> > > What is the status of pcmciautils anyway? The number suggest alpha.
> > 
> > It is indeed quite new; however there aren't that many bugreports
> > (fortunately) even though it already is part of some distributions.
> 
> And there I thought Debian Unstable was quick to adapt ;-)

Unfortunately, Debian has not picked it up yet...

> > /sbin/pcmcia-socket-startup
> > cat /lib/firmware/SW_7xx_SER.cis > /sys/class/pcmcia_socket/pcmcia_socket0/cis
> 
> It seems to have done something. I patched the kernel:
> 
> $ grep -r "Sierra Wireless" *
> drivers/serial/serial_cs.c:     PCMCIA_DEVICE_CIS_MANF_CARD(0x0192, 0x0710, "SW_7xx_SER.cis"),  /* Sierra Wireless AC710/AC750 GPRS Network Adapter R1 */
> 
> And did boot the new kernel:
> # uname -a
> Linux silo1 2.6.13-mm3 #1 Fri Sep 16 06:28:31 CEST 2005 i686 GNU/Linux
> 
> After modprobe and /sbin/pcmcia-socket-startup diff reports
> that the files are different.
> /sbin/pcmcia-socket-startup took a few seconds btw.
> 
> And cat:
> # cat /lib/firmware/SW_7xx_SER.cis > /sys/class/pcmcia_socket/pcmcia_socket0/cis 
> # diff /sys/class/pcmcia_socket/pcmcia_socket0/cis /lib/firmware/SW_7xx_SER.cis 
> Binary files /sys/class/pcmcia_socket/pcmcia_socket0/cis and /lib/firmware/SW_7xx_SER.cis differ
> 
> But there is something there:
> # cat /sys/class/pcmcia_socket/pcmcia_socket0/cis > /tmp/cis
> 
> # file /lib/firmware/SW_7xx_SER.cis /tmp/cis 
> /lib/firmware/SW_7xx_SER.cis: PDP-11 UNIX/RT ldp
> /tmp/cis:                     PDP-11 UNIX/RT ldp
> 
> # ls -l /lib/firmware/SW_7xx_SER.cis /tmp/cis 
> -rw-r--r--  1 root root 140 Sep  9 15:07 /lib/firmware/SW_7xx_SER.cis
> -rw-r--r--  1 root root 138 Sep 16 06:49 /tmp/cis

can you hexdump -C both, and/or send both these files to me, please?

> A 2 byte difference. Does that help?
That's strange... I do not see this if I modify the CIS firmware on my
PCMCIA card.

Does anything get printed in dmesg? If you modprobe serial_cs (or is it
loaded by default?), does something happen? Can you "talk" to the devices
already?

	Dominik



More information about the linux-pcmcia mailing list