Poll: Are You Interested In ARMv7 Edition of Snakeoil OS
You do not have permission to vote in this poll.
YES. (Remember to let me know what board you want)
88.89%
8 88.89%
NO.
11.11%
1 11.11%
Total 9 vote(s) 100%
* You voted for this item. [Show Results]

Any Interest in ARMv7 builds
#41
Need a kernel with LIRC support. I can build one for you later tonight, are you using the stock kernel at the moment, or a special one?

Edit: What am I asking? This is RPi.. There is only one kernel!!! I'd rebuild the kernel tonight with LIRC support.
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Bromf
Reply

#42
Thanks.!  I suspected that but was trying all options before imposing on your valuable time...

Once I have that kernel I expect Lirc to install and work so will map some buttons for play, pause, playlists, favourite web streams and shutdown/reboot....if that's all good will start on the write up in Walkthroughs.

I/R remote and a display makes for great streaming and ease of use....always ready..no need to grab a phone/pc, open a browser, connect, then change stations....1 button is all that's needed..Smile
[-] The following 1 user Likes Bromf's post:
  • agent_kith
Reply

#43
Any joy with the Lirc kernel ? Smile
Reply

#44
(28-Sep-2018, 03:19 AM)Bromf Wrote: Any joy with the Lirc kernel ? Smile
I'd send you a PM soon on that... Hit some snag on the uploading the kernel via the WebApp so you'd have to do this manually unfortunately...
Snakeoil Operating System - Music, your way!
Reply

#45
Progress.....but still hitting the same modules error....
Code:
pi@snakeoil:~ $ dmesg | grep lirc
[    3.499614] lirc_dev: IR Remote Control driver registered, major 242
[    3.570131] rc rc0: lirc_dev: driver ir-lirc-codec (rc-loopback) registered at minor = 0
[   20.321432] input: lircd-uinput as /devices/virtual/input/input5
[b]pi@snakeoil:~ $ ps aux | grep lirc[/b]
pi        1020  0.0  0.0   4372   568 pts/0    S+   01:50   0:00 grep --color=auto lirc
pi@snakeoil:~ $ ls -l /dev/lirc0
crw-rw---- 1 root video 242, 0 Sep 28 01:46 /dev/lirc0
pi@snakeoil:~ $ lsmod | grep lirc
libkmod: ERROR ../libkmod/libkmod-module.c:1655 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
pi@snakeoil:~ $
Google seems to think it is custom kernel related...
I can find a reference here...
https://askubuntu.com/questions/871336/s...ntu/971300
https://unix.stackexchange.com/questions...ing-on-wsl

I have triple checked hardware, 2 different Pi, 2 different remotes, 2 different receivers.... all works with another player o/s...

and no 'modules' found here...
Code:
pi@snakeoil:~ $ cd /proc/
pi@snakeoil:/proc $ ls
1     123   141  210  407  5    684  855          fs             pagetypeinfo
10    124   142  23   41   50   685  861          interrupts     partitions
107   125   143  24   42   51   7    862          iomem          sched_debug
108   126   144  242  426  52   720  9            ioports        schedstat
109   127   145  25   43   53   721  asound       irq            self
11    1275  146  26   438  54   799  buddyinfo    kallsyms       slabinfo
110   128   147  27   44   548  8    bus          keys           softirqs
111   129   149  28   442  55   800  cgroups      key-users      stat
112   13    15   29   448  56   816  cmdline      kmsg           swaps
113   130   150  31   45   59   822  consoles     kpagecgroup    sys
114   131   151  32   46   6    823  cpu          kpagecount     sysrq-trigger
115   132   16   33   469  60   835  cpuinfo      kpageflags     sysvipc
1154  133   164  34   47   61   836  crypto       latency_stats  thread-self
116   134   17   349  474  62   843  devices      loadavg        timer_list
117   135   170  35   475  635  844  device-tree  locks          tty
118   136   18   36   478  639  845  diskstats    mdstat         uptime
119   137   19   37   479  641  846  drbd         meminfo        version
12    138   2    39   48   659  849  driver       misc           vmallocinfo
120   139   20   4    484  673  850  execdomains  mounts         vmstat
121   14    203  40   485  682  851  fb           mtd            zoneinfo
122   140   21   400  49   683  854  filesystems  net
pi@snakeoil:/proc $
Reply

#46
The no 'modules' part is fine as Snakeoil kernels built the drivers right inside the kernel, instead of as a loadable module.

It is already detecting the IR or input. But I suspect you're missing the user space software. Try and run this:
Code:
sudo apt install -y lirc

Then run:
Code:
ps aux | grep lirc
again to make sure lircd is running. Once it's up your stuffs should work.
Snakeoil Operating System - Music, your way!
Reply

#47
Already have that.... see prior post .... I have installed Lirc on Pi many times before and even have 2 methods. I've tried both and still it errors re modules...
Code:
pi@snakeoil:~ $ sudo apt install -y lirc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lirc is already the newest version (0.9.4c-9).
0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
pi@snakeoil:~ $ ps aux | grep lirc
pi        2652  0.0  0.0   4372   548 pts/0    S+   02:40   0:00 grep --color=auto lirc
pi@snakeoil:~ $
shall I do an apt upgrade or will that bork things...
Reply

#48
(28-Sep-2018, 10:42 AM)Bromf Wrote: Already have that.... see prior post .... I have installed Lirc on Pi many times before and even have 2 methods. I've tried both and still it errors re modules... 
I wonder if LIRC only works if you're using modules... Or maybe I forgot to include another important module.

What happens when you just run lircd from the command line?
Snakeoil Operating System - Music, your way!
Reply

#49
pi@snakeoil:~ $ lircd
can't open or create /var/run/lirc/lircd.pid: Permission denied
pi@snakeoil:~ $ sudo lircd
lircd: there seems to already be a lircd process with pid 1469
lircd: otherwise delete stale lockfile /var/run/lirc/lircd.pid
pi@snakeoil:~ $
Reply

#50
(28-Sep-2018, 11:13 AM)Bromf Wrote: pi@snakeoil:~ $ lircd
can't open or create /var/run/lirc/lircd.pid: Permission denied
pi@snakeoil:~ $ sudo lircd
lircd: there seems to already be a lircd process with pid 1469
lircd: otherwise delete stale lockfile /var/run/lirc/lircd.pid
pi@snakeoil:~ $
Run:
Code:
ps aux|grep 1469

See if it's really runnig, if it's not, delete the pid file:
Code:
sudo rm -f  /var/run/lirc/lircd.pid

Then start lircd again and see what error pops up.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5800
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1678
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 106
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 155

[-]
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.


Powered By MyBB, © 2002-2024. Theme © Melroy van den Berg.