Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-11 Thread Stefan Kost
On 04.04.2011 02:27, Niels Mayer wrote:
 After doing
   $ zypper ar 
 http://download.meego.com/live/devel:/meego-ux/Trunk/devel:meego-ux.repo
   $ zypper zypper clean --all ; zypper --gpg-auto-import-keys refresh
   $ zypper in meego-app-camera meego-app-video meego-app-photos
 meego-app-notes meego-app-im meego-app-email meego-app-conacts
 meego-app-calendar meego-app-calculator meego-app-browser
 meego-app-clocks meego-ux-panels meego-ux-panels-photos
 meego-ux-panels-friends meego-ux-panels-music meego-ux-panels-mytablet
 meego-ux-panels-video meego-ux-panels-web meego-ux-panels-meta-tablet
 meego-ux-appgrid meego-ux-content meego-ux-content-socialweb

 which also installs dependencies:
   meego-handset-sound-theme meegolabs-ux-components meego-qml-launcher
   meego-ux-media meego-ux-media-models meego-ux-theme mkcal
   mlite qtgst-qmlsink telepathy-farstream

 I attempt to launch these apps with
   $ meego-qml-launcher --app appname
 which looks for
   /usr/share/appname/main.qml
 e.g.
 meego-qml-launcher --opengl --fullscreen --app meego-app-calculator
 meego-qml-launcher --opengl --fullscreen --app meego-app-calendar
 meego-qml-launcher --opengl --fullscreen --app meego-app-camera
 meego-qml-launcher --opengl --fullscreen --app meego-app-clocks
 meego-qml-launcher --opengl --fullscreen --app meego-app-contacts
 meego-qml-launcher --opengl --fullscreen --app meego-app-email
 meego-qml-launcher --fullscreen --opengl --app meego-app-im
 meego-qml-launcher --opengl --fullscreen --app meego-app-music
 meego-qml-launcher --opengl --fullscreen --app meego-app-notes
 meego-qml-launcher --opengl --fullscreen --app meego-app-photos
 meego-qml-launcher --opengl --fullscreen --app meego-app-tasks
 meego-qml-launcher --opengl --fullscreen --app meego-app-video
 meego-qml-launcher --opengl --fullscreen --app meego-ux-appgrid
 meego-qml-launcher --opengl --fullscreen --app meego-ux-app-photos
 meego-qml-launcher --opengl --fullscreen --app meego-ux-panels
 meego-qml-launcher --opengl --fullscreen --app meego-ux-settings

 Although many of the simple tablet-ux apps work on the Lenovo s10-3t
 running 1.2 netbook alpha, the one I really want to re-use (for
 http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
 ) is meego-app-camera. Unfortunately, when I run it, I get the
 following:

 -- is this a bug or am I dong something wrong ?
 ...
 $ meego-qml-launcher --opengl --fullscreen --app meego-app-camera
 Adding Master Pointer: Virtual core pointer ( 2 )
 Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
 Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
 Panel with Controller ( 11 )
 Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
 loaded the Generic plugin
 Loaded the MeeGo sensor plugin
 Request for interface not granted...
 Request for interface not granted...
 Warning: Object::connect: No such signal
 QXIMInputContext::inputMethodAreaChanged(QRect)
 Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
 Warning: Object::connect:  (sender name:   'meego-qml-launcher')
 Warning: Object::connect: No such signal
 LauncherApp::windowListUpdated(QListWindowInfo)
 Warning: Object::connect:  (sender name:   'meego-qml-launcher')
 Debug: Instantiating VolumeControlPrivate
 Debug: Settings*
 Debug: Flash Mode:  0
 Debug: Capture Mode:  0
 Debug: /dev/video0   Lenovo EasyCamera
 Debug: /dev/video0   Lenovo EasyCamera
 Debug: Setting camera to  /dev/video0
 Debug: Camera caps: 64
 Debug: Supported maximum optical zoom 1
 Debug: Supported maximum digital zoom 10
 Debug: Metadata is not available
 Debug: Audio input:  alsa:null  -  Discard all samples (playback)
 or generate zero samples (capture)
 Debug: Audio input:  alsa:pulse  -  PulseAudio Sound Server
 Debug: Audio input:  alsa:default  -  Default
 Debug: Audio input:  alsa:front:CARD=Intel,DEV=0  -  HDA Intel,
 CONEXANT Analog
 Front speakers
 Debug: Audio input:  alsa:surround40:CARD=Intel,DEV=0  -  HDA
 Intel, CONEXANT Analog
 4.0 Surround output to Front and Rear speakers
 Debug: Audio input:  alsa:surround41:CARD=Intel,DEV=0  -  HDA
 Intel, CONEXANT Analog
 4.1 Surround output to Front, Rear and Subwoofer speakers
 Debug: Audio input:  alsa:surround50:CARD=Intel,DEV=0  -  HDA
 Intel, CONEXANT Analog
 5.0 Surround output to Front, Center and Rear speakers
 Debug: Audio input:  alsa:surround51:CARD=Intel,DEV=0  -  HDA
 Intel, CONEXANT Analog
 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
 Debug: Audio input:  alsa:surround71:CARD=Intel,DEV=0  -  HDA
 Intel, CONEXANT Analog
 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
 Debug: Audio input:  pulseaudio:  -  PulseAudio device.
 Debug: Default source:  alsa:null
 Debug: Using default resolution
 Debug: Using default FPS
 Debug: Codec:  video/theora
 Debug: Codec:  video/mpeg2
 Debug: Codec:  video/mpeg1
 Debug: Codec:  video/mjpeg
 Debug: Codec:  

Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-05 Thread Niels Mayer
I got a little farther with bringing up meego-ux camera on Netbook 1.2
alpha. After seeing various warnings regarding missing gstreamer
components and failures in meego-app-music and meego-app-video related
to dbus message parse failures, I decided to upgrade this highly
updated 2/22/11 image to the latest base  packages from Trunk:

