Any Interest in ARMv7 builds
|
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
yes, that was the first thing I did.... no change...
I am reinstalling and trying again....I've updated firmware on the pi, enabled everything that needs enabling...
Lirc seems to be working but not registering input from the /dev/lirc0....
I know the remotes and receivers are good as they work elsewhere...
I know the pins are correct....
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(28-Sep-2018, 12:01 PM)Bromf Wrote: yes, that was the first thing I did.... no change...
I am reinstalling and trying again....I've updated firmware on the pi, enabled everything that needs enabling...
Lirc seems to be working but not registering input from the /dev/lirc0....
I know the remotes and receivers are good as they work elsewhere...
I know the pins are correct....
There should be a file called /var/log/lircd.log. Include the last few lines here and I'd have a quick look.
Snakeoil Operating System - Music, your way!
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
28-Sep-2018, 12:36 PM
(This post was last modified: 28-Sep-2018, 12:45 PM by Bromf.)
last few lines ..... /var/log/daemon.log
Sep 28 04:23:23 snakeoil systemd[857]: Reached target Basic System.
Sep 28 04:23:23 snakeoil systemd[857]: Reached target Default.
Sep 28 04:23:23 snakeoil systemd[857]: Startup finished in 68ms.
Sep 28 04:23:23 snakeoil systemd[1]: Started User Manager for UID 1000.
Sep 28 04:23:52 snakeoil systemd[1]: Time has been changed
Sep 28 04:23:52 snakeoil systemd[857]: Time has been changed
Sep 28 04:23:52 snakeoil systemd[1]: apt-daily-upgrade.timer: Adding 12min 34.701117s random time.
Sep 28 04:23:52 snakeoil systemd[1]: apt-daily.timer: Adding 2h 32min 56.755686s random time.
Sep 28 04:24:01 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: caught signal
Sep 28 04:24:01 snakeoil systemd[1]: Stopping Flexible IR remote input/output application support...
Sep 28 04:24:01 snakeoil systemd[1]: Stopped Flexible IR remote input/output application support.
also I note much earlier on there is this...
Code: Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Info: lircd: Opening log, level: Info
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: Using systemd fd
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Warning: Running as root
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Info: Using remote: devinput.
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MISC
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MOUSE
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_SOUTH
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TOOL_PEN
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER_HAPPY1
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_WHEEL
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Info: Using remote: devinput.
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MISC
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_MOUSE
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_SOUTH
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TOOL_PEN
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_TRIGGER_HAPPY1
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput: Multiple values for same code: BTN_WHEEL
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Warning: Duplicate remotes "devinput" found, problems ahead
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: lircd(default) ready, using /var/run/lirc/lircd
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: accepted new client on /var/run/lirc/lircd
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Info: [lirc] protocol is enabled
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: accepted new client on /var/run/lirc/lircd
Sep 28 04:23:12 snakeoil lircd[621]: lircd-0.9.4c[621]: Notice: accepted new client on /var/run/lirc/lircd
I'm looking at /etc/lirc/lircd.conf.d/devinput.lircd.conf
Also last line of dmesg is...
[ 19.430014] input: lircd-uinput as /devices/virtual/input/input5
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Hmmm.. Still at work so can't work this out. Will see if i can get some time to look into this later today, and if not the weekend.
In the mean time. Modify /config.txt and comment out the 'kernel=' line. This will fall back to the stock kernel. See if that works. That should tell me if it's a software that's missing in the OS, or a module that's missing in the RT kernel.
Snakeoil Operating System - Music, your way!
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
28-Sep-2018, 01:51 PM
(This post was last modified: 28-Sep-2018, 01:52 PM by Bromf.)
(28-Sep-2018, 01:02 PM)agent_kith Wrote: Hmmm.. Still at work so can't work this out. Will see if i can get some time to look into this later today, and if not the weekend.
In the mean time. Modify /config.txt and comment out the 'kernel=' line. This will fall back to the stock kernel. See if that works. That should tell me if it's a software that's missing in the OS, or a module that's missing in the RT kernel.
It's the RT kernel... LIRC works exactly as it should after commenting it out and rebooting.
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(28-Sep-2018, 01:51 PM)Bromf Wrote: (28-Sep-2018, 01:02 PM)agent_kith Wrote: Hmmm.. Still at work so can't work this out. Will see if i can get some time to look into this later today, and if not the weekend.
In the mean time. Modify /config.txt and comment out the 'kernel=' line. This will fall back to the stock kernel. See if that works. That should tell me if it's a software that's missing in the OS, or a module that's missing in the RT kernel.
It's the RT kernel... LIRC works exactly as it should after commenting it out and rebooting.
Cool, that means I've forgotten to include one of the modules. Can you cut and paste the contents of /proc/modules? I'd have to take a look at that.
Hope it's just that I'm missed a driver, and not because lirc actually requires lirc to be loaded as a module.. That'd will suck...
Snakeoil Operating System - Music, your way!
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
28-Sep-2018, 02:33 PM
(This post was last modified: 28-Sep-2018, 02:34 PM by Bromf.)
Here you go... the contents of /proc/modules from the stock kernel
Code: uinput 20480 1 - Live 0x7f515000
cmac 16384 1 - Live 0x7f50d000
bnep 20480 2 - Live 0x7f503000
hci_uart 36864 1 - Live 0x7f4f4000
btbcm 16384 1 hci_uart, Live 0x7f4ed000
serdev 20480 1 hci_uart, Live 0x7f4e3000
bluetooth 368640 24 bnep,hci_uart,btbcm, Live 0x7f475000
ecdh_generic 28672 1 bluetooth, Live 0x7f46b000
brcmfmac 307200 0 - Live 0x7f3a7000
brcmutil 16384 1 brcmfmac, Live 0x7f397000
cfg80211 573440 1 brcmfmac, Live 0x7f219000
rfkill 28672 4 bluetooth,cfg80211, Live 0x7f1ff000
snd_bcm2835 32768 0 - Live 0x7f1f2000 (C)
snd_soc_bcm2835_i2s 16384 0 - Live 0x7f1ea000
i2c_bcm2835 16384 0 - Live 0x7f1e2000
snd_soc_core 188416 1 snd_soc_bcm2835_i2s, Live 0x7f19f000
snd_compress 20480 1 snd_soc_core, Live 0x7f195000
snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0x7f18e000
snd_pcm 98304 4 snd_bcm2835,snd_soc_bcm2835_i2s,snd_soc_core,snd_pcm_dmaengine, Live 0x7f16a000
snd_timer 32768 1 snd_pcm, Live 0x7f15c000
snd 69632 5 snd_bcm2835,snd_soc_core,snd_compress,snd_pcm,snd_timer, Live 0x7f141000
lirc_rpi 16384 2 - Live 0x7f138000 (C)
lirc_dev 16384 1 lirc_rpi, Live 0x7f11f000
uio_pdrv_genirq 16384 0 - Live 0x7f0f7000
uio 20480 1 uio_pdrv_genirq, Live 0x7f0b7000
fixed 16384 0 - Live 0x7f0a1000
ip_tables 24576 0 - Live 0x7f096000
x_tables 32768 1 ip_tables, Live 0x7f087000
ipv6 434176 22 [permanent], Live 0x7f000000
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
lirc_rpi... Not entirely sure what that is, but just the name tells me probably need to include that for this to work (I need a facepalm emoji here)...
Will update the kernel and let you know when it's ready.
Snakeoil Operating System - Music, your way!
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
28-Sep-2018, 02:58 PM
(This post was last modified: 28-Sep-2018, 03:06 PM by Bromf.)
Quote:(I need a facepalm emoji here)
lol...
Meantime I can get Lirc working with the stock kernel and start the write up !
Edit... ok! now the modules are present on stock kernel...
Code: pi@snakeoil:~ $ lsmod | grep lirc
lirc_rpi 16384 2
lirc_dev 16384 1 lirc_rpi
Posts: 450
Threads: 30
Joined: Oct 2016
Reputation:
89
Location: Pacific
28-Sep-2018, 06:33 PM
(This post was last modified: 28-Sep-2018, 06:34 PM by Bromf.)
On the stock kernel I now have Lirc working to control mpd. starts at boot. Only had to add a couple of other packages.
All the usual stop play pause navigation and shutdown.
Tomorrow I will reinstall the Oled display and test all together.
I don't know enough about LMS to get it running there... perhaps a LMS user could try that...I would be happy to help
.
|
Users browsing this thread: |
1 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
SnakeoilOS Mission Statement
|
Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.
SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.
If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.
|
|
|