Hi,

I tried again to make an image but now with the kernel- menlow-2.6.29.rc7-40.1.moblin2.i586.rpm kernel which I found on the repo directory from moblin.
Still no go for that.
When I try to start the pulseaudio then I get:
[r...@localhost /]# pulseaudio
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: This program is not intended to be run as root (unless -- system is specified). N: module-alsa-sink.c: Disabling timer-based scheduling because high- resolution timers are not available from the kernel. N: module-alsa-source.c: Disabling timer-based scheduling because high- resolution timers are not available from the kernel.
W: alsa-util.c: Cannot find fallback mixer control "Mic".
Soft CPU time limit exhausted, terminating.
Hard CPU time limit exhausted, terminating forcibly.
Aborted (core dumped)


PJ


On 07 Apr 2009, at 04:28, Zhang, Austin wrote:

Peter,

MIC is not a build (compile) tool, it is a image creator. It uses pre-compiled content from repository by your instructions in its config file.

How do you suggest to make a build for my platform? Do you know if
there is somewhere an document that is describing how to do this?
1 How do you get the current running kernel? You compiled it by yourself,right? So as I had mentioned in the below email, you can re- compile the moblin source code with menlow config. And the convinence method is using 'merge' script which can be found after you install the moblin kernel src pkg.
2 So far, no doc on this.

-----Original Message-----
From: Peter-Jan Deweirdt [mailto:[email protected]]
Sent: 2009年4月7日 0:36
To: Zhang, Austin
Cc: Zhang, Vivian; [email protected]
Subject: Re: [Moblin Dev] puseaudio

Hi,

Well I made an initial build with the moblin-image-creator. My first
tests were with the standard config file (from moblin-image-creator)
but they also didn't work.

How do you suggest to make a build for my platform? Do you know if
there is somewhere an document that is describing how to do this?

PJ

On 06 Apr 2009, at 18:11, Zhang, Austin wrote:

And the prefered method is using 'merge' script and then use that
menlow spec file to compile the kernel for menlow. See those files
under moblin kernel folder.

-----Original Message-----
From: Zhang, Austin
Sent: 2009年4月7日 0:01
To: 'Peter-Jan Deweirdt'
Cc: Zhang, Vivian; [email protected]
Subject: RE: [Moblin Dev] puseaudio

I already tried with the images from moblin itself but no go with
that.
You have menlow-like platform and if you are trying netbook
platform, it should not work.

How do you mean adopt the config from generic + menlow? How can I do
this?

Obviously, the output of uname does not make sense. If I am not
wrong, you just use moblin's source code and is using some config
for netbook or some config from you by yourselve. So what I means
is: using the config file named -- config-generic and plus the
content from config-menlow (just a few lines totally) and then re-
compile your kernel.

-----Original Message-----
From: Peter-Jan Deweirdt [mailto:[email protected]]
Sent: 2009年4月6日 23:53
To: Zhang, Austin
Cc: Zhang, Vivian; [email protected]
Subject: Re: [Moblin Dev] puseaudio

The kernel that I'm using is:

[r...@localhost ~]# uname --all
Linux localhost 2.6.29.rc7-40.1.moblin2-netbook #1 SMP Sun Mar 8
02:13:27 UTC 2009 i686 i686 i386 GNU/Linux
[r...@localhost ~]#


I already tried with the images from moblin itself but no go with
that.
How do you mean adopt the config from generic + menlow? How can I do
this?

Regards PJ

On 06 Apr 2009, at 17:49, Zhang, Austin wrote:

Not exactly sure the complain from the app.
Which kernel are you using? Can you adopt the moblin's config
(generic + menlow) and have a try?

-----Original Message-----
From: Peter-Jan Deweirdt [mailto:[email protected]]
Sent: 2009年4月6日 23:21
To: Zhang, Austin
Cc: Zhang, Vivian; [email protected]
Subject: Re: [Moblin Dev] puseaudio

I see there is nothing about pulseaudio into my /etc/initrd.d

However when I look into the installed rpm's then it's telling me
that
pulseaudio is installed:

r...@localhost ~]# rpm -qa | grep audio
alsa-plugins-pulseaudio-1.0.19-2.8.moblin2.i586
pulseaudio-0.9.14-1.36.moblin2.i586
pulseaudio-devel-0.9.14-1.36.moblin2.i586
[r...@localhost ~]#