$ zypper ar http://download.meego.com/live/devel:/base/Trunk/devel:base.repo
$ zypper clean --all ; zypper --gpg-auto-import-keys refresh
## removed dangerous-to-upgrade packages via hand-edited from list
output by zypper up
$ zypper update -acl alsa-lib alsa-lib-devel alsa-plugins-pulseaudio
alsa-utils aspell atk atk-devel augeas-libs autoconf automake avahi
avahi-glib avahi-gobject avahi-ui basesystem bash binutils btrfs-progs
bzip2 bzip2-libs cairo cairo-devel chkconfig cmake connman
connman-test ConsoleKit ConsoleKit-libs ConsoleKit-x11 coreutils cpio
cpp cups cups-libs curl cvs db4 db4-utils deltarpm desktop-file-utils
device-mapper device-mapper-libs diffutils docbook-dtds
docbook-style-dsssl docbook-style-xsl docbook-utils dosfstools ed
elfutils-libelf expat fastinit file file-libs findutils flac
flac-devel fontconfig fontconfig-devel fontpackages-filesystem
foomatic freetype freetype-devel fuse fuse-libs gamin gawk gcc gcc-c++
gdb gdb-gdbserver gdbm geoclue geoclue-devel gettext-devel
gettext-libs ghostscript-fonts giflib glib2 glib2-devel gmp
gnome-doc-utils gnome-doc-utils-stylesheets gnome-mime-data gnupg2
grep groff grubby gzip hicolor-icon-theme hwdata icu info iproute
iptables iputils jasper jasper-libs kbd keyutils keyutils-libs lcms
lcms-libs less libacl libarchive libasyncns libattr libblkid libcap
libcroco libcurl libdaemon libdrm libexif libexif-devel libffi
libfontenc libgcc libgcrypt libglade2 libgnome-keyring
libgnome-keyring-devel libgomp libgpg-error libgudev1 libical
libical-devel libICE libICE-devel libicu libidn libjpeg libjpeg-devel
libksba liblua libmng libnl libnotify libpciaccess libpng libpng-devel
libpthread-stubs libsamplerate libsamplerate-devel libSM libSM-devel
libsndfile libsoup libsoup-devel libstdc++ libstdc++-devel libtasn1
libtasn1-devel libtheora libtheora-devel libtiff libtool libtool-ltdl
libudev libusb libuser libuser-python libutempter libuuid
libuuid-devel libva libvisual libxml2-python libxslt libzypp
linux-firmware logrotate m4 mailcap make MAKEDEV meego-app-music
meego-app-video meego-ux-components meego-ux-components-devel
mesa-dri-i915-driver mesa-dri-i965-driver mesa-dri-swrast-driver
mesa-libEGL mesa-libEGL-devel mesa-libGL mesa-libGL-devel
mesa-libGLESv2 mesa-libGLESv2-devel mesa-libGLU mesa-libGLU-devel
mesa-libOpenVG mesa-libOpenVG-devel mesa-libOSMesa
mesa-libOSMesa-devel mingetty minizip mkinitrd mtools ncurses
ncurses-base ncurses-libs net-tools nspr nss nss-mdns
nss-softokn-freebl nss-sysinit openjade opensp openssh openssh-clients
openssh-server pam pango pango-devel parted passwd patch pciutils
pixman pixman-devel pkgconfig pm-utils polkit popt prelink procps
psmisc pth pycairo pycairo-devel pygobject2 pygobject2-codegen
pygobject2-devel pygobject2-doc pyparted rarian rarian-compat rhpl
rootfiles rpm-python satsolver-tools sed sgml-common shadow-utils
shared-mime-info speex speex-devel sqlite sqlite-devel sreadahead
ssmtp startup-notification strace sudo swig sysklogd tar time tzdata
udev unzip upower urw-fonts usbutils usleep util-linux-ng uxlaunch
vim-minimal wget wireless-tools wpa_supplicant xcb-util xdg-utils
xkeyboard-config xml-common xorg-x11-drv-intel xorg-x11-server
xorg-x11-server-common xorg-x11-server-Xorg
xorg-x11-server-Xorg-setuid xterm xz xz-libs xz-lzma-compat yasm zip
zlib zlib-devel zypper linux-firmware sysvinit sysvinit-tools
## in case you want a working GUI after reboot.
$ zypper remove mce qmsystem
## (your mileage may vary)
$ reboot

