Author Topic: Mplayer Problems On C3000  (Read 3210 times)

bustersnyvel

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://
Mplayer Problems On C3000
« on: March 24, 2005, 08:00:36 am »
Hi folks,

I've just got my Zaurus SL-C3000, and I want to play movies on it! I've installed mplayer version dev-CVS--3,4,2 - the one that's linked from the Kino2 website. Unfortunately, it won't work  I've tried it with the following commands:

mplayer somefile.mpeg -vo bvdd -f scale=640:480,rotate=1

It gives me the following output:

Code: [Select]
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user)
I tried to fix this by killing atd (which uses /dev/rtc), which gave me:

Code: [Select]
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.

Besides the above message, MPlayer gives me:

Code: [Select]
Encrypted VOB file! Read DOCS/HTML/en/dvd.html
MPEG-PS file format detected
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1100.0 kbps (137.5 kbytes/s)

The file can be played by the stock Media Player pre-installed on the C3000.

I get a black rectangle on my monitor (presumably where the video is supposed to be), and the audio plays for about half a second. The only way to quit mplayer then is to hit ctrl+C in the terminal.

I'm running QTopia 1.5.4 and kernel 2.4.20 on the stock Sharp C3000 ROM version 1.01 JP, translated into English. Hopefully, someone can help me get this thing to work!

bustersnyvel

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://
Mplayer Problems On C3000
« Reply #1 on: April 27, 2005, 08:57:10 am »
I hate bumping my post, but doesn't anyone have any idea on how to get this issue resolved?

Jinidog

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://www.st-legacy.de.vu
Mplayer Problems On C3000
« Reply #2 on: April 27, 2005, 09:16:50 am »
Why not checking, what it's complaining about?

Failed to open /dev/rtc: Device or resource busy (it should be readable by the user)

So, check, whether /dev/rtc is readable by all users.
ls -l /dev/rtc

bustersnyvel

  • Newbie
  • *
  • Posts: 16
    • View Profile
    • http://
Mplayer Problems On C3000
« Reply #3 on: April 27, 2005, 09:24:05 am »
Quote
Why not checking, what it's complaining about?

I did. It wasn't readable because it was in use by atd. I killed it, as I described in the initial post. File permissions on /dev/rtc are correct.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Mplayer Problems On C3000
« Reply #4 on: April 27, 2005, 09:25:44 am »
There's a note on the original page (atty.jp) that says the mplayer package SHOULD chmod a+s root mplayer, however, this doesn't seem to work properly in the postinst script.

Change to root and try..

chmod a+s `which mplayer`

Then give it a go from the zaurus user account.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

ThirtyOne

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Mplayer Problems On C3000
« Reply #5 on: April 27, 2005, 10:36:37 am »
I have seen several posts where people have problem with rtc and mplayer.

I always use the -nortc flag when playing files with mplayer on my Z.

Also, I doubt you are going to get 640:480 to work.  You should try 320:240.
« Last Edit: April 27, 2005, 10:37:30 am by ThirtyOne »

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Mplayer Problems On C3000
« Reply #6 on: April 27, 2005, 10:46:44 am »
Quote
I have seen several posts where people have problem with rtc and mplayer.

I always use the -nortc flag when playing files with mplayer on my Z.

Also, I doubt you are going to get 640:480 to work.  You should try 320:240.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=77128\"][{POST_SNAPBACK}][/a][/div]

The bvdd driver doesn't support 320:240 at the moment.... at least not last time I checked. It results in a spectacularly ugly crash if you try it. To test it I had to set up a dummy version of QKconsole to launch in Zoomed mode and run it from there.

If you are going for 320:240 then you would need to use the ATI version of mplayer and the workaround to use fbdev. Although the ATI driver isn't supported this version has fbdev compiled in and the necessary stuff to select fbdev modes - the bvdd version doesn't seem to do this as reliably.

Can't remember the posting but search the 3K part of the forum and it has a link telling you how to set up the fbmodes with Kino2.

- Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Mplayer Problems On C3000
« Reply #7 on: April 28, 2005, 03:45:14 am »
My C860 also gets the

"Failed to open /dev/rtc: Device or resource busy (it should be readable by the user)"

error (among several others) but Kino2 & Mplayer run despite the warnings. Are you sure tht /dev/rtc is what is aborting your exec?
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------