Go to advanced search

by DaveDriesen
Wed Jun 26, 2013 5:45 pm
Forum: Gaming
Topic: Dune Legacy
Replies: 27
Views: 9632

Re: Dune Legacy

Pleasure! Some additional notes.. Put your game data files in ~/.config/dunelegacy/data or the application will quietly exit. (Discovered this using the --showlog option) For best results on the pi, run the game directly from text console. It will switch to fullscreen SDL graphics mode. BUT! I had t...
by DaveDriesen
Wed Jun 26, 2013 2:32 pm
Forum: General discussion
Topic: Powered hub and micro USB both powering the pi is it safe?
Replies: 11
Views: 2015

Re: Powered hub and micro USB both powering the pi is it saf

The hub should not backpower the pi (it is not safe as this bypasses the pi's polyfuse which can cause serious damage).

Search the forums for similar topics and extensive explanations by the authoritative guru's.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Wed Jun 26, 2013 1:13 pm
Forum: Gaming
Topic: Dune Legacy
Replies: 27
Views: 9632

Re: Dune Legacy

Seems to work fine.. Please find the built debian package here , cross compiled in raspbian environment. dunelegacy requires libsdl and libsdl-mixer1.2 -- let me know if you find additional dependencies. Here's a shot of dunelegacy running on the pi: dunelegacy.gif I ran my tests in a vnc session to...
by DaveDriesen
Wed Jun 26, 2013 11:43 am
Forum: Gaming
Topic: Dune Legacy
Replies: 27
Views: 9632

Re: Dune Legacy

I've got a successful (manual) cross compile for raspbian at the moment.

Also building on an actual rev2 pi but this build has not completed yet.

Working on building a .deb package in the crosscompile environment in the meantime.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Tue Jun 25, 2013 9:03 am
Forum: Networking and servers
Topic: Can I connect to BOTH a local WLAN and mobile internet?
Replies: 2
Views: 709

Re: Can I connect to BOTH a local WLAN and mobile internet?

Yes -- you can. For example, your 3G connection would typically use ppp0 , while your wireless lan will use wlan0 . There's even devices that provide both functionalities (say, a wifi dongle that takes a SIM card). You can also prioritize your interfaces so that one will fall back to the other. Dave...
by DaveDriesen
Fri Jun 21, 2013 12:39 pm
Forum: C/C++
Topic: New Processes and Threads
Replies: 3
Views: 1091

Re: New Processes and Threads

I think your understanding of threads and processes is solid. Basically you first create a duplicate of yourself, and then replace that duplicate with a new process (whatever that may be). This means that in the split seconds after the fork, you need to check whether you are the parent or the child ...
by DaveDriesen
Thu Jun 20, 2013 9:35 pm
Forum: Bare metal, Assembly language
Topic: Mouse Input?
Replies: 14
Views: 5415

Re: Mouse Input?

In xorg?

Use an event loop and intercept the following events:
  • ● ButtonPress
    ● ButtonRelease
    ● MotionNotify
I'm not sure about console mouse (non-xorg) off the top of my head.
You can probably catch them through libevent.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Wed Jun 19, 2013 5:31 pm
Forum: Beginners
Topic: how can we change udev rules ??
Replies: 2
Views: 648

Re: how can we change udev rules ??

I think the information provided may be too limited or confusing for most to provide accurate insights. Try to find out if anything is using /dev/rfcomm0 using lsof , then see if you can stop that process. I must say that bluetooth can be quite a pain to code for though, with ports staying in use af...
by DaveDriesen
Wed Jun 19, 2013 12:40 pm
Forum: Gaming
Topic: Old Style Text Adventure
Replies: 10
Views: 1661

Re: Old Style Text Adventure

Very nice, I like your style!!

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Wed Jun 19, 2013 12:35 pm
Forum: Nederlands
Topic: Kan overclocken schade aanbrengen?
Replies: 4
Views: 1435

Re: Kan overclocken schade aanbrengen?

Ja, dat kan zeker, maar zolang je het doet via raspi-config ben je redelijk safe en blijft je waarborg intact.

Zie deze post.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Wed Jun 19, 2013 12:19 pm
Forum: Networking and servers
Topic: 3G based WIFI hotspot with password to access web.
Replies: 2
Views: 2231

Re: 3G based WIFI hotspot with password to access web.

For basic stuff like http and https, you can set up squid with authentication and then route all traffic to your squid instance. You won't even need a front end web page, as your users will automatically receive an authentication prompt. Of course, you can still implement one. Dave Driesen Linux dev...
by DaveDriesen
Wed Jun 19, 2013 12:03 pm
Forum: Troubleshooting
Topic: NOOBS: Raspian install stuck at Resizing File System
Replies: 37
Views: 25726

Re: NOOBS: Raspian install stuck at Resizing File System

Tbh I always do the resize on some separate linux box using gparted. Sometimes the resize just takes long on the pi itself; can be for a number of reasons, slow SD card or whatever, and trying to find the cause is just not time efficient (YMMV). There's a bunch of gparted live CDs out there if you d...
by DaveDriesen
Mon Jun 17, 2013 2:30 pm
Forum: Off topic discussion
Topic: Software Market- Paying peanuts for programs
Replies: 11
Views: 2700

Re: Software Market- Paying peanuts for programs

Wrt the superstars who wrote games on tapes back in the old days.. Not many people got rich off of it, many of our idols of old are now forgotten. And even back then, the industry was not to be underestimated. This is not getting better. In fact, I would say it is getting less and less worth doing. ...
by DaveDriesen
Mon Jun 17, 2013 2:09 pm
Forum: Automation, sensing and robotics
Topic: LIrc to Relay
Replies: 4
Views: 1162

Re: LIrc to Relay

Hi -- I don't think you would need to code a TSR for this.. ?

irexec is part of the lirc suite of tools and allows you to do exactly this.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Mon Jun 17, 2013 11:00 am
Forum: Networking and servers
Topic: Have the Pi phone home when plugged in. And hide it!
Replies: 4
Views: 2033

Re: Have the Pi phone home when plugged in. And hide it!

No offense to the author, but better options have already been discussed on the forum.. ssh + cronjob is probably the clumsiest way of setting up remote access. Using autossh would be better already. A vpn client such as OpenVPN works best; no tunnel needed. Just search the forums, many hits will po...
by DaveDriesen
Fri Jun 14, 2013 7:43 am
Forum: General discussion
Topic: First project: Retro Pie
Replies: 4
Views: 1429

Re: First project: Retro Pie

Nono don't use a button or switch to cut the power to your pi! Use it only as a last resort. Always try to shut it down gracefully. Are you wiring this into a cabinet? If so, I'd just wire a switch into the keyboard so that the switch "presses" Escape. Qjoypad can emulate keypresses. Also, I think y...
by DaveDriesen
Thu Jun 13, 2013 1:41 pm
Forum: Beginners
Topic: emulate raspberry pi ?
Replies: 1
Views: 543

Re: emulate raspberry pi ?

The qemu-img tool is bundled with QEMU for Windows, where it is called qemu-img.exe.. Can you give that a try?

Note.. After resizing the image, you would still need to resize root partition in the VM.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Thu Jun 13, 2013 1:00 pm
Forum: General discussion
Topic: Executable not launching when double clicked
Replies: 2
Views: 477

Re: Executable not launching when double clicked

Yes, you will need to create an application window if you need a GUI. The easiest way is to use a GUI builder such as QT or Glade. Your windowed application would then use a message loop to detect when the user wishes to exit, instead of terminating immediately the way it's doing now.. Come to think...
by DaveDriesen
Thu Jun 13, 2013 9:01 am
Forum: Networking and servers
Topic: Turn your Raspberry Pi into a OpenVPN VPN-Server
Replies: 6
Views: 55473

Re: Turn your Raspberry Pi into a OpenVPN VPN-Server

Ummm you can also just use putty :)
but OpenVPN is indeed the more totally pro option by far.

