Go to advanced search

by Maash
Mon Feb 05, 2018 2:09 pm
Forum: Networking and servers
Topic: using ifplugd to handle access point
Replies: 0
Views: 242

using ifplugd to handle access point

Hi. Currently I've got script that's run from cron that checks if current wifi configuration is able to log into wifi, and if not, then set up access point so that I can configure the wifi from another device. So I would like to replace my horrible shell scripts that handle access point and regular ...
by Maash
Tue Aug 22, 2017 11:53 am
Forum: Graphics, sound and multimedia
Topic: Can't get PortAudio to work
Replies: 3
Views: 9172

Re: Can't get PortAudio to work

Interestingly my portaudio issues were fixed by using new Kernel (4.9.43). The old one was from last autumn 4.9.3x. I'm using I2S sound card that's based on simple-card.c found under generic kernel sound drivers, and it's changed quite dramatically during last year.
by Maash
Tue Aug 22, 2017 11:50 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Interestingly also my portaudio problems went away with new Kernel.
by Maash
Mon Aug 21, 2017 11:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Ok, just to continue my monolog now the build worked. I had to use different kernel base, build it, use it and use simple-card.c from that as a base. Now I used the official rpi 4.9.y kernel branch from raspberrypi foundation as base instead of that python script mentioned before.
by Maash
Fri Aug 18, 2017 8:09 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Posted as a datapoint for those having issues.. Hmmm... I took the latest image (2017-07-05-raspbian-jessie) and tried this, but same problem with the missing symbols persist. Kernel seems to be 4.9.35-v7+. I took the kernel sources according to these instructions: https://github.com/notro/rpi-sour...
by Maash
Thu Aug 17, 2017 7:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

BTW: Has anyone used this with Portaudio? I have weird problem that for some reason the portaudio doesn't receive any data, but it doesn't complain either. arecord with default device works just fine (arecord -f S16_LE -r 1600 test.wav) as does rec. There's also thread about this without much activi...
by Maash
Thu Aug 17, 2017 6:36 am
Forum: Raspbian
Topic: Jesse dashboard problems
Replies: 0
Views: 230

Jesse dashboard problems

Hi. I needed new version of gstreamer and I purged the 0.1 version that comes with distro. I got the new from sources and used that successfully. I thinkered on for few days, installed something else with apt-get and the package manager suggested that I removed the unused packages. And I did. After ...
by Maash
Wed Jul 19, 2017 11:50 am
Forum: Graphics, sound and multimedia
Topic: Can't get PortAudio to work
Replies: 3
Views: 9172

Re: Can't get PortAudio to work

I'm having similar issues. I've tried both official distributed build and building from git sources (with latest stable branch pa_stable_v190600_20161030). I don't exactly get any errors, but the portaudio cannot record anything from my microphone. Alsa config and asoundrc should be OK as I can reco...
by Maash
Thu Jun 08, 2017 6:46 am
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Re: Connecting to wifi from command line

Yeah, and I don't think it helps that the rPI uses 0.9.10.0 version where ubuntu uses 1.2.2.
by Maash
Wed Jun 07, 2017 1:29 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

After lot of updating stuff, I managed to build the simple_driver.c, however it cannot be mounted. All functions seem to be unknown symbols in the dmesg.

Perhaps someone with more knowledge of alsa could look at this, but I think I'll go back to old version :/.
by Maash
Wed Jun 07, 2017 12:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

There seems to be new version of simple_card.c in the kernel. i'll see if it "fits right in". It would definitely suck if I have to roll back to december release just to get I2S recording working :/.
by Maash
Wed Jun 07, 2017 12:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Has anyone recently compiled the simple_card against latest kernels? I decided to update the rpi and now I cannot compile the driver. "struct snd_soc_card has no member named rtd" I googled this a bit and there was few indications form '15 that this could have been a bug in kernel. However that's qu...
by Maash
Wed Jun 07, 2017 7:10 am
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Re: Connecting to wifi from command line

Plot thickens. For some reason the nmcli cannot find all available networks :O. It lists only few, and few of the most power full signals are missing. I run "sudo iwlist wlan0 scan" and the devices available are the same as with "nmcli device wifi". Does this exlude some networks for some reason? I ...
by Maash
Wed Jun 07, 2017 6:31 am
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Re: Connecting to wifi from command line

Is anyone using the nmcli successfully to connect from command line or is there similar command line options available? Network Manager will not handle any interfaces which are claimed in /etc/network/interfaces. You may want to look Comitup. It will manage the interface for you (remotely). It uses...
by Maash
Wed Jun 07, 2017 6:17 am
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Re: Connecting to wifi from command line

