Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84234 - pcmciautils-004 (New Package)
Summary: pcmciautils-004 (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: EBUILD, InVCS
Depends on: 84228 84231
Blocks:
  Show dependency tree
 
Reported: 2005-03-05 13:56 UTC by Dominik Brodowski
Modified: 2005-08-18 14:44 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for pcmciautils-001 (pcmciautils-001.ebuild,1.16 KB, text/plain)
2005-03-05 13:56 UTC, Dominik Brodowski
Details
ebuild for pcmciautils-001 (pcmciautils-001.ebuild,1.19 KB, text/plain)
2005-03-05 14:29 UTC, Dominik Brodowski
Details
ebuild for pcmciautils-002 (pcmciautils-002.ebuild,1.19 KB, patch)
2005-03-19 15:53 UTC, Dominik Brodowski
Details | Diff
pcmciautils-002.ebuild (pcmciautils-002.ebuild,1.26 KB, text/plain)
2005-04-23 14:22 UTC, Henrik Brix Andersen
Details
pcmciautils-003.ebuild (pcmciautils-003.ebuild,1.39 KB, text/plain)
2005-05-20 05:58 UTC, Henrik Brix Andersen
Details
ebuild for -004 (pcmciautils-004.ebuild,1.37 KB, text/plain)
2005-06-29 13:20 UTC, Dominik Brodowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Brodowski 2005-03-05 13:56:20 UTC
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:
Comment 1 Dominik Brodowski 2005-03-05 13:56:44 UTC
Created attachment 52748 [details]
ebuild for pcmciautils-001
Comment 2 Dominik Brodowski 2005-03-05 13:57:53 UTC
pcmciautils-001 requires some bugfixes to module-init-tools and libsysfs/sysfsutils to work properly.
Comment 3 Dominik Brodowski 2005-03-05 14:29:32 UTC
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.
Comment 4 Henrik Brix Andersen 2005-03-06 04:03:29 UTC
Looks good - I'll take care of this. Thank you for submitting it.
Comment 5 Henrik Brix Andersen 2005-03-06 04:56:52 UTC
Where did you see the announcement of this release?
Comment 6 Dominik Brodowski 2005-03-06 05:01:38 UTC
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 .
Comment 7 Henrik Brix Andersen 2005-03-06 05:31:20 UTC
Ah, right.

Just making sure I understand this right: this package only works with the recent pcmcia/hotplug changes in -mm?
Comment 8 Dominik Brodowski 2005-03-06 05:32:50 UTC
> 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.
Comment 9 Henrik Brix Andersen 2005-03-06 05:34:57 UTC
Good. I'll add the ebuild to the tree after some local testing.

Againg: thank you for submitting this.
Comment 10 Dominik Brodowski 2005-03-19 15:51:33 UTC
pcmciautils-002 was just released
Comment 11 Dominik Brodowski 2005-03-19 15:53:56 UTC
Created attachment 53896 [details, diff]
ebuild for pcmciautils-002
Comment 12 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-20 09:09:13 UTC
Does it only work with 16-bit PCMCIA cards? (no 32-bit CARDBUS?)
Comment 13 Dominik Brodowski 2005-03-20 09:23:09 UTC
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.
Comment 14 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-20 10:34:47 UTC
Okay, I'll try upgrading to the newest version and see if that helps.
Comment 15 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-20 11:25:25 UTC
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.
Comment 16 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-03-20 11:29:42 UTC
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.
Comment 17 Dominik Brodowski 2005-03-20 14:44:24 UTC
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.
Comment 18 Henrik Brix Andersen 2005-03-28 04:40:30 UTC
The patches needed for sysfsutils and module-init-tools - where can I find them?
Comment 19 Henrik Brix Andersen 2005-03-28 05:01:21 UTC
Oops. Nevermind.
Comment 20 Henrik Brix Andersen 2005-04-23 14:22:42 UTC
Created attachment 57040 [details]
pcmciautils-002.ebuild
Comment 21 Henrik Brix Andersen 2005-04-23 14:23:31 UTC
Comment on attachment 57040 [details]
pcmciautils-002.ebuild

Updated DEPEND and added debug support
Comment 22 Dominik Brodowski 2005-05-05 01:54:58 UTC
pcmciautils-003 was released, ebuild can stay the same AFAICS.
Comment 23 Henrik Brix Andersen 2005-05-20 05:58:27 UTC
Created attachment 59380 [details]
pcmciautils-003.ebuild

Updated dependencies.
Comment 24 Dominik Brodowski 2005-06-29 13:20:43 UTC
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.
Comment 25 Dominik Brodowski 2005-06-29 13:25:18 UTC
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).
Comment 26 Henrik Brix Andersen 2005-06-29 13:43:16 UTC
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?
Comment 27 Dominik Brodowski 2005-06-29 13:48:32 UTC
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!
Comment 28 Henrik Brix Andersen 2005-06-29 13:55:26 UTC
Ah, ok.
Comment 29 Henrik Brix Andersen 2005-06-29 13:55:52 UTC
Btw, how does pcmciautils handle CIS? 
Comment 30 Dominik Brodowski 2005-06-29 13:59:49 UTC
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).
Comment 31 Henrik Brix Andersen 2005-06-29 14:02:02 UTC
Ok, we'll see how it goes. Thanks.
Comment 32 Henrik Brix Andersen 2005-06-30 02:24:26 UTC
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.
Comment 33 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-06-30 03:24:51 UTC
I was wandering, does this officially deprecates/obsoletes pcmcia-cs?
Comment 34 Henrik Brix Andersen 2005-06-30 03:59:13 UTC
Not yet - it's provided as an experimental alternative to pcmcia-cs, but
pcmcia-cs is still the default.
Comment 35 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-06-30 04:24:20 UTC
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 :)
Comment 36 Henrik Brix Andersen 2005-06-30 04:29:18 UTC
Did you read the above howto?
Comment 37 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-06-30 04:33:21 UTC
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
Comment 38 Dominik Brodowski 2005-06-30 05:09:34 UTC
have run "rc-update coldplug default" ?
Comment 39 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2005-06-30 05:13:44 UTC
I have it in the boot runlevel, don't know if that makes problems.