gpio pins NOT working with CB1 eMMc V1.1
CB1 eMMc on Manta M5P I have setup the CB1 eMMc as a second MCU configured gpio79 for PI-FAN which is the socket on the M5P.
[mcu cb1] serial: /tmp/klipper_host_mcu
[heater_fan SoC_fan] pin: cb1:gpio79
Settings have been verified by several people and all have said correct but I get this message MCU 'cb1' error during config: Unable to open out GPIO chip line
Please fix or report back if I have a hardware issue
Still no resolution to this problem Bigtreetech you need to fix this problem. A little more information. When setting up MCU host I try to install "sudo apt-get install gpiod" but get error "Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package gpiod"
Is this fixed yet?
Still no resolution to this problem Bigtreetech you need to fix this problem. A little more information. When setting up MCU host I try to install "sudo apt-get install gpiod" but get error "Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package gpiod"
I had this same issue and I ended up solving it. I can't find the exact website I had referenced but I want to say all it took was updating the installed packages.
https://raspberry-projects.com/pi/command-line/update-packages
I'm a total noob when it comes to RPIs and Linux but it seems like the gpiod package isn't included in the OS from Biqu. Running those commands fetches and installs the package. After that, I was able to run that sudo-apt-get install gpiod
Hey guys
I'm in the same boat as you
Have a manta m8p v1.1 with CB1 eMMC and i'm not able to connect to gpio26 to control the fan.
I have installed klipper firmware for cb1, i've checked with gpioinfo that I have two gpiochip and nothing works.
If i set CB1:gpio26, CB1:gpiochip0/gpio26 or CB1:gpiochip1/gpio26 - nothing works.
Same error Unable to open out GPIO chip line
Everything is up to date including system packages. Not sure into what direction I should look
Hey guys I'm in the same boat as you Have a manta m8p v1.1 with CB1 eMMC and i'm not able to connect to
gpio26to control the fan. I have installed klipper firmware for cb1, i've checked withgpioinfothat I have twogpiochipand nothing works. If i setCB1:gpio26,CB1:gpiochip0/gpio26orCB1:gpiochip1/gpio26- nothing works. Same errorUnable to open out GPIO chip lineEverything is up to date including system packages. Not sure into what direction I should look
You need to change gpio26 to gpio269 These are my settings
[temperature_fan cb1_Fan] pin: cb1:gpio269 sensor_type: temperature_host control: watermark min_temp: 0 max_temp: 85 target_temp: 45
Hey guys I'm in the same boat as you Have a manta m8p v1.1 with CB1 eMMC and i'm not able to connect to
gpio26to control the fan. I have installed klipper firmware for cb1, i've checked withgpioinfothat I have twogpiochipand nothing works. If i setCB1:gpio26,CB1:gpiochip0/gpio26orCB1:gpiochip1/gpio26- nothing works. Same errorUnable to open out GPIO chip lineEverything is up to date including system packages. Not sure into what direction I should lookYou need to change gpio26 to gpio269 These are my settings
[temperature_fan cb1_Fan] pin: cb1:gpio269 sensor_type: temperature_host control: watermark min_temp: 0 max_temp: 85 target_temp: 45
OMG you are my saviour :) it worked like a charm. And how should I calculate the gpio pin number? Let's say I want to use gpio23
If you are using raspberry pi gpio numbers then that will not work, it's not the same SoC. This is the key for the gpio numbers, https://github.com/bigtreetech/CB1#40-pin-gpio
Thanks for that. I was thinking that in manta m8p docs in pinout image it's showing CB1 pinout rather than CM4. But now I understand it and can see in table if pinout says GPIO6 in CM4 column then it maps to GPIO265 in CB1 eMMC column. I think the ticket can be closed now.