angeloc/i2c-adapter-ch341a

it's awesome

chenremenberit opened this issue · 4 comments

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!

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

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

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 ?

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