Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rjmx

Pages: [1]
1
Angstrom & OpenZaurus / Functional .ogg Player On 3.5.3?
« on: December 07, 2005, 10:55:10 pm »
Quote
Quote
opie-mediaplayer2 still crashes, though, even on known good oggfiles.

Run it from the terminal; does it produce any useful info about the crash?

Not a lot of use, I'm afraid. Here's the output:

Quote
: QuickLauncher invoked as: opieplayer2
: Lib::run() started
: SkinLoader::start() 2 jobs
: read list filename default
: <<<<<<<new m3u default
: new loader 1 jobs left
: load bgpixmap
: finished step
: load upimage
: finished step
: load downimage
: finished step
: load button masks 0
: finished step
: load button masks 1
: finished step
: load button masks 2
: finished step
: load button masks 3
: finished step
: load button masks 4
: finished step
: load button masks 5
: finished step
: load button masks 6
: finished step
: load button masks 7
: finished step
: load button masks 8
: finished step
: load button masks 9
: finished step
: load whole mask
: finished step
: SkinCache: hit on bgpixmap
: new loader 0 jobs left
: load bgpixmap
: finished step
: Lib::run() finished
: load upimage
: finished step
: load downimage
: finished step
: load button masks 0
: finished step
: load button masks 1
: finished step
: load button masks 2
: finished step
: load button masks 3
: finished step
: load button masks 4
: finished step
: load button masks 5
: finished step
: load button masks 6
: finished step
: load whole mask
: finished step
: all jobs done
: slot Clicked
: writing to current m3u
: <<<<<<<new m3u default
: SkinCache: hit
: SkinCache: hit on bgpixmap
: SkinCache: hit
: SkinCache: hit on bgpixmap
Segmentation fault

Classic segfault. I'm also attaching an strace output which is a little more useful, although since there's apparently a bug on strace on ARM, it doesn't trace child processes, even though I told it to on the command line (invoked with 'strace -F -f opieplayer2'). Having said that, it looks like the segfault occurs in the main opieplayer2 process, probably when it starts to feed data to the ogg decoder. But it's a little hard to tell.

Both outputs were taken with the same command sequence:
- invoke opieplayer2
- Select "add file" and select an ogg file to play
- hit the 'play' (|>) icon

The segfault occurs a couple of seconds later.

It would be nice to check with the opie-mediaplayer2 source, but I can't find it. Where are the sources hiding?

 .....Ron

2
Angstrom & OpenZaurus / Functional .ogg Player On 3.5.3?
« on: December 06, 2005, 12:20:20 pm »
OK, I have xmms working now. The problem was corrupted .ogg files, of all things. I usually use grip on my Debian box to rip my CDs, and it looks as though there was a recent bug, either in it or in Debian's vorbis-tools, that created corrupt output files. I found out what was wrong when I installed vorbis-tools on the Z and ran ogginfo on one of the files, and it complained of a "hole in the data" (whatever that is) and a corrupted file. I had tried a couple of different ogg files on opie's xmms-embedded, but they were all recorded during the same period, and are all corrupt. They played ok on XMMS on my Debian box, too, and that just makes it all the more confusing.

Sigh.

Sorry to create a wild goose chase, folks. You did teach me a lot, though  

opie-mediaplayer2 still crashes, though, even on known good oggfiles. I think I'll stick to xmms-embedded for now.

Thanks for your help,

 .....Ron

3
Angstrom & OpenZaurus / Functional .ogg Player On 3.5.3?
« on: December 05, 2005, 11:33:27 pm »
Quote
Quote
Thanks for the suggestions. I uninstalled both xmms and mediaplayer2, along with as many of their dependencies as I could find (like all libxine* packages, for example). I then reinstalled xmms-embedded, and that pulled in one dependency (libvorbisidec1).
From the package file:
Quote
Package: xmms-embedded
Version: 20040327-r3
Depends: libglib-2.0-0 (>= 2.6.3), libc6 (>= 2.3.2+cvs20040726), libqpe1 (>= 1.2.0), libqte2 (>= 2.3.10), libstdc++6 (>= 3.4.3), libgcc1 (>= 3.4.3), libmikmod (>= 3.1.11), libid3tag0 (>= 0.15.0b), libz1 (>= 1.2.2), libmad0 (>= 0.15.0b), libvorbisidec1 (>= 20041119), libsidplay1 (>= 1.36.59)