Thanks for the guide, it's a really complete guide on a somewhat complicated topic.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Wed Jun 12, 2013 9:48 pm
Forum: Raspberry Pi OS
Topic: apt-get failing to upgrade pulseaudio [solved]
Replies: 7
Views: 3403

Re: apt-get failing to upgrade pulseaudio, init script stop

Came across this also.. Lazy mode fix that worked for me: cd /var/cache/apt/archives dpkg --install --force-all pulseaudio_2.0-6.1_armhf.deb This resolved the issue and made the installation consistent once again. It's probably not a good idea to force installation this way but I didn't feel like lo...
by DaveDriesen
Wed Jun 12, 2013 9:43 am
Forum: Gaming
Topic: playing modern games on a cluster of RPis
Replies: 21
Views: 30381

Re: playing modern games on a cluster of RPis

Football manager and pi leetness have incompatible target audiences.

Besides, who needs football manager when you can play Discworld MUD!

Code: Select all

apt-get install telnet
telnet discworld.starturtle.net 4242
There you go, say hi for me. Be wary of the addiction.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Tue Jun 11, 2013 1:51 pm
Forum: Beginners
Topic: XBMC minimized?
Replies: 2
Views: 1061

Re: XBMC minimized?

You can toggle fullscreen in XBMC using alt-\ (alt-backslash).

I'm not sure if your intention is to automate the full-screen switching but if you do then my only guess would be using a cool little tool called devilspie.

Dave Driesen
Linux dev and oldskool elite
by DaveDriesen
Tue Jun 11, 2013 8:07 am
Forum: General discussion
Topic: Concise Wi-Fi guide
Replies: 14
Views: 4271

Re: Concise Wi-Fi guide

Colors are still making my eyes bleed :) Please add a Table of Content with some on-page links to the sections involved.. Your page has a lot of useful information and this will allow visitors to skip to the section they need. You can also just post the information here. Dave Driesen Linux dev and o...
by DaveDriesen
Tue Jun 11, 2013 8:01 am
Forum: Gaming
Topic: developing pi games
Replies: 27
Views: 9093

Re: developing pi games

Doing a lot of 3D engine porting to the pi alongside Nintendo DS.

It's fun but not very rewarding for the time being, due to the many limitations involved. A good example of how spoiled we are on PC/PS3.

Dave Driesen
Linux dev and oldskool elite.
by DaveDriesen
Tue Jun 11, 2013 7:43 am
Forum: General programming discussion
Topic: Search all Raspberry Pis in my local network!!
Replies: 16
Views: 19232

Re: Search all Raspberry Pis in my local network!!

FWIW, the arp command can also be of some use if your pi's are active.. The following crude oneliner extracts hostname, IP and hardware address: arp -a | sed 's/[()]//g' | sed 's/at //g' | awk '{print $1, $2, $3;}' This method does not perform any scan, it will only report devices that have made it ...

Go to advanced search