Go to advanced search

by SteveSpencer
Wed Apr 11, 2018 11:13 am
Forum: Advanced users
Topic: Audio recording
Replies: 14
Views: 6806

Re: Audio recording

The pi (all models) does not have a line-in built in. Your easiest option is to acquire a USB audio device, from Amazon or other sites. These will generally plug in to the Pi and be automatically recognized as an audio device, typically with line in (or mic) and line out. This is recognized by ALSA,...
by SteveSpencer
Tue Apr 10, 2018 11:07 am
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 3479

Re: api to firmware

Thanks for that. I had completely forgotten about "userland", I was only looking at linux and firmware....
by SteveSpencer
Tue Apr 10, 2018 8:34 am
Forum: C/C++
Topic: api to firmware
Replies: 16
Views: 3479

Re: api to firmware

You get the source code for that vcgencmd program and it must have a mailbox call in it to retrieve the CPU temperature. Where is, or how would I find the source for vcgencmd? I'd be interested in extracting some configuration/settings stuff for display on a small OLED, and rather than executing an...
by SteveSpencer
Tue Apr 03, 2018 11:32 am
Forum: Raspbian
Topic: minidlna database problem
Replies: 5
Views: 2772

Re: minidlna database problem

Glad you solved your first problem. I don't use it for video, just audio. However, it looks relatively self-explanatory; Some of the video files it finds (.mkv or .avi) don't match minidlna's idea of what a good (not corrupted) .mkv or .avi file should be like. Possibly, they are not .mkv files or ....
by SteveSpencer
Thu Mar 29, 2018 9:17 am
Forum: Raspbian
Topic: minidlna database problem
Replies: 5
Views: 2772

Re: minidlna database problem

Are your media files on a removable disk (USB device)? If so, it may be that when minidlna starts, the mount of that device hasn't been done. This would mean that it looks like the files are no longer available, and would be removed from the database. Then, when the device is mounted, minidlna looks...
by SteveSpencer
Fri Mar 16, 2018 11:41 am
Forum: C/C++
Topic: wiringPi undefined Reference
Replies: 28
Views: 44768

Re: wiringPi undefined Reference

As well as -lwiringpi, you need -lpthread -lcrypt -lm, as these undefined references are in those libraries, respectively.
by SteveSpencer
Thu Mar 15, 2018 1:15 pm
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 678

Re: MAC generation

Presumably the same is true for the Bluetooth, but a different constant, 0xAAAAAA seems to be the one. So I know the serial number, I can easily work out what the WiFi and Bluetooth addresses are. Incidentally, can anyone remind me where I can find the decoding of the revision number to determine wh...
by SteveSpencer
Wed Feb 28, 2018 10:33 am
Forum: Advanced users
Topic: bluealsa woes - device not visible to library
Replies: 3
Views: 975

Re: bluealsa woes - device not visible to library

Well, the default device (shown by the library code) is the default ALSA device. This happens to be the BCM2835. I can select any of the listed devices (2 or 3), or select the default (1). What I can't do is see a corresponding device to bluealsa. Presumably I need to define to ALSA some specific in...
by SteveSpencer
Tue Feb 27, 2018 1:57 pm
Forum: Advanced users
Topic: bluealsa woes - device not visible to library
Replies: 3
Views: 975

bluealsa woes - device not visible to library

Hi I am using a fully updated Raspbian stretch image on a Pi3. First off, let me state that by putting defaults.bluealsa properties into ~/.asoundrc, having paired and connected a bluetooth speaker, I can successfully use aplay -D bluealsa myfile.wav So the underlying stuff is there. However, I use ...
by SteveSpencer
Tue Feb 27, 2018 1:16 pm
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 678

Re: MAC generation

Absolutely it. Many thanks.
by SteveSpencer
Tue Feb 27, 2018 10:02 am
Forum: General discussion
Topic: MAC generation
Replies: 4
Views: 678

MAC generation

OK. I know that the OUI for Raspberry Pi is b8-27-eb I also know that by default, the remaining 3 octets are taken from the serial number of he Pi (eth0) (which I know is in the OTP @28) How is the MAC for wlan0 generated? Presumably there is a similar "fixed" mechanism. Obviously, I can determine t...
by SteveSpencer
Tue Feb 27, 2018 9:46 am
Forum: General discussion
Topic: pi 3b cant connect to a hidden ssid network
Replies: 3
Views: 2397

Re: pi 3b cant connect to a hidden ssid network

In your wpa_supplicant.conf file, do you have

Code: Select all

scan_ssid=1
in your network block?
by SteveSpencer
Fri Feb 16, 2018 11:57 am
Forum: Advanced users
Topic: wpa_supplicant.conf [SOLVED]
Replies: 3
Views: 2608

Re: wpa_supplicant.conf

Resolved. My final result was this, with appropriate redaction: network={ ssid="MY_SSID" scan_ssid=1 proto=RSN pairwise=CCMP key_mgmt=WPA-EAP auth_alg=OPEN eap=PEAP identity="MY_ID" password=hash:MY_HASH phase1="peaplabel=0" phase2="auth=MSCHAPV2" } Hope this helps anyone else with a similar issue.
by SteveSpencer
Thu Feb 15, 2018 10:14 am
Forum: Troubleshooting
Topic: Pi3 does not see built-in WiFi
Replies: 6
Views: 1016

Re: Pi3 does not see built-in WiFi