When executing pulseaudio from the command line I get:
[r...@localhost ~]# pulseaudio
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: This program is not intended to be run as root (unless --
system is specified).
N: module-alsa-sink.c: Disabling timer-based scheduling because high-
resolution timers are not available from the kernel.
N: module-alsa-source.c: Disabling timer-based scheduling because
high-
resolution timers are not available from the kernel.
W: alsa-util.c: Cannot find fallback mixer control "Mic".
Soft CPU time limit exhausted, terminating.
Hard CPU time limit exhausted, terminating forcibly.
Aborted (core dumped)
[r...@localhost ~]#


when I then look into my dmesg I have this:
[ 3526.986325] hda-intel: Invalid position buffer, using LPIB read
method instead.
[ 3526.987836] hda-intel: IRQ timing workaround is activated for card
#0. Suggest a bigger bdl_pos_adj.

Greetings PJ

On 06 Apr 2009, at 17:12, Zhang, Austin wrote:

Can you try to (re)launch pulseaudio daemon and run alsamixer again?
pulseaudio --start
You should see pulseaudio running on the backgroud.

-----Original Message-----
From: Peter-Jan Deweirdt [mailto:[email protected]]
Sent: 2009年4月6日 22:22
To: Zhang, Austin
Cc: Zhang, Vivian; [email protected]
Subject: Re: [Moblin Dev] puseaudio

Hi,

Well we are developing our own HW. We are using the Silverthorne and
the Poulsbo (400Mhz FSB)

This is what we have on /dev/snd

[r...@localhost ~]# ls /dev/snd/
controlC0  hwC0D0  pcmC0D0c  pcmC0D0p  seq  timer
[r...@localhost ~]#


Also when I look if the pulseaudio is running I see this audio
deamon
running:
[r...@localhost ~]# ps aux | grep audio
root       537  0.0  0.0      0     0 ?        S<   20:00   0:00
[hd-
audio0]
root      1105  0.0  0.2   2136   604 pts/0    S+   20:01   0:00
grep
audio
[r...@localhost ~]#


Regards Peter-Jan

On 06 Apr 2009, at 16:11, Zhang, Austin wrote:

No, of course.

Which platform are you using? menlow? mrst? What kind of device
node
under /dev/snd do you have?

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Peter-Jan Deweirdt
Sent: 2009年4月6日 22:05
To: Zhang, Vivian
Cc: [email protected]
Subject: Re: [Moblin Dev] puseaudio

Does that mean that when I'm logged-in as root the pulseaudio will
never start?

PJ
On 06 Apr 2009, at 16:00, Zhang, Vivian wrote:

Hi,
You can try #alsamixer under normal user like "moblin". It works
ok on my device. It seems that pa server can't be launched
successfully under root privilege on moblin.

Thanks.
-- vivian

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Peter-Jan Deweirdt
Sent: 2009年4月6日 21:26
To: [email protected]
Subject: [Moblin Dev] puseaudio

Hi,

I'm trying to setup my audio on my device with moblin. I tried
before
with ubuntu and this looks fine. It looks like I get the
pulseaudio
not to work on moblin
I don't really know what is happening so I'll need some help.
When I look into /dev I don't see anything that I can use for
playing
a audio file (no /dev/dsp /dev/audio)

When I try to start alsamixer I get the following error:
[r...@localhost ~]# alsamixer
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to
connect:
Connection refused


alsamixer: function snd_ctl_open failed for default: Connection
refused



Can please somebody help me?

Here is some output configuration