You can always use the package file in the feed to check for depends.

If you use ipkg from the terminal to make a clean install do this first:

ipkg -recursive remove xmms-embedded
then do:
ipkg install xmms-embedded

Or you could use: -force-reinstall

That 'should' fix it if your using all the proper feeds.

Thank you. I tried that, but it doesn't seem to help. It's almost as if xmms has no timing reference, so it plays each PCM sample as fast as it can. Is there a tweak for that somewhere, or a package I've forgotten to install? It seems to play .wav files, although very badly (distorted, out of sequence (maybe)). Don't have any mp3's to try with it.

One thing I did find is that the OZ mirror at http://oz.pdai.org/official/unstable/ has an upgrades directory in the 3.5.3 directory that is not up-to date (for a start, there's no libxine1 package) compared to that at http://ewi546.ewi.utwente.nl/mirror/www.op...icial/unstable/. This made installing opie-mediaplayer2 very difficult (needed -force-depends after installing libxine manually). I'd originally installed from oz.pdai.org because it's easier to type than ewi546.ewi.utwente.nl/mirror/www.openzaurus.org (original openzaurus.org seems to have disappeared), and I begin to wonder whether that archive may be corrupt in other places as well.

I tried reinstalling mediaplayer2 from the utwente.nl archive and again got the same results (segfaults when I try to play an ogg file). I did install strace to see why it's segfaulting and found it does it while reading in the ogg file, near the beginning. I'll compare that with the source if I get some time.

Thanks,

 .....Ron