A happy ending for me :) I received an email that the nice folk at Pimoroni are sending me a replacement. We couldn't pin down which order it was, so potentially it is out of warranty, but typically for them, they are replacing it. Including this, I have had three issues relating to purchases from t...
by SteveSpencer
Thu Feb 15, 2018 10:03 am
Forum: Advanced users
Topic: wpa_supplicant.conf [SOLVED]
Replies: 3
Views: 2608

Re: wpa_supplicant.conf

Typical. I ask for help from a literally world-wide community, and get help from someone who lives within a 15 mile radius :)
The second thread contains much information that is useful, and when the relevant Pi is in the right place to try, I will certainly be doing this.

Thanks
by SteveSpencer
Tue Feb 13, 2018 2:47 pm
Forum: Advanced users
Topic: wpa_supplicant.conf [SOLVED]
Replies: 3
Views: 2608

wpa_supplicant.conf [SOLVED]

Assuming I have the following kind of setup, does wpa_supplicant support this kind of configuration? Network Authentication Protected EAP "PEAP" (Secured Password, EAP-MSCHAP v2) Security Type WPA2 Enterprise Encryption Type AES Authentication Key Mgmt 802.1x or CCKM (Cisco Centralized Key Managemen...
by SteveSpencer
Wed Feb 07, 2018 11:55 am
Forum: Troubleshooting
Topic: Pi3 does not see built-in WiFi
Replies: 6
Views: 1016

Re: Pi3 does not see built-in WiFi

Hi. Yes, I'm in the UK. However, I cannot remember when I bought it, although it was probably from Pimoroni, as I buy nearly all my Pi stuff from them. I will contact them and see what happens, but probably after I have tested the others. Might as well save postage if I have to send any back to them...
by SteveSpencer
Wed Feb 07, 2018 11:43 am
Forum: Troubleshooting
Topic: Pi3 does not see built-in WiFi
Replies: 6
Views: 1016

Re: Pi3 does not see built-in WiFi

OK, I have now tried a different Pi3 with the same PSU and SD card. It is quite happy, seeing both Bluetooth and WiFi. Similarly, none of the available SD cards in the problematic Pi3 make any difference. Logically, it must be hardware. As it is some time since I bought this particular Pi3, any chan...
by SteveSpencer
Tue Feb 06, 2018 5:22 pm
Forum: Troubleshooting
Topic: Pi3 does not see built-in WiFi
Replies: 6
Views: 1016

Re: Pi3 does not see built-in WiFi

I realised I left out a couple of pieces of information. a) Bluetooth isn't working either, apparently b) I have tried a different, fresh SD card - with the same results c) I have tried rpi-update to see if a later firmware would fix it, and it doesn't. I have a number of Pi3, so I will go through e...
by SteveSpencer
Tue Feb 06, 2018 4:03 pm
Forum: Troubleshooting
Topic: Pi3 does not see built-in WiFi
Replies: 6
Views: 1016

Pi3 does not see built-in WiFi

I have a Pi3 which I have put an uSD card in, SanDisk Ultra 32GB, with the latest Stretch release on. Using an official power supply, I then connected it to the LAN, booted, used PuTTY to ssh in, and ran apt-get update/upgrade, as I would for every 'first boot' I then get: pi@rpi3:/lib/firmware $ un...
by SteveSpencer
Fri Feb 02, 2018 5:13 pm
Forum: Advanced users
Topic: dhcpcd and domain names
Replies: 3
Views: 728

Re: dhcpcd and domain names

Yes, AD is Active Directory. I was hoping that there would be enough information in the DHCP conversation, and I might investigate the hook scripts further before trying samba. I am wanting to minimize the number of packages installed, because that means the reconfiguration is easier. I already have...
by SteveSpencer
Fri Feb 02, 2018 10:44 am
Forum: Advanced users
Topic: dhcpcd and domain names
Replies: 3
Views: 728

dhcpcd and domain names

Hi I have a Pi which connects at different times, to two unconnected AD systems. The first is at home, the second at work. If I look at resolv.conf after booting, I see that it has correctly identified the domain name and nameservers of the relevant network. If I do hostname -f, I only get a short n...
by SteveSpencer
Fri Jan 19, 2018 11:15 am
Forum: Off topic discussion
Topic: Something new
Replies: 10
Views: 3545

Re: Something new

While you (and many others) have a good use-case for this, it is not generally applicable to all RPi models. Redesigning the PCBs to fit this chip isn't simply a case of finding space. You also have to route power, ground and IIC signals. Why push up the price point for hardware that isn't going to ...
by SteveSpencer
Wed Jan 17, 2018 3:12 pm
Forum: General discussion
Topic: connect to wifi router(having password) without keyboard,mouse,display
Replies: 6
Views: 3426

Re: connect to wifi router(having password) without keyboard,mouse,display

I have also fixed my problem with mounting two partitions from an image, after reading viewtopic.php?t=190154
by SteveSpencer
Wed Jan 17, 2018 11:37 am
Forum: General discussion
Topic: connect to wifi router(having password) without keyboard,mouse,display
Replies: 6
Views: 3426

Re: connect to wifi router(having password) without keyboard,mouse,display

At the risk of doing a "Me too" post, that is pretty much how I get connected. Indeed, I take it a step further. When I download a new image of Raspbian (on a Pi, of course!), I then run a script which mounts the /boot partition from the image, and creates two files in the partition's mount point. T...

Go to advanced search