Problems with Quicknet PhoneCARD on Linux 2.6.6

Russell King rmk+pcmcia at arm.linux.org.uk
Mon May 24 07:45:08 EDT 2004


On Mon, May 24, 2004 at 01:33:17PM +0200, Fritz Reichmann wrote:
> /var/log/messages when I insert the card:
> May 24 11:48:13 linux cardmgr[1281]: socket 0: Internet PhoneCARD
> May 24 11:48:13 linux kernel: Linux telephony interface: v1.00
> May 24 11:48:13 linux kernel: $Id: ixj.c,v 4.7 2001/08/13 06:19:33 craigs Exp
> $
> May 24 11:48:13 linux cardmgr[1281]: bind 'ixj_pcmcia' to socket 0 failed:
> Invalid argument

That's rather cryptic.  It's probably because the module is called
ixj_pcmcia but the PCMCIA name is ixj_cs.

You'll need:

device "ixj_cs"
	class <whatever> module "ixj_pcmcia"

card <whatever>
	version <whatever>/manfid <whatever>
	bind "ixj_cs"

and not:

device "ixj_pcmcia"
	class <whatever> module "ixj_pcmcia"

card <whatever>
	version <whatever>/manfid <whatever>
	bind "ixj_pcmcia"

in your PCMCIA configuration files.

> cc  -D__KERNEL__ -DMODULE -Wall  -Werror -I. -Itelephony
> -I/usr/src/linux-2.6.6/include -O2 -o ixj.o -c telephony/ixj.c
>  -DIXJ_STANDALONE

Looking at this compile command, it seems that they haven't read the
"how to build modules outside the kernel tree" documentation which
can be found in the kernel tree at:

  linux/Documentation/kbuild/modules.txt

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core



More information about the linux-pcmcia mailing list