Comments (11)
- Have you tried the precompiled binaries?
- Have you used the linked USPI submodule (other versions may not work)?
- Have you looked at the TX line of the PI, if there is any activity if a key is pressed?
from pigfx.
I have not tried the pre-compiled binaries.
The linked version of USPI I used has modules dated 19/05/20 17?/18:42.
There is no activity on the tx line (which is connected to a known good Z80).
when reverting to a previous verision (2019) the keyboard works fine. here is a snapshot of my download dir showing the source's used.
If there is a complete pre-compiled kernel I will happily try it But it's important that I download and compile as I wish to modify some of the source code.
from pigfx.
Have now downloaded and tried the precompiled - same result no keyboard action.
from pigfx.
I just tested it with a Pi Zero (without W) using this image https://github.com/fbergama/pigfx/blob/master/bin/kernel.img
I connected RX and TX on the Pi and was able to directly write to the screen with the USB keyboard. At the moment I have no idea why it would not work on your setup.
from pigfx.
Thats fair enough, all I can say is that it works fine with my 2019 (unaltered) kernel but not with the latest. I'll do a bit more work and report back if I find/cure the problem. Meantime if you can think of anything that has changed and may be significant between 2019 and today it might help.
from pigfx.
38.4K - here's a scope trace of what's on the TX line, looks like. It should be a square wave, but it's not being pulled low enough to register logic zero. It could be the TX pin is not properly configured tiup/dn or current capability. - As you can see the scope is set to DC with a x10 probe. Left hand marker is 0v. I get identical results from a second Pi.
from pigfx.
Ok I tried doing the same, still the mentioned (new) kernel image, 38400 baud, RX and TX connected together. TX is set to no pull up / no pull down, RX is set to pull up in uart.c.
To me this looks absolutely fine. What's your load on the TX line? Do you have a scope of the old software version?
It seems that you have some capacitive load on this line.
At least we now know that it's not a USB keyboard related issue.
from pigfx.
It may be a few days before I can respond fully, but thanks for the trace & info - your comment about capacitance made me think about the Scope probe I was using, - it's now in the bin. with a second probe the waveform is fine. I need to now take a closer look at the rest of my system. I guess at nearly 70 I should turn my hand to gardening!.
from pigfx.
You can set the behaviour of CR or LF in pigfx.txt.
from pigfx.
Solved, - 3 problems, 1) a dud scope probe, 2) usb kbd appeared not working as there was no echo (2019 had echo?) - 3 I failed to spot CR had been replaced with an LF and I failed to notice it could be swapped in the config file. My thanks to Christian Lehner for pointing me in the right direction.
from pigfx.
You're welcome.
Not sure what you mean with echo. PiGFX should display what gets sent to the RX pin. So it's your system which should echo the characters it receives from the USB keyboard.
from pigfx.
Related Issues (20)
- replaceLFwithCR + sendCRLF don't do anything HOT 21
- Compiling Error HOT 5
- Command for filled/empty shapes resulting in the same filled shape?
- How to load custom fonts? HOT 2
- [Feature request?] Change baudrate interactively HOT 4
- Feature request: Screen saver/blanker
- Bypass PIGFX card without removing it? HOT 1
- Compile fail. HOT 2
- unable to correctly set baudrate. HOT 14
- Pi/KBD freezes after several hours. HOT 8
- Having troubles with Pi Zero W HOT 1
- Composite output HOT 4
- Something not right, with apps that request number input and do not recognize enter key. HOT 3
- New Line/Enter not working in certian situations. HOT 5
- Resolution 800x480
- Pi pico ? HOT 5
- Hotswap USB keyboard...is this possible? HOT 2
- Qemu instructions and scripts out of date HOT 2
- Screen resolution of 1920*1080 possible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pigfx.