avm fxusb_cz driver mod

Bug #128299 reported by Kano
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.22 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

just like SuSE did before there is a simple way to an additional device by changing the usb. it works like this:

cp -a fxusb fxusb_cz
mv fxusb_cz/lib/fxusb-lib.o fxusb_cz/lib/fxusb_cz-lib.o
patch -p0 < debian/fxusb_cz.patch

see attached patch

Revision history for this message
Kano (master-kanotix) wrote :
Revision history for this message
Matthew Garrett (mjg59) wrote :

Why is this patch not simply applied to the original driver?

Revision history for this message
Kano (master-kanotix) wrote :

Because the used USB ID is only used for OEM products. These have been sold widely in germany too by ISPs. The patch works fine, just AVM did not offically release drivers for it. SuSE always patched it. The only diff to the original patch is that I would always use a lowercase module name - they used _CZ but _cz is better. I have a script that configures AVM hardware automatically based on USB/PCI ids. Maybe someone with better knowledge of the udev rules wants it - as it is needed to upload firmware in most cases to make the adapters really work.

Revision history for this message
Andreas (anhyb) wrote :

The "Teledat USB 2a/b" (057c:2800) was widely spread by the german "Telecom". So a lot of people in Germany still use this device. Well, I think that the most people would like to use their old Teledat (also known as "Teledat x120" or "Fritz!X USB") as a Fax-Modem.

So, there IS a driver for this... it is called fxusb_CZ and it was developed by AVM. But AVM never updated this thing...
But as you can see... SuSE updated it. And also Kano made that incredible Live-CD "Kanotix" which actually can identify and use the "Teledat USB 2a/b" out of the box. So... why cant UBUNTU?
The fxusb driver is part of the AVM restricted package. But where is the fxusb_CZ driver?
My wish: Could you please (!) fix this problem. I've tried so much... I just can't compile it by myself (I am using Hardy Beta). Thank you very much!

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi master-kanotix,

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the latest development release of Ubuntu? (ISOs are available from cdimage.ubuntu.com)

If it remains an issue, could you also attach a new /var/log/Xorg.0.log?
Thanks in advance.

The output of lspci -vvnn would also be worth having.

Changed in linux-restricted-modules-2.6.22:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in linux-restricted-modules-2.6.22:
status: Incomplete → Invalid
Revision history for this message
BongoMan (pascal-bongosoft) wrote :

for me this bug is still an issue, as I would like to use my Teledat usb 2a/b with Ubuntu 8.04 or 8.10. I tried to compile the kanotix driver from source on hardy (Kernel 2.6.24-21-generic) , but I get a segmentation fault whenever I start capiutils. I would find it nice to have a working driver for the teledat in ubuntu.

Revision history for this message
Andreas (anhyb) wrote :

Hi,

again, its me.
Yes to me this is also still a very important (and IMHO easy to fix) issue.
All over Germany (and Czech Republic?) there are a lot of old "Teledat USB 2a/b" hanging around. You know just for FAX or maybe for ISDN things... openSuSE stoped delivering the AVM driver due to a new license politic. Okay. But here: http://opensuse.foehr-it.de/ THEY still can download the driver...
Even yesterday I saw an old Teledat in a youth-club. Still working! Still hoping for ... Linux!

It would be just ONE little driver tuning. And there are a lot of people who would like to help. If BongoMan is THAT BongoMan who posted a HowTo (2006) in german about using the Teledat with Linux ... then I must thank him for his work. But now its outdated...

I know AVM has ended the support of that old device... But they are still around. ;-)

So, please!
I made sooo much advertising for Ubuntu. And it works with sooo much devices out of the box! It would be just another "Wow!" effect.

Or... would it be possible to show us some tricks how to make this on our own?
I think Kanotix has got a lot of work to do... and ... yes ... the Teledat ISN´T the most important bug to fix...
I know its only old hardware (but I like it)!

Sorry for my bad english!

Greetings and
Wish you a merry christmas!

Andreas

Revision history for this message
BongoMan (pascal-bongosoft) wrote :

Hi,

I just tried to compile kanos source-package [url]http://www.kanotix.com/files/thorhammer/kanotix/non-free/avm/avm-source_3.11-19_i386.deb[/url] (extracted with dpkg -x) on SuSE 11.0 (Kernel 2.6.25.18). I managed to compile fxusb_cz successfully, changing only one thing in fxusb_cz/src/main.c (I know some purists would kill me for that):

MODULE_LICENSE ("Proprietary");
to
MODULE_LICENSE ("GPL");

nb: that's very bad practice! I'm sure there are better solutions...

But with this change, I could do "make" and it compiled without errors.
I have no root privileges on this SuSE-PC, so I can't test if the module loads without problems and if it works. Maybe you could test it Andreas?

Pascal

Revision history for this message
BongoMan (pascal-bongosoft) wrote :

Hi,

I could compile it in Intrepid to, but I had to do some more changes in driver.c:

1) comment out or delete all lines containing the word "hotplug"
2) in line 1244 change "find_task_by_pid" to "find_task_by_vpid"

with this changes it compiles well and the module loads into the kernel, but I don't know if it really works, can't test it here...

Pascal

Revision history for this message
BongoMan (pascal-bongosoft) wrote :

I forgot to mention one more change I had to make in the file driver.h:

#include <asm/semaphore.h>

must be changed to:

#include <linux/semaphore.h>

I was home for lunch and could test the module on Intrepid, it seems to work well, I could establish an ISDN connection without problems using bongosurfer (oh oh, a little bit surreptitious advertising ;) )

I made a diff with all the changes (see attachment). It can be applied in src/ with "patch -p1 < fxusb_cz-intrepid.patch"
I will try to update my old tutorial soon (http://bongosurfer.forenking.com/viewtopic.php?t=560)

If someone knows a better solution for the MODULE_LICENSE thing, it would be nice to post it here...

It would still be very nice and much easier if this module could be included in the AVM restricted package!

Pascal

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.