4
Angstrom & OpenZaurus / Functional .ogg Player On 3.5.3?
« on: December 05, 2005, 09:30:42 pm »
Quote
Quote
I've tried all the media players I can find on my SL-5600 (poodle) running opie 3.5.3. None of them will play ogg files:
If you install xmms from the feed (with it's depends) with the package manager or the terminal it plays oggs very well for me on a poodle using OZ/Opie3.5.3.

If you install mediaplayer2 from the feed (with it's depends) and:

libvorbis
libxine-plugin-decode-vorbis
libxine-plugin-dmx-ogg

it also plays oggs.

Greg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106097\"][{POST_SNAPBACK}][/a][/div]

Thanks for the suggestions. I uninstalled both xmms and mediaplayer2, along with as many of their dependencies as I could find (like all libxine* packages, for example). I then reinstalled xmms-embedded, and that pulled in one dependency (libvorbisidec1).

This has definitely changed things. Songs play, but very fast (a 3-minute song takes maybe two seconds). Have I missed something, or is there a setting somewhere?

I think I'll concentrate on xmms for now (I don't need video) and try and get that to work before trying mediaplayer2 again.

Thanks,

 .....Ron

(and thanks to all who replied)

5
Angstrom & OpenZaurus / Functional .ogg Player On 3.5.3?
« on: December 05, 2005, 12:38:53 am »
I've tried all the media players I can find on my SL-5600 (poodle) running opie 3.5.3. None of them will play ogg files:

mediaplayer 1 just segfaults immediately on startup
mediaplayer2 segfaults when asked to play an ogg file
     (it also crashes when I try to load a playlist)
xmms-embedded almost works, but doesn't play anything. I get a brief noise (which sounds suspiciously like the screen tap sound) when I hit the play button, but that's all.

This does look like a continuing problem (there's an awful lot of posts on the subject of media players on OZ). I've tried lots of things, and I don't know what to try next. I think I've installed all relevant packages (all on /media/card, since root is almost full, if that makes any difference), but I may have missed some. Somebody seemed to suggest that you couldd install/needed to install mplayer, but didn't provide any details on how to do it. In any case, it didn't help.

Anyone have suggestions?

Thanks,

 .....Ron

6
Angstrom & OpenZaurus / Can't Find The Package
« on: December 05, 2005, 12:29:53 am »
I eventually reflashed the device, and the problem went away. I used the package manager to create another ipkg.conf, then installed kernel-module-bt950-cs from the command line. Looking at the new ipkg.conf generated by the package manager, I discovered lots of arch lines, and presumably that's what made the difference (I'd tried adding 'arch any 1' and 'arch all 1', but that didn't help). I think one of the package managers I tried (probably opie-aqpkg, but I'm not sure) deleted the original arch lines at some point. I guess the lesson is to avoid the GUI package manages and install/remove from the console.

7
Angstrom & OpenZaurus / Can't Find The Package
« on: December 04, 2005, 04:24:32 pm »
I managed to get bluetooth working on my poodle running 3.5.3 (threw away the!@#$%^&&* bluetooth "manager" and did it manually). Since my card is an Ambicom BT-2000CF, I needed kernel-module-bt950-cs, which I'd installed on my sd card on /media/card. Eventually realised that it should be in root, so I uninstalled it and attempted to re-install it using "-d root".
Whenever I do this, I get an error from ipkg complaining that it can't find the package. Eventually I downloaded the package from the feed into my computer and put it on a CF card, and tried to install it from the package file itself. I still get the error:

Code: [Select]
> root@poodle: /etc# ipkg install -d root /media/cf/kernel-module-bt950-cs_2.4.18-rmk7-pxa3-embedix-r36_poodle.ipk
> Clearing state_want and state_flag for pkg=kernel-module-bt950-cs (arch_priority=0 flag=16 want=2)
> Nothing to be done
> An error ocurred, return value: 4.
> Collected errors:
> Cannot find package kernel-module-bt950-cs.
> Check the spelling or perhaps run 'ipkg update'
(I've run 'ipkg update' till I'm blue in the face. It doesn't help.)

Anyone know how I can get this installed?

 .....Ron

8
Angstrom & OpenZaurus / Console In 3.5.3 Doesn't Read .profile On Startup
« on: December 03, 2005, 06:17:07 pm »
I'm new to opie (which I like very much). I'm curently trying to get bluetooth working on my poodle, which involves a lot of work with the console (along with more than the usual amount of swearing and cursing). I find, however, that aliases that I put in /home/root/.profile (or, for that matter, in /etc/profile) are not read on startup, which quickly gets annoying when I have to enter them manually each time. If I log into the zaurus with SSH, everything works, but not so with Console. I presume I need to add a flag to the /bin/sh invocation in the profile to make sh act as a login shell, but the standard sh flag to do that (--login) doesn't work. /bin/sh is symlinked to busybox, but the only documentation I can find on busybox (from their website) doesn't even mention sh as a function, much less document it.

How can I get my aliases to read each time I start Console?

 .....Ron

9
Software / 5600 email and large IMAP mailboxes
« on: February 01, 2004, 02:30:43 pm »
Hmmm. That\'s the problem with mine: it tries to subscribe to every one of my IMAP mailboxes. AND it tries to download every message it can find in each mailbox; that\'s why it runs out of memory.
Why yours should be different, I do not know. What ROM version do you have?

 .....Ron

10
Accessories / Need help with bluetooth on 5500 running Sharp 3.13
« on: January 18, 2004, 02:30:10 pm »
Quote from: \"n8a\"

] You\'re a lucky man, Ron!  The BT2000E is the older BT2000 card
] with the Erickson chipset, whereas mine is the newer version
] (BT2000C) with the CRT chipset and the blinking led.

   I think I must be lucky. I wandered into my nearest CompUSA store a couple of weeks ago and came out with the right card, it seems. Think it was the only one they had: perhaps they don\'t turn them over very quickly. Or at all.

]  I\'m actually sending mine back for the older card that you have!!  
] Hopefully it\'ll work out of the box as well as your does!  

   Hope so. Let me know how it goes.

] btw, can you expand on the hacking that you did to get your
] transfer rates up?  That\'s beyond my technical capabilities
] (at least from the sound of it!), and that would be crucial for me.  

   I had to work a few things out for myself. I posted some questions to the bluez developers\' mailing list, but got no reply. So, at the risk of making a long post, let\'s start with a little theory:

   It seems that a lot of the Bluetooth cards (both pcmcia and CF) out there use bluetooth chips that you talk to (from the computer side) via a serial link. Probably left over from evaluation kits where you hooked up to them with a real serial cable from a PC. Most of these cards, then, have a UART (tech speak for \"serial port chip\") as well as the bluetooth chip.

   Since the link from the computer to Bluetooth is now a serial link, it must have a baud rate (at least that\'s what we used to call it), and both ends must be set the same. The Ericsson chip appears to default to 56k bits/sec, and the bt950 driver just starts up the card\'s UART at that speed, and makes no attempt to change it. Since the transfer rate over a link is determined by the lowest-speed portion of the link, that means you\'re not going to get more than 56k bits/sec out of the link. This translates to around 5.5k bytes/sec (async transfer speed is around 10 bits/character).

   The Ericsson chip, however, can be run at speeds of up to 448k bits/sec: you just need to switch it, and change the UART speed to match. So, acting on a suggestion from an old post on the bluez-devel mailing list, I lifted the code out of another bluez driver (bluecard_cs, I think) that did switch the speeds, and applied it to the bt950 driver. I had to do some tricks to get the Zaurus to load the new driver module (like manually changing the kernel version: I\'d like to know how to do it properly), and that was it. Transfer rate now around 40k bytes/sec, still not the theoretical maximum over bluetooth, but I\'m prepared to settle for it.

   It\'s been running fine for over a week now. I don\'t (yet) know how to build it for other kernels (I have the Sharp 1.32 ROM on my 5600): if someone knows how to do this, they can have the source.

 .....Ron

11
Software / 5600 email and large IMAP mailboxes
« on: January 16, 2004, 10:21:47 pm »
I have a 5600, Sharp v1.32 ROM, and I\'m having trouble with the email app.

I run an IMAP server on my Linux box, and since I keep all my important emails (and quite a few that aren\'t, but I didn\'t get around to throwing them out!), there\'s quite a lot of messages on that server (currently 8242, according to wl on emacs), organised into about 50 or so folders.

When I start up the Zaurus\' email app and try to sync mailboxes, it invariably:

a) goes away for a long time, during which it\'s not very responsive
 eventually claims memory is running low, and I should shut down the email app
c) locks up anyway and I have to do a soft reset

Anyone had this sort of problem? Any suggestions?

Thanks,

 .....Ron

12
Accessories / Need help with bluetooth on 5500 running Sharp 3.13
« on: January 16, 2004, 10:05:17 pm »
I think even AmbiCom are confused with their bluetooth card versions. Mine is clearly marked \"BT2000-CF\" on the back, but when I plug it in and run cardctl ident, I get:

Socket 0:
  product info: \"AmbiCom, Inc\", \" BT2000E\", \"Bluetooth PC/CF Card\"
  manfid: 0x022d, 0x2000
  function: 2 (serial)
Socket 1:
  no product info available

(running on a 5600,  Sharp v1.32 ROM, forgot where I got the bluez stuff but probably from links off this site).

Interestingly:

Quote from: \"n8a\"

] The BT2000-CF card wasn’t blinking, so I did the following
] to try to get it working:

   Mine doesn\'t have any LEDs at all, so it has grave difficulties blinking.

   Certainly, this one works very well. The bt950 is the correct driver for it, although I discovered that the driver from the bluez website gives a painfully slow transfer rate (5k bytes/sec on PAN), due to the fact that it sets up the UART to talk to the Ericsson chip at 56k bits/sec. I\'ve hacked the driver source so that it runs at 448k, giving a handy transfer rate of around 40k bytes/sec.

 .....Ron

Pages: [1]