Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52984 - fcusb2-0.5.1.ebuild (New Package)
Summary: fcusb2-0.5.1.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-06-04 09:17 UTC by Bernd Westermann
Modified: 2004-12-12 17:33 UTC (History)
4 users (show)

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


Attachments
fcusb2-0.5.1.ebuild (fcusb2-0.5.1.ebuild,1.01 KB, text/plain)
2004-06-04 09:20 UTC, Bernd Westermann
Details
fcusb2/ChangeLog (ChangeLog,294 bytes, text/plain)
2004-06-04 09:21 UTC, Bernd Westermann
Details
fcusb2/Manifest (Manifest,255 bytes, text/plain)
2004-06-04 09:22 UTC, Bernd Westermann
Details
fcusb2/files/digest-fcusb2-0.5.1 (digest-fcusb2-0.5.1,75 bytes, text/plain)
2004-06-04 09:22 UTC, Bernd Westermann
Details
fcusb2/files/fcusb2 (fcusb2,417 bytes, text/plain)
2004-06-04 09:22 UTC, Bernd Westermann
Details
fcusb2/files/fcusb2-0.5.1-2.6.7.patch (fcusb2-0.5.1-2.6.7.patch,1.38 KB, text/plain)
2004-06-04 09:23 UTC, Bernd Westermann
Details
fcusb2-0.5.1-r1.ebuild (fcusb2-0.5.1-r1.ebuild,1.03 KB, text/plain)
2004-07-14 06:59 UTC, Bernd Westermann
Details
ChangeLog (ChangeLog,398 bytes, text/plain)
2004-07-14 07:00 UTC, Bernd Westermann
Details
files/digest-fcusb2-0.5.1-r1 (digest-fcusb2-0.5.1-r1,75 bytes, text/plain)
2004-07-14 10:05 UTC, Bernd Westermann
Details
fcusb2/fcusb2-0.5.1-r2.ebuild (fcusb2-0.5.1-r2.ebuild,1.09 KB, text/plain)
2004-07-27 03:04 UTC, Bernd Westermann
Details
fcusb2/ChangeLog (ChangeLog,555 bytes, text/plain)
2004-07-27 03:04 UTC, Bernd Westermann
Details
fcusb2/files/digest-fcusb2-0.5.1-r2 (digest-fcusb2-0.5.1-r2,75 bytes, text/plain)
2004-07-27 03:05 UTC, Bernd Westermann
Details
fcusb2-0.5.1.ebuild (fcusb2-0.5.1.ebuild,2.16 KB, text/plain)
2004-10-03 11:59 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Westermann 2004-06-04 09:17:20 UTC
This is an ebuild for the fcusb2.ko. Its a driver for the AVM Fritz Card USB v2.x. Its developed for use with SuSE 9.1 (kernel 2.6.4). There are 2 problems while using it with kernel 2.6.7-rc2:
- The function usb_interface_claimed() returns always true (1). In case the driver never loads
- The driver uses 2 interfaces in its code:
	pdc->if1 = dev->config[0].interface[0];
	pdc->if2 = dev->config[1].interface[0];
  But the second one is NULL on my device (Version 2.0). It produces a kernel Oops.
I make a patch for these problems. Now the driver loads with (hopefully) no error.

I suggest net-dialup/fcusb2 is the right place.

Bernd Westermann
Comment 1 Bernd Westermann 2004-06-04 09:20:59 UTC
Created attachment 32646 [details]
fcusb2-0.5.1.ebuild
Comment 2 Bernd Westermann 2004-06-04 09:21:44 UTC
Created attachment 32647 [details]
fcusb2/ChangeLog
Comment 3 Bernd Westermann 2004-06-04 09:22:02 UTC
Created attachment 32648 [details]
fcusb2/Manifest
Comment 4 Bernd Westermann 2004-06-04 09:22:30 UTC
Created attachment 32649 [details]
fcusb2/files/digest-fcusb2-0.5.1
Comment 5 Bernd Westermann 2004-06-04 09:22:56 UTC
Created attachment 32650 [details]
fcusb2/files/fcusb2
Comment 6 Bernd Westermann 2004-06-04 09:23:21 UTC
Created attachment 32651 [details]
fcusb2/files/fcusb2-0.5.1-2.6.7.patch
Comment 7 Bernd Westermann 2004-07-14 06:59:55 UTC
Created attachment 35390 [details]
fcusb2-0.5.1-r1.ebuild

add "inherit eutils" at begin of ebuild
Comment 8 Bernd Westermann 2004-07-14 07:00:33 UTC
Created attachment 35391 [details]
ChangeLog
Comment 9 Bernd Westermann 2004-07-14 10:05:31 UTC
Created attachment 35405 [details]
files/digest-fcusb2-0.5.1-r1
Comment 10 Simon Bühler 2004-07-26 11:14:15 UTC
hmmm, thanks for your efforts but i get an error when emerging the the patch:
(i already changed the "fritz.org" into "fritz" but still a no go )