~300 package updates later ... now various things work better than
they did before, and nothing seems to work worse, although sreadahead
complains of 15 errors instead of 1 or 2 (?).  More importantly, now
the wired network stays stable for  up to 12 hours at a time --
amazing! And connman isn't constantly connecting and disconnecting on
the wireless.

Do I need to upgrade to the latest kernel in order to get the camera
to actually capture a photo or video? Does installing
http://download.meego.com/live/devel:/kernel/Trunk/i586/kernel-2.6.37.2-256.2.i586.rpm
via zypper actually do all the right stuff w/r/t updating the boot
information for the new kernel? I also skipped
updating syslinux-extlinux ( syslinux dependency) as it messes with
/boot ...If I want to avoid a reinstall, what's the right way to
upgrade a live meego system to the latest trunk kernel?

...

Unlike my previous attempt, now the camera application launches its
GUI; but, the video preview/viewfinder is blank, and it cannot
capture any photos or videos.

The main problem now is:
g_object_set_valist: object class `GstMcSrc' has no property named `device'

Note I have the following gst plugins:

Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-05 Thread Niels Mayer
On Sun, Apr 3, 2011 at 4:33 PM, Arjan van de Ven ar...@linux.intel.com wrote:
 h wonder why you don't run the tablet/etc UX entirely

The tablet-UX probably makes good sense on a compatible tablet, with
larger surface, better edge-of-screen  button ergonomics, more
memory, higher resolution, faster processors, etc. e.g., something
like http://www.amazon.com/dp/B004HKIIFI/ (ASUS EEE Slate 12.1 tablet
PC). A platform like that would be good incentive to use the tablet
UX. (Now accepting all donations :-) ).

A better reason is the latest 1.2 Netbook UX worksforme, whereas the
Tablet-UX still has some issues that need to be worked out, e.g.,
http://lists.meego.com/pipermail/meego-dev/2011-April/482477.html
where Costas Stylianou  wrote:
..
You are correct, the problem is once you boot to the MeeGo Tablet UX
image you lose touch clicks, I believe that the touch driver has been
tuned for the ExoPC only which probably has a different touch
controller to your device. If you switch to the netbook build touch
works very well. [...]
...

