Re: QtMoko audio state work

2012-11-26 Thread Neil Jerram
Radek Polak  writes:

> Hi Neil,
> thanks for the patches, i'll take a look at them in a few days. I am going to 
> have a busy weeks at paid work probably until the Christmas so i have to slow 
> down on QtMoko side a bit...

No problem, and thanks.  I hope that other work goes well!

Regards,
Neil

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko audio state work

2012-11-26 Thread Radek Polak
On Sunday, November 25, 2012 02:55:59 PM Neil Jerram wrote:

> Hi Radek,
> 
> After a day yesterday where the A3 audio didn't work for me in several
> calls, I decided to take a closer look at the QtMoko audio code.  That
> led to a sequence of small (I think) cleanups, and a reworking of the
> audio state handling code, and I'd appreciate hearing what you think
> about that.
> 
> I've pushed my work-in-progress branch to
> https://github.com/neiljerram/qtmoko/commits/nj, and the relevant
> commits are those from
> https://github.com/neiljerram/qtmoko/commit/0062faf815f5b1ede6624acac08bf3b
> 8ec7040bd to
> https://github.com/neiljerram/qtmoko/commit/958212671741685ae05de9e2564ea45
> 272f985d6 inclusive, excluding
> https://github.com/neiljerram/qtmoko/commit/18404194e37b85a315a64ae23b3ac97
> e7dab3256.

Hi Neil,
thanks for the patches, i'll take a look at them in a few days. I am going to 
have a busy weeks at paid work probably until the Christmas so i have to slow 
down on QtMoko side a bit...

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] Error compiling on wheezy

2012-11-26 Thread Radek Polak
On Monday, November 26, 2012 06:08:46 PM Giacomo 'giotti' Mariani wrote:

> Updates:
>  * I had to install libasound2 libgstreamer-plugins-base0.10-0
> libts-0.0-0 in order to solve library dependencies.
>  * I had no mouse in console, so I had to install gpm.

Hi, are you running this on PC? You need to install then all those packages 
from that are in README installed with xapt.

> Now I'm able to run qpe, but:
>  * the mouse is quite unresponsive.
>  * the QtMoko calibration window appears,  but I'm not able to click and
> calibrate it... :
> Cannot open input device '/dev/tty0': Permission denied

You need to be root.

> readFile failed /sys/bus/platform/devices/twl4030_usb/vbus : "No such
> file or directory"
> readFile failed /sys/class/power_supply/bq27000-battery/status : "No
> such file or directory"
> readFile failed /sys/class/power_supply/bq27000-battery/capacity : "No
> such file or directory"
> readFile failed /sys/class/power_supply/bq27000-battery/current_now :
> "No such file or directory"

This should be fixed in git for a while. Btw the PC build is still very rough, 
but is quite cool for development.

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] Error compiling on wheezy

2012-11-26 Thread Giacomo 'giotti' Mariani
Hi all.

Updates:
 * I had to install libasound2 libgstreamer-plugins-base0.10-0
libts-0.0-0 in order to solve library dependencies.
 * I had no mouse in console, so I had to install gpm.

Now I'm able to run qpe, but:
 * the mouse is quite unresponsive.
 * the QtMoko calibration window appears,  but I'm not able to click and
calibrate it... :
Cannot open input device '/dev/tty0': Permission denied
readFile failed /sys/bus/platform/devices/twl4030_usb/vbus : "No such
file or directory"
readFile failed /sys/class/power_supply/bq27000-battery/status : "No
such file or directory"
readFile failed /sys/class/power_supply/bq27000-battery/capacity : "No
such file or directory"
readFile failed /sys/class/power_supply/bq27000-battery/current_now :
"No such file or directory"

Any further suggestion?

Thanks a lot,
  Giacomo
 
On 11/23/2012 06:11 PM, Giacomo 'giotti' Mariani wrote:
> Hello Frode, Everyone,
> following http://ubuntuforums.org/showthread.php?t=652038 ,
> http://frontseed.com/entry/enable-frambeuffer-ubuntu-karmic-koala-using-grub2
> and
> http://news.softpedia.com/news/How-to-Fix-the-Big-and-Ugly-Plymouth-Logo-in-Ubuntu-10-04-140810.shtml,
> I've been able to enable the fb.
>
> The most important steps, in my opinion, could be:
>  * aptitude install  v86d
>  * modprobe uvesafb
>
> Soon I will try compiling and running QtMoko.
>
> Cheers,
>   Giacomo
>
>
>> From: EdorFaus 
>> Subject: Re: [QtMoko] Error compiling on wheezy
>>
>> [...]
>>  > Indeed, I miss /dev/fb0. Where can i get it?
>>
>> Hm. No framebuffer device...
>>
>> My first thought would be to check if /dev is actually bind mounted 
>> properly, so that the out-of-chroot udev in (B) would take care of 
>> generating /dev/fb0 for both (B) and (C).
>>
>> I see that the script used to enter the chroot tries to take care of 
>> that though, so it probably is (but it wouldn't hurt to check).
>>
>> One way to check would be to see if /dev/fb0 exists on (B) even though 
>> it doesn't in (C).
>>
>> Assuming that's not the problem, my next thought is to check the 
>> configuration of VirtualBox, checking that it is actually set up to 
>> include a graphics card that Linux can run a graphical framebuffer on.
>>
>> If it is, I think the next thing to do is to check the dmesg of (B) (if 
>> the output of "dmesg" is too short, it can probably be found in 
>> /var/log/messages prefixed with "kernel:"), looking for anything to do 
>> with framebuffers, to see if that tells you why (B) doesn't have one.
>>
>> If that doesn't give any clues either, well... then things are a bit 
>> more complex. Maybe the right driver wasn't enabled when (B)'s kernel 
>> was compiled, or something. Either way, probably harder to figure out 
>> than we'd like. :/ So I hope something in the above helps.
>>
>>
 The same happens if I do it outside chroot (connecting with ssh -Y):
>> Just a tiny note: the -Y is probably not necessary, as it just deals 
>> with forwarding X11 connections - which are not in use here. It 
>> shouldn't hurt, either, though - and should certainly not cause the 
>> problem you're seeing.
>>
>> Regards,
>> -Frode
>


-- 
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O< ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community