Re: PCMCIA serial_cs driver binding problems.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 20, 2007 3:08 PM,  <[email protected]> wrote:
> I'm working to sort out what appear to be issues with binding of the
> serial_cs driver to a PCMCIA wireless card (Zoom).
>
> Card works perfectly in recent 2.6.2[23] kernels if cardmgr is running
> and PCMCIA_IOCTL support is in the kernel.  The serial_cs driver
> fails, however, to bind in a pure hotplug configuration.  The hotplug
> scripts detect card insertion and load the serial_cs module but the
> driver doesn't bind to the device.
>
> The slot number (0.0 or 1.0) appears in the /sys/bus/pcmcia/devices
> directory after card insertion.  The serial_cs directory also presents
> in the /sys/bus/pcmcia/drivers directory secondary to module load.
>
> I've tried to manually echo the device number (0.0 or 1.0) into the
> /sys/bus/pcmcia/drivers/serial_cs/bind pseudo-file but nothing
> happens.  The device number is present as a binding if cardmgr frobs
> things with the pcmcia_ioctl bind commands.

Did you enable this?
  echo -n 1 > /sys/devices/pci0000:00/0000:00:1e.0/0000:15:00.0/0.0/allow_func_id_match

You can watch "udevmonitor --kernel" while doing this, to get the path and
see what events the kernel creates.

Distros usually set it automatically by udev:
  ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*",
ATTR{allow_func_id_match}="1"

Kay
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux