ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
tllim has quit [Quit: Leaving]
vstehle has quit [Ping timeout: 255 seconds]
vagrantc has quit [Quit: leaving]
muvlon has quit [Quit: Leaving]
cnxsoft has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
lurchi_ is now known as lurchi__
kaspter1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
kaspter1 is now known as kaspter
hipboi has quit [Ping timeout: 276 seconds]
hipboi has joined #linux-rockchip
hipboi has quit [Ping timeout: 256 seconds]
hipboi has joined #linux-rockchip
nighty-- has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
JohnDoe_71Rus has quit [Client Quit]
JohnDoe_71Rus has joined #linux-rockchip
hipboi_ has joined #linux-rockchip
hipboi has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 256 seconds]
vstehle has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
test111 has joined #linux-rockchip
test111 has quit [Client Quit]
cnxsoft has joined #linux-rockchip
mmind00 has quit [Ping timeout: 248 seconds]
mmind00 has joined #linux-rockchip
paulk-gagarine has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
nighty-- has quit [Quit: Disappears in a puff of smoke]
afaerber has quit [Quit: Leaving]
paulk-gagarine has quit [Quit: Leaving]
matthias_bgg has joined #linux-rockchip
paulk-gagarine has joined #linux-rockchip
Omegamoon has joined #linux-rockchip
afaerber has joined #linux-rockchip
BenG83 has joined #linux-rockchip
paulk-gagarine has quit [Ping timeout: 268 seconds]
wzyy2 has quit [Ping timeout: 255 seconds]
paulk-gagarine has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
nighty- has joined #linux-rockchip
cyteen has joined #linux-rockchip
lurchi__ has joined #linux-rockchip
lurchi_ has quit [Ping timeout: 276 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
amstan has quit [Ping timeout: 265 seconds]
BenG83 has quit [Remote host closed the connection]
cnxsoft has quit [Quit: cnxsoft]
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
amstan has joined #linux-rockchip
hipboi has joined #linux-rockchip
hipboi_ has quit [Ping timeout: 276 seconds]
wadim_ has joined #linux-rockchip
BenG83 has joined #linux-rockchip
BenG83 has quit [Remote host closed the connection]
kloczek has quit [Remote host closed the connection]
<Pix> beeble, hi, since you seem to have some answers, i got a new question, do you know how i can toggle the Sapphire's fan ? cooling_device0/1/2 in /sys are not a "fan" type
kloczek has joined #linux-rockchip
BenG83 has joined #linux-rockchip
Omegamoon has left #linux-rockchip [#linux-rockchip]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
tllim has joined #linux-rockchip
aalm has quit [Ping timeout: 255 seconds]
Easyfab has joined #linux-rockchip
<beeble> Pix: GPIO1_C2 can enable/disable the fan
<beeble> if it's connected to this small 2pin header on the sapphire
<Pix> yes it is
<Pix> ok thank you
matthias_bgg has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-rockchip
tllim has quit [Ping timeout: 265 seconds]
<Pix> ok i need to figure out how it translates in /sys/class/gpio/export and then use it like that https://forum.armbian.com/topic/1774-orange-pi-pc-fan-on-gpio/
<beeble> you have two ways to do it. you can define a fan-gpio in your dts https://elixir.free-electrons.com/linux/latest/source/Documentation/devicetree/bindings/gpio/gpio-fan.txt
<beeble> or if you just want to disable/enable it
<beeble> you can do it via sysfs (4.4 kernel i guess)
<Pix> ok GPIO1_C2 should be 210
<Pix> yes i'm trying with sysfs
<beeble> seems to high
<Pix> 50
<Pix> GPIO1_C2 = 50 on 3.10 and higher
<beeble> 32*1+2*8+2
<beeble> n = (block_number * 32) + (sub_block_number * 8) + index
<Pix> lemme reboot.. ( i broke the kernel )
<Pix> hmm ok the sysfs interface seems broken
<Pix> i'll try the dts-way
<beeble> do you have it enabled?
<beeble> CONFIG_GPIO_SYSFS
<beeble> and on mainline it is default off since it's deprecated
<Pix> well as i'm not at all used to the gpio interfaces.. yep
<Pix> i got it
<Pix> i have /sys/class/gpio/export
<Pix> it's when i echo 50 > export
<Pix> i have a kernel oops & backtrace
<Pix> that's what i mean by 'it seems broken' :)
<Pix> i'm using the rockchip 4.4, not the main vanilla kernel
<beeble> should work fine on 4.4
wzyy2 has joined #linux-rockchip
<Pix> i'll compare the defconfig to the original rockchip one, i've made changes ( to enable a bunch of things like iptables, some filesystem) to have it boot a Centos 7 correctly
<Pix> maybe i enabled/disabled something more low level without thinking
LargePrime has joined #linux-rockchip
<Pix> thank you beeble, i've got some info to play with now :)
<beeble> Pix: btw, i based the gpio number on schematics i found on my pc. i haven't tested it on a board
anarsoul|2 has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 248 seconds]
muvlon has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
tl_lim has quit [Ping timeout: 276 seconds]
tl_lim has joined #linux-rockchip
tl_lim has quit [Client Quit]
Easyfab has quit [Quit: Leaving]
Easyfab has joined #linux-rockchip
nashpa has quit [Quit: Going away]
nashpa has joined #linux-rockchip
kaspter1 has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter1 is now known as kaspter
lkcl has quit [Ping timeout: 256 seconds]
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-rockchip
Easyfab has quit [Quit: Leaving]
aalm has joined #linux-rockchip
lkcl has joined #linux-rockchip
tllim has joined #linux-rockchip
kaspter has quit [Ping timeout: 268 seconds]
aalm has quit [Ping timeout: 255 seconds]
afaerber has quit [Quit: Leaving]
kaspter has joined #linux-rockchip
gnufan has joined #linux-rockchip
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
wzyy2 has joined #linux-rockchip
wzyy2 has quit [Ping timeout: 248 seconds]
aalm has joined #linux-rockchip