Active Topics

 


Reply
Thread Tools
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#121
Originally Posted by qwerty12 View Post
I'm 95% sure it's on all the partitions (kernel has fixed partition on /dev/mtd2 iirc) , you can verify next time you boot into the flash by running uname -a.

My kernels say BST, fanoush's say CEST and Nokia ones say EEST.
That's right; 100% sure here. One kernel with any normal multi-boot setup. (With the Linux flasher, I think you can boot any kernel; that might be a good way, if you just want to test a different kernel quickly...)
 
Posts: 34 | Thanked: 24 times | Joined on Jan 2008 @ Saint-Avertin / France
#122
Well the dbus error comes from the alsa dsp plugin, I have submitted a patch for it :
https://garage.maemo.org/tracker/ind...id=81&atid=371
I have rebuild a package with this fix :
http://manupap1.free.fr/maemo/chinoo..._0.7_armel.deb

The good thing it's now with some other vlc fix I can heard my voice in the headset.

I will post new packages soon...

lokidor
 

The Following 2 Users Say Thank You to lokidor For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#123
Sometimes I wish I could hit the "thanks" button multiple times on a post. This is magnificent. You're stealing all the fun stuff from the GSoC student. He's not going to have much to do.

Well, OK, there is this whole playback thing that needs some serious optimization...

EDIT: Installing your .deb requires a bit of forcing:

sudo dpkg -i --force-conflicts osso-dsp-plugin-alsa_0.7_armel.deb

dpkg: regarding osso-dsp-plugin-alsa_0.7_armel.deb containing osso-dsp-plugin-alsa:
libasound2-plugins conflicts with osso-dsp-plugin-alsa
osso-dsp-plugin-alsa (version 0.7) is to be installed.
dpkg: warning - ignoring conflict, may proceed anyway !
EDIT2: Still getting the bus error, will wait (impatiently) for your new packages.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-01 at 17:08.
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 34 | Thanked: 24 times | Joined on Jan 2008 @ Saint-Avertin / France
#124
Originally Posted by qole View Post
Sometimes I wish I could hit the "thanks" button multiple times on a post. This is magnificent. You're stealing all the fun stuff from the GSoC student. He's not going to have much to do.

Well, OK, there is this whole playback thing that needs some serious optimization...

EDIT: Installing your .deb requires a bit of forcing:



EDIT2: Still getting the bus error, will wait (impatiently) for your new packages.
Effectively the osso-dsp-plugin-alsa package conflicts with the libasound2-plugins package but on my own tablet dpkg removed it cleanly before to install the dsp plugin.

I'm not sure the package is properly installed on your tablet because the dbus error should not happen anymore even with non fixed vlc debian packages.

Last edited by lokidor; 2008-06-01 at 18:16.
 
Posts: 34 | Thanked: 24 times | Joined on Jan 2008 @ Saint-Avertin / France
#125
You can try new packages here :
http://manupap1.free.fr/maemo/chinook/

Adding ":adev=default" to the v4l2 part of the command line should be enough to enable the sound capture.

There is still a lot of work to do :

I didn't succeed in transcoding the audio, this perhaps only a command line issue, I didn't try all the parameters.

I get a vlc crash with an unexpected "Bus error" with the followingl command :
Code:
qvlc v4l2:///dev/video0:chroma="UYVY":width=176:height=144:fps=5:adev=default
lokidor
 

The Following User Says Thank You to lokidor For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#126
Originally Posted by lokidor View Post
Effectively the osso-dsp-plugin-alsa package conflicts with the libasound2-plugins package but on my own tablet dpkg removed it cleanly before to install the dsp plugin.

I'm not sure the package is properly installed on your tablet because the dbus error should not happen anymore even with non fixed vlc debian packages.
Here's what I'm getting when I try:

dpkg -i osso-dsp-plugin-alsa_0.7_armel.deb
Selecting previously deselected package osso-dsp-plugin-alsa.
dpkg: regarding osso-dsp-plugin-alsa_0.7_armel.deb containing osso-dsp-plugin-alsa:
libasound2-plugins conflicts with osso-dsp-plugin-alsa
osso-dsp-plugin-alsa (version 0.7) is to be installed.
dpkg: error processing osso-dsp-plugin-alsa_0.7_armel.deb (--install):
conflicting packages - not installing osso-dsp-plugin-alsa
Errors were encountered while processing:
osso-dsp-plugin-alsa_0.7_armel.deb
EDIT: I can't just remove libasound2-plugins, either:

apt-get remove libasound2-plugins
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
libasound2-plugins osso-multimedia
0 upgraded, 0 newly installed, 2 to remove and 4 not upgraded.
Need to get 0B of archives.
After unpacking 381kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-02 at 16:18.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#127
Sorry, me again...

OK, I was getting the bus error with --force-conflicts because it was actually not installing it:

Unpacking replacement osso-dsp-plugin-alsa ...
Replaced by files in installed package libasound2-plugins ...
Setting up osso-dsp-plugin-alsa (0.7) ...
When I tried using

Code:
dpkg-deb -x osso-dsp-plugin-alsa_0.7_armel.deb  /
it does its thing silently, but then VLC does this:

[00000001] main libvlc debug: translation test: code is "en_GB"
[00000353] dummy interface: using the dummy interface module...
dsp_protocol_open_node(): Could not open pcm device file /dev/dsptask/pcm_rec
alsa_dsp_prepare(): Error in send speech params data
[00000363] v4l2 demux error: Failed to read alsa frame (Input/output error)
[00000363] v4l2 demux error: Failed to read alsa frame (Input/output error)
That v4l2 demux / alsa error just repeats over and over, as log as the video is displayed.

This is very frustrating. Can you post your successful command line that played mic in your headphones?

EDIT: Oops. Forgot to install new VLC packages. Wait a bit...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-02 at 19:28.
 
Posts: 34 | Thanked: 24 times | Joined on Jan 2008 @ Saint-Avertin / France
#128
Originally Posted by qole View Post
EDIT: Oops. Forgot to install new VLC packages. Wait a bit...
Yes it should work much better with the new packages...
I have applied one patch for the speech error.

Originally Posted by qole View Post
I notice that the camera is VERY particular about the dimensions you give it. It has to be exactly 1.3 ratio, so use 192x144 or 176x132.
Oops I can not believe I missed this one.

lokidor
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#129
Originally Posted by lokidor View Post
Oops I can not believe I missed this one.
No I was wrong*. I used a gst-launch pipeline to determine the acceptable resolutions, and 176x144 is one of them. That's not the problem.

I only get the bus error when trying to get audio working. What command line actually works?

*This happens a lot.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-02 at 20:21.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#130
Here is the gstreamer pipeline script I use to test the camera and mic. This works to echo both cam and mic. When VLC can do this, I know that the cam and mic are both working.
Code:
gst-launch gconfv4l2src ! "video/x-raw-yuv,width=$1,height=$2,framerate=(fraction)$3/1" ! xvimagesink  dsppcmsrc ! "audio/x-raw-int,rate=8000,channels=1" ! dsppcmsink
you save it as a script, then test the camera parameters by running

Code:
gstest 176 144 8
Again, though, lokidor, I need to know what command line you used to get the mic to echo to your headphones. I cannot get it to work at all.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-06-02 at 20:31.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:28.