angeloc / i2c-adapter-ch341a

Linux kernel I2C adapter for CH341A chip
GNU General Public License v2.0
5 stars 3 forks source link

it's awesome #1

Open chenremenberit opened 1 year ago

chenremenberit commented 1 year ago

it's a wonderful project ! Now i can use i2c-tools to control my devices in linux with its help ! But when i read from a device on my usb-i2c the speed of information transmission is too slow how can i change the speed? i hope i can get a hand from you Best wish!

chenremenberit commented 1 year ago

i made a mistake. the same issue is sent for three times. Now i edit them. Just ignore it.

chenremenberit commented 1 year ago

There is another problem. When i use i2cdetect. I found it appeared that all addresses is filled. But actually i only connect a lcd device. Its address is 0x27. I can control it normally, although in a low speed. image

chenremenberit commented 1 year ago

I know what happened. The makefile was not executed completely

Skipping BTF generation for /home/kaihong/下载/i2c_adapter/i2c-adapter-ch341a/i2c-ch341a.ko due to unavailability of vmlinux

so i got the i2c-12. It should be i2c-341a.

may i get any suggestions ?

angeloc commented 1 year ago

This driver was a toy I wrote to test my skills a long time ago, I think nowadays there are better drivers out there