Go to advanced search

by topguy
Sat May 09, 2015 3:29 pm
Forum: C/C++
Topic: Send file from Raspberry to Windows in C++
Replies: 3
Views: 1706

Re: Send file from Raspberry to Windows in C++

The most common way of sending information between programs on two different computers is to use TCP/IP sockets. You can find alot of examples for socket server/client in C++ on the internet, both for windows and linux. Another method is to create a way for the raspberry pi to access the filesystem ...
by topguy
Sat May 09, 2015 3:15 pm
Forum: Windows 10 for IoT
Topic: 3g modem
Replies: 4
Views: 1666

Re: 3g modem

Its probably a whole bunch, 3G modems aren't really difficult to support. Most of them just behaves like serial ports and are used almost the same as the modems you used for dial-up back in the day. Could you please elaborate on how should it be supported? I expect to use System.Net.HttpRequest, th...
by topguy
Fri May 08, 2015 10:51 pm
Forum: Troubleshooting
Topic: GPS get wrong time and no satellites
Replies: 18
Views: 4973

Re: GPS get wrong time and no satellites

Before you start gpsd you should check if the GPS is actually sending data: stty -F /dev/ttyUSB0 4800 cat /dev/ttyUSB0 The first line sets the speed of the serialport to 4800 bps. And the second just prints everything that is incomoung on the port. (break with ctrl-c) Try also with speed of 9600, to...
by topguy
Fri May 08, 2015 10:41 pm
Forum: Windows 10 for IoT
Topic: 3g modem
Replies: 4
Views: 1666

Re: 3g modem

Its probably a whole bunch, 3G modems aren't really difficult to support.

Most of them just behaves like serial ports and are used almost the same as the modems you used for dial-up back in the day.
by topguy
Fri May 08, 2015 12:11 pm
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

nothing it compiles I use pi@raspberrypi ~/Desktop $ g++ -c -Wall -I/usr/lib -o camera camera.c -lueye And there is no output (warnings etc.) when doing this ? In the interest of trying to extract as much information as possible can we get the output of: which gcc which g++ ldd ./camera file ./came...
by topguy
Fri May 08, 2015 11:18 am
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

Can we get the output of "pwd" and "df" also when you are in the same directory as your sourcecode ? Why are you logged in as root ? Use "sudo mount" if needed instead. When you said: "No from a micro SD in a SD adapter is a model B", you actually meant that its the SAME uSD card that NOOBS is insta...
by topguy
Fri May 08, 2015 10:52 am
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

If you had posted the result of "mount" we would have known.
by topguy
Fri May 08, 2015 10:35 am
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

Well I don't know where your SD card is mounted now do I :-)
Very often usb-sticks and such get automatically mounted under /media so it was just a guess. Replace with wherever you mounted the filesystem. But if its manually mounted you should add "-o exec" to the mount command you use.
by topguy
Fri May 08, 2015 10:27 am
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

Does "ls -l" still give you "rw-" instead of "rwx" ?

I haven't tested this specifically with noexec but you can change options on a mount on the fly with.

Code: Select all

mount /media/yourpath -o remount,exec
by topguy
Fri May 08, 2015 10:14 am
Forum: Advanced users
Topic: Problem when compiling with IDS uEye Camera
Replies: 33
Views: 3867

Re: Problem when compiling with IDS uEye Camera

Just typing "mount" should give the status of all the mounted filesystems, with options.

You could try to change it with "chmod u+x ./hello" and then see if it works afterwards.
by topguy
Wed May 06, 2015 12:25 pm
Forum: Beginners
Topic: SPI Libraries
Replies: 3
Views: 440

Re: SPI Libraries

Find the directory where spidev.so file is installed and do a "ls -l spidev*".

Google tells me that this error can be caused by faulty symbolic links.
by topguy
Wed May 06, 2015 11:46 am
Forum: Beginners
Topic: SPI Libraries
Replies: 3
Views: 440

Re: SPI Libraries

Give exact links to what you have downloaded, github is a big place.
by topguy
Wed May 06, 2015 10:15 am
Forum: Troubleshooting
Topic: kodi media player
Replies: 1
Views: 331

Re: kodi media player

What kind of touch screen ? What is its interface to RPi.

