Wireless on Amilo M7440 doesn't work: needs module fsm7440

Bug #61827 reported by MaV
62
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned
linux-source-2.6.17 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

On laptop Fujitsu-Siemens Amilo M7440 wireless card doesn't work. It's because this notebook needs specific kernel module for it to work (fsam7440). Previous version of this module (fsam7400) is already built in, but it isn't compatible with this notebook. Link to the module homepage:

http://fsam7440.sourceforge.net/index2.html

It would be great if this module would come built in in Edgy.

Revision history for this message
towsonu2003 (towsonu2003) wrote :

thanks for your bug report. did you try if the card works with the module in edgy [using a live cd] by any chance?

Revision history for this message
MaV (maciej-trebacz) wrote :

Tried Edgy Beta released few days ago. It doesn't work, there's no fsam7440 module there. There is fsam7400 (which was also in Hoary and Dapper), but it works only with Amilo M7400 (older notebook).

Changed in linux-source-2.6.17:
status: Needs Info → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing the linux-source-2.6.17 Edgy Eft kernel task.

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download . You should be able to test your bug using the LiveCD. Please let us know your results. Thanks.

Changed in linux-source-2.6.17:
status: Confirmed → Invalid
Changed in linux:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks.

Changed in linux:
status: Incomplete → Won't Fix
Revision history for this message
Koen (koen-steenhout) wrote :

As far as I know the module fsam7440 doesn't work on Ubuntu 8.10.
I installed ubuntu (with wubi) and the wireless card can't be activated.

To be honest, i'm a linux newbie so I need a lot of help.

With the previous versions ( 7.04 and 7.10) i was able to install the fsam module and use my wireless card (without any problem).

I hope this can get fixed because I love to use Ubuntu and now i'm stuck on windows.

Koen (koen-steenhout)
Changed in linux-source-2.6.17:
status: Invalid → New
Revision history for this message
Koen (koen-steenhout) wrote :

Importance: no wireless network possible. notebook useless for the company I work for.

Revision history for this message
laurius (laurynas-tamosiunas) wrote :

fsam7440 wasn't available on any ubuntu version. After any new kernel version I downloading wireless drivers from http://fsam7440.sourceforge.net/install.html and recompiling. But in 8.10 I can't compile it.

