Author Topic: Rc8 C860 No Sound  (Read 5509 times)

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« on: December 30, 2004, 11:48:19 pm »
OK, I'v searched for hours without a single usefull hit.

C860. RC8. Open XMMS (installed in RC8 package) & try to play WAV file.

"Couldn't open audio

Please check that:

Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard"

Isn't sound supposed to be enabled in the install?

Whats the glitch?
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.

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

xatax

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Rc8 C860 No Sound
« Reply #1 on: December 30, 2004, 11:55:26 pm »
Maybe it's a special encoded wav file? (not PCM, maybe ADPCM or GSM layer...)? Try playing an mp3 file and look for codecs.
SL-C750 running Cacko 1.22

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #2 on: December 31, 2004, 12:07:44 am »
Good suggestion, xatax. I don't have an mp3 handy on one of my CF cards, but copied a WAV file that plays OK on my Sharp ROM machine to a CF and it gives the same identical results. Plus the C860 running pdaXrom RC8 has not made a sound since the install.

Wazup??
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.

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

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Rc8 C860 No Sound
« Reply #3 on: December 31, 2004, 01:18:57 am »
Check your output plugin in XMMS.  It should be "eSound Output Plugin" if you want to be able to control the volume from within XMMS.  The "OSS Driver" output plugin should work and used to be the default in pdaXrom, but the volume control in XMMS will be disabled.
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Rc8 C860 No Sound
« Reply #4 on: December 31, 2004, 03:47:30 am »
Maybe just press play again after this alert - then it should start playing.
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

CyberWolf

  • Newbie
  • *
  • Posts: 39
    • View Profile
Rc8 C860 No Sound
« Reply #5 on: December 31, 2004, 04:24:30 am »
Quote
"Couldn't open audio

Please check that:

Your soundcard is configured properly
You have the correct output plugin selected
No other program is blocking the soundcard"
I doubt this could be your problem, but in case... if you're running xmms as a standard user, you have to check /dev/sound/dsp (and maybe some others in /dev/sound, I can't remember now) to have write permission for you...

Bye,

Andrea
« Last Edit: December 31, 2004, 04:26:04 am by CyberWolf »

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #6 on: December 31, 2004, 07:55:47 am »
Quote
Maybe just press play again after this alert - then it should start playing.
Negatory. Pressing Play again only brings the same alert up.
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.

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

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #7 on: December 31, 2004, 08:07:17 am »
Quote
Check your output plugin in XMMS.  It should be "eSound Output Plugin" if you want to be able to control the volume from within XMMS.  The "OSS Driver" output plugin should work and used to be the default in pdaXrom, but the volume control in XMMS will be disabled.
The output plugin default was "eSound Output Plugin". Changing to the "OSS Driver" got the WAV file to play. Going back to the "eSound Output Plugin" caused the same error message again.

So the C860 *will* play WAV files with the "OSS Driver" plugin.

Trying to play an MP3 with the "eSound Output Plugin" returns the error

"Failed to open audio output: eSound Output Plugin 1.2.10"

Pressing Play again after closing the error box just returns the same error.

Changing to the "OSS Driver" plugin again causes the file to play OK.

So there is *some* progress here (G).
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.

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

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #8 on: December 31, 2004, 08:08:32 am »
Quote
I doubt this could be your problem, but in case... if you're running xmms as a standard user, you have to check /dev/sound/dsp (and maybe some others in /dev/sound, I can't remember now) to have write permission for you...

Bye,

Andrea

Good idea, but I'm running as root.
« Last Edit: December 31, 2004, 08:10:22 am by Miami_Bob »
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.

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

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Rc8 C860 No Sound
« Reply #9 on: December 31, 2004, 06:49:19 pm »
The eSound output plugin uses the eSound daemon (esd) to talk to the sound device.  Check if esd is running (ps | grep esd) and if so kill it (killall esd) and then try running it manually (esd).  If it works then it will just sit there doing nothing (press CTRL-C to kill it) but hopefully it will give you an error message telling you why it couldn't start up.
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #10 on: December 31, 2004, 07:43:56 pm »
Thanks for the help, rgrep.

OK. Opening Aterm & running (ps | grep esd) returned

409 root     496 S grep esd

killall esd ->  esd: no process killed

plain ps shows no process 409 or 496. no instances of esd.

running esd just sits doing nothing, as you describe, till CTRL-C is pressed.

Am I correct in assuming that esd is not being launched at startup? Where should it be properly started?

You know, I have learned more about Linux since getting the C860 about a year ago than in all the years that I tinkered with the OS before that. I know the (severe) limitations to my knowledge of the subject. Working with pdaXrom is one way of attempting to learn more. And I am, steadily, thanks to the ZUG and the folks who make the community.

THANKS!
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.

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

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Rc8 C860 No Sound
« Reply #11 on: January 01, 2005, 01:45:13 am »
Quote
Am I correct in assuming that esd is not being launched at startup? Where should it be properly started?
esd is launched by XMMS when it first tries to play sound.

I just had a play with tweaking my /etc/esd.conf file and have improved the XMMS situation.  The first thing I did was increase the timeout value before the eSound client (XMMS) will "act as if the audio open failed".  This has stopped XMMS from bringing up the "could not open output device" error the first time I start it.

I also enabled the "-terminate" option which makes esd quit "after last client exits", i.e. after you stop or quit XMMS.  I found that esd tends to hang around after you quit XMMS (and even after you kill X) and it holds open the last sound file you were playing and so this prevents me from ejecting my memory card.

My /etc/esd.conf is now:
Code: [Select]
[esd]
auto_spawn=1
spawn_options=-terminate -nobeeps -as 2
spawn_wait_ms=1000
I'm not sure if this will help you Miami_Bob but it's worth a try.

Matt
« Last Edit: January 01, 2005, 01:46:48 am by rgrep »
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #12 on: January 01, 2005, 09:57:30 pm »
My old /etc/esd.conf was

Code: [Select]
[esd]
auto_spawn=1
spawn_options= -nobeeps -as 2
spawn_wait_ms=100

Made the changes but no difference in results.

Opened an aterm window before XMMS and ran ps before & after trying to play. No esd process found either time.

Hummmmm. Strange.

I really don't mind that the machines are *smarter* than I am now days, but I just really wish that they wouldn't rub my nose in it so often .... G.
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.

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

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Rc8 C860 No Sound
« Reply #13 on: January 01, 2005, 10:31:33 pm »
Try running "esdmon", you should get some output like this:
Code: [Select]
opening socket, format = 0x00001021 at 44100 HzJust hit CTRL-C and then grep the ps output for esd and you should see something like this:
Code: [Select]
15675 root        584 S   /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 4Maybe your esound install is broken - you could try reinstalling it with "ipkg remove esound ; ipkg install esound".
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Rc8 C860 No Sound
« Reply #14 on: January 02, 2005, 05:21:34 am »
rgrep -

esdmon

Code: [Select]
opening socket, format = 0x00001021 at 44100 Hz
CTRL-C

ps

Code: [Select]
277 root   576 S  /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 4

Quote
Maybe your esound install is broken - you could try reinstalling it with "ipkg remove esound ; ipkg install esound"

Could be. But its "out of the box" - preinstalled with the RC8 ROM itself.

Probably just wait for the next bug fix release. I use such little glitches & sons of glitches as steps in my ascent of the learning curve. (G)

Thanks for the help!
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.

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