M0FVD
Hello
I know it's not the suggested i2c adapter but I was playing with this device on my laptop and had success. 
 
How can I compile for it on the Quadra? I've the module source but the Linux kernel installed on the  Quadra is (if I recall correctly) 5.15.126-legacy-sunxi64.
 
Do you have kernel headers for this release? I can manage the rest if you have?
M0FVD
Got it sorted. But for some reason activating line A6 either high or low doesn't produce the "on-air" message.
 
I've added the device address/ dev/i2c-2 to the config.
 
Using i2cdump -a -y 2 device address 0x27 produces the appearance of a high or a low on byte 0x12. But I'm guessing it's in the wrong place?
Does that make sense? Where am I going wrong?
 
1000114923.jpg
Reply 0 0
M0FVD
Sorry for the message spam!
Think I'm talking to the wrong device. Found /dev/gpiochip2 but not sure if I'm on the right lines?
Reply 0 0
M0FVD
Emm. I'm having trouble talking to the gpio2 device. I see it but can't change purpose of lines etc.
Something to do with /sys/class/gpio/export
Reply 0 0
M0FVD
After having a bit of a break yesterday I've returned to the problem.
 
It seems I2c controller is working fine, I can see the gpio device (MCP23017) and list the pins, but all are listed in gpioinfo as "used". I see /dev/gpiochip2 (the device I want) but it doesn't seem to produce a /dev device I can use in hamclock.
 
Any ideas at all? What should the gpio board appear as in /dev?
Reply 0 0
Michael Burmeister-Brown inovato
This is not an often used feature even with the suggested I2C adapter by Quadra users.  You might want to broaden your search for this part and Linux and see if other sources can provide the info you are looking for.
Reply 0 0
M0FVD
I'm thinking that too. Might just abandon.
 
The suggested ic2 interface is available from Mouser but shipping is as much as the device itself! Hence trying something available from Amazon.
 
Just one last question on the subject if I may: what SHOULD be available in /dev? The notes seem to suggest a ttyUSB device but I'd have thought the software would be polling a single port for bit changes in a single byte? Or am I wrong?
Reply 0 0
Reply