Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SB7x0/SB8x0/SB9x0 LPC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Sat Jun 14, 2014 9:22 am    Post subject: SB7x0/SB8x0/SB9x0 LPC Reply with quote

I am currently installing gentoo on a ALIC APU1C4 board [1]. There are some gpios and switches behind a LPC interface which i want to access, but i cant figure out the kernel module for this device. My current kernel config is [2] I tried the both LPC Modules LPC_ICH and LPC_SCH which are Intel ones and did not match. my pci bus looks like this [3].

According to its description the gpio device is
Dokumentation APU1C4 wrote:

GPIO
The
following signals are driven by the AMD A50M FCH south bridge:
Pushbutton switch S1 = G187
LED1 = G189, LED 2 = G190, LED 3 = G191
GPIO pins on header J19 are driven by the Nuvoton NCT5104D I/O controller.


In my sys folder there is no gpio device listed.
Code:

find /sys | grep gpio
/sys/kernel/debug/gpio


Any help would be appreciate ...

[1] http://www.pcengines.ch/apu1c4.htm
[2] http://bpaste.net/show/371307/
[3] http://bpaste.net/show/371309/
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Sat Jun 14, 2014 5:26 pm    Post subject: Reply with quote

Quote:
# CONFIG_GPIO_SYSFS is not set
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Mon Jun 16, 2014 6:12 am    Post subject: Reply with quote

*DOH* :oops:

Thanks :)
Back to top
View user's profile Send private message
schorsch_76
Guru
Guru


Joined: 19 Jun 2012
Posts: 450

PostPosted: Tue Jun 17, 2014 5:45 am    Post subject: Reply with quote

Just for public information: This option was an issue, but it did not solve the underlaying problem. I asked the vendor of my board and they told me there is no mainline kernel module for this GPIO pins. They sent me some code samples and pointed me to a possible kernel module patch on LKML [1].

The problem with this patch is, it is not very well tested and it is not kernel compliant (structure and so on). So the maintainer of the gpio subsystem did not accept it as you can read on the LKML.

[1] http://lkml.iu.edu//hypermail/linux/kernel/1307.0/02281.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum