spi-ch341-usb icon indicating copy to clipboard operation
spi-ch341-usb copied to clipboard

FYI: update for new kernel

Open ghost opened this issue 2 years ago • 2 comments

In order to use this in Ubuntu 22 I had to change i2c-ch341-usb.c line 660 from

ch341_dev->irq_descs[i] = irq_to_desc(ch341_dev->irq_base + i);

to

ch341_dev->irq_descs[i] = irq_data_to_desc(irq_get_irq_data(ch341_dev->irq_base + i));

After this it worked fine with my BME280 env sensor.

ghost avatar May 12 '23 21:05 ghost

What happened before that modification? did it not even compile or how did the error look?

blauertee avatar Dec 10 '23 15:12 blauertee

ERROR: modpost: "irq_to_decs" [/home/ecdowney/i2c-ch341-usb-master/i2c-ch341-usb.ko] undefined!

pidloop avatar Dec 10 '23 19:12 pidloop