Wishlist: Add support for software-rf-switch in Fujitsu-Siemens notebook
A message that is not in the archive (sent off-list or not yet received): 20110625211738.3615.21718.reportbug@lisa
A message that is not in the archive (sent off-list or not yet received): 1317441406.4068.43.camel@deadeye
Hi,
Tino Schmidt wrote[1]:
Quoted 7 lines
My notebook is an Fujitsu Siemens Amilo A1655G, which has a software-based RF-Switch. My wireless network card ( Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02), ID 14e4:4318) would be unusable if there wasn't a project like http://sourceforge.net/projects/fsaa1655g/ which brings support at least for kernel 2.6.26. But there isn't any support beyond kernel 2.6.26.
I notice that the wistron_btns driver has support for some other Amilo laptops. The source says:
/*
* If your machine is not here (which is currently rather likely), please send
* a list of buttons and their key codes (reported when loading this module
* with force=1) and the output of dmidecode to $MODULE_AUTHOR. */
Tino (or anyone with this hardware), could you send dmesg output from
modprobe wistron_btns force=1
and dmidecode (or "grep . /sys/class/dmi/id/*_{vendor,name,version}" as Ben suggested)?
Thanks,
Jonathan
Hello,
I never tried integrating the code into any "standard way". I just needed a quick fix and I do not have much experience with Kernel programming.
I agree that running the code without checking the presence of this HW can have bad side effects (however, I did not experienced any on several different laptops).
I do not have the hardware easily accessible now to provide requested information. I would really appreciate if anybody could take the code and put it into some standard Kernel module.
Please note, that it is not possible to switch the wifi on by emulating some software keys. It really needs to write to some HW ports. I obtained these numbers by reverse engineering the original Fujitsu-Siemens Windows driver.
Cheers,
Martin
Quoted 34 lines · Jonathan Nieder
Hi,
Tino Schmidt wrote[1]:
Quoted 7 lines
My notebook is an Fujitsu Siemens Amilo A1655G, which has a software-based RF-Switch. My wireless network card ( Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02), ID 14e4:4318) would be unusable if there wasn't a project like http://sourceforge.net/projects/fsaa1655g/ which brings support at least for kernel 2.6.26. But there isn't any support beyond kernel 2.6.26.
I notice that the
wistron_btnsdriver has support for some other Amilo laptops. The source says:/*
* If your machine is not here (which is currently rather likely),
please send
* a list of buttons and their key codes (reported when loading this
module
* with force=1) and the output of dmidecode to $MODULE_AUTHOR. */Tino (or anyone with this hardware), could you send dmesg output from
modprobe
wistron_btnsforce=1and dmidecode (or "grep .
/sys/class/dmi/id/*_{vendor,name,version}" as Ben suggested)?Thanks,
Jonathan
Quoted 26 lines · Jonathan Nieder
Hi,
Tino Schmidt wrote[1]:
Quoted 8 lines
My notebook is an Fujitsu Siemens Amilo A1655G, which has a software-based RF-Switch. My wireless network card ( Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02), ID 14e4:4318) would be unusable if there wasn't a project like http://sourceforge.net/projects/fsaa1655g/ which brings support at least for kernel 2.6.26. But there isn't any support beyond kernel 2.6.26.
I notice that the
wistron_btnsdriver has support for some other Amilo laptops. The source says:/*
* If your machine is not here (which is currently rather likely), please send
* a list of buttons and their key codes (reported when loading this module
* with force=1) and the output of dmidecode to $MODULE_AUTHOR. */Tino (or anyone with this hardware), could you send dmesg output from
modprobe
wistron_btnsforce=1
Quoted 9 lines
and dmidecode (or "grep .
/sys/class/dmi/id/*_{vendor,name,version}" as Ben suggested)?Thanks,
Jonathan
Hi,
I'm sorry for the long delay but I can use the laptop only on weekend. Here is the output:
# modprobe wistron_btns force=1 FATAL: Error inserting wistron_btns (/lib/modules/2.6.26-2-686/kernel/drivers/input/misc/wistron_btns.ko): No such device
# dmesg [ 168.628474] wistron_btns: BIOS entry point not found
and
# grep . /sys/class/dmi/id/*_{vendor,name,version}
/sys/class/dmi/id/bios_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/board_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/chassis_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/sys_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/board_name:AMILO A1655
/sys/class/dmi/id/product_name:AMILO A Series
/sys/class/dmi/id/bios_version:1.0C-8044-8A20
/sys/class/dmi/id/board_version:Rev0.4b
/sys/class/dmi/id/chassis_version:N/A
/sys/class/dmi/id/product_version:0100Thanks,
Tino
On Sun, 2011-10-16 at 22:25 +0200, Tino Schmidt wrote:
[...]
Quoted 8 lines
Hi,
I'm sorry for the long delay but I can use the laptop only on weekend. Here is the output:# modprobe wistron_btns force=1 FATAL: Error inserting wistron_btns (/lib/modules/2.6.26-2-686/kernel/drivers/input/misc/wistron_btns.ko): No such device
It looks like this model is rather different, maybe not a Wistron design at all.
I would prefer you to test against Linux 3.0, but it appears that the model detection has not changed since 2.6.26.
Quoted 4 lines
# dmesg [ 168.628474] wistron_btns: BIOS entry point not foundand
Quoted 11 lines
# grep . /sys/class/dmi/id/*_{vendor,name,version}
/sys/class/dmi/id/bios_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/board_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/chassis_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/sys_vendor:FUJITSU SIEMENS
/sys/class/dmi/id/board_name:AMILO A1655
/sys/class/dmi/id/product_name:AMILO A Series
/sys/class/dmi/id/bios_version:1.0C-8044-8A20
/sys/class/dmi/id/board_version:Rev0.4b
/sys/class/dmi/id/chassis_version:N/A
/sys/class/dmi/id/product_version:0100Please build and test the attached driver (make && insmod amilo-rfkill.ko). It provides a standard rfkill device which you can control with e.g. the 'rfkill' command, and will only bind to specific models.
If this works, I'll submit the code upstream.
Ben.
Signature · 2 lines
Ben Hutchings No political challenge can be met by shopping. - George Monbiot
Quoted 36 lines · Tino Schmidt
[...]
Quoted 9 lines
Hi,
I'm sorry for the long delay but I can use the laptop only on weekend. Here is the output:# modprobe wistron_btns force=1 FATAL: Error inserting wistron_btns (/lib/modules/2.6.26-2-686/kernel/drivers/input/misc/wistron_btns.ko): No such deviceIt looks like this model is rather different, maybe not a Wistron design at all.
I would prefer you to test against Linux 3.0, but it appears that the model detection has not changed since 2.6.26.
Quoted 4 lines
# dmesg [ 168.628474] wistron_btns: BIOS entry point not foundand
Quoted 12 lines
# grep . /sys/class/dmi/id/*_{vendor,name,version} /sys/class/dmi/id/bios_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_vendor:FUJITSU SIEMENS /sys/class/dmi/id/chassis_vendor:FUJITSU SIEMENS /sys/class/dmi/id/sys_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_name:AMILO A1655 /sys/class/dmi/id/product_name:AMILO A Series /sys/class/dmi/id/bios_version:1.0C-8044-8A20 /sys/class/dmi/id/board_version:Rev0.4b /sys/class/dmi/id/chassis_version:N/A /sys/class/dmi/id/product_version:0100
Quoted 10 lines
Please build and test the attached driver (make&& insmod amilo-rfkill.ko). It provides a standard rfkill device which you can control with e.g. the 'rfkill' command, and will only bind to specific models.
If this works, I'll submit the code upstream.
Ben.
Hi Ben,
Thank you for your code!
Before I built the module (Kernel 2.6.32) I had to insert the include line #include <asm/io.h> ( -> inb()-function ?) With Kernel 2.6.26 I couldn't even built the module.
But loading of the module failed:
# insmod amilo-rfkill.ko insmod: error inserting 'amilo-rfkill.ko': -1 No such device
In kernel 2.6.32 exists /dev/rfkill but
# rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes
# rfkill unblock all
# rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes
doesn't work here. Nothing changed.
Thanks,
Tino
Quoted 42 lines · Tino Schmidt
Quoted 42 lines · Tino Schmidt
[...]
Quoted 9 lines
Hi,
I'm sorry for the long delay but I can use the laptop only on weekend. Here is the output:# modprobe wistron_btns force=1 FATAL: Error inserting wistron_btns (/lib/modules/2.6.26-2-686/kernel/drivers/input/misc/wistron_btns.ko): No such deviceIt looks like this model is rather different, maybe not a Wistron design at all.
I would prefer you to test against Linux 3.0, but it appears that the model detection has not changed since 2.6.26.
Quoted 4 lines
# dmesg [ 168.628474] wistron_btns: BIOS entry point not foundand
Quoted 12 lines
# grep . /sys/class/dmi/id/*_{vendor,name,version} /sys/class/dmi/id/bios_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_vendor:FUJITSU SIEMENS /sys/class/dmi/id/chassis_vendor:FUJITSU SIEMENS /sys/class/dmi/id/sys_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_name:AMILO A1655 /sys/class/dmi/id/product_name:AMILO A Series /sys/class/dmi/id/bios_version:1.0C-8044-8A20 /sys/class/dmi/id/board_version:Rev0.4b /sys/class/dmi/id/chassis_version:N/A /sys/class/dmi/id/product_version:0100Please build and test the attached driver (make&& insmod amilo-rfkill.ko). It provides a standard rfkill device which you can control with e.g. the 'rfkill' command, and will only bind to specific models.
If this works, I'll submit the code upstream.
Quoted 8 lines
Quoted 3 lines
Ben.
Hi Ben,
Thank you for your code!Before I built the module (Kernel 2.6.32) I had to insert the include line #include <
asm/io.h> ( -> inb()-function ?)
That should be <linux/io.h>, actually.
Quoted 5 lines
With Kernel 2.6.26 I couldn't even built the module.
But loading of the module failed:
# insmod amilo-rfkill.ko insmod: error inserting 'amilo-rfkill.ko': -1 No such device
Sorry, I made the driver look for product name "AMILO A1655" but that is actually the board name. Could you try changing DMI_PRODUCT_NAME to DMI_BOARD_NAME?
Quoted 7 lines
In kernel 2.6.32 exists
/dev/rfkillbut# rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes
Quoted 8 lines
# rfkill unblock all# rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yesdoesn't work here. Nothing changed.
This is the rfkill device exposed by the regular wireless driver. Since it doesn't know anything about the model-specific blocking behaviour, it appears to treat it as hard-blocking. But that shouldn't matter if we can get this new driver working.
Ben.
Signature · 2 lines
Ben Hutchings Computers are not intelligent. They only think they are.
Quoted 64 lines · Tino Schmidt
Quoted 51 lines
Quoted 40 lines · Tino Schmidt
[...]
Quoted 10 lines
Hi,
I'm sorry for the long delay but I can use the laptop only on weekend. Here is the output:# modprobe wistron_btns force=1 FATAL: Error inserting wistron_btns (/lib/modules/2.6.26-2-686/kernel/drivers/input/misc/wistron_btns.ko): No such deviceIt looks like this model is rather different, maybe not a Wistron design at all.
I would prefer you to test against Linux 3.0, but it appears that the model detection has not changed since 2.6.26.
Quoted 4 lines
# dmesg [ 168.628474] wistron_btns: BIOS entry point not foundand
Quoted 13 lines
# grep . /sys/class/dmi/id/*_{vendor,name,version} /sys/class/dmi/id/bios_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_vendor:FUJITSU SIEMENS /sys/class/dmi/id/chassis_vendor:FUJITSU SIEMENS /sys/class/dmi/id/sys_vendor:FUJITSU SIEMENS /sys/class/dmi/id/board_name:AMILO A1655 /sys/class/dmi/id/product_name:AMILO A Series /sys/class/dmi/id/bios_version:1.0C-8044-8A20 /sys/class/dmi/id/board_version:Rev0.4b /sys/class/dmi/id/chassis_version:N/A /sys/class/dmi/id/product_version:0100Quoted 11 lines
Please build and test the attached driver (make&& insmod
amilo-rfkill.ko). It provides a standard rfkill device which you can control with e.g. the 'rfkill' command, and will only bind to specific models.If this works, I'll submit the code upstream.
Ben.
Quoted 6 lines
Hi Ben,
Thank you for your code!Before I built the module (Kernel 2.6.32) I had to insert the include line #include<asm/io.h> ( -> inb()-function ?)
That should be<linux/io.h>, actually.
Quoted 2 lines
With Kernel 2.6.26 I couldn't even built the module.
Quoted 9 lines
Quoted 4 lines
But loading of the module failed:
# insmod amilo-rfkill.ko insmod: error inserting 'amilo-rfkill.ko': -1 No such deviceSorry, I made the driver look for product name "AMILO A1655" but that is actually the board name. Could you try changing
DMI_PRODUCT_NAMEtoDMI_BOARD_NAME?
Yep, that's it. Runs fine!