Go to advanced search

by pwinwood
Thu Feb 07, 2013 8:00 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3313

Re: Agar - opensource GUI libs - (trying to build)

I don't know much about mysql but I AFAIK this should be fixed by adding `mysql_config --cflags --libs` is on the gcc command line when compiling and linking.
by pwinwood
Wed Feb 06, 2013 7:51 pm
Forum: General programming discussion
Topic: Agar - opensource GUI libs - (trying to build)
Replies: 15
Views: 3313

Re: Agar - opensource GUI libs - (trying to build)

If I get Agar from their subversion repository svn checkout http://dev.hypertriton.com/agar/trunk agar-trunk then (from memory) cd agar-trunk ./configure make depend all sudo make install sudo ldconfig (/usr/local/lib needs be on the ld path) cd tests ./configure make depend all ./agar-test -d sdlfb...
by pwinwood
Mon Jan 28, 2013 1:45 pm
Forum: General discussion
Topic: Signalex USB hub possibly containing malware?!
Replies: 29
Views: 6509

Re: Signalex USB hub possibly containing malware?!

If you check with lsusb with the hub connected does it list a HID device as well as the hub?? Yes it reports a keyboard HID device as well as a hub. Works well enough as a full speed (but not high speed) USB 2.0 device. I have made mine powered - there are tracks to the edge for a power supply and ...
by pwinwood
Thu Dec 20, 2012 10:15 pm
Forum: Java
Topic: a quick performance comparison of java on raspbian
Replies: 39
Views: 38452

Re: a quick performance comparison of java on raspbian

I know this thread is mostly about java but I thought I would test out LuaJIT 2.0 which supports armhf. This is the Lua code print(2) for i = 3, 10000 do local prime = true for j = 2, i-1 do local k = math.floor(i / j) local l = k * j if l == i then prime = false end end if prime then print(i) end e...
by pwinwood
Thu Oct 04, 2012 10:47 am
Forum: Networking and servers
Topic: Dropbox-like filecloud
Replies: 25
Views: 20897

Re: Dropbox-like filecloud

FWIW, I use Box.com with WebDav to do this. It syncs with all my devices including the Pi.
by pwinwood
Tue Aug 28, 2012 11:27 am
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 62154

Re: Example program to draw random shapes using the C compil

I had this too. I had recently updated to the latest build (Friday Aug 24). I found that the executable bit for the .so files in /opt/vc/lib was not set. To fix this cd /opt/vc/lib sudo chmod +x *.so sudo ldconfig and all was well again. Sorry, don't agree. The shared objects in /opt/vc/lib have ne...
by pwinwood
Mon Aug 27, 2012 2:56 pm
Forum: OpenVG
Topic: Example program to draw random shapes using the C compiler
Replies: 72
Views: 62154

Re: Example program to draw random shapes using the C compil

I had this too. I had recently updated to the latest build (Friday Aug 24). I found that the executable bit for the .so files in /opt/vc/lib was not set. To fix this

cd /opt/vc/lib
sudo chmod +x *.so
sudo ldconfig

and all was well again.
by pwinwood
Wed Aug 22, 2012 10:39 am
Forum: C/C++
Topic: Debugging on a Pi
Replies: 18
Views: 22920

Re: Debugging on a Pi

There are no problems with using DDD or GDB on the Pi :D
by pwinwood
Mon Aug 20, 2012 7:33 pm
Forum: Raspbian
Topic: Hexxeh r3, mmc0: Controller never released inhibit bit(s)
Replies: 5
Views: 4475

