Setting up acpi_fujitsu.ko kernel module for Fujitsu celsius H7510 laptop using 15-current issue.

HI

I discovered the acpi_fujitsu.ko kernelmodule, and Preloaded it to the kernel using /boot/loader.conf
Code:
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff829a6000.
Preloaded elf obj module "/boot/kernel/zfs.ko" at 0xffffffff829afc18.
Preloaded boot_entropy_cache "/boot/entropy" at 0xffffffff829b0500.
Preloaded elf obj module "/boot/modules/vboxdrv.ko" at 0xffffffff829b0558.
Preloaded elf obj module "/boot/kernel/geom_eli.ko" at 0xffffffff829b0b48.
Preloaded elf obj module "/boot/kernel/acpi_fujitsu.ko" at 0xffffffff829b12b8.
Preloaded hostuuid "/etc/hostid" at 0xffffffff829b1928.
Preloaded boot_entropy_platform "efi_rng_seed" at 0xffffffff829b1978.
Later in the verbose boot log I get these messages :
Code:
sysctl: unknown oid 'hw.acpi.fujitsu.lcd_brightness' at line 19
sysctl: unknown oid 'hw.acpi.fujitsu.pointer_enable' at line 20
sysctl: unknown oid 'hw.acpi.fujitsu.volume' at line 21
sysctl: unknown oid 'hw.acpi.fujitsu.mute' at line 22
the SYSCTL tunables added manually to /etc/sysctl.conf is not accepted.
According to the Man-Page for acpi_fujitsu these tunables is expected to be usable after starting the acpi_fujitsu kernel driver ???

Is this a BUG or documentation error ?

regards

//Lars
 
well , there is a kernel module ..... Freebsd Man page acpi_fujitsu does not have a list specifying specific laptop models.
As I have used many Fujitsu laptops ( running windows ) during the last 20 years, I know they all had and have keyboard buttons shared with the Functions Keys
for Volume and Brightness.

Is it supported to run FreeBSD by Fujitsu , No it isnt.

//Lars
 
It looks like those buttons aren't going to do much if devd(8) doesn't have the appropriate actions.

Code:
EXAMPLES
     The following can be added to devd.conf(5) in order to pass button events
     to a /usr/local/sbin/acpi_oem_exec.sh script:

           notify 10 {
                   match "system"          "ACPI";
                   match "subsystem"       "FUJITSU";
                   action "/usr/local/sbin/acpi_oem_exec.sh $notify fujitsu";
           };
There's also an example of a acpi_oem_exec.sh.

That said, those "special" buttons are often connected through various different means, acpi_fujitsu(4) is useful for buttons that are mapped through ACPI. But that may not be the case for every Fujitsu laptop.
 
HI

Yes , looking at the source code its stamped year 2003
/usr/src/sys/dev/acpi_support/acpi_fujitsu.c
most of the code in this directory is from 20 years ago .

the FUJ02B1 device was replaced by the FUJ02E3 in later laptops

what i get from # dmesg -a | grep acpi

ACPI APIC Table: <FUJ PC >
acpi0: <FUJ PC>

nothing else remotley like "Fujitsu" is listed

Are these ACPI tunables below expected to be found by the Kernel ?
or to be created by the kernelmodule that is to use them ?


hw.acpi.fujitsu.lcd_brightness
hw.acpi.fujitsu.pointer_enable
hw.acpi.fujitsu.volume
hw.acpi.fujitsu.mute

As these are not in the sysctl -a output now.

this seems to be an area in need of modernisation. possibly for
the toshibas & hps & asus & ibms and other in the same dir as well.
would be a good addition to the desktop working group.
 
Back
Top