Another shitty thing is that unline workstation, the android chrome doesn't seem to understand the mDNS address (.local) :/. Oddly, IIRC, it actually does, if you feed it a complete URL, with "http://". That may be desktop Chrome, however, I'm not sure. offtpic: Desktop works just fine. Apparently ...
by Maash
Tue Jun 06, 2017 12:40 pm
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Re: Connecting to wifi from command line

Is there some reason why the Raspberry Pi Foundation documentation does not meet your needs? https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md Thanks for the comment. I'm trying to avoid changing the wpa_supplicant conf files. I've got rPI without monitor (for playbac...
by Maash
Tue Jun 06, 2017 11:11 am
Forum: Raspbian
Topic: Connecting to wifi from command line
Replies: 11
Views: 47584

Connecting to wifi from command line

Hi. I'm trying to connect to wifi with nmcli (version 0.9.10.0). However there seems to be something wrong with the nmcli as it cannot even list the wifi interfaces. It doesn't report any access errors and same command works ok in my ubuntu. nmcli d wifi connect MY_SSID password MY_PWD iface wlan0 I...
by Maash
Fri Apr 14, 2017 12:06 pm
Forum: Troubleshooting
Topic: Sennheiser PC 8 USB headset with RPI
Replies: 0
Views: 720

Sennheiser PC 8 USB headset with RPI

Hi all. Yes, another USB audio thread. I've now gone through about 50 of them here and in stackoverflow. But still I cannot seem to get the this bloody headset to work. It outputs just fine, but recording doesn't just seem to work. The current setup is so that I don't use any .asoundrc. I've got als...
by Maash
Fri Apr 14, 2017 7:38 am
Forum: Raspbian
Topic: STICKY: PIXEL desktop: now defunct and replaced by Raspbian Stretch
Replies: 193
Views: 141034

Re: Introducing PIXEL desktop: new Raspbian release

Interestingly the keyboard layout cannot be changed with latest 10.4.2017 release. Clicking the button doesn't open any menus or whatnot. Same phenomenon if I try it from new "Raspberrypi configuration" -> "Localisation" -> "Set keyboard". Other buttons seem to work and one can change the locale so ...
by Maash
Fri Feb 10, 2017 9:45 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Ok, to reply myself I had to separate the playback from recording. pcm.monocard { type plug slave.pcm "plughw:1,0" slave.channels 2 slave.rate 16000 } ctl.monocard { type hw card 1 device 0 } pcm.!default { type hw card 0 } ctl.!default { type hw card 0 } pcm.secondary { type plug capture.pcm { type...
by Maash
Mon Feb 06, 2017 3:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

Has anyone had any success with I2S microphone and using amixer? The .asoundrc that I got from this thread works OK in record and playback, but if I try to use amixer I get following error: "ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/arm-linux-gnueabihf/alsa-lib...
by Maash
Fri Nov 25, 2016 1:16 pm
Forum: Troubleshooting
Topic: login cannot access user crentials or locale
Replies: 3
Views: 687

Re: login cannot access user crentials or locale

Did you expand the root file system when you installed? It's been few months since installation, but I'm pretty sure I just followed the raspian default instructions. However I've got kernel sources + tons of other stuf there, so there's only 1gt free out of 16gt memory card. And I had about 1gt of...
by Maash
Wed Nov 23, 2016 1:34 pm
Forum: Troubleshooting
Topic: login cannot access user crentials or locale
Replies: 3
Views: 687

Re: login cannot access user crentials or locale

Hot Damn.

The problem was pretty embarrasing. The card was full :/.
by Maash
Wed Nov 23, 2016 12:26 pm
Forum: Troubleshooting
Topic: login cannot access user crentials or locale
Replies: 3
Views: 687

login cannot access user crentials or locale

Hi guys. So little background. I've had a rpi3 with raspian in one I2S microphone mockup. It hasn't got screen nor keyboard, so it's been turned off just by unplugging the power cord. Anyho I needed to tinker with the config, and noticed that I cannot login (previously I had the autologin on) and al...
by Maash
Fri Aug 26, 2016 6:22 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2S Success (at last) !
Replies: 111
Views: 53471

Re: I2S Success (at last) !

It's just a emulator board for NXP TFA9890 outputting I2S and mimiking a mic. It was configured with pc, so RPi only tries to listen to I2S data. My simple card is same as posted here many times, but it contains the extra line for the bclk_ratio setting was added to asoc_simple_card_dai_init. And lo...

Go to advanced search