Go to advanced search

by GrandAdmiral
Sat Sep 13, 2014 9:20 pm
Forum: Advanced users
Topic: tvservice -s outputs and states
Replies: 8
Views: 28570

Re: tvservice -s outputs and states

I know this thread is a year old, but I am wondering if GrandAdmiral was able to switch modes and get the console to display? (or anyone else with a Vizio TV or similar issue). Unfortunately I wasn't able to get it working, but I also wasn't able to spend a lot of time on it after I posted my quest...
by GrandAdmiral
Wed Sep 04, 2013 9:27 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Re: Using cec-client

Well, I suppose you could search for "CECTester" in the cec-client source, change it to what you want, and rebuild it. That might be the simplest solution, although I don't remember what I all did to build the cec-client. :)
by GrandAdmiral
Wed Sep 04, 2013 9:17 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Re: Using cec-client

Any idea how to make it stick after a reboot? TV or Raspberry Pi? You should be able to handle the Raspberry Pi reboot by adding the command to your .bashrc (or similar) file. For the TV you might have to write a program/script to monitor the TV's power status and resend the command if it goes thro...
by GrandAdmiral
Wed Sep 04, 2013 5:42 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Re: Using cec-client

Is there a command to change the label that displays in the input menu on the TV? Sure, if you go to the CEC-O-MATIC website you can select your source (mine is Recording 1) and the destination (the TV). Then go to the "Supporting Features" tab and select the "Device OSD Name Transfer" item. "Set O...
by GrandAdmiral
Tue Aug 27, 2013 1:54 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Re: Using cec-client

I've been reading through the spec (almost halfway through), but I'm a bit puzzled by something. How do you tell from cec-client if a feature is supported? The spec says: This section describes the message transfer and additional details for a number of common features enabled by CEC. Note that wher...
by GrandAdmiral
Fri Aug 23, 2013 8:43 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Re: Using cec-client

Thanks, that's been added to the reading list. Another person told me about this command: echo h | cec-client -s -d 1 That will tell you about the shortcuts the cec-client knows. For example, "echo scan | cec-client -s -d 1" will tell you what devices are connected to the television. The "-d 1" opti...
by GrandAdmiral
Wed Aug 21, 2013 9:26 pm
Forum: Advanced users
Topic: Using cec-client
Replies: 17
Views: 48090

Using cec-client

I have the cec-client and libcec working on my Raspberry Pi. I would like to use it for more than just turning on and off the television, I would like to be able to query the other devices for their system information. Then maybe control them through the RPi. :) Anyway, I'm wondering if there are so...
by GrandAdmiral
Sun Aug 18, 2013 12:21 am
Forum: Advanced users
Topic: tvservice -s outputs and states
Replies: 8
Views: 28570

Re: tvservice -s outputs and states

Yeah, I'm also connected to the Pi through SSH for the tvservice commands, but I'm just sitting on Raspbian's LXDE desktop. Maybe it would behave differently if I was playing some video content. I'll have to try that. Using the cec-client is next on my list (at some point). If you've found some good...
by GrandAdmiral
Sun Aug 18, 2013 12:13 am
Forum: Cases
Topic: PiCE Case
Replies: 35
Views: 11803

Re: PiCE Case

Raspberry Pi #2 and camera module arrived today... I took one look at the size of the camera module and immediately backed this project. It sure would be nice to have a durable case for both pieces that I can take outside.
by GrandAdmiral
Fri Aug 09, 2013 7:43 pm
Forum: Advanced users
Topic: tvservice -s outputs and states
Replies: 8
Views: 28570

Re: tvservice -s outputs and states

What a coincidence, I was also looking at tvservice today. Vizio TV and I see the following: 0x12000a during normal mode (RPi is booted, TV is displaying the command prompt) tvservice -o turns off the display 0x120002 with nothing displayed on the TV tvservice -p turns on the display, but I don't se...
by GrandAdmiral
Mon Jul 22, 2013 8:14 pm
Forum: C/C++
Topic: Building ICU 49
Replies: 6
Views: 2411

Re: Building ICU 49

I received the answer in a reply to my post at StackOverflow. To compile ICU 49 on the Raspberry Pi, you need to comment out the LDFLAGSICUDT flag in /icu/source/config/mh-linux ## These are the library specific LDFLAGS # Raspberry Pi - LDFLAGSICUDT=-nodefaultlibs -nostdlib Everything is working now.
by GrandAdmiral
Thu Jul 18, 2013 7:44 pm
Forum: C/C++
Topic: Building ICU 49
Replies: 6
Views: 2411

