2019-01-01 16:16:42

by Jan Vlietland

[permalink] [raw]
Subject: Keyboard backlight not working on my NP900X5N laptop <previous not accepted due to HTML encoding>

Hi all,

Greg K-H suggested to mail you guys.

I installed Linux 4.20.0-rc7 (downloaded, compiled and installed) on a Samsung NP900X5N laptop and have noticed 3 bugs. 2 of them I found in Bugzilla and replied on them (i915 and Nouveau issues). I am currently discussing them with an intel engineer.

On other bug I haven't found so therefore a mail directly to you guys as maintainers.

On my other machine, a Samsung NP900X4D (just bought it in the USA, 2017 model), the samsung-laptop.ko module is enabling the use of the keyboard backlight keys.

It is not working on my new machine NP900X5N. My samsung-laptop.ko driver isn't loading. If I try to load it manually it complains about 'no such device".

My Linux kernel is working in CSM mode. The module is still not loaded.

As it is weekend I did some more reading and debugging of the module. To my understanding the module checks the model and type of the laptop. The known models and types are stored in the struct:

static struct dmi_system_id __initdata samsung_dmi_table[]

I wondr if the NP900X5N notebook is included in this list.

With dmidecode -t chassis it shows:
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

Handle 0x0003, DMI type 3, 22 bytes
Chassis Information
Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Type: Notebook
Lock: Not Present
Version: N/A
Serial Number: 0F4C91CJ900346
Asset Tag: No Asset Tag
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Other
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0
SKU Number: Chassis

If I use the -u flag. The notebook value is 0x0A, not 0x10!!!

Could that be the reason for not loading?

.matches = {
DMI_MATCH(DMI_SYS_VENDOR,
"SAMSUNG ELECTRONICS CO., LTD."),
DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */
},

Maybe another reason could that that either the i915 and Nouveau modules
are not working well. I get black screens with the i915 and MMIO faults
with the nouveau driver. That is another issue that I need to tackle.

Oh happy new year :-)

--

Met vriendelijke groet,

*dr. Jan Vlietland*, namens

spin-off

Nederlands Instituut voor de Software Industrie

[email protected]_| 06 – 20 411 834 | 030 – 268 53 98
Princetonplein 5 | 3584 CC  Utrecht | http://www.nisi.nl





2019-01-03 03:54:53

by Jan Vlietland

[permalink] [raw]
Subject: Please help!: Keyboard backlight not working on my NP900X5N laptop <previous not accepted due to HTML encoding>

Hi guys,

Sorry but still walking with this bug under my arm.

I can't find the right group to file the bug on bugzilla and also on
freenode I cannot find the right group.

Please help!

Regards,

Jan


On 01-01-19 13:48, Jan Vlietland wrote:
> Hi all,
>
> Greg K-H suggested to mail you guys.
>
> I installed Linux 4.20.0-rc7 (downloaded, compiled and installed) on a
> Samsung NP900X5N laptop and have noticed 3 bugs. 2 of them I found in
> Bugzilla and replied on them (i915 and Nouveau issues). I am currently
> discussing them with an intel engineer.
>
> On other bug I haven't found so therefore a mail directly to you guys
> as maintainers.
>
> On my other machine, a Samsung NP900X4D (just bought it in the USA,
> 2017 model), the samsung-laptop.ko module is enabling the use of the
> keyboard backlight keys.
>
> It is not working on my new machine NP900X5N. My samsung-laptop.ko
> driver isn't loading. If I try to load it manually it complains about
> 'no such device".
>
> My Linux kernel is working in CSM mode. The module is still not loaded.
>
> As it is weekend I did some more reading and debugging of the module.
> To my understanding the module checks the model and type of the
> laptop. The known models and types are stored in the struct:
>
> static struct dmi_system_id __initdata samsung_dmi_table[]
>
> I wondr if the NP900X5N notebook is included in this list.
>
> With dmidecode -t chassis it shows:
> Getting SMBIOS data from sysfs.
> SMBIOS 3.0.0 present.
>
> Handle 0x0003, DMI type 3, 22 bytes
> Chassis Information
>         Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
>         Type: Notebook
>         Lock: Not Present
>         Version: N/A
>         Serial Number: 0F4C91CJ900346
>         Asset Tag: No Asset Tag
>         Boot-up State: Safe
>         Power Supply State: Safe
>         Thermal State: Other
>         Security Status: None
>         OEM Information: 0x00000000
>         Height: Unspecified
>         Number Of Power Cords: 1
>         Contained Elements: 0
>         SKU Number: Chassis
>
> If I use the -u flag. The notebook value is 0x0A, not 0x10!!!
>
> Could that be the reason for not loading?
>
>         .matches = {
>             DMI_MATCH(DMI_SYS_VENDOR,
>                     "SAMSUNG ELECTRONICS CO., LTD."),
>             DMI_MATCH(DMI_CHASSIS_TYPE, "10"), /* Notebook */
>         },
>
> Maybe another reason could that that either the i915 and Nouveau
> modules are not working well. I get black screens with the i915 and
> MMIO faults with the nouveau driver. That is another issue that I need
> to tackle.
>
> Oh happy new year :-)
>



2019-01-03 06:06:43

by Darren Hart

[permalink] [raw]
Subject: Re: Please help!: Keyboard backlight not working on my NP900X5N laptop <previous not accepted due to HTML encoding>

On Thu, Jan 03, 2019 at 12:20:15AM +0100, Jan Vlietland wrote:
> Hi guys,
>
> Sorry but still walking with this bug under my arm.
>
> I can't find the right group to file the bug on bugzilla and also on
> freenode I cannot find the right group.
>
> Please help!

Hi Jan,

I responded to your original email from Dec 31. You will need to allow
more time for people to respond as many of us are doing this work on our
own time - and this was New Year's Eve/Day. General rule of thumb is to
give people a week before following up. We make an effort to respond
within 48 business hours, but I find that pretty difficult to keep up
with myself.

Let's continue the discussion in the original thread.

--
Darren Hart
VMware Open Source Technology Center