Go to advanced search

by hal8000
Mon Nov 19, 2018 12:00 am
Forum: General discussion
Topic: Connect Pi to Sonos?
Replies: 1
Views: 634

Re: Connect Pi to Sonos?

I do not have Sonos so cannot verify this will work. Here is a start link: https://bsteiner.info/articles/hidden-sonos-interface If your Sonos is connected to your home LAN and you have a SMART TV with a compatible browser you should be able to browse to the Sonos IP address: http://<sonos_ip>:1400/...
by hal8000
Thu May 03, 2018 9:32 pm
Forum: General discussion
Topic: Using your Pi with an SSD (Solid State Drive)
Replies: 45
Views: 39982

Re: Using your Pi with an SSD (Solid State Drive)

Can you post results of hdparm please? On my Pi Model2 with an SATA to USB adapter I get about 30Mbps osmc@osmc:~$ sudo hdparm -tT /dev/sda /dev/sda: Timing cached reads: 770 MB in 2.00 seconds = 384.63 MB/sec Timing buffered disk reads: 90 MB in 3.04 seconds = 29.62 MB/sec As far as I know the USB ...
by hal8000
Thu May 03, 2018 9:17 pm
Forum: General discussion
Topic: Kodi just hangs - reboot needed, very frustrating
Replies: 3
Views: 700

Re: Kodi just hangs - reboot needed, very frustrating

If youre on Rasbian, open the terminal start kodi with the command: kodi There will always be some terminal output when kodi starts. If kodi does not run maximised then yyou can control this from kodi settings, but to close kodi you can close the terminal window or use control+c You may get some err...
by hal8000
Wed Jul 19, 2017 5:18 pm
Forum: Python
Topic: Python3 multiprocessing
Replies: 1
Views: 547

Python3 multiprocessing

I'm reading the official documentation: https://docs.python.org/3.4/library/multiprocessing.html and in the example: from multiprocessing import Pool def f(x): return x*x if __name__ == '__main__': with Pool(5) as p: print(p.map(f, [1, 2, 3])) Can someone explain what the line with Pool(5) as p: mea...
by hal8000
Tue Dec 13, 2016 11:13 pm
Forum: Troubleshooting
Topic: HDMI Green Screen / Background
Replies: 5
Views: 1376

Re: CEC OK but no video

Try another HDMI lead or try plugging the HDMI lead into a different HDMI lead
on your TV. If the lead is not fully inserted you will lose sound or video or both,
so check both ends of your HDMI cable.
by hal8000
Sat Nov 19, 2016 3:05 pm
Forum: Advanced users
Topic: Audio output volume hack possible ?
Replies: 2
Views: 670

Re: Audio output volume hack possible ?

If you read the datasheet again http://www.ti.com/lit/ds/symlink/tas5630b.pdf You will see that 5V p-p is the absolute maximum input voltage swing, that will give maximum power output of 300W strereo or 400W mono. It will work from your Raspberry Pi 3.5mm output connector but will not be full audio ...
by hal8000
Tue Oct 25, 2016 9:08 am
Forum: Advanced users
Topic: kernel module and kernel headers
Replies: 2
Views: 633

Re: kernel module and kernel headers

If you're using switches and LED's then you're going to connect to the GPIO pins. To control input and output you can do this with Python. There are many pages on using the PI's GPIO and Python but try the link below: https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/robot/buttons_and_switches/
by hal8000
Mon Oct 10, 2016 7:18 am
Forum: General discussion
Topic: Rotary Encoder
Replies: 7
Views: 1779

Re: Rotary Encoder

What peripherals are you connecting and how are you connecting the other rotary encoders? The Pi only has limited output capabilities so to switch a heavier current device you would either need a relay driver or MOSFET driver on one of the GPIO pins. You would also have to write the same code again ...
by hal8000
Wed Oct 05, 2016 7:27 pm
Forum: Troubleshooting
Topic: Why do I have the same device number on two sound cards?
Replies: 1
Views: 386

Re: Why do I have the same device number on two sound cards?

Look again at the output. It has the same device number but a different card number. So in terms of hardware enumeration it is different. So if you have a file called test,wav in your home folder you can direct it to your IQ sound card with: aplay -D plughw:1,0 test.wav If you wanted to direct it to...
by hal8000
Fri Sep 30, 2016 10:34 pm
Forum: Troubleshooting
Topic: WebIOPI can't Click/Tap the OUT/IN buttons to change GPIO
Replies: 4
Views: 2538

Re: WebIOPI can't Click/Tap the OUT/IN buttons to change GPI

What you're showing is the GPIO pins for a Pi Model B. If you are using a Pi 2 Model B then you have not successfully applied the patch as the GPIO header should show 40 Pins, as below: You can ONLY change the pins if they have not been assigned a function in the associated script,py file. You're al...
by hal8000
Fri Sep 30, 2016 10:11 pm
Forum: General discussion
Topic: Supplies of RPi2B ?
Replies: 11
Views: 1523

Re: Supplies of RPi2B ?

CPC Farnell have a few RPi2B in stock, but sold as a kit with camera, case and PSU:

http://cpc.farnell.com/webapp/wcs/store ... reId=10180
by hal8000
Fri Sep 23, 2016 8:20 pm
Forum: Troubleshooting
Topic: Arduino Programming over Serial
Replies: 1
Views: 459

Re: Arduino Programming over Serial

I'm not sure this is exactly what you want to do because I can only find avrdude at the link below: http://www.ladyada.net/learn/avr/avrdude.html Is that the Avrdude program you want to use? It looks like its intended for windows use and although there is a menu for unix, minicom and cutecom are ter...
by hal8000
Thu Sep 22, 2016 9:00 pm
Forum: General discussion
Topic: Tx wifi power dBm
Replies: 2
Views: 1737