Re: Building ICU 49

Finally, I should note that I can fix the problem by adding '--prefix=/usr' when configuring the ICU build, but I'd really like to understand why the RPi is different before I do that. Well, I thought I could do that, but it turns out that doesn't work. So while I can get ICU to build on the Raspbe...
by GrandAdmiral
Wed Jul 17, 2013 2:57 pm
Forum: C/C++
Topic: Building ICU 49
Replies: 6
Views: 2411

Re: Building ICU 49

Ha, true! I did try the verbose flag and I don't see anything out of the ordinary: /usr/local/lib: libicule.so.49 -> libicule.so.49.1.2 libicuio.so.49 -> libicuio.so.49.1.2 libicudata.so.49 -> libicudata.so.49.1.2 libcec.so.2 -> libcec.so.2.0.1 libicuuc.so.49 -> libicuuc.so.49.1.2 libicui18n.so.49 -...
by GrandAdmiral
Wed Jul 17, 2013 2:28 pm
Forum: C/C++
Topic: Building ICU 49
Replies: 6
Views: 2411

Re: Building ICU 49

Yes, I called "sudo ldconfig" after "sudo make install" for ICU and before running any executables. At one point I even rebooted the system. :)

To answer your other question, the /etc/ld.so.conf.d/libc.conf file includes /usr/local/lib.
by GrandAdmiral
Wed Jul 17, 2013 1:52 pm
Forum: C/C++
Topic: Building ICU 49
Replies: 6
Views: 2411

Building ICU 49

I'm trying to build ICU 49.1.2 ( http://site.icu-project.org/ ) for the RPi and I'm running into some trouble. The build appears to work fine, but when I try to run any of the ICU executables or link it in with my application I see the following: me@raspberrypi ~/icu/source $ genrb -V genrb: error w...
by GrandAdmiral
Fri May 03, 2013 10:54 pm
Forum: General discussion
Topic: Endian
Replies: 9
Views: 14206

Re: Endian

What that means is they support both big-endian, and little-endian modes. In most cases modern ARM chips default to little-endian. So if specifically want/need a specific endianness then the cpu should be able to do both. Though you may need to do some "tweaking" to get it to do big-endian. . Is th...
by GrandAdmiral
Wed Apr 24, 2013 6:41 pm
Forum: Graphics programming
Topic: dispmanx manual
Replies: 3
Views: 3292

Re: dispmanx manual

I was planning to continue my blog with dispmanx stuff, but here's a sneak peak ;) I'll second that plan! I wrote a program using the code from the dispmanx example to draw test patterns on the display, but most of the time it felt like I was just making magical incantations and hoping they would w...
by GrandAdmiral
Thu Apr 18, 2013 6:23 pm
Forum: Graphics programming
Topic: Low-level (Linux framebuffer) graphics programming tutorial
Replies: 62
Views: 55043

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

No, the program in the fb.zip program does not work. As soon as you move the mouse, it corrupts the image. To the point I wasn't able to cleanly exit the program and had to reboot the system.
by GrandAdmiral
Thu Apr 18, 2013 3:49 pm
Forum: Graphics programming
Topic: Low-level (Linux framebuffer) graphics programming tutorial
Replies: 62
Views: 55043

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

You could copy the screen to a buffer and restore it after you have finished. Yeah, I thought of that. While I don't see a big problem with this when the command prompt is displayed, it doesn't stop the mouse cursor from being moved and causing parts of the Frame Buffer to be redrawn when LXDE is r...
by GrandAdmiral
Thu Apr 18, 2013 3:00 pm
Forum: Graphics programming
Topic: Low-level (Linux framebuffer) graphics programming tutorial
Replies: 62
Views: 55043

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

I'll add my thanks for the tutorial! I was wondering if you (or somebody else) could help with a question. Is it possible to disable updates to the framebuffer from outside sources (e.g. turn off the command prompt if you're just displaying a terminal or turn off the GUI/mouse pointer if you've stat...
by GrandAdmiral
Thu Apr 18, 2013 2:45 pm
Forum: General programming discussion
Topic: C source for using Mailbox Interface?
Replies: 0
Views: 670

C source for using Mailbox Interface?

I would like to extract information about the Raspberry Pi like Serial Number, Board Model, Board Revision, CPU Clock Rate, Temperature in a C program. It looks like I have a couple of options: 1. Use vcgencmd to obtain the information. For example, I can get the temperature from vcgencmd measure_te...

Go to advanced search