Go to advanced search

by okieng
Sat Feb 08, 2014 7:05 pm
Forum: Python
Topic: clear screen after fbv
Replies: 3
Views: 1327

Re: clear screen after fbv

I think i figured out problem. I run fbv from console then try to clear screen different console or Apache user. For why clear is not working . I have to use same console or user everything comes back to normal.

Thnaks redhawk....

Oki
by okieng
Sat Feb 08, 2014 6:35 pm
Forum: Python
Topic: clear screen after fbv
Replies: 3
Views: 1327

Re: clear screen after fbv

I am using arch linux. and I am root user.
I give to permission tty1 (and see it rw--rw--rw- .....) but still last picture part on the screen.
Maybe framebuffer still hold all picture infos. I can try to clear framebuffer, but i don't know how?
by okieng
Sat Feb 08, 2014 6:00 pm
Forum: Python
Topic: clear screen after fbv
Replies: 3
Views: 1327

clear screen after fbv

Hi, I want to make simple slideshow program. I have problem about clearing screen when show next picture. for i in range (0,5): path="/home/media/"+pic[i] os.system("clear >/dev/tty1") os.system("fbv -i -f "+path) time.sleep(delay) some picture is not native 16:9. I saw old picture part at the next ...
by okieng
Fri May 24, 2013 12:13 pm
Forum: Arch
Topic: crontab get ip question
Replies: 3
Views: 1520

Re: crontab get ip question

Thanks Guys,
Pepedog your code is works.
Actually i just try */usr/bin/ifconfig ... buy this was not work.
But */sbin/ifconfig ... is working .

Thanks again

Oki
by okieng
Thu May 23, 2013 9:50 pm
Forum: Arch
Topic: crontab get ip question
Replies: 3
Views: 1520

crontab get ip question

Hi, My goal is find and write ip address with crontab here is my script findip.sh #!/bin/bash echo "myip:" ifconfig eth0 | grep inet | grep -v inet6 | awk '{print $2}' > ip.txt here is cron (create : crontab -e) */1 * * * * /root/findip.sh I am run findip.sh with ssh terminal. Everythings working. I...
by okieng
Wed May 22, 2013 1:04 pm
Forum: Arch
Topic: omxplayer bad audio quality
Replies: 25
Views: 11912

omxplayer bad audio quality

Hi, I have live stream and mp4 video. Live stream is H264 video/ MPEG Audio. I am receiving stream with omxplayer w/o any problem. mp4 video ise same video codec but different audio codec .( MPEG AAC mp4a ) When i tried play omxplayer audio has distortion. I barely hear audio. Poor audio quality. Lo...
by okieng
Tue May 14, 2013 8:43 pm
Forum: Arch
Topic: TV is ON?
Replies: 2
Views: 809

Re: TV is ON?

Thanks RichardP

Yes my TV is support CEC. I am wondering try it. Do you know what code to check TV/HDMI on or off?
by okieng
Tue May 14, 2013 1:30 pm
Forum: Arch
Topic: TV is ON?
Replies: 2
Views: 809

TV is ON?

Hi,
I already load libcec-rpi driver.
My PI connected samsung TV via HDMI. I want to check TV 's power status. TV is ON or OFF.
Can i do with libcec command?

Anyone have any idea?

Thanks

Oki
by okieng
Fri May 10, 2013 7:55 pm
Forum: Arch
Topic: How can control with HDMI-CEC to RPI
Replies: 3
Views: 2749

Re: How can control with HDMI-CEC to RPI

ok i installed libcec-pri and # cec-clent -l device: 1 com port: RPI vendor id: 2708 product id: 1001 firmware version: 1 type: Raspberry Pi what's next. I try to catch tv remotes command and run some .sh or .py code with remote? How can do that?
by okieng
Fri May 10, 2013 6:45 pm
Forum: Arch
Topic: How can control with HDMI-CEC to RPI
Replies: 3
Views: 2749

How can control with HDMI-CEC to RPI

Hi,
I want to control with samsung LCD's remote to RPI via HDMI CEC protocol.
How can do that?

Is there any driver or app for HDMI CEC

Thanks
Oki
by okieng
Thu May 09, 2013 2:22 pm
Forum: Arch
Topic: Arch Linux Autostart script not working
Replies: 7
Views: 7370

Re: Arch Linux Autostart script not working

I think problem is fbida becasue after login with root user .sh or .py code is working correctly. with systemd service python code looks like work with below ExecStart ExecStart=/usr/bin/python /home/media/autoscr.py no errrors . But still no picture at hdmi output screen. Maybe i can define tty0-1 ...
by okieng
Thu May 09, 2013 12:52 pm
Forum: Arch
Topic: Arch Linux Autostart script not working
Replies: 7
Views: 7370

Re: Arch Linux Autostart script not working

Hi Again , Thanks for your quick reply. Here is my folder ls -l -rwxr-xr-x 1 root root 60 May 8 21:38 autoscr.py -rwxr-xr-x 1 root root 47 May 8 20:31 autoscr.sh --autoscr.sh---- #!/bin/sh fbi -a -noverbose /home/media/bg.jpg --autoscr.py--- import os os.system("fbi -a -noverbose /home/media/bg.jpg"...
by okieng
Thu May 09, 2013 12:37 am
Forum: Arch
Topic: Arch Linux Autostart script not working
Replies: 7
Views: 7370

Arch Linux Autostart script not working

Hi Guys I just installed Arch Linux. I love it. It's quite simple and boot up very quick. I want to run automatically python script after boot . I wrote below "myauto.service" file under /etc/systemd/system/ directory. [Unit] Description=autostart myscript [Service] Type=oneshot ExecStart=/usr/bin/p...
by okieng
Thu Apr 18, 2013 4:17 pm
Forum: Beginners
Topic: package installiation errror
Replies: 1
Views: 636

package installiation errror

Hi, I am freshly install 2013-02-09-wheezy-raspbian.img 8GB SD card. I have done setup raspi-config timezone US/Eastern ,locale en_US.UTF-8 and expand_rootfs. Then reboot RPI. Problem is when i try to sudo apt-get update i got below errors. W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive....

Go to advanced search