kingpin /dev/dsp: Broken pipe

Talk about everything.
halogentan

kingpin /dev/dsp: Broken pipe

Postby halogentan » Sat May 10, 2008 20:51

I'm running a fresh install of Ubuntu Hardy 8.04. I kept having problems getting the sound to work. Nothing seemed to work, including a compile of ALSA, and adding alsa-oss. Here's what it was doing:
------- sound initialization -------
/dev/dsp: Broken pipe
Could not toggle.
-------

The only way I was able to fix it was making a kludgey little script that did this:

# change permissions on oss
sudo chmod a+rw /proc/asound/card0/pcm0p/oss

# quick fix for sound
echo kingpin.x86 0 0 direct > /proc/asound/card0/pcm0p/oss

# start kingpin
sh kingpin.sh

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Mon May 12, 2008 11:00

Thanks halogentan for this trick.

Today I have installed Kingpin to verify your statement and I see the same problem as you.

Changing permisson under /proc isn't a good idea because this change will be gone after a reboot.

I but the "echo" comand in my alsa boot script, which is executed on every system start and is running in root context.

I think nobody will ever fix the Kingpin Linux client, so we have to live with this workaround.

halogentan

Postby halogentan » Tue May 13, 2008 8:03

Where can I find the alsa boot script? Can you give me an example? I'd like to do it the way you've suggested.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Tue May 13, 2008 18:19

I have no knowledge how Hardy handles those things.
In LFS the ALSA boot script is: /etc/rc.d/init.d/alsa
and I put the 'echo thing' in start case.

There should be a similar script, but if you are not familiar with those stuff you should better ask some Ubuntu guru :)

halogentan

Postby halogentan » Tue May 13, 2008 23:41

Thanks, I just needed a nudge in the right direction.

"You got a dollar? I'll sell you a crowbar for a dollar."

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Wed May 14, 2008 12:18

Great.

Closed then.


Who is online

Users browsing this forum: No registered users and 2 guests