My goal with the camera app is a codebase with portability to all
MeeGo platforms (doesn't IVI need a touch-based QML camera app too?).
Given the reprioritization of the handset, I still hope to work on
some variant of
http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
but want it to run on all platforms that its Qt-based infrastructure
would target, not just the handset.

Plus, it's a lot easier to develop on the netbook, snarfling up
whatever tools and devel libs using
http://wiki.meego.com/MeeGo-Lem ,
with the promise that eventually I'll be able to run the same code on
multiple MeeGo targets. and more than just ia32 processors.

I'm seeking to evaluate meego-app-camera versus
http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego#Reusing_QtMobility_1.2%27s_%22declarative_camera%22_Exa
... the first step of which is getting meego-app-camera running on a
generic MeeGo platform such as the Lenovo s10-3t. The second would be
getting it running on the n900 when all the codecs and camera
functionality support video recording.

If that includes taking all the pieces apart and putting them back
together again to understand the dependencies, then so be it...

-- Niels
http://nielsmayer.com
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-05 Thread Rusty Lynch

On 04/05/2011 01:31 PM, Niels Mayer wrote:

I got a little farther with bringing up meego-ux camera on Netbook 1.2
alpha. After seeing various warnings regarding missing gstreamer
components and failures in meego-app-music and meego-app-video related
to dbus message parse failures, I decided to upgrade this highly
updated 2/22/11 image to the latest base  packages from Trunk:
   

snip

Just realized we are still using a work around in the image creation 
process.  There is a bug for Qt Mobility bug for this, but I don't 
recall the number so cc'ing Iain for the answer.


But... the gst camera bin doesn't play nicely with the Qt Mobility Video 
widget.  In the ks file we:

rm /usr/lib/gstreamer-0.10/libgstcamerabin.so

... which means on each update the file comes back (which is how i 
remembered since i just did a massive Trunk:Testing update and the 
camera app stopped working.)


--rusty

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-05 Thread Niels Mayer
re: hint to do
$ mv /usr/lib/gstreamer-0.10/libgstcamerabin.so
/usr/lib/gstreamer-0.10/libgstcamerabin.so.bak

WORKSFORME!! Thanks!

...
meegolem-120-.../Pictures/Camera td
-rw-r--r-- 1 npm npm 230556 2011-04-05 17:39 Tue-Apr-5-17:39:58-2011.jpg
-rw-r--r-- 1 npm npm 234552 2011-04-05 17:39 Tue-Apr-5-17:39:54-2011.jpg
-rw-r--r-- 1 npm npm 231908 2011-04-05 17:39 Tue-Apr-5-17:39:53-2011.jpg
-rw-r--r-- 1 npm npm 221608 2011-04-05 17:39 Tue-Apr-5-17:39:44-2011.jpg
...

## NB: recorded video is pretty lurchy/jerky but at least it's
## recognizable ## as video. Does the lurching happen each
##  time the app checks  for free space (see log below)  which
## might be a bad  idea on a uniprocessor/ht like this n455

meegolem-134-.../Videos/Camera ffmpeg -i Tue-Apr-5-17:40:04-2011.ogg
FFmpeg version SVN-r24044, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 21 2010 15:07:15 with gcc 4.5.0 20100716 (Red Hat 4.5.0-3)
[...]
  libavutil 50.20. 0 / 50.20. 0
  libavcodec52.79. 1 / 52.79. 1
  libavformat   52.73. 0 / 52.73. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.20. 1 /  1.20. 1
  libswscale 0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[theora @ 0x96d4d00] 7 bits left in packet 82
Input #0, ogg, from 'Tue-Apr-5-17:40:04-2011.ogg':
  Duration: 00:00:35.60, start: 0.00, bitrate: 418 kb/s
Stream #0.0: Video: theora, yuv420p, 1280x1024, 5 tbr, 5 tbn, 5 tbc
Stream #0.1: Audio: vorbis, 44100 Hz, mono, s16, 120 kb/s
...

meegolem-103-~ meego-qml-launcher --opengl --fullscreen --app meego-app-camera
Adding Master Pointer: Virtual core pointer ( 2 )
Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
Panel with Controller ( 11 )
Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
loaded the Generic plugin
Loaded the MeeGo sensor plugin
Request for interface not granted...
Request for interface not granted...
Warning: Object::connect: No such signal
QXIMInputContext::inputMethodAreaChanged(QRect)
Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Warning: Object::connect: No such signal
LauncherApp::windowListUpdated(QListWindowInfo)
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Debug: Instantiating VolumeControlPrivate
Debug: Settings*
Debug: Flash Mode:  2
Debug: Capture Mode:  1
Debug: /dev/video0   Lenovo EasyCamera
Debug: /dev/video0   Lenovo EasyCamera
Debug: Setting camera to  /dev/video0
Debug: Supported maximum optical zoom 1
Debug: Supported maximum digital zoom 1
Debug: Metadata is not available
Debug: Audio input:  alsa:null  -  Discard all samples (playback)
or generate zero samples (capture)
Debug: Audio input:  alsa:pulse  -  PulseAudio Sound Server
Debug: Audio input:  alsa:default  -  Default
Debug: Audio input:  alsa:front:CARD=Intel,DEV=0  -  HDA Intel,
CONEXANT Analog
Front speakers
Debug: Audio input:  alsa:surround40:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.0 Surround output to Front and Rear speakers
Debug: Audio input:  alsa:surround41:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround50:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers
Debug: Audio input:  alsa:surround51:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround71:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Debug: Audio input:  pulseaudio:  -  PulseAudio device.
Debug: Default source:  alsa:null
Debug: Using default resolution
Debug: Frame rate:  5
Debug: Frame rate:  10
Debug: Frame rate:  15
Debug: Using default FPS
Debug: Video resolution:  160 x 120
Debug: Video resolution:  320 x 240
Debug: Video resolution:  640 x 400
Debug: Video resolution:  640 x 480
Debug: Video resolution:  1280 x 720
Debug: Video resolution:  1280 x 800
Debug: Video resolution:  1280 x 1024
Debug: Codec:  video/h264
Debug: Codec:  video/xvid
Debug: Codec:  video/mpeg4
Debug: Codec:  video/mpeg1
Debug: Codec:  video/mpeg2
Debug: Codec:  video/theora
Debug: Container:  qtmux
Debug: Container:  matroska
Debug: Container:  ogg
Debug: Container:  mp4
Debug: Container:  wav
Debug: Container:  quicktime
Debug: Container:  avi
Debug: Container:  3gpp
Debug: Container:  flv
Debug: Container:  amr
Debug: Container:  asf
Debug: Container:  dv
Debug: Container:  mpeg
Debug: Container:  vob
Debug: Container:  mpegts
Debug: Container:  3g2
Debug: Container:  3gp
Debug: Container:  raw
Debug: Selected container:  ogg
Debug: Sorted resolution:  1280 x 1024
Debug: Sorted resolution:  1280 x 800
Debug: Sorted resolution:  1280 x 720
Debug: Sorted resolution:  

Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-04 Thread Marko Saukko

On 04/04/2011 02:33 AM, Arjan van de Ven wrote:

On 4/3/2011 4:27 PM, Niels Mayer wrote:

h wonder why you don't run the tablet/etc UX entirely

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Shouldn't meegoapps work on all the MeeGo based machines independent
from the UX? I can understand that graphics/themes can need a bit work
but in general those should work on other UX's as well, right?
Comparison Gnome vs KDE app on my laptop for example.

-Marko
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-03 Thread Niels Mayer
After doing
  $ zypper ar 
http://download.meego.com/live/devel:/meego-ux/Trunk/devel:meego-ux.repo
  $ zypper zypper clean --all ; zypper --gpg-auto-import-keys refresh
  $ zypper in meego-app-camera meego-app-video meego-app-photos
meego-app-notes meego-app-im meego-app-email meego-app-conacts
meego-app-calendar meego-app-calculator meego-app-browser
meego-app-clocks meego-ux-panels meego-ux-panels-photos
meego-ux-panels-friends meego-ux-panels-music meego-ux-panels-mytablet
meego-ux-panels-video meego-ux-panels-web meego-ux-panels-meta-tablet
meego-ux-appgrid meego-ux-content meego-ux-content-socialweb

which also installs dependencies:
  meego-handset-sound-theme meegolabs-ux-components meego-qml-launcher
  meego-ux-media meego-ux-media-models meego-ux-theme mkcal
  mlite qtgst-qmlsink telepathy-farstream

I attempt to launch these apps with
  $ meego-qml-launcher --app appname
which looks for
  /usr/share/appname/main.qml
e.g.
meego-qml-launcher --opengl --fullscreen --app meego-app-calculator
meego-qml-launcher --opengl --fullscreen --app meego-app-calendar
meego-qml-launcher --opengl --fullscreen --app meego-app-camera
meego-qml-launcher --opengl --fullscreen --app meego-app-clocks
meego-qml-launcher --opengl --fullscreen --app meego-app-contacts
meego-qml-launcher --opengl --fullscreen --app meego-app-email
meego-qml-launcher --fullscreen --opengl --app meego-app-im
meego-qml-launcher --opengl --fullscreen --app meego-app-music
meego-qml-launcher --opengl --fullscreen --app meego-app-notes
meego-qml-launcher --opengl --fullscreen --app meego-app-photos
meego-qml-launcher --opengl --fullscreen --app meego-app-tasks
meego-qml-launcher --opengl --fullscreen --app meego-app-video
meego-qml-launcher --opengl --fullscreen --app meego-ux-appgrid
meego-qml-launcher --opengl --fullscreen --app meego-ux-app-photos
meego-qml-launcher --opengl --fullscreen --app meego-ux-panels
meego-qml-launcher --opengl --fullscreen --app meego-ux-settings

Although many of the simple tablet-ux apps work on the Lenovo s10-3t
running 1.2 netbook alpha, the one I really want to re-use (for
http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
) is meego-app-camera. Unfortunately, when I run it, I get the
following:

-- is this a bug or am I dong something wrong ?
...
$ meego-qml-launcher --opengl --fullscreen --app meego-app-camera
Adding Master Pointer: Virtual core pointer ( 2 )
Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
Panel with Controller ( 11 )
Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
loaded the Generic plugin
Loaded the MeeGo sensor plugin
Request for interface not granted...
Request for interface not granted...
Warning: Object::connect: No such signal
QXIMInputContext::inputMethodAreaChanged(QRect)
Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Warning: Object::connect: No such signal
LauncherApp::windowListUpdated(QListWindowInfo)
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Debug: Instantiating VolumeControlPrivate
Debug: Settings*
Debug: Flash Mode:  0
Debug: Capture Mode:  0
Debug: /dev/video0   Lenovo EasyCamera
Debug: /dev/video0   Lenovo EasyCamera
Debug: Setting camera to  /dev/video0
Debug: Camera caps: 64
Debug: Supported maximum optical zoom 1
Debug: Supported maximum digital zoom 10
Debug: Metadata is not available
Debug: Audio input:  alsa:null  -  Discard all samples (playback)
or generate zero samples (capture)
Debug: Audio input:  alsa:pulse  -  PulseAudio Sound Server
Debug: Audio input:  alsa:default  -  Default
Debug: Audio input:  alsa:front:CARD=Intel,DEV=0  -  HDA Intel,
CONEXANT Analog
Front speakers
Debug: Audio input:  alsa:surround40:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.0 Surround output to Front and Rear speakers
Debug: Audio input:  alsa:surround41:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround50:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers
Debug: Audio input:  alsa:surround51:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround71:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Debug: Audio input:  pulseaudio:  -  PulseAudio device.
Debug: Default source:  alsa:null
Debug: Using default resolution
Debug: Using default FPS
Debug: Codec:  video/theora
Debug: Codec:  video/mpeg2
Debug: Codec:  video/mpeg1
Debug: Codec:  video/mjpeg
Debug: Codec:  video/VP8
Debug: Codec:  video/h261
Debug: Container:  mp4
Debug: Container:  ogg
Debug: Container:  wav
Debug: Container:  amr
Debug: Container: 

Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-03 Thread Arjan van de Ven

On 4/3/2011 4:27 PM, Niels Mayer wrote:

h wonder why you don't run the tablet/etc UX entirely

___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] how to run meego-ux's meego-app-camera on MeeGo 1.2 Netbook?

2011-04-03 Thread Rusty Lynch

On 04/03/2011 04:27 PM, Niels Mayer wrote:

After doing
   $ zypper ar 
http://download.meego.com/live/devel:/meego-ux/Trunk/devel:meego-ux.repo
   $ zypper zypper clean --all ; zypper --gpg-auto-import-keys refresh
   $ zypper in meego-app-camera meego-app-video meego-app-photos
meego-app-notes meego-app-im meego-app-email meego-app-conacts
meego-app-calendar meego-app-calculator meego-app-browser
meego-app-clocks meego-ux-panels meego-ux-panels-photos
meego-ux-panels-friends meego-ux-panels-music meego-ux-panels-mytablet
meego-ux-panels-video meego-ux-panels-web meego-ux-panels-meta-tablet
meego-ux-appgrid meego-ux-content meego-ux-content-socialweb

which also installs dependencies:
   meego-handset-sound-theme meegolabs-ux-components meego-qml-launcher
   meego-ux-media meego-ux-media-models meego-ux-theme mkcal
   mlite qtgst-qmlsink telepathy-farstream

I attempt to launch these apps with
   $ meego-qml-launcher --appappname
which looks for
   /usr/share/appname/main.qml
e.g.
meego-qml-launcher --opengl --fullscreen --app meego-app-calculator
meego-qml-launcher --opengl --fullscreen --app meego-app-calendar
meego-qml-launcher --opengl --fullscreen --app meego-app-camera
meego-qml-launcher --opengl --fullscreen --app meego-app-clocks
meego-qml-launcher --opengl --fullscreen --app meego-app-contacts
meego-qml-launcher --opengl --fullscreen --app meego-app-email
meego-qml-launcher --fullscreen --opengl --app meego-app-im
meego-qml-launcher --opengl --fullscreen --app meego-app-music
meego-qml-launcher --opengl --fullscreen --app meego-app-notes
meego-qml-launcher --opengl --fullscreen --app meego-app-photos
meego-qml-launcher --opengl --fullscreen --app meego-app-tasks
meego-qml-launcher --opengl --fullscreen --app meego-app-video
meego-qml-launcher --opengl --fullscreen --app meego-ux-appgrid
meego-qml-launcher --opengl --fullscreen --app meego-ux-app-photos
meego-qml-launcher --opengl --fullscreen --app meego-ux-panels
meego-qml-launcher --opengl --fullscreen --app meego-ux-settings

