Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 44103
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christoph Brill (egore) <egore@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
acx100-0.2.0_pre7.ebuild net-wireless/acx100-0.2.0_pre7.ebuild text/plain Christoph Brill (egore) 2004-03-25 08:14 0000 2.59 KB Details
acx100-0.2.0_pre8.ebuild net-wireless/acx100-0.2.0_pre8.ebuild text/plain Christoph Brill (egore) 2004-04-27 11:48 0000 2.81 KB Details
acx100-0.2.0_pre8.ebuild net-wireless/acx100-0.2.0_pre8 text/plain Christoph Brill (egore) 2004-12-10 13:37 0000 3.06 KB Details
acx100-0.2.0_pre8.ebuild acx100-0.2.0_pre8.ebuild text/plain Stefan Schweizer 2005-01-24 10:26 0000 1.20 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44103 depends on: Show dependency tree
Bug 44103 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-08 23:35 0000
I'd like to see an ebuild for the acx100 driver. It works fine with 2.6 and
2.4. I had two solutions in mind:
1.) add as seperate driver
2.) add as kernel-patch

since in 2.6 you have to compile the driver in kernel path, the second idea is
what i like most. but currently this is not supported via "make menuconfig",
but i will ask the developers for adding this support. take a look at the URL i
added.

i'd like to make an ebuild by myself, but i really lack knowledge in
kernel-ebuilds and currently have no time to learn it.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Christoph Brill (egore) 2004-03-10 05:42:31 0000 -------
To easy the pain :)

http://luca.pca.it/projects/acx100/

This site hosts a kernel patch (i haven't had the time to test it, will give feedback when i'm done testing)

------- Comment #2 From Christoph Brill (egore) 2004-03-10 05:53:19 0000 -------
The patch works with some issues:
- it only works against /usr/src/linux-2.6.3-acx100
- patching Makefile failes! (added support by hand)
- Kconfig changes are made three times, which causes that there are three entries in "make menuconfig"

------- Comment #3 From Christoph Brill (egore) 2004-03-18 00:37:05 0000 -------
i found out that the current cvs-version supports compilation outside of the
kernel tree. this would make an ebuild much simpler. i will give it a try later
this day.

------- Comment #4 From Christoph Brill (egore) 2004-03-25 08:14:18 0000 -------
Created an attachment (id=28003) [details]
net-wireless/acx100-0.2.0_pre7.ebuild

NON-WORKING ebuild for the acx100 driver. It crashes during a sandbox violation
and i can't figure out why :( Maybe someone with knowledge might take a look at
it.

------- Comment #5 From Christoph Brill (egore) 2004-04-27 11:48:12 0000 -------
Created an attachment (id=30171) [details]
net-wireless/acx100-0.2.0_pre8.ebuild

NON-WORKING ebuild for new version. it still sandbox-violates. if someone could
help me rewriting the "make install" i guess it would work.

------- Comment #6 From Simon Cooper 2004-05-04 15:55:25 0000 -------
I've been looking into this, and may I suggest that the user installs the
firmware himself, as there are so many different versions that actually work
(eg my dwl-560+ uses a differnet firmware to the 520+ afaik), also there is
currently no way to get around the sandbox violations, you've just got to set
FEATURES="-sandbox". 

Adding lots of instructions on the end on where to get the various firmwares
and where to put which files should be ok. I'll post an updated ebuild tomorrow
at some point

------- Comment #7 From Christopher Ford 2004-07-17 01:40:08 0000 -------
Well, I'm not sure that anyone is still working on this thing however I have
come up with a better way to do the pre version / fix deal.  It goes something
like this.

Filename:  acx100-0.2.0_pre8-r14.ebuild

then have this code in the ebuild itself that will set all the version stuff
for you.

VER=${PV/"_"/""}
REV=${PR/"r"/"_plus_fixes_"}
ACX_VER=${PN}-${VER}${REV}


SRC_URI="http://rhlx01.fht-esslingen.de/~andi/acx100/${ACX_VER}.tar.bz2"

This is a hack so it might not conform to portage standards, however not sure
what else we could do since the filename from acx seems a little strange.

Anyone made any progress with getting this thing to compile?

Also I agree that downloading would be best I suppose.  However, I think one
could get quite complex and try to pull the information from /proc/pci to see
which card the user has???

I'm working on an ebuild, if I have any luck I'll post it here.

------- Comment #8 From Christoph Brill (egore) 2004-08-31 06:17:49 0000 -------
I tried to fix my ebuild to get this running, but for me it's impossible, since
it  calls functions ("make", i think) in the /usr/src/linux directory. My idea
was:

./Configure || die "configure failed"
sed -i -e "s:=\/:=\$\{D\}\/:g" config.mk ||

------- Comment #9 From Christoph Brill (egore) 2004-08-31 06:17:49 0000 -------
I tried to fix my ebuild to get this running, but for me it's impossible, since
it  calls functions ("make", i think) in the /usr/src/linux directory. My idea
was:

./Configure || die "configure failed"
sed -i -e "s:=\/:=\$\{D\}\/:g" config.mk ||¢die "sed failed"
dodir `grep KERNEL_BUILD config.mk | cut -c 18-` || die "dodir failed"
dodir `grep KERNEL_OUTPUT config.mk | cut -c 19-` || die "dodir failed"
dosym ${ROOT}${KERNEL_DIR} ${D}/`grep KERNEL_BUILD config.mk | cut -c 18-` ||
die "symlinking failed"
make || die "make failed"

The symlink wouldn't work for me, but maybe someone else can use this idea.

Next to that: Christopher Fords idea look very good to me!!

------- Comment #10 From Fabien Fivaz 2004-09-03 01:03:53 0000 -------
The ACX100 developpers do not send the new versions to Sourceforge anymore. You
can find the latest builds at http://lisas.de/~andi/acx100/.

------- Comment #11 From Christoph Brill (egore) 2004-09-03 01:51:16 0000 -------
Additional hint: According to bug #32737 someone got acx100 building with an
ebuild. I'm not sure how he did this, I wasn't able to do so. Maybe someone
else could try it.

I failed with a missing firmware.eclass. But since there is no need for that
(the user should get the firmware himself), it might work, but I have a huge
lack of time so I cannot do it :(

------- Comment #12 From Christoph Brill (egore) 2004-12-10 13:37:52 0000 -------
Created an attachment (id=45699) [details]
net-wireless/acx100-0.2.0_pre8

Ladies and gentleman ... i proudly present:

The WORKING acx100 ebuild :D

------- Comment #13 From Christoph Brill (egore) 2004-12-10 13:38:48 0000 -------
forgot to say: tested with 2.6 kernel, only. someone should check 2.4 since I'm
quite sure the install routine will fail.

------- Comment #14 From Stefan Schweizer 2005-01-24 10:26:51 0000 -------
Created an attachment (id=49398) [details]
acx100-0.2.0_pre8.ebuild

please test and comment if this works for you.

------- Comment #15 From Stefan Schweizer 2005-01-25 12:40:00 0000 -------
in portage, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug