Thank you Something not ok Kernel output gpio-fan gpio_fan: missing speed array entry for GPIO value 0x3 Kernel code static int get_fan_speed_index(struct gpio_fan_data *fan_data) { int ctrl_val = __get_fan_ctrl(fan_data); int i; for (i = 0; i < fan_data->num_speed; i++) if (fan_data->speed.ctrl_val == ctrl_val) return i; dev_warn(fan_data->dev, &by t96 - Debian
Thank you Will do it PS Ooops, I understood why I didn't find these changes, was at denx u-boot sourceby t96 - uBoot
I'm already in new u-boot I'm using 2018.07 which I compiled by myself, because DNS-325 is not in your release list.by t96 - uBoot
Good day I have the same problem As I could see, this patch was not applied to mainline. Is there any other way to make it work or I need to make custom u-boot with this fix?by t96 - uBoot
bodhi Wrote: ------------------------------------------------------- > So did you compile or found gpio-fan driver and > modprobe it and it is working? No, I don't know where to find kernel sources for 4.19, latest git label is 4.18-rc1by t96 - Debian
GPIO control works, but bodhi Wrote: ------------------------------------------------------- > 46 for highspeed GPIO > 35 for lowspeed GPIO 46 for lowspeed 45 for highspeedby t96 - Debian
Great Could you compile gpio-fan.ko for me for linux-4.19.0-kirkwood-tld-1. I will test it, may be some other problems will appear. Thank you in advanceby t96 - Debian
LM75 driver is there and works. I mean driver for gpio-fan, this node is present in device tree as I mentioned before If I'm not mistaken it is # CONFIG_SENSORS_GPIO_FAN is not setby t96 - Debian
Thank you very much, I will try it From the other hand, it looks that gpio-fan driver is not included neither into kernel nor to modules. It seems to me that this is why additional sensors are not created and fancontrol package couldn't find it. Is there any reason for that?by t96 - Debian
bodhi Wrote: ------------------------------------------------------- >Do you have the DTS that you are using to run this kernel? I'm using exact kirkwood-dns325.dtb from linux-dtb-4.19.0-kirkwood-tld-1.tar I could see that gpio_fan node is defined there with gpio-fan compatible device gpio_fan { /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */ compatible = "gpio-fanby t96 - Debian
Actually fancotrol package itself is not what I really need. I hoped that its configuration could help help me to find out how to control fan speed, because I don't know how to use device tree information for this case. May be some modules are not loaded automatically in order to get pwm or fan devices, but I don't know which one are required.by t96 - Debian
Hi everybody Anybody knows how to configure fancontrol for DNS-325 pwmconfig replies 'There are no pwm-capable sensor modules installed'by t96 - Debian
The reason was with the kernel, which was build by myself and most probably not configured correctly. With linux-4.19.0-kirkwood-tld-1 there is no problem with second disk Thank youby t96 - uBoot
Running command ide reset from u-boot prompt shows the same result In the kernel ... [ 6.806124] sata_mv f1080000.sata: slots 32 ports 2 [ 6.813739] scsi host0: sata_mv [ 6.817374] scsi host1: sata_mv [ 6.820788] ata1: SATA max UDMA/133 irq 33 [ 6.824907] ata2: SATA max UDMA/133 irq 33 ... [ 7.330599] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300) [ 7.350753] ata1.00: ATA-by t96 - uBoot
Hi bodhi Thank you for your response I have compiled and tried all stable versions since 2012.04 and launched them with the help of kwboot, only first one shows second disk. Frankly speaking not all of them, as well as 2018.09, could reach u-boot prompt. Some of them freezes immediately after uploading, some of them started u-boot code, but freezes after printing NAND: I'm buildinby t96 - uBoot
Hi everyone I compiled and flashed u-boot 2018.07 with dns325_defconfig to my device It could'n see second ide device U-Boot 2018.07-dirty (Sep 19 2018 - 22:32:33 +0300) D-Link DNS-325 SoC: Kirkwood 88F6281_A1 DRAM: 256 MiB WARNING: Caches not enabled NAND: 128 MiB Loading Environment from NAND... OK In: serial Out: serial Err: serial Net: egiga0 IDE: Bus 0: ........OKby t96 - uBoot