Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52893 - Atmel Firmware and Configuration for Kernel 2.6
Summary: Atmel Firmware and Configuration for Kernel 2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Mobile Herd (OBSOLETE)
URL: http://www.thekelleys.org.uk/atmel/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 09:58 UTC by Martin von Gagern
Modified: 2005-01-03 08:37 UTC (History)
4 users (show)

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


Attachments
sys-apps/atmel-firmware/atmel-firmware-1.0.ebuild (atmel-firmware-1.0.ebuild,925 bytes, text/plain)
2004-06-03 10:01 UTC, Martin von Gagern
Details
atmel firmware license (atmel,2.83 KB, text/plain)
2004-10-28 14:05 UTC, n0ne
Details
atmel-firmware-1.1.ebuild (atmel-firmware-1.1.ebuild,927 bytes, text/plain)
2004-10-28 16:08 UTC, n0ne
Details
atmel-firmware-1.1-r1 (atmel-firmware-1.1-r1.ebuild,1001 bytes, text/plain)
2004-11-28 16:29 UTC, n0ne
Details
Updated ebuild. (atmel-firmware-1.1.ebuild,1.22 KB, text/plain)
2004-12-14 06:38 UTC, Klaus S. Madsen
Details
atmel-firmware-1.1.ebuild (atmel-firmware-1.1.ebuild,1.08 KB, text/plain)
2005-01-02 00:51 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2004-06-03 09:58:17 UTC
This EBuild installs firmware images and a configuration file from the developer of the kernel module for atmel wlan cards.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin von Gagern 2004-06-03 10:01:19 UTC
Created attachment 32601 [details]
sys-apps/atmel-firmware/atmel-firmware-1.0.ebuild
Comment 2 n0ne 2004-09-25 20:32:23 UTC
yes the firmware images are under GPL version 2 so that needs to be changed in the ebuild might want to add this to the livecd so people with atmel cards can use them to install (it can be done i have done it)
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2004-09-29 18:36:17 UTC
From the digging i've managed to do so far, it looks like the utility is definitely GPLed, but the firmware images it's not so clear. Check out the info debian has: http://packages.debian.org/testing/net/atmel-firmware

I'd prefer to add this along with a seperate license file for these, so as not to run any risks.
Comment 4 Henrik Brix Andersen 2004-09-30 01:15:32 UTC
Maybe try contacting Atmel about the license question?
Comment 5 Henrik Brix Andersen 2004-10-28 03:29:53 UTC
Anybody working on this?
Comment 6 n0ne 2004-10-28 14:05:58 UTC
Created attachment 42800 [details]
atmel firmware license

license for atmel firmware images
Comment 7 n0ne 2004-10-28 14:25:55 UTC
Comment on attachment 42800 [details]
atmel firmware license

images form atmelwlandriver.sourceforge.net and the license is also hosted on
that page(http://atmelwlandriver.sourceforge.net/licence.txt) it is also in the
package
Comment 8 n0ne 2004-10-28 16:08:52 UTC
Created attachment 42812 [details]
atmel-firmware-1.1.ebuild

changed license to Atmel
added RDEPEND=">=net-wireless/wireless-tools-26-r1" to ensure user can
configure card after setup

might want to host the package on gentoo merror system because
http://www.thekelleys.org.uk can be slow and it is a residential so it may not
be up all the time
Comment 9 n0ne 2004-10-28 16:10:53 UTC
Comment on attachment 42812 [details]
atmel-firmware-1.1.ebuild

updated to new version and fixed parts of the ebuild
Comment 10 Martin von Gagern 2004-11-18 10:54:31 UTC
I updated to hotplug-20040923, now /lib/firmware is named in /etc/hotplug-firmware.agent instead of /usr/lib/hotplug/firmware. I guess this ebuild should be changed accordingly.
Comment 11 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-28 07:21:59 UTC
Is this driver better or the one in bug 10730?
Comment 12 n0ne 2004-11-28 16:29:14 UTC
Created attachment 44899 [details]
atmel-firmware-1.1-r1

upgradded ebuild to work with newer versions of hotplug symlinked to old
directory to keep older versions of hotplug happy
to stefan it is a different dirver it uses the same firmware immages but it is
in the 2.6 kernel
Comment 13 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-29 13:01:28 UTC
no need to do revision bumps in not added packages, I would remove the -r nevertheless when adding it

what do you think about
DEPEND, RDEPEND
shouldnt there be a pcmcia? (maybe using the pcmcia/usb(hotplug) use flag)
DEPEND is build time dep
RDEPEND is run time dep
Do you think it is set up in the right way?

einfo should be in pkg_postinst and in brackets ""

This should also solve the atmel-firmware ebuild in 10730, as it is the same, right?
Do we not need the atmel-fwl perl script and compile the binary as in bug 10730?
We should also install the manpage for fwl.

Also the symlink stuff does not work for me, I get no symlinks.
I think we should use a for-loop and dosym every firmware.
Comment 14 Klaus S. Madsen 2004-12-14 06:37:10 UTC
I have tried to clean the 1.1-r1 ebuild, a bit. Now it has two use-flags "pcmcia" and "usb". If the pcmcia use-flag is enabled, the atmel.conf is installed in /etc/pcmcia. If the usb flag is enabled, the usb-only drivers are installed.

Also the ebuild detects if the cardmgr is running and notifies it about the configuration change.

As a simplification, the ebuild now depends on hotplug-20040923, which uses /lib/firmware, so the symlinks are no longer needed.

Because of the dependency on hotplug, we do not need the firmware-upload utilities.
Comment 15 Klaus S. Madsen 2004-12-14 06:38:22 UTC
Created attachment 45973 [details]
Updated ebuild.
Comment 16 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-02 00:51:00 UTC
Created attachment 47357 [details]
atmel-firmware-1.1.ebuild

Cleaned up ebuild
Comment 17 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-03 08:37:29 UTC
Thanks to all people, this ebuild is now in the tree.