Re: Hexxeh r3, mmc0: Controller never released inhibit bit(s

I got this error after adding this options to /boot/cmdline.txt : sdhci-bcm2708.missing_status=0 sdhci-bcm2708.sync_after_dma=0 If it is added, remove it. There are two options there: sdhci-bcm2708.missing_status=0 and sdhci-bcm2708.sync_after_dma=0 One of my sd cards runs well if I remove the seco...
by pwinwood
Mon Aug 20, 2012 6:38 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 268437

Re: USB - the Elephant in our Room

I run with '/' on a usb hard disk drive and leave /boot on the sdcard.
I encounter no problems with this and I do not have to unmount and mount anything to do an rpi-update.
by pwinwood
Mon Aug 20, 2012 5:50 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 268437

Re: USB - the Elephant in our Room

umount /boot and mount /dev/mmcblk0p1 /boot. Now in /boot there is first partition from SD card, not from pendrive.
What is the advantage of moving /boot? It is never accessed once the system is loaded. I would leave it on the sdcard and just move the one partition.
by pwinwood
Mon Aug 20, 2012 5:31 pm
Forum: Troubleshooting
Topic: USB - the Elephant in our Room
Replies: 802
Views: 268437

Re: USB - the Elephant in our Room

I never had any success using my Toshiba/Creative Labs 7 port hub which has Ethernet and Audio until I updated to the new kernel and added dwc_otg.microframe_schedule=1 sdhci-bcm2708.sync_after_dma=0 sdhci-bcm2708.missing_status=0 to cmdline.txt. Now after an initial test, everything is working fine...
by pwinwood
Fri Aug 17, 2012 7:24 am
Forum: General programming discussion
Topic: Wrting programs on the Pi, for the Pi?
Replies: 1
Views: 915

Re: Wrting programs on the Pi, for the Pi?

I'm wondering, are you able to write code and programs on the raspberry Pi, and then use them on the device, or do you have to do all the coding and programming on a normal pc, then connect the SD card and transfer it all over? Only, I'd love to be able to create all the programming on the device i...
by pwinwood
Wed Aug 15, 2012 7:24 am
Forum: OpenGLES
Topic: Optimizing OpenGL initialization
Replies: 2
Views: 1268

Re: Optimizing OpenGL initialization

If I recall correctly - I don't have the source in front of me to check - the code does some OpenGL ES initialization which is not necessary. It can all be done using OpenVG, but then again as the graphics processor is running OpenVG and OpenGL ES it probably does not harm at all.
by pwinwood
Mon Aug 13, 2012 4:40 pm
Forum: Troubleshooting
Topic: 4.6v. problem
Replies: 6
Views: 1070

Re: 4.6v. problem

The open circuit output voltage of the hub is 4.94 volts, whether it's measured at the psu, port or at the end of the 'Y' cable. I suggest that you measure the loaded output voltage of the hub. My USB hub came with a power supply that measured 5.5 volts open circuit that fell to 4.5 v with a load d...
by pwinwood
Wed Aug 08, 2012 7:33 am
Forum: Graphics programming
Topic: GTK+ Toolkit?
Replies: 23
Views: 14492

Re: GTK+ Toolkit?

I would also suggest avoiding wx. I've been using it and have just found it to be convoluted and counter-intuitive, and while it is cross-platform I've found some annoying discrepancies which appeared when porting from windows. I disagree strongly with this observation. I am the original author of ...
by pwinwood
Sat Aug 04, 2012 7:17 pm
Forum: Raspbian
Topic: A kernel image with ax25 packet radio modules
Replies: 7
Views: 4685

Re: A kernel image with ax25 packet radio modules

Thanks. I will give it a try when I am home. (g8kig).
by pwinwood
Mon Jul 30, 2012 12:45 pm
Forum: General discussion
Topic: working usb hub
Replies: 13
Views: 5655

Re: working usb hub

That's listed on the wiki as having some issues, such as preventing ethernet from working, leading to the wrong time being displayed. Have you experienced this? I think some clarification are required here. There are several issues here: 1) There is a bug with the implementation of the USB driver o...
by pwinwood
Fri Jul 27, 2012 6:21 pm
Forum: Troubleshooting
Topic: "failed to add service - already in use?" error
Replies: 15
Views: 15432

Re: "failed to add service - already in use?" error

I reflashed the sdcard, installed and ran the rpi-update and the same error occurred again running hello_triangle.
by pwinwood
Fri Jul 27, 2012 4:47 pm
Forum: Troubleshooting
Topic: "failed to add service - already in use?" error
Replies: 15
Views: 15432

Re: "failed to add service - already in use?" error

It happens to me too using 128/128 and 192/64.

uname -a

Linux raspberrypi 3.1.9+ #202 PREMPT Wed Jul 25 22:11:06 BST 2012 armv6l GNU/Linux.

I will try reflashing the sdcard.
by pwinwood
Wed Jul 25, 2012 7:37 am
Forum: General discussion
Topic: Text Editor with decent syntax highlighting
Replies: 20
Views: 20675

Re: Text Editor with decent syntax highlighting

If you are using Notepad++ on Windows then you may be comfortable with the Scite which also uses the Scintilla editing component and is light weight, cross platform and has colour syntax highlighters and folding algorithm for many languages - but you will need to be running 'X'. Scintilla is package...
by pwinwood
Sat Jul 21, 2012 3:22 pm
Forum: Troubleshooting
Topic: usb keyboards bring down the usb bus
Replies: 6
Views: 870

Re: usb keyboards bring down the usb bus

No, here are the connect/disconnect events from my /var/log/messages Jul 21 15:58:25 rasberrypi kernel: [ 39.594581] usb 1-1.3.3: USB disconnect, device number 6 Jul 21 15:58:28 rasberrypi kernel: [ 42.775216] usb 1-1.2: new low speed USB device number 9 using dwc_otg Jul 21 15:58:28 rasberrypi kern...
by pwinwood
Sat Jul 21, 2012 3:00 pm
Forum: Troubleshooting
Topic: usb keyboards bring down the usb bus
Replies: 6
Views: 870

Re: usb keyboards bring down the usb bus

No problems with my Keysonic ACK-3700C when plugged into the powered HUB or the USB socket on the Pi just USB connect/disconnect messages for the keyboard.
by pwinwood
Thu Jul 19, 2012 8:48 pm
Forum: Raspbian
Topic: Blog: Java performance on Raspbian vs Debian
Replies: 7
Views: 4154

Re: Blog: Java performance on Raspbian vs Debian

Once Java code has been compiled the only thing that can be changed to improve the performance of Java is the JIT compiler on the platform. If the JIT compiler for our ARM variant is inefficient then that is what needs to be changed. It seems to me that good platform-specific JIT compilers are rare....
by pwinwood
Sun Jul 08, 2012 10:09 am
Forum: Troubleshooting
Topic: Serious HDMI Problems. What's that smell? Burning Raspberry!
Replies: 72
Views: 62890

Re: Serious HDMI Problems. What's that smell? Burning Raspbe

Hello mad-hatter, You asked: How did you break out the 5V line, an adapter of some sort and strip the cable? I took the HDMI converter apart - this was quite easy, with gentle pressure on the HDMI lead and it's bush in the case the circuit board pops out the other side still attached to the VGA conn...

Go to advanced search