-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry 4 issue #8
Comments
Hi there! I've been struggling with this problem for a week, but probably found a solution.
It's probably going to work with bluetooth overlay set to miniUART (as the instruction here in Readme.md), but I do not use bluetooth on my RPi.
Hope it helps, |
@tjach big thanks. |
Don't you have then possible timing errors without the ttyebus? It looks like that on the newer Kernels for Rpi that something has changed. https://forum.fhem.de/index.php/topic,84636.msg1080948.html#msg1080948 |
Hi @Eraser-1, It's been working for 3 days now without any problems. |
I can confirm - it works without this driver :) |
I tried the above, but unfortunately I still observe ebus timing errors. I am running Raspbian with kernel version 5.4.83-v7l+ on Raspberry Pi 4. So the ttyAMA0 is connected to IRQ 29. I edited the ttyebusm.c file (V1.8) and changed the IRQ on line 192 from 34 to 29. Then rebuild and install the ttyebus driver. |
With kernel 5.10.103-v7l+ the IRQ has changed to 36. At least on my raspi 4 running buster legacy. |
Hello,
i changed from Raspberry 3 to the Raspberry 4 2GB.
On Rasp 3 all connections and readings are fine.
On Rasp 4, i have serial timeouts.
Log:
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.666454] ttyebus: loading out-of-tree module taints kernel.
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.667184] ttyebus: register_device() is called
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.667245] ttyebus: Found RASPI model 4
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.667298] ttyebus: registered character device with major number = 241 and minor numbers 0...255
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.667609] ttyebus: Successfully requested IRQ 34
Aug 5 11:43:35 Rasp4Ebus kernel: [ 2.667653] ttyebus: device created correctly
Aug 5 11:43:44 Rasp4Ebus kernel: [ 16.494422] ttyebus: Open at at major 10 minor 60
Aug 5 11:43:44 Rasp4Ebus kernel: [ 16.494426] ttyebus: Open exit
Aug 5 11:43:44 Rasp4Ebus kernel: [ 16.494752] ttyebus: Poll request
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.494759] ttyebus: Poll timeout
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.745015] ttyebus: Poll request
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.745021] ttyebus: Poll timeout
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.745063] ttyebus: Poll request
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.745068] ttyebus: Poll timeout
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.995327] ttyebus: Poll request
Aug 5 11:43:45 Rasp4Ebus kernel: [ 16.995333] ttyebus: Poll timeout
ls -l /dev/tty:*
crw-rw-rw- 1 root root 10, 60 Aug 5 11:43 /dev/ttyebus
crw------- 1 root root 5, 3 Aug 5 11:43 /dev/ttyprintk
crw-rw---- 1 root dialout 4, 64 Aug 5 11:43 /dev/ttyS0
uname -a:
Linux Rasp4Ebus 5.4.51-v7l+ #1327 SMP Thu Jul 23 11:04:39 BST 2020 armv7l GNU/Linux
any idea?
thanks
The text was updated successfully, but these errors were encountered: