Version bump: sys-apps/pcmcia-cs-3.2.8

I have just added sys-apps/pcmcia-cs-3.2.8 and the split out sys-apps/pcmcia-cs-modules-3.2.8 to portage – please test and report any bugs to bugzilla. Hopefully this will be the last major release of pcmcia-cs – next up: pcmciautils.

To clarify:

  • If you are using linux-2.4.x you should disable the in-kernel CONFIG_PCMCIA drivers but enable support for the needed sub-systems such as CONFIG_NET_RADIO and use the modules from sys-apps/pcmcia-cs-modules – and the user-space utils from sys-apps/pcmcia-cs.
  • If you are using linux-2.6.x you should use the in-kernel PCMCIA drivers along with the user-space utilities from sys-apps/pcmcia-cs.
  • When linux-2.6.13-preX is out you should consider switching to the yet-to-be-added pcmciautils, deprecating sys-apps/pcmcia-cs all together.

The future of PCMCIA support

A few days ago johnm and I completed the new pcmcia support in linux-mod.eclass, officially deprecating pcmcia.eclass.

This required a small change in the currently available sys-apps/pcmcia-cs ebuilds to install a snapshot of the configured pcmcia-cs source in /usr/src/pcmcia-cs/pcmcia-cs-build-env.tbz2 – a tarball which will be used by linux-mod.eclass when building external pcmcia modules for kernels with CONFIG_PCMCIA=n.

I am currently working on a new and improved pcmcia-cs-3.2.8 ebuild which will likely be split up in app-laptop/pcmcia-cs and app-laptop/pcmcia-cs-modules in tradition of our external kernel module ebuild policy. Hopefully this version will fix some of the many bugs listed in the pcmcia-cs metabug

The real future of PCMCIA support in Linux is, of course, pcmciautils. This is a small set of user-space tools and scripts which allows PCMCIA cards to be handled by the sys-apps/hotplug subsystem. The addition of this package to portage is covered in bug #84234. We’re waiting for a required patch for sys-apps/module-init-tools to be accepted by upstream before we do any further, or we might end up having to maintain this patch by ourselves forever.