Although many of the simple tablet-ux apps work on the Lenovo s10-3t
running 1.2 netbook alpha, the one I really want to re-use (for
http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
) is meego-app-camera. Unfortunately, when I run it, I get the
following:

-- is this a bug or am I dong something wrong ?
...
$ meego-qml-launcher --opengl --fullscreen --app meego-app-camera
Adding Master Pointer: Virtual core pointer ( 2 )
Skipping non-Touch device: Virtual core XTEST pointer ( 4 )
Adding ATTACHED touch device: Cando Corporation Cando 10.1 Multi Touch
Panel with Controller ( 11 )
Skipping non-Touch device: SynPS/2 Synaptics TouchPad ( 14 )
loaded the Generic plugin
Loaded the MeeGo sensor plugin
Request for interface not granted...
Request for interface not granted...
Warning: Object::connect: No such signal
QXIMInputContext::inputMethodAreaChanged(QRect)
Warning: Object::connect: No such signal LauncherApp::localeSettingsChanged()
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Warning: Object::connect: No such signal
LauncherApp::windowListUpdated(QListWindowInfo)
Warning: Object::connect:  (sender name:   'meego-qml-launcher')
Debug: Instantiating VolumeControlPrivate
Debug: Settings*
Debug: Flash Mode:  0
Debug: Capture Mode:  0
Debug: /dev/video0   Lenovo EasyCamera
Debug: /dev/video0   Lenovo EasyCamera
Debug: Setting camera to  /dev/video0
Debug: Camera caps: 64
Debug: Supported maximum optical zoom 1
Debug: Supported maximum digital zoom 10
Debug: Metadata is not available
Debug: Audio input:  alsa:null  -  Discard all samples (playback)
or generate zero samples (capture)
Debug: Audio input:  alsa:pulse  -  PulseAudio Sound Server
Debug: Audio input:  alsa:default  -  Default
Debug: Audio input:  alsa:front:CARD=Intel,DEV=0  -  HDA Intel,
CONEXANT Analog
Front speakers
Debug: Audio input:  alsa:surround40:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.0 Surround output to Front and Rear speakers
Debug: Audio input:  alsa:surround41:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround50:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.0 Surround output to Front, Center and Rear speakers
Debug: Audio input:  alsa:surround51:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Debug: Audio input:  alsa:surround71:CARD=Intel,DEV=0  -  HDA
Intel, CONEXANT Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Debug: Audio input:  pulseaudio:  -  PulseAudio device.
Debug: Default source:  alsa:null
Debug: Using default resolution
Debug: Using default FPS
Debug: Codec:  video/theora
Debug: Codec:  video/mpeg2
Debug: Codec:  video/mpeg1
Debug: Codec:  video/mjpeg
Debug: Codec:  video/VP8
Debug: Codec:  video/h261
Debug: Container:  mp4
Debug: Container:  ogg
Debug: