Skip to contentSkip to conversation

YeeLoong / hotkey driver

DISCUSSION Andreas Barth 4 participants 6 messages Oct 12, 2011 – Oct 23, 2011 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,

there is currently a mail thread about the hotkeys not working with the default debian kernel. After a bit of search, I noticed the patches within
http://www.linux-mips.org/archives/linux-mips/2009-11/msg00598.html
however I didn't find a conclusion.

Do you remember (or does anyone else) what happened to the patches or how we could get hotkey support into the default kernels? Thanks!

Andi

#1 lore raw
Quoted 8 lines · Andreas Barth

there is currently a mail thread about the hotkeys not working with the default debian kernel. After a bit of search, I noticed the patches within
http://www.linux-mips.org/archives/linux-mips/2009-11/msg00598.html
however I didn't find a conclusion.

Do you remember (or does anyone else) what happened to the patches or how we could get hotkey support into the default kernels? Thanks!

Back then a debate started and no updated version of the patch was ever posted. But nothing fundamentally wrong with the patch.

Ralf

#2 lore raw
Quoted 8 lines · Ralf Baechle
Quoted 6 lines · Andreas Barth

there is currently a mail thread about the hotkeys not working with the default debian kernel. After a bit of search, I noticed the patches within
http://www.linux-mips.org/archives/linux-mips/2009-11/msg00598.html
however I didn't find a conclusion.

Quoted 5 lines
Quoted 2 lines

Do you remember (or does anyone else) what happened to the patches or how we could get hotkey support into the default kernels? Thanks!

Back then a debate started and no updated version of the patch was ever posted.  But nothing fundamentally wrong with the patch.

The old patch is out-of-date, perhaps we can start a new trip to upstream the latest version maintained at
http://dev.lemote.com/code/linux-loongson-community.

The latest one threaded the irq interrupt handler and fixed some bugs.

Hope somebody else can work on it for I'm a little busy currently ;-)

Thanks Ralf,

Regards,
Wu Zhangjin

Quoted 3 lines

 Ralf

#3 lore raw
Quoted 7 lines

The old patch is out-of-date, perhaps we can start a new trip to upstream the latest version maintained at
http://dev.lemote.com/code/linux-loongson-community.

The latest one threaded the irq interrupt handler and fixed some bugs.

Hope somebody else can work on it for I'm a little busy currently ;-)

Since I am new to configuring kernels, I doubt that I can help very much on this.

The 3.0.4-libre-lemote kernel from http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense has everything except hotkey support for wireless. The CONFIG_RTL8187 and CONFIG_RTL8187B options are disabled in the config file. Typing "echo 1 > /sys/class/rfkill/rfkill0/state" does nothing, even when the kernel is reconfigured with those drivers enabled.

The 2.36.8-loongson-2f kernel from http://bjlx.org.cn/loongson2f/squeeze has functional hotkey and wireless networking capability. However, the date resets to 1968 when restarted, thus messing up certificates, and scrolling with the keybad is disabled.

I would really appreciate suggestions for adding wireless/hotkey capability to the 3.0.4-libre-lemote kernel, or fixing the date problem and adding the keybad scrolling capability on 2.36.8-loongson-2f! Should I add the patch, modify options, or both?

Thanks!
Paul

#4 lore raw
Quoted 8 lines · Paul Roge
Quoted 7 lines

The old patch is out-of-date, perhaps we can start a new trip to upstream the latest version maintained at
http://dev.lemote.com/code/linux-loongson-community.

The latest one threaded the irq interrupt handler and fixed some bugs.

Hope somebody else can work on it for I'm a little busy currently ;-)

Quoted 7 lines

Since I am new to configuring kernels, I doubt that I can help very much on this.

The 3.0.4-libre-lemote kernel from http://linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense has everything except hotkey support for wireless. The CONFIG_RTL8187 and CONFIG_RTL8187B options are disabled in the config file. Typing "echo 1 > /sys/class/rfkill/rfkill0/state" does nothing, even when the kernel is reconfigured with those drivers enabled.

The 2.36.8-loongson-2f kernel from http://bjlx.org.cn/loongson2f/squeeze has functional hotkey and wireless networking capability. However, the date resets to 1968 when restarted, thus messing up certificates, and scrolling with the keybad is disabled.

I would really appreciate suggestions for adding wireless/hotkey capability to the 3.0.4-libre-lemote kernel, or fixing the date problem and adding the keybad scrolling capability on 2.36.8-loongson-2f! Should I add the patch, modify options, or both?

I guess something may have been broken from 2.6.39 or 3.0, because I have no enough time to continue the maintaining, sorry, hope you can try 2.6.37 or 2.6.38 from http://bjlx.org.cn/loongson2f/squeeze
instead.

Sorry for my late response.

Regards,
Wu Zhangjin

Quoted 4 lines

Thanks!
Paul

#5 lore raw
In reply to Andreas Barth
Quoted 10 lines · Andreas Barth

Hi,

there is currently a mail thread about the hotkeys not working with the default debian kernel. After a bit of search, I noticed the patches within
http://www.linux-mips.org/archives/linux-mips/2009-11/msg00598.html
however I didn't find a conclusion.

Do you remember (or does anyone else) what happened to the patches or how we could get hotkey support into the default kernels? Thanks!

The latest version is here:

http://dev.lemote.com/cgit/linux-loongson-community.git/tree/drivers/platform/mips/yeeloong_laptop.c?h=linux-3.0-stable

It may be related to some other changes, please get more info from:

http://dev.lemote.com/cgit/linux-loongson-community.git/

or

http://dev.lemote.com/code/linux-loongson-community

Regards,
Wu Zhangjin

Quoted 5 lines

Andi