bash-2.05b# more  /var/tmp/portage/fcusb2-0.5.1-r1/temp/fcusb2-0.5.1-2.6.7.patch-6980.out
***** fcusb2-0.5.1-2.6.7.patch *****

====================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/net-dialup/fcusb2/files/fcusb2-0.5.1-2.6.7.patch

====================================
patching file fritz/src/main.c
Hunk #1 FAILED at 203.
Hunk #2 FAILED at 216.
Hunk #3 FAILED at 247.
3 out of 3 hunks FAILED -- saving rejects to file fritz/src/main.c.rej
====================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/net-dialup/fcusb2/files/fcusb2-0.5.1-2.6.7.patch

====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru fritz/src/main.c fritz/src/main.c
|--- fritz/src/main.c   2004-05-14 17:13:00.000000000 +0200
|+++ fritz/src/main.c   2004-06-04 16:01:37.286904464 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/net-dialup/fcusb2/files/fcusb2-0.5.1-2.6.7.patch

====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru fritz/src/main.c fritz/src/main.c
|--- fritz/src/main.c   2004-05-14 17:13:00.000000000 +0200
|+++ fritz/src/main.c   2004-06-04 16:01:37.286904464 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/net-dialup/fcusb2/files/fcusb2-0.5.1-2.6.7.patch

====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru fritz/src/main.c fritz/src/main.c
|--- fritz/src/main.c   2004-05-14 17:13:00.000000000 +0200
|+++ fritz/src/main.c   2004-06-04 16:01:37.286904464 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
====================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/net-dialup/fcusb2/files/fcusb2-0.5.1-2.6.7.patch

====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ru fritz/src/main.c fritz/src/main.c
|--- fritz/src/main.c   2004-05-14 17:13:00.000000000 +0200
|+++ fritz/src/main.c   2004-06-04 16:01:37.286904464 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
Comment 11 Bernd Westermann 2004-07-26 14:02:11 UTC
AVM add my patch to the tar file. But do not change the versions number. So if your fcusb2-suse9.1-3.11-04.tar.gz is 1012040 bytes, you need my patch. If it is 1011965 bytes, you do not need my patch. "Thanks" to AVM ;-(.  I will build a new ebuild tomorrow.
Comment 12 Bernd Westermann 2004-07-27 03:04:11 UTC
Created attachment 36248 [details]
fcusb2/fcusb2-0.5.1-r2.ebuild

AVM add my patch to the source. Or better they remove the broken source part.
But they forgot to increase the version number. Does anyone know how to check 
file size of the downloaded file. So I can decide to add the patch or not. 
The old source is bigger then the new one.
Comment 13 Bernd Westermann 2004-07-27 03:04:35 UTC
Created attachment 36249 [details]
fcusb2/ChangeLog
Comment 14 Bernd Westermann 2004-07-27 03:05:08 UTC
Created attachment 36250 [details]
fcusb2/files/digest-fcusb2-0.5.1-r2
Comment 15 Stefan Schweizer (RETIRED) gentoo-dev 2004-10-03 11:59:35 UTC
Created attachment 40997 [details]
fcusb2-0.5.1.ebuild

Can you please test if this ebuild works for you?
Comment 16 Stefan Schweizer (RETIRED) gentoo-dev 2004-11-21 02:36:01 UTC
Simon, maybe you could test this?

Anyone wants to test this?
Comment 17 Simon Bühler 2004-11-22 11:54:26 UTC
a friend of mine is using the usb card and will pass it back to me next week, i'll test it then
Comment 18 Stefan Schweizer (RETIRED) gentoo-dev 2004-12-02 09:17:36 UTC
no one was able to test this yet?
Comment 19 Simon Bühler 2004-12-08 13:28:01 UTC
due to a sad family affair i was unable to test it but i will this weekend 
Comment 20 Simon Bühler 2004-12-11 13:54:26 UTC
yes!

worksforme on linux-2.6.8-gentoo-r10... clean compile but i had some problems loading the firmware for my V2.1 Card but now it somehow works :

/etc/capi.conf (V2.1):
fcusb2 fus3base.frm DSS1 - - - -

/etc/capi.conf (V2.0):
fcusb2 fus2base.frm DSS1 - - - -

might be worth a notice to update the /etc/capi.conf after the ebuild-install to avoid some troubles for the other users

thx!
Comment 21 Alin Năstac (RETIRED) gentoo-dev 2004-12-12 14:16:14 UTC
I added firmware files and hotplug script to net-dialup/fritzcapi-2.6.26.7-r3.
This ebuild already contains fcusb2 kernel modules.
Comment 22 Stefan Briesenick (RETIRED) gentoo-dev 2004-12-12 17:33:31 UTC
hmpf! ;-)

I already added the firmware files to isdn-firmware and the hotplug-stuff to capi4k-utils. You know, I'm working on it.

I'm not sure, if 'fritzcapi' is the right place for it, since it overlaps with the other ebuilds. Perhaps we should discuss this and maybe change it. But we should do this via email...