[r...@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation System Controller Hub (SCH
Poulsbo) (rev 06)
00:02.0 VGA compatible controller: Intel Corporation System
Controller
Hub (SCH Poulsbo) Graphics Controller (rev 06)
00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH
Poulsbo) HD Audio Controller (rev 06)
00:1c.0 PCI bridge: Intel Corporation System Controller Hub (SCH
Poulsbo) PCI Express Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation System Controller Hub (SCH
Poulsbo) PCI Express Port 2 (rev 06)
00:1d.0 USB Controller: Intel Corporation System Controller Hub
(SCH
Poulsbo) USB UHCI #1 (rev 06)
00:1d.1 USB Controller: Intel Corporation System Controller Hub
(SCH
Poulsbo) USB UHCI #2 (rev 06)
00:1d.2 USB Controller: Intel Corporation System Controller Hub
(SCH
Poulsbo) USB UHCI #3 (rev 06)
00:1d.7 USB Controller: Intel Corporation System Controller Hub
(SCH
Poulsbo) USB EHCI #1 (rev 06)
00:1e.0 SD Host controller: Intel Corporation System Controller
Hub
(SCH Poulsbo) SDIO Controller #1 (rev 06)
00:1e.1 SD Host controller: Intel Corporation System Controller
Hub
(SCH Poulsbo) SDIO Controller #2 (rev 06)
00:1e.2 SD Host controller: Intel Corporation System Controller
Hub
(SCH Poulsbo) SDIO Controller #3 (rev 06)
00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH
Poulsbo) LPC Bridge (rev 06)
00:1f.1 IDE interface: Intel Corporation System Controller Hub
(SCH
Poulsbo) IDE Controller (rev 06)
02:00.0 Ethernet controller: Intel Corporation Unknown device 10d3
03:00.0 Mass storage controller: Silicon Image, Inc. Sil 3531
[SATALink/SATARaid] Serial ATA Controller (rev 01)

[r...@localhost ~]# dmesg | grep 00:1b.0
[    0.810108] pci 0000:00:1b.0: reg 10 64bit mmio:
[0xd0010000-0xd0013fff]
[    0.810351] pci 0000:00:1b.0: PME# supported from D0 D3hot
[    0.810378] pci 0000:00:1b.0: PME# disabled
[ 0.829266] pci 0000:00:1b.0: PCI->APIC IRQ transform: INT A ->
IRQ
22
[ 5.187216] HDA Intel 0000:00:1b.0: setting latency timer to 64
[r...@localhost ~]#


[r...@localhost ~]# cat /proc/asound/cards
0 [MID            ]: HDA-Intel - HDA Intel MID
                 HDA Intel MID at 0xd0010000 irq 22

[r...@localhost ~]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18a.


[r...@localhost ~]# ls /dev
MAKEDEV          log                 random    stdin   tty22
tty39
tty55    usb             usbmon4
block loop0 rtc stdout tty23 tty4
tty56    usbdev1.1_ep00  vcs
bsg              loop1               rtc0      tty     tty24
tty40
tty57    usbdev1.1_ep81  vcs1
bus              loop2               sda       tty0    tty25
tty41
tty58    usbdev2.1_ep00  vcs2
char             loop3               sda1      tty1    tty26
tty42
tty59    usbdev2.1_ep81  vcs3
console          loop4               sda2      tty10   tty27
tty43
tty6     usbdev3.1_ep00  vcs4
core             loop5               sda3      tty11   tty28
tty44
tty60    usbdev3.1_ep81  vcs5
cpu              loop6               sda4      tty12   tty29
tty45
tty61    usbdev4.1_ep00  vcs6
cpu_dma_latency  loop7               sdb       tty13   tty3
tty46
tty62    usbdev4.1_ep81  vcs8
dri              mem                 sdb1      tty14   tty30
tty47
tty63    usbdev4.2_ep00  vcsa
fd               net                 sdb2      tty15   tty31
tty48
tty7     usbdev4.2_ep81  vcsa1
full             network_latency     sdb3      tty16   tty32
tty49
tty8     usbdev4.2_ep82  vcsa2
hidraw0 network_throughput sdb4 tty17 tty33 tty5
tty9     usbdev4.3_ep00  vcsa3
hidraw1          null                sg0       tty18   tty34
tty50
ttyS0    usbdev4.3_ep81  vcsa4
hidraw2          port                shm       tty19   tty35
tty51
ttyS1    usbmon0         vcsa5
initctl          ppp                 snapshot  tty2    tty36
tty52
ttyS2    usbmon1         vcsa6
input            ptmx                snd       tty20   tty37
tty53
ttyS3    usbmon2         vcsa8
kmsg             pts                 stderr    tty21   tty38
tty54
urandom  usbmon3         zero
[r...@localhost ~]#

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account
on http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account
on http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists





_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to