Go to advanced search

by cleverca22
Thu Apr 10, 2014 11:18 pm
Forum: Raspberry Pi OS
Topic: Change kernel frequency CONFIG_HZ
Replies: 4
Views: 2235

Re: Change kernel frequency CONFIG_HZ

its also simple to make c modules for python, so you could put the speed critical part in c, and then be lazy and do the rest in python
by cleverca22
Tue Apr 08, 2014 9:00 pm
Forum: Raspberry Pi OS
Topic: Change kernel frequency CONFIG_HZ
Replies: 4
Views: 2235

Re: Change kernel frequency CONFIG_HZ

and what does the timer interval have to do with an MPU6050, that shouldn't have any impact on things
by cleverca22
Sun Apr 06, 2014 9:58 pm
Forum: Gaming
Topic: Gamepad driver for GPIO (FATAL: Module gamecon_gpio_rpi not)
Replies: 2
Views: 1766

Re: Gamepad driver for GPIO (FATAL: Module gamecon_gpio_rpi

i believe you must use the config from /proc/config.gz and the source from https://github.com/raspberrypi/linux and it must be the same git revision as the kernel your using i recently heard about these scripts being used to set it all up, but i havent tried them yet I use this script: https://githu...
by cleverca22
Mon Mar 24, 2014 8:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI In Module: read 256 bytes from a single I2C address
Replies: 2
Views: 1764

Re: HDMI In Module: read 256 bytes from a single I2C address

i also ran into trouble with the i2c interface and the mpr121 touch controller the mpr121 expects repeated starts: startwrite, addr, startread, data from mp121, stop but the pi sends a stop in the middle, which resets the mpr121 back to address 0, leaving me unable to read anything more then the fir...
by cleverca22
Mon Mar 24, 2014 8:02 pm
Forum: Graphics programming
Topic: Low-level (Linux framebuffer) graphics programming tutorial
Replies: 62
Views: 82565

Re: Low-level (Linux framebuffer) graphics programming tutor

Before, with the blank screen, I got impatient and started hitting Ctrl+C etc. and never waited the 49 seconds. i did the same thing and broke a terminal window, alt+f2 got a new one, but there are only 6 available by default then i read the source and found that it will restore the modes upon exit...
by cleverca22
Sun Mar 23, 2014 1:24 am
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

from what ive seen in the framebuffer driver, the problem is likely in the blob, but i need to do some tests on another system to see what is 'normal' and also check to see if dispmanx is capable of the right thing easily
by cleverca22
Fri Mar 21, 2014 10:01 pm
Forum: Graphics programming
Topic: Low-level (Linux framebuffer) graphics programming tutorial
Replies: 62
Views: 82565

Re: Low-level (Linux framebuffer) graphics programming tutor

and i now have full texture and color support, its able to render this one frame fully, only took a few weeks to get one frame, lol

Image
by cleverca22
Fri Mar 21, 2014 3:51 pm
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

but unfortunately it appears that the FBIOPUT_VSCREENINFO clears the framebuffer
this may explain why i could never get it to work in android!!!
by cleverca22
Fri Mar 21, 2014 12:33 am
Forum: Advanced users
Topic: Safe Mode
Replies: 49
Views: 100638

Re: Safe Mode

it could be modified to only work if a config.txt entry enables it? the config.txt could also select which gpio triggers safemode, so if you dont want it, just dont enable it if the gertboard causes problems with the current pin and you have another pin that is safe and want it, just change it in co...
by cleverca22
Thu Mar 20, 2014 3:51 am
Forum: Advanced users
Topic: Safe Mode
Replies: 49
Views: 100638

Re: Safe Mode

why was it removed?, could a config.txt parameter be used to turn it back on?
by cleverca22
Thu Mar 20, 2014 3:46 am
Forum: Off topic discussion
Topic: voicecommand
Replies: 20
Views: 30633

Re: voicecommand

Code: Select all

sudo apt-get install libboost-regex1.49.0
by cleverca22
Wed Mar 19, 2014 9:20 pm
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

i have noticed, that when the console goes into sleep mode, it blanks the entire thing out however, that has no impact on dispmanx layers, and it never activates the power save mode in the monitor i still think we need to tell fbcon to stop redrawing things, but it may if you just turn the cursor bl...
by cleverca22
Wed Mar 19, 2014 2:40 pm
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

diff --git a/fb/fbtestXI.c b/fb/fbtestXI.c index 39a2613..83bc68e 100644 --- a/fb/fbtestXI.c +++ b/fb/fbtestXI.c @@ -106,8 +106,9 @@ void draw() { // switch page vinfo.yoffset = cur_page * vinfo.yres; + printf("cur_page %d, yoffset %d, yres %d, virty %d\n",cur_page,vinfo.yoffset,vinfo.yres,vinfo.yr...
by cleverca22
Tue Mar 18, 2014 3:37 pm
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

if you could paste the full source of that test app, i can run it on mine and verify things
by cleverca22
Tue Mar 18, 2014 3:33 pm
Forum: General discussion
Topic: set (real) resolution
Replies: 2
Views: 492

Re: set (real) resolution

from what i know, fbset wont change the output resolution at all, it just changes the size of the framebuffer device, and scales it up to the output resolution

tvservice and config.txt are the only ways i know of to change the actual output modes
by cleverca22
Tue Mar 18, 2014 2:01 pm
Forum: Troubleshooting
Topic: Files not saved after reboot
Replies: 8
Views: 2214

Re: Files not saved after reboot

your network settings should have absolutely no impact on your ability to save files, so that wont be the cause
by cleverca22
Tue Mar 18, 2014 1:49 pm
Forum: Troubleshooting
Topic: Files not saved after reboot
Replies: 8
Views: 2214

Re: Files not saved after reboot

does it list any errors when you run dmesg after trying to edit a file?
by cleverca22
Tue Mar 18, 2014 1:44 pm
Forum: Bare metal, Assembly language
Topic: GPIO Access when L1 Cache enabled
Replies: 2
Views: 1355

Re: GPIO Access when L1 Cache enabled

from he basic tests i had done a while ago, the GPIO registers seem to miss the L1 cache, then the cpu stalls until a clock edge on what is basically the front side bus (FSB), which seems to run somewhere near 20mhz it think?
by cleverca22
Tue Mar 18, 2014 1:33 pm
Forum: Troubleshooting
Topic: Files not saved after reboot
Replies: 8
Views: 2214

Re: Files not saved after reboot

how are you turning it off when you are done?
by cleverca22
Tue Mar 18, 2014 1:31 pm
Forum: Media centres
Topic: NetFlix Hulu and other external media sources
Replies: 41
Views: 109563

Re: NetFlix Hulu and other external media sources

Best question to everyone is how does Android do this? Where is their ARM based -- DRM coming from? exactly what i'm thinking, android is just a custom ui running ontop of linux so via the android netflix app, we already have linux netflix its just a matter of making that work on a pi, either by po...
by cleverca22
Tue Mar 18, 2014 1:22 pm
Forum: Graphics programming
Topic: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb? [OBSOLETE info]
Replies: 56
Views: 29705

Re: Is the FBIO_WAITFORVSYNC ioctl implemented in Rpi's fb?

https://github.com/raspberrypi/linux/blob/rpi-3.10.y/drivers/video/bcm2708_fb.c#L284 this appears to be the main function responsible for changing things like the yoffset, it was working fully a few months ago when i was testing some android stuff out and on line 297 it sends all the config params ...
by cleverca22
Mon Mar 17, 2014 5:09 pm
Forum: Advanced users
Topic: Regarding current consumption of raspberry pi
Replies: 15
Views: 3121

Re: Regarding current consumption of raspberry pi

i've read in other posts, that if you apply 3.3v to BOTH the 5v and 3.3v pin on the gpio header, you can leave the 3.3v regulator in place, just be sure you dont connect anything to the usb power in jack that will effectively run the entire thing off 3.3v while giving you an easy way to undo it, but...
by cleverca22
Mon Mar 17, 2014 3:45 pm
Forum: Graphics programming
Topic: EGL surface and video render output
Replies: 3
Views: 3401

Re: EGL surface and video render output

another option you could do if you knew where the video was located, is alpha, make a transparent hole in the egl layer that will show whatever is under it
by cleverca22
Mon Mar 17, 2014 3:36 pm
Forum: Graphics programming
Topic: Using bitmap glyphs with openVG is a waste of VRAM?
Replies: 5
Views: 4043

Re: Using bitmap glyphs with openVG is a waste of VRAM?

ive seen #1 solved in starcraft 2, by generating that texture at runtime, each time a new glyph is needed, it adds it to the texture and re-does it, so it doesnt have to store all 65k images, and you can continue to render them on-demand via the truetype lib

but #2, yeah thats a bigger issue
by cleverca22
Mon Mar 17, 2014 10:53 am
Forum: Beginners
Topic: getting time from pi #1 with RTC to pi #2
Replies: 2
Views: 609

Re: getting time from pi #1 with RTC to pi #2

i would just set the server line on the pi without an rtc, rather then use broadcast, set the pi with an rtc up as an ntp server that allows clients to query it

Go to advanced search