laurius@laurius-laptop:~/Desktop/fsam7440-0.4$ make
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/laurius/Desktop/fsam7440-0.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M] /home/laurius/Desktop/fsam7440-0.4/fsam7440.o
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c: In function ‘amilom7440_proc_cleanup’:
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c:168: error: ‘proc_root’ undeclared (first use in this function)
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c:168: error: (Each undeclared identifier is reported only once
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c:168: error: for each function it appears in.)
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c: In function ‘amilom7440_proc_init’:
/home/laurius/Desktop/fsam7440-0.4/fsam7440.c:179: error: ‘proc_root’ undeclared (first use in this function)
make[2]: *** [/home/laurius/Desktop/fsam7440-0.4/fsam7440.o] Error 1
make[1]: *** [_module_/home/laurius/Desktop/fsam7440-0.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [default] Error 2

Revision history for this message
VicFdez (vicfdez) wrote :

A solution to the problem :

error: `proc_root' undeclared

I have seen is to nullify (set to NULL) the references to `&proc_root´ in the source code, can't try this right now but I think is worthy trying.

Revision history for this message
VicFdez (vicfdez) wrote :

Applied this patch to fsam7440.c and it worked fine!

168c168
< remove_proc_entry(DRV_NAME, &proc_root);
---
> remove_proc_entry(DRV_NAME, NULL);
179c179
< dir_base = create_proc_entry(DRV_NAME, S_IFDIR, &proc_root);
---
> dir_base = create_proc_entry(DRV_NAME, S_IFDIR, NULL);

Good luck!

Revision history for this message
Koen (koen-steenhout) wrote :

I feel very stupid to ask this,
but I don't know how to apply this patch?
what do I do with it?

(very sorry, but i'm a real newbie)

Revision history for this message
VicFdez (vicfdez) wrote :

All we have been newbies once in our life ;-)

Unpack the fsam7440 code into a folder (usually you will do this into /usr/src/fsam7440-0.4)
Download the patch I have attached (fsam7440_2.6.27.patch) into the same folder.

cd to the source code and execute :

patch -b fsam7440.c fsam7440_2.6.27.patch

this will modify the original fsam7440.c file and create a fsam7440.c.orig backup file.

Now you have you source patched! If you have any problem you can revert to your original situation with :

cp fsam7440.c.orig fsam7440.c

good luck!

Revision history for this message
Alex (scoobycom) wrote :

Another very very newbie has the same problem.

I try to apply the patch given,but i get the following message on terminal.

----
root@andreas-laptop:/home/andreas/fsam7440-0.4# patch -b fsam7440.c fsam7440_2.6.27.patch
The program 'patch' is currently not installed. You can install it by typing:
apt-get install patch
bash: patch: command not found
------
Can anyone help me proceed?
Thank you in advance..

Revision history for this message
Koen (koen-steenhout) wrote :

Try :
make

make install,

first i got that error, but then it seemed that it worked anyway.

The patch is definitly the solution,
i'm wireless now... thx a million times

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Reopening this against the actively developed "linux" kernel package and closing this again against 2.6.17 since Edgy is EOL.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Won't Fix → Triaged
Changed in linux-source-2.6.17:
status: New → Won't Fix
Revision history for this message
legolas558 (legolas558) wrote :

Hi there,

I am using Intrepid Ibex and I indeed need fsam7400 to turn on the wireless device.

I have patched fsam7400 and I have now increased version to v0.5.2, I will mantain it as necessary (the original author, zwobbl, declared it obsolete).

Details here:
http://legolas558.iragan.com/fsam7400

For anything related, please contact me.

I ask to add this module to the installation media and to universe too

Revision history for this message
legolas558 (legolas558) wrote :

Regarding previous comment - sorry, that does not help for fsam7440, I just noticed it

Revision history for this message
GD (glendubin) wrote :

Hi!

I've been reading these comments, but as a newbie I don't really understand what to put where. I thought the patch was some kind of a self executing program, but it's just some lines and I don't know what to do with it. Could someone describe, what one needs to change in the fsam7440.c in order to get the wireless working?

Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Tuomas Jormola (tjormola) wrote :

I can confirm this. When running Intrepid, you need fsam7440 loaded in order to get Amilo 7440 wireless working. I downloaded driver v0.4 from sourceforge and applied the proc_root patch, compiled, installed, rmmod ipw2200, modprobe fsam7440, modprobe ipw2200 and wireless is working fine. Also added fsam7440 to /etc/modules so wireless works on after reboot.

Revision history for this message
Tuomas Jormola (tjormola) wrote :

I see no reason why not to include this driver in Jaunty since also fsam7400 is already patched in. That would make another piece of hardware work out of the box with Ubuntu.

Revision history for this message
Andy Whitcroft (apw) wrote :

@Tuomas Jormola -- it seems that both Intrepid and Jaunty already include 0.4.0 of the fsam7400 driver indicated. Have you tried the included module on either of these?

Revision history for this message
Björn Ruberg (bjoern-ruberg-wegener) wrote :

fsam7400 does not help people having the Amilo M 7440. They MUST have fsam7440 for using their wireless. Even in Intrepid they have to compile the fsam7440 module by hand. Problem is that the version 0.4 of fsam7440 does not compile against the 2.6.27 kernel. Patching is easy as described above. But anyone new to ubuntu and linux will give up.

The wireless in the Amilo M 7440 does not work in Jaunty Alpha 2 either. It would be great if this small module (fsam7440 !) could be included in Jaunty.

Revision history for this message
Kenjo (isawakenjo) wrote :

A brief success report: fsam7440 (patched) worked like a breeze on an airis n930 clone (ipw2200 wifi; sw kill-switch), w. Ibex.
Thank you SO MUCH for your efforts, guys.
K.

Revision history for this message
maraif (martin-roos) wrote :

My questions to WicFedz.

I have just 18.2.2009 downloaded and installed the Ubuntu 8.10 Intrepid Ibex on my Laptop Amilo M7440 and cannot reach internet neither wired nor wireless. Regarding wireless I have some hope after reading your notes. I’m a member of Ubuntu se. Although some questions regarding your notes from my non-wireless A7740.

1. In folder File System/usr/src/ I expected to find the failing file fsam7440.c in folder linux 2.6.27 kernels. I get the impression that your patch is speaking about text row 168 and 179. There are only 2 folders in src / linux-headers-2.6.27-7 and linux-headers-2.6.27-7-generic. When I try to make a new folder I have no permission to do it. Have I missed something?

2. You speak about cd , meaning what?

3. As I understand are you speaking of changing some codes. Is there any program to run as compiler?

Hope I get help. My Laptop stays unusable

maraif (martin-roos)
Changed in linux:
status: Triaged → New
Revision history for this message
Steve (heinz-company) wrote :

I tried the whole thing on the jaunty-beta.
Even after patching the .c-file the error stayed the same.

/opt/fsam7440-0.4/fsam7440.c: In Funktion »amilom7440_proc_cleanup«:
/opt/fsam7440-0.4/fsam7440.c:168: ...

Revision history for this message
Björn Ruberg (bjoern-ruberg-wegener) wrote :

You probably did something wrong. There is no reason why this should not work on jaunty. I have fsam7440 running on jaunty.
To help you, I have attached my fsam7440.c which works.

I still wonder why it is not possible to simply put this into the default kernel.

Revision history for this message
Steve (heinz-company) wrote :

Patching seemed to cause the trouble.
Your file works.
Thank you!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Not sure why this was moved from Triaged back to New. Triaged indicates the bug is ready for a developer to look at. I'm changing the status back to Triaged.

Is there a reason this driver has not been submitted upstream? It's a lot of extra work for the Ubuntu kernel team to maintain out of tree drivers and they typically try to avoid this. Additionally it would be frowned upon if others outside of Ubuntu could benefit from having this driver upstream. I would think this should at least try to be merged into the upstream staging drivers. See http://www.kroah.com/log/linux/linux-staging-update.html .

Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
Andy Whitcroft (apw) wrote :

Ok so there are two drivers in question here. This is not an update to the existing driver as much as a request for an additional driver. There seems to have been some attempts to do this wholey in userspace, though only for fsam4000.

    http://www.zwobbl.de/2007/04/29/rfsam-v01-fsam7400-module-in-userspace/#more-11

We need to see why this has not gone upstream to staging.

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
status: Triaged → In Progress
Revision history for this message
enteruk (vic-krout) wrote :

Hi All,

I have got error Authentication failure after
make install:

vic@vic-m7440:~/Desktop/fsam7440-0.4$ make
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS=/home/vic/Desktop/fsam7440-0.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  CC [M] /home/vic/Desktop/fsam7440-0.4/fsam7440.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /home/vic/Desktop/fsam7440-0.4/fsam7440.mod.o
  LD [M] /home/vic/Desktop/fsam7440-0.4/fsam7440.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
vic@vic-m7440:~/Desktop/fsam7440-0.4$ make install
su -c "install -d /lib/modules/2.6.28-11-generic/kernel/net/wireless/ && install -m 644 -c fsam7440.ko /lib/modules/2.6.28-11-generic/kernel/net/wireless/ && /sbin/depmod -a"
Password:
su: Authentication failure
make: *** [install] Error 1

I have typed my password as first Ubuntu User. I am only on Ubuntu just few days. Could anybody give me a clue, please?
Thanks in advance.

Revision history for this message
Postman (postmanisonline) wrote :

@enteruk:
Have you allready tried this:
http://code.google.com/p/fsam7440patched/downloads/list
?
And the description how to use it on the project-home?

Revision history for this message
legolas558 (legolas558) wrote :

@Andy Whitcroft: it was obsoleted, see http://www.zwobbl.de/2007/11/05/fsam7400-rfsam-are-obsolete/

Although I still need it if my other patch to wistron_btns does not get recognized...

Revision history for this message
Joeboy (ml-ubuntu-bugs-joebutton) wrote :

As far as I know the 7440 rfkill hardware is different from anything supported in the kernel, including anything to do with the 7400. The fsam7440 module above isn't integrated into the kernel's rfkill subsystem so I don't think it'd be accepted upstream. Looking at that module, the actual code to turn wifi off and on is trivial, but it needs someone schooled in the ways of the kernel rfkill subsystem to get it integrated.

Revision history for this message
enteruk (vic-krout) wrote :

@MrBenner
No, I tried the fsam7440.c attached to Björn Ruberg post above. What description you are talking about, sorry I have not found any...

I tried sudo make install and it worked well:
vic@vic-m7440:~/Desktop/fsam7440-0.4$ sudo make
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS=/home/vic/Desktop/fsam7440-0.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
vic@vic-m7440:~/Desktop/fsam7440-0.4$ sudo make install
su -c "install -d /lib/modules/2.6.28-11-generic/kernel/net/wireless/ && install -m 644 -c fsam7440.ko /lib/modules/2.6.28-11-generic/kernel/net/wireless/ && /sbin/depmod -a"
vic@vic-m7440:~/Desktop/fsam7440-0.4$

/proc/fsam7440/radio was created, but root is owner and I do not have permissions to modify it:

vic@vic-m7440:/proc/fsam7440$ ls -l
total 0
-rw-r--r-- 1 root root 0 2009-07-12 19:15 radio
vic@vic-m7440:/proc/fsam7440$ echo 1 > /proc/fsam7440/radio
bash: /proc/fsam7440/radio: Permission denied
vic@vic-m7440:/proc/fsam7440$ sudo echo 1 > /proc/fsam7440/radio
bash: /proc/fsam7440/radio: Permission denied
vic@vic-m7440:/proc/fsam7440$ cat /proc/fsam7440/radio
fsam7440: 0
vic@vic-m7440:/proc/fsam7440$

Am I doing anything wrong?

Revision history for this message
Postman (postmanisonline) wrote :

@enteruk:
I am doing the echo with sudo in front of it.
Isn't that possible for you?

"/proc/fsam7440/radio was created, but root is owner and I do not have permissions to modify it:"
But you have had the permission to install it?
Do you want to have a clear seperation or do you 'really' not have the permission to use sudo?

Revision history for this message
enteruk (vic-krout) wrote :

@MrBenner

Well I have tried both ways echo... and sudo echo..., you can see it in the dump:

vic@vic-m7440:/proc/fsam7440$ echo 1 > /proc/fsam7440/radio
bash: /proc/fsam7440/radio: Permission denied

vic@vic-m7440:/proc/fsam7440$ sudo echo 1 > /proc/fsam7440/radio
bash: /proc/fsam7440/radio: Permission denied

vic@vic-m7440:/proc/fsam7440$ cat /proc/fsam7440/radio
fsam7440: 0

, but anyway I've got the message Permission denied and cat returns 0 ???

Revision history for this message
Postman (postmanisonline) wrote :

@enteruk:
Could you try the following script (that works for me)?

#! /bin/bash
 sudo chmod 777 /proc/fsam7440/radio
 echo 1 > /proc/fsam7440/radio
 sudo chmod 755 /proc/fsam7440/radio
exit 0

May be not the best way, but works for me...

Revision history for this message
enteruk (vic-krout) wrote :

@MrBenner,

Thanks a lot that works fine. My mistake was missing sudo in modeprobe...

I have another problem: my amilo is switching off after some time(10 -30 min) after work in
Ubuntu 9.04 already three or four times.
I have not done any suggested updates yet. Can that help?

Thanks.

Revision history for this message
fred (requin972) wrote :

I'm using Amilo with Ubuntu 9.04, i would like say thank you to "VicFdez" for the patch.
I can use my wireless network.

Revision history for this message
fred (requin972) wrote :

Hello "enteruk", i had the same problem.
This problem come from dirty fan, open open your notebook clean the fan. you can found help to open it one web.

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: Andy Whitcroft (apw) → nobody
Revision history for this message
Sebastian Zopf (sepf) wrote :

yeah, new bug for Maverick Meerkat

use this patch:

patch for kernel 2.6.35

#$: patch fsam7440.c fsa,7440_2.6.35.patch

Changed in linux-source-2.6.17 (Ubuntu):
assignee: Ubuntu Laptop Team (ubuntu-laptop) → nobody
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Sebastian,
     Has this patch been submitted to upstream for discussion and inclusion in the mainline kernel?

~JFo

Changed in linux (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
PCNetSpec (mark-greaves) wrote :

For now a workaround to compile and install the fsam7440 module can be found here:
http://linuxforums.org.uk/ubuntu/how-to-install-amilo-fsam7440-rf-kill-switchs-driver-in-ubuntu/

Revision history for this message
Andy Whitcroft (apw) wrote :

@legolas -- does that imply that the fsam7400 driver we are carrying in ubuntu is useless and should be replaced by the wistron changes? I cirtainly would love to drop that driver if so.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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