Go to advanced search

by topguy
Mon Oct 22, 2018 1:41 pm
Forum: General discussion
Topic: How to send data from one Xbee to another Xbee using raspberry pi?
Replies: 1
Views: 35

Re: How to send data from one Xbee to another Xbee using raspberry pi?

I think you might get more answers if you include a link to the datasheet for the ZigBee modules you are using.
by topguy
Mon Oct 22, 2018 10:13 am
Forum: Media centres
Topic: Video player - Play on Boot
Replies: 3
Views: 138

Re: Video player - Play on Boot

I dont know what "Alpine" is, you are not running Raspbian ?
by topguy
Sun Oct 21, 2018 6:30 pm
Forum: Beginners
Topic: driverless UVC camera ?
Replies: 3
Views: 71

Re: driverless UVC camera ?

anyone knowing what a pi is know a quick grab and pull would net them an expensive sdcard along with a pi and a wifi password. You have high thoughts about your moms guests ;-) - Yes the Pi has UVC drivers. And should work with any software using V4L2 (Video for Linux v2). - YMMV ( Your Milage May ...
by topguy
Sun Oct 21, 2018 4:39 pm
Forum: Beginners
Topic: how to install multiple process in pi
Replies: 2
Views: 70

Re: how to install multiple process in pi

You can install as many services you want as long as they dont require to listen to the same network port. And even in that case you can most likely reconfigure one of them to use a different port.

If there are guides for installation on Raspbian, you can probably just do them one by one.
by topguy
Sun Oct 21, 2018 2:43 am
Forum: Beginners
Topic: Amazon Kinesis Video stream
Replies: 5
Views: 181

Re: Amazon Kinesis Video stream

Doesnt really matter how you create it.. best (easiest) way is to just copy the file from somewhere.
by topguy
Sat Oct 20, 2018 8:50 pm
Forum: Media centres
Topic: Video player - Play on Boot
Replies: 3
Views: 138

Re: Video player - Play on Boot

Welcome to the world of shell/bash scripting.

How to repeatedly pick a file at random from a directory and do something with it.

Code: Select all

#!/bin/bash

while true
do
  filename=$(ls Videos | shuf -n 1)
  ls -l Videos/$filename
  sleep 2
done

by topguy
Sat Oct 20, 2018 8:39 pm
Forum: Beginners
Topic: Amazon Kinesis Video stream
Replies: 5
Views: 181

Re: Amazon Kinesis Video stream

/etc is system files.. use "sudo nano cert.pem"
by topguy
Fri Oct 19, 2018 10:58 pm
Forum: General discussion
Topic: NexImage USB3 camera
Replies: 1
Views: 69

Re: NexImage USB3 camera

Well if the camera needs USB3 to work and Raspberry Pis only have USB2.0 then that is my thought. My standard procedure for testing USB device compability is: * Boot Pi with no USB devices connected. ( keyboard/mouse of course if needed ) * Open a terminal/console window. * Then insert the device. *...
by topguy
Fri Oct 19, 2018 9:13 am
Forum: Troubleshooting
Topic: Never Saw This Before, Might been hacked
Replies: 2
Views: 138

Re: Never Saw This Before, Might been hacked

That looks seriously suspicious. So disconnect this unit from your network at once. Has this unit had any incoming ports forwarded from your router ? Do retropie have some auto-upgrade features ? Have you installed some suspicious ROM packages ? The contents of your /etc/rc.local could be interestin...
by topguy
Thu Oct 18, 2018 1:56 pm
Forum: Beginners
Topic: I just messed up my fstab!
Replies: 2
Views: 66

Re: I just messed up my fstab!

Having a usb-SD card reader or a PC/lap-top with inbuilt reader gives you some options at least. And if you burned the SD card yourself it seems like you have such a thing. So if the PC in question is a windows machine, it might be the easiest to maybe boot a Live Linux and then use that to fix the ...
by topguy
Thu Oct 18, 2018 9:31 am
Forum: Français
Topic: ssh not working in Raspbian Desktop (june 2018)
Replies: 16
Views: 314

Re: ssh not working in Raspbian Desktop (june 2018)

The desktop is not called Pixel anymore but this program referenced below should still be there.
https://www.raspberrypi.org/magpi/raspb ... tion-tool/
by topguy
Wed Oct 17, 2018 1:45 pm
Forum: C/C++
Topic: [C + Assembly] Error compile
Replies: 8
Views: 223

Re: [C + Assembly] Error compile

This stackexchagne thread : https://stackoverflow.com/questions/975 ... bject-file
indicated it has something to with soft-float vs hard-float at least.
by topguy
Wed Oct 17, 2018 1:17 pm
Forum: Beginners
Topic: Kiosk Mode Website Interaction
Replies: 1
Views: 49

Re: Kiosk Mode Website Interaction

You must have a script that starts the browser in kiosk mode ? That script should be able to spawn of another script just before it starts the browser. The second script should start by waiting a few seconds to let the browser load and load the web-page and then it should be able to do the "remote c...
by topguy
Wed Oct 17, 2018 1:09 pm
Forum: Beginners
Topic: Blink LED for streaming video data from PC and reverse
Replies: 1
Views: 40

Re: Blink LED for streaming video data from PC and reverse

Sound very similar to what was discussed in this thread: https://www.raspberrypi.org/forums/view ... 2&t=221190

Don't reopen that thread plz.. put more detailed questions here.
by topguy
Tue Oct 16, 2018 11:49 am
Forum: General discussion
Topic: New to this kind of thing and trying to make a VR headset with the Pi
Replies: 1
Views: 80

Re: New to this kind of thing and trying to make a VR headset with the Pi

360 video can only work if you have (at least) 1 axis of tracking ( horisontal rotation ) so that when you move your head to the left a different part of the 360 video will be shown. You would have to write a special player with tracking input to be able to do that so I have a feeling that is outsid...
by topguy
Mon Oct 15, 2018 11:04 am
Forum: Beginners
Topic: Amazon Kinesis Video stream
Replies: 5
Views: 181

Re: Amazon Kinesis Video stream

Just create "/etc/ssl" its where you install server certificates etc.
You might do an "sudo apt install ca-certificates" to see if that creates the directory, but probably not required.
by topguy
Sun Oct 14, 2018 8:53 pm
Forum: General discussion
Topic: HDMI not updating
Replies: 5
Views: 197

Re: HDMI not updating

Which VNC server are you using, and what software plays the slideshow.
by topguy
Sun Oct 14, 2018 12:38 am
Forum: Beginners
Topic: 'Build a Python Web server with flask' - BLOCKER. Cant get flask.
Replies: 5
Views: 195

Re: 'Build a Python Web server with flask' - BLOCKER. Cant get flask.

Which version of Raspbian are you running ? The name of the package should (afaik) be "python-flask" or "python3-flask" in Raspbian Stretch. You can probably check with the command "apt-cache search flask" Of course since this is Python I guess "pip install flask" or "pip3 install flask" also could ...
by topguy
Sat Oct 13, 2018 11:26 pm
Forum: Troubleshooting
Topic: Help with audio google assistant
Replies: 1
Views: 74

Re: Help with audio google assistant

Can you play sound with other programs like "aplay" and "mpg123" ?
What is the output from "aplay -L" ?
What is the content of your ".asoundrc" file ?
by topguy
Sat Oct 13, 2018 3:44 pm
Forum: Troubleshooting
Topic: [Raspbian 9 (stretch)] Is opencv installed by default ? If so how do you use it!
Replies: 5
Views: 136

Re: [Raspbian 9 (stretch)] Is opencv installed by default ? If so how do you use it!

Never thought about it being built, but not installed. I'ts not really about that.. Most libraries have a standard package that includes the compiled library ( .so files ). All other software already compiled will just load this library file dynamically if they need it. The "-dev" or developer pack...
by topguy
Fri Oct 12, 2018 4:54 pm
Forum: Python
Topic: How pass data to Python programm
Replies: 3
Views: 128

Re: How pass data to Python programm

For support for options etc : https://docs.python.org/3/library/argparse.html

For just receving a couple of numbers : https://docs.python.org/3/library/sys.html#sys.argv
by topguy
Fri Oct 12, 2018 11:25 am
Forum: Troubleshooting
Topic: [Raspbian 9 (stretch)] Is opencv installed by default ? If so how do you use it!
Replies: 5
Views: 136

Re: [Raspbian 9 (stretch)] Is opencv installed by default ? If so how do you use it!

At minimum you need to do a "sudo apt install libopencv-dev". Check your pkg-config after that.

But you can get a newer OpenCV if you build it yourself, and there should be a bunch of guides on the net for that.
by topguy
Fri Oct 12, 2018 11:09 am
Forum: Beginners
Topic: Assistance with command line piece of code please ...
Replies: 7
Views: 148

Re: Assistance with command line piece of code please ...

I had to search what kind of software this is and saw some forumposts that referred to a "cumulusmx.sh" script that starts the application. Do you have such a script ?

Go to advanced search