Re: Tx wifi power dBm

Access your Pi via keyboard or SSH and type

iwconfig

Transmit power in dBm will be displayed, and other parameters.
What you have to remember is that wifi dongles with no external antenna or embedded
into a motherboard are very small and therefore not that efficient.
by hal8000
Thu Sep 22, 2016 12:42 pm
Forum: General discussion
Topic: Raspberry Pi 3 Showing On Windows
Replies: 2
Views: 573

Re: Raspberry Pi 3 Showing On Windows

Its probably not something you should try as early computers can only supply 0.5 amp from the USB ports. Later motherboards (like my GA P55A-UD3 ) can supply 3x or up to 1.5 Amps of current on the USB ports. The USB port has 4 pins, power and data. The USB power lines are connected to the 5v supply ...
by hal8000
Thu Sep 22, 2016 9:39 am
Forum: General discussion
Topic: Unable to Install using apt-get
Replies: 39
Views: 118624

Re: Unable to Install using apt-get

OK so its happening again!!!!! Apt-get update using mirrordirector fails....manually set the mirror it works.....was al working last night. Looks like problems with the mirrordirector or finding it I cant remember where I found this but looks like a fresh install results in a corrupt mirrors. Try e...
by hal8000
Tue Sep 20, 2016 8:49 pm
Forum: Advanced users
Topic: vcgencmd output
Replies: 2
Views: 971

Re: vcgencmd output

As far as I know, its undocumented. Someone should write a man page.
There's more examples of vcgencmd below:

http://www.elinux.org/RPI_vcgencmd_usage
by hal8000
Tue Sep 20, 2016 7:59 pm
Forum: General discussion
Topic: RPi USB audio woes...
Replies: 11
Views: 3112

Re: RPi USB audio woes...

If your power supply looks like the one below: https://thepihut.com/products/micro-usb-power-supply-for-the-raspberry-pi Then you have no access to the ground terminal and this solution is not going to work for you. I have another RPi and sound card and looking into alternate sheilding methods which...
by hal8000
Sun Sep 18, 2016 8:17 pm
Forum: General discussion
Topic: RPi USB audio woes...
Replies: 11
Views: 3112

Re: RPi USB audio woes...

On my ATX power supply there is a 12V output (yellow black) and a 5V output (red and black). Both black wires are OVolt (ground) no difference between them. The wires you can see yellow and green provide 12Volt to a small audio amplifier. The other green wire (top picture) goes from the USB outer sh...
by hal8000
Sat Sep 17, 2016 1:25 pm
Forum: Troubleshooting
Topic: Ubuntu Server no network after apt-get upgrade
Replies: 2
Views: 657

Re: Ubuntu Server no network after apt-get upgrade

So you need to state how you are connecting, is it ethernet or wifi?
Also post the output of:

ifconfig

iwconfig

route

cat /etc/resolv.conf
by hal8000
Fri Sep 16, 2016 10:45 pm
Forum: Troubleshooting
Topic: Serial Port not working after disabling login shell
Replies: 9
Views: 2371

Re: Serial Port not working after disabling login shell

Check the group of ttyAMA0

Code: Select all

ls -l /dev/tty*
Make sure it has rw permissions and has group dialout

crw-rw---- 1 root dialout 204, 64 Sep 16 23:40 /dev/ttyAMA0

Now check you have access to group dialout

Code: Select all

groups
Do you have dialout group in the output of groups command?
by hal8000
Fri Sep 16, 2016 8:59 pm
Forum: Troubleshooting
Topic: Jessie lite apt-get issues
Replies: 17
Views: 4696

Re: Jessie lite apt-get issues

Had the same problem on a fresh install of Jessie Lite on a Pi Model B (first version). This is how I solved it. Comment out /etc/apt/sources.list with your favourite editor so it looks like: #deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi You can use nano which is...
by hal8000
Wed Sep 14, 2016 2:23 pm
Forum: General discussion
Topic: Loud hum on headless boot
Replies: 4
Views: 855

Re: Loud hum on headless boot

The Pi 3.5mm output jack can not drive speakers directly, it is designed to be fed into a preamp. The hum may be caused by an impedance mismatch, poor earth or bad screening. You can buy "amplified speakers" which have a built-in pre-amplifier, but you still need good quality screened audio lead bet...
by hal8000
Mon Sep 12, 2016 5:00 pm
Forum: Troubleshooting
Topic: mpc timeout error driving me crazy
Replies: 11
Views: 5903

Re: mpc timeout error driving me crazy

Glad its working for you now. What do you get if you open
the link in a browser? I get 403 forbidden, and just realised
that station is blocking my location. It plays fine when I use a proxy.

What tutorial did you follow to use your rotary encoder?
by hal8000
Sun Sep 11, 2016 8:59 pm
Forum: Troubleshooting
Topic: mpc timeout error driving me crazy
Replies: 11
Views: 5903

Re: mpc timeout error driving me crazy

The station that plays for a second then times out does not play at all on my system, I get a failed to decode error (Rasbian Jessie Lite Mpd 0.19.1 ) Check the URL it may have a typo. Your other station works ok and plays, I temporarily added your URL's to end of my playlist: pi@anya:~ > mpc playli...
by hal8000
Sun Sep 11, 2016 7:47 pm
Forum: General discussion
Topic: Small media server with file server
Replies: 2
Views: 821

Re: Small media server with file server

Yes, lots of ways to do this. Install kodi, minidlna , mediatomb, and you can still access your hard drive via ssh, scp , sshfs , and more. if its a Pi Model 2 or Model 3 there is plenty of resource available, even when installing OSMC. OSMC runs kodi and built on Debian Jessie packages. In kodi you...

Go to advanced search