pcmciautils-001 is released. If used with modern kernels (e.g. 2.6.11-mm1) it allows you to "emerge unmerge pcmcia-cs" and still use 16-bit PCMCIA cards. Reproducible: Always Steps to Reproduce:
Created attachment 52748 [details] ebuild for pcmciautils-001
pcmciautils-001 requires some bugfixes to module-init-tools and libsysfs/sysfsutils to work properly.
Created attachment 52754 [details] ebuild for pcmciautils-001 pcmciautils needs coldplug to work properly if PCMCIA was built into the kernel. fixed ebuild to reflect this fact.
Looks good - I'll take care of this. Thank you for submitting it.
Where did you see the announcement of this release?
I'm author and "upstream" and did not really announce it outside the linux pcmcia list at http://lists.infradead.org/mailman/listinfo/linux-pcmcia . The gentoo HOWTO can be found at http://forums.gentoo.org/viewtopic-t-304357.html .
Ah, right. Just making sure I understand this right: this package only works with the recent pcmcia/hotplug changes in -mm?
> Just making sure I understand this right: this package only works with the > recent pcmcia/hotplug changes in -mm? Exactly. The chances of these getting merged for 2.6.12 are good, though.
Good. I'll add the ebuild to the tree after some local testing. Againg: thank you for submitting this.
pcmciautils-002 was just released
Created attachment 53896 [details, diff] ebuild for pcmciautils-002
Does it only work with 16-bit PCMCIA cards? (no 32-bit CARDBUS?)
32-bit CardBus cards are already handled by the PCI subsystem (and /etc/hotplug/pci.agent ). So pcmciautils only needs to focus on 16-bit devices.
Okay, I'll try upgrading to the newest version and see if that helps.
I'm not using modules, so coldplug behaves wierd. It doesn't react on when I insert the card (Orinoco Silver), only if I use pcmcia-cs.
Any it freezes right before it changes init level on reboot, if the card is plugged in. Inserting it after logging in doesn't work eighter.
what kernel are you using? please contact me directly at linux AT brodo DOT de and send me a complete dmesg and your .config, especially as this bug here is unrelated to the troubles you're seeing.
The patches needed for sysfsutils and module-init-tools - where can I find them?
Oops. Nevermind.
Created attachment 57040 [details] pcmciautils-002.ebuild
Comment on attachment 57040 [details] pcmciautils-002.ebuild Updated DEPEND and added debug support
pcmciautils-003 was released, ebuild can stay the same AFAICS.
Created attachment 59380 [details] pcmciautils-003.ebuild Updated dependencies.
Created attachment 62263 [details] ebuild for -004 The ebuild for 004 contains a new USE flag named "staticsocket". See the new mini-howto at http://www.kernel.org/pub/linux/utils/kernel/pcmcia/howto.html to check whether you have a "static" socket -- then you can enable this flag -- or (which is much more likely) you have a "dynamic" socket -- then you should leave this flag disabled.
pcmciautils-004 is out; so is kernel 2.6.13-rc1 finally with the necessary changes included. However, there is at least one minor bug still in the kernel which needs to be fixed first: check http://www.kernel.org/pub/linux/kernel/people/brodo/patches/2.6.13-rc1/ for all bugfixes (and feature enhancements).
I started the last changed needed to get pcmciautils into portage earlier today - so things are looking right. However, I get a 404 from both of the above URLS?
they're still 404s, as the files are already uploaded to the master server and needs yet to be mirrored to the "public" kernel.org repos. Thanks for working to get this into portage!
Ah, ok.
Btw, how does pcmciautils handle CIS?
You mean the CIS overrides? They're not included in the pcmciautils package and are, to my knowledge, rarely required. If the *.cis files are put into /lib/firmware/ and CONFIG_PCMCIA_LOAD_CIS is set, the firmware hotplug mechanism handles it just fine (I hope).
Ok, we'll see how it goes. Thanks.
sys-apps/pcmciautils-004 is now in portage. A big thank you to Dominik for the initial ebuilds and the help with importing this package. I have added a sys-apps/pcmcia-cs-cis ebuild for installing CIS *.dat files from pcmcia-cs as well.
I was wandering, does this officially deprecates/obsoletes pcmcia-cs?
Not yet - it's provided as an experimental alternative to pcmcia-cs, but pcmcia-cs is still the default.
hmm, as far as I can see, there is no ongoing development of pcmcia-cs, so this is a nice alternative indeed, if just I could get it working :)
Did you read the above howto?
The problem is, that I have to echo several values into /sysfs to get it to work, here is the script I have to run on each boot: echo "0x100-0x4ff" > /sys/class/pcmcia_socket/pcmcia_socket1/available_resources_io echo "0xa0000000-0xa0ffffff" > /sys/class/pcmcia_socket/pcmcia_socket1/available_resources_mem echo "42" > /sys/class/pcmcia_socket/pcmcia_socket1/available_resources_setup_done echo "0x100-0x4ff" > /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_io echo "0xa0000000-0xa0ffffff" > /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_mem echo "42" > /sys/class/pcmcia_socket/pcmcia_socket0/available_resources_setup_done
have run "rc-update coldplug default" ?
I have it in the boot runlevel, don't know if that makes problems.