Kodi wants to use the GPU to provide accelerated video and menues, that can (most likely) only happen on the normal outputs like HDMI and Composite.
by topguy
Wed May 06, 2015 9:08 am
Forum: Raspberry Pi OS
Topic: Qt5
Replies: 24
Views: 8639

Re: Qt5

Can u show screenshot. Can u little explain. Is it without x11 ? No x11 but we can use mouse cursor and see web pages with qt ??? This is the "official" thread on the forum regarding this. https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=43087 I have posted some links to builds I have made i...
by topguy
Tue May 05, 2015 10:50 pm
Forum: Beginners
Topic: the best program
Replies: 3
Views: 608

Re: the best program

You can do everything with QtCreator, edit, build, run and debug. The gui-editor is just a small part.
by topguy
Tue May 05, 2015 10:12 am
Forum: Raspberry Pi OS
Topic: Qt5
Replies: 24
Views: 8639

Re: Qt5

These guys had Qt5 and webkit working a long time ago, although not in raspbian so it must be possible: https://github.com/albertd/buildroot-rpi Sadly there seems to be no updates on that for nearly two years. That effort just moved here https://github.com/Metrological/buildroot where it's very muc...
by topguy
Tue May 05, 2015 8:58 am
Forum: Beginners
Topic: Help installing a remote control I bought (pic included)?
Replies: 4
Views: 905

Re: Help installing a remote control I bought (pic included)

Just google "hx1838 raspberry pi" and look at the top two links. The pdf from AdaFruit seems promising.
by topguy
Tue May 05, 2015 8:47 am
Forum: General discussion
Topic: raspberry pi vr
Replies: 9
Views: 1172

Re: raspberry pi vr

Limelite works under Linux also so I don't see the need for android. I think you'll need the flexibility of Linux anyway to get the rest of the hardware integrated.
by topguy
Mon May 04, 2015 11:19 am
Forum: Beginners
Topic: NFC reader
Replies: 2
Views: 583

Re: NFC reader

Neither of you give any indication of what the problem is so its really hard for anyone else to give you some hints.
by topguy
Mon May 04, 2015 11:16 am
Forum: Python
Topic: Read NFC UID with pynfc
Replies: 1
Views: 1622

Re: Read NFC UID with pynfc

I dont really know Python that much so I cant really help much with the code, but the interesting parts (in relation to UID) of that source you linked is _poll_loop() and _select_card(). Comment out (or delete) the stuff you dont need ( read,write,authenticate ), add some debug print-outs and run an...
by topguy
Thu Apr 30, 2015 1:09 pm
Forum: Windows 10 for IoT
Topic: Video of windows ten on raspberry pi
Replies: 35
Views: 7992

Re: Video of windows ten on raspberry pi

Am I right in thinking that once you have developed a Widows Forms application in Visual Studio, you can install it onto the Win 10 Pi and it will run just as if it were on a 'regular' Windows PC? Since the "things" in "Internet of Things" usually don't have a monitor or screen (or keyboard or mous...
by topguy
Thu Apr 30, 2015 1:04 pm
Forum: Media centres
Topic: Kodi on a raspberry Pi
Replies: 5
Views: 3591

Re: Kodi on a raspberry Pi

> I have just installed Kodi onto my pi, as I am wanting to use this as a media centre So how did you do this ? The most common image to use is OpenElec, but there are alternatives like Raspbmc/OSMC. I have never heard about pimbc that you mention. > Is it possible to install apps into Kodi like Gen...
by topguy
Mon Apr 27, 2015 12:07 pm
Forum: General programming discussion
Topic: Broadcast UDP Message from Raspberry Pi to other subnet
Replies: 6
Views: 2634

Re: Broadcast UDP Message from Raspberry Pi to other subnet

I'm not sure if 255.255.255.255 is an allowed broadcast address.

I mean if you have a subnet of 192.168.1.X and subnetmask 255.255.255.0, then the broadcast address for that network is 192.168.1.255. It could be that Linux does not allow you to use 255.255.255.255.
by topguy
Sun Apr 26, 2015 10:40 pm
Forum: General discussion
Topic: Playing PC games at there highest Settings on the Pi 2B
Replies: 12
Views: 1427

Re: Playing PC games at there highest Settings on the Pi 2B

rpiswag wrote:If you click on the link I posted for liquid sky you get 5 free beta points!
And how many do you get ?

Go to advanced search