thanks Alfred -sorted!
Posts made by steeley
-
RE: Control GPIOs from simple web page
@Alfred-Riss said in Control GPIOs from simple web page:
https://docs.onion.io/omega2-project-book-vol1/led-traffic-light.html
Thanks- I had seen this but I need to use a web browser/html to do this.
Ahh - think I have found something related to node.js that might do it.
-
Control GPIOs from simple web page
Just wondered if its possible to control GPIO pins from a simple web page button/html?
E.g Call gpioctl command to toggle output
I'm sure I saw this somewhere, but can't seem to find it now.TIA
-
RE: is Nano available on Omega2?
@crispyoz said in is Nano available on Omega2?:
/etc/opkg/distfeeds.conf
Ahh thanks again .. :). I was wondering which feed it was in!
-
RE: I2S ADC Headaches
For playback into a pcm1502a board the wiring here will work:
https://onion.io/2bt-omega-i2s-audio/
You can ignore the setup stuff, just use UFDs build and it works. -
RE: I2S ADC Headaches
@UFD
What are you recording onto? bigger also buffer or making the process run as a higher priority can help.I tried your build as I have also spent ages trying to get i2s audio out
and it does work well with my 1502 board( own design) - thanks.I never got any official reply on whether i2s audio I/o would be part if the 'factory' builds... There is project in the docs that says i2s audio is included and shows
a setup , but its out of date and doesn't work.I'm looking at manufacturing a combined pcm1502a + pcm186x board
and currently considering the omega2+ as the host processor. -
is Nano available on Omega2?
Can't find the nano editor in the package list, although it seems some folks have it installed.
Any idea where to get it?TIA
-
RE: wait for network before running script?
Thanks Chris - I was not aware of the hotplug stuff. omega2 is pretty slow to boot
up for a little openWrt device(1 min+)anyway I think I have something working so far.
-
wait for network before running script?
is it possible to detect when the network is up? I need to run a script in rc.local
but it needs to have the network connected (either Access point, or connected to my home network) first.TIA
-
RE: Most recent stable build with i2s ??
@crispyoz
Spent the entire day doing this but never really got a build system
going. Spent ages correcting endless errors and various problems.I won't waste any more time ( or anyone elses) on this.
I'm not going to use Omega for this project.Thanks to all for trying to help.
-
RE: Most recent stable build with i2s ??
@UFD said in Most recent stable build with i2s ??:
(However @Lazar-Demin should consider adding the 2 main ones found in the hobbiest space i.e MAX98367A and PCM5102A).
Thanks everyone for the help/info. Thats what was confusing as I thought these were
included. Anyway, last time I did some source building a few years ago It was fairly slow and painful LOL . I guess a dynamically loaded module might be the way to go.
I'll let you know if I decide to try this. -
RE: Most recent stable build with i2s ??
@UFD thanks . Yes, sorry of course it should be i2s not i2c (although some codecs need i2c for control) I am using a PCM 1502A DAC which I use a lot with other boards. Also have the MAX98367A mention in the article on i2s audio.
-
RE: Most recent stable build with i2s ??
@crispyoz said in Most recent stable build with i2s ??:
opkg install kmod-i2c-core
Yes that is there:
Package kmod-i2c-core (4.4.74-1) installed in root is up to date. -
RE: Most recent stable build with i2s ??
Unfortunately the lines were uncommented, and it still does not work.
Something is there, but I have no idea what to try next.
ALSA says no sound card.dimes and asmod:
11.116637] ralink-i2s 10000a00.i2s: mclk 480KHz
[ 11.124730] max98090 0-0010: Failed to reset codec: -6
[ 11.130129] max98090 0-0010: Failed to read device revision: -1
[ 11.136170] max98090 0-0010: ASoC: failed to probe component -1
[ 11.142822] asoc-simple-card sound: ASoC: failed to instantiate card -1
[ 11.149711] asoc-simple-card: probe of sound failed with error -1snd 40910 12 snd_usb_audio,snd_usbmidi_lib,snd_soc_wm8960,snd_soc_core,snd_compress,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device,snd_hwdep
snd_compress 6303 0
snd_hwdep 4350 1 snd_usb_audio
snd_mixer_oss 12761 1 snd_pcm_oss
snd_pcm 62986 7 snd_usb_audio,snd_soc_ralink_i2s,snd_soc_wm8960,snd_soc_max98090,snd_soc_core,snd_pcm_dmaengine,snd_pcm_oss
snd_pcm_dmaengine 2779 1 snd_soc_core
snd_pcm_oss 35825 0
snd_rawmidi 15402 1 snd_usbmidi_lib
snd_seq_device 2191 1 snd_rawmidi
snd_soc_core 97404 4 snd_soc_simple_card,snd_soc_ralink_i2s,snd_soc_wm8960,snd_soc_max98090
snd_soc_max98090 47860 0
snd_soc_ralink_i2s 6064 0
snd_soc_simple_card 5216 0
snd_soc_wm8960 22720 0
snd_timer 15630 1 snd_pcm
snd_usb_audio 104246 0
snd_usbmidi_lib 15761 1 snd_usb_audio
soundcore 3836 1 snd -
RE: Most recent stable build with i2s ??
@crispyoz
Thanks! I will give this a try. -
Most recent stable build with i2s ??
Hello everyone - looking forward(hopefully!) to using omega2+ in several upcoming projects.
first is audio. I saw this in the Onion doc/info:
https://onion.io/2bt-omega-i2s-audio/
("...the very latest release of the Omega OS has support for I2S audio devices")However latest stable, and latest bleeding edge don't seem to have i2s.
Tried it but no i2s /alsa sound card.so ... what is the most recent stable firmware with working i2s?
I see some stuff about hacking together old firmware that might make it work
but this ( and USB audio) are things I want to avoid for now.I notice i2s seems to be suspiciously absent from the documentation ..
Thanks.