Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 May 2018, 07:33
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Sound not working (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [28 Posts]   Goto page: Previous 1, 2
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Tue 16 Feb 2016, 12:15    Post subject:  

jss83 wrote:
Although they use to work all together before. ...I was only telling because maybe you can tweak some settings and make it like it was previously. But this is fine too.


I cannot resolve this because I cannot duplicate it.

Once again, YOU can help to resolve it by doing a temporary clean install, setting up PeasyBT again and seeing when the problem occurs.
Back to top
View user's profile Send private message 
jss83

Joined: 06 Jan 2015
Posts: 238

PostPosted: Tue 16 Feb 2016, 12:34    Post subject:  

rcrsn51 wrote:
jss83 wrote:
Although they use to work all together before. ...I was only telling because maybe you can tweak some settings and make it like it was previously. But this is fine too.


I cannot resolve this because I cannot duplicate it.

Once again, YOU can help to resolve it by doing a temporary clean install, setting up PeasyBT again and seeing when the problem occurs.


I will do that tomorrow and report back. Although I did do a clean install today too.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Tue 16 Feb 2016, 13:54    Post subject:  

I have discovered a problem with the file /root/.asoundrc that is specific to WAV files. So the barking sound will NOT play if .asoundrc is present.

Make sure that you have deleted BOTH .asoundrc and /etc/asound.conf.
Back to top
View user's profile Send private message 
jss83

Joined: 06 Jan 2015
Posts: 238

PostPosted: Wed 17 Feb 2016, 02:29    Post subject:  

Ok I have tried it with a fresh install too, the problem is there.

I have removed all the files you mentioned but the problem still remains.

BTW, the peasybt and the other bluetooth file you provided in PM, there is also no way to remove them, I don't see them in the PPM and petget -u doesn't works either.
Back to top
View user's profile Send private message 
jss83

Joined: 06 Jan 2015
Posts: 238

PostPosted: Wed 17 Feb 2016, 04:45    Post subject:  

UPDATE: the new peasybt which you sent me, I did a clean install with it just now and it works, the sound works in all the apps altogether. Very Happy
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Wed 17 Feb 2016, 07:37    Post subject:  

Excellent.

I just checked in the PPM and was able to uninstall PeasyBT properly.
Back to top
View user's profile Send private message 
jss83

Joined: 06 Jan 2015
Posts: 238

PostPosted: Wed 17 Feb 2016, 09:59    Post subject:  

Yes I see it in PPM now. Smile
Back to top
View user's profile Send private message 
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Wed 17 Feb 2016, 17:21    Post subject:  

Interesting topic, you might want to try this MSCW, it writes to /etc/asound.conf and $HOME/.asoundrc to make sure both files have the same config...

http://murga-linux.com/puppy/viewtopic.php?p=889679#889679
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Thu 18 Feb 2016, 09:39    Post subject:  

@jlst: I looked at your mscw. It adds a new third line - defaults.ctl.card. Have you seen situations where it is needed?

Also, over-writing the ~./asoundrc can be a bad idea if the user has a customized version there. It would be better to just write /etc/asound.conf. Then the user can incorporate it into his own .asoundrc.
Back to top
View user's profile Send private message 
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Thu 18 Feb 2016, 13:08    Post subject:  

rcns51, well the purpose of MSCW is to actually work, if .asoundrc has config, and you run a MSCW that only reads from and writes to /etc/asound.conf... then it doesn't work... displays incorrect active playback device and writes config that will not be used unless you delete .asoundrc ...

However I see you're working on this peasyBT, may I have a copy? Perhaps we can make these apps interact with each other?

EDIT: that extra line (.ctl.card) is to make alsamixer [and possibly other alsa mixers] pick the right soundcard, pcm.card only has effect on media players...

You see there is a lot of code, most of it actually needs a modified delayedrun to work ... and I'm also editing it to limit its scope when it does get triggered based on the presence of some files..
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Thu 18 Feb 2016, 14:29    Post subject:  

The purpose of ~/.asoundrc is to let users have their own ALSA configuration that will override the system defaults in /etc/asound.conf.

PeasyBT uses the asoundrc here to handle Bluetooth streaming audio.

Here is what I see happening in Tahrpup.

1. The standard Tahrpup setup has NO asound.conf.

2. The PeastBT setup installs the .asoundrc shown above.

3. I run mscw.

4. It creates a new asound.conf, then over-writes .asoundrc. So all the BT configuration is lost.
Back to top
View user's profile Send private message 
jlst

Joined: 23 Nov 2012
Posts: 571

PostPosted: Thu 18 Feb 2016, 14:43    Post subject:  

You're right, I deleted the pet file, I'll rewrite the logic for writing and reading values from the config file..

I was following the concept I found in the original MSCW.. obviously writing that only to /etc/asound.conf makes a bit harmless.

I will post here or PM you an updated pet for you to test if it actually works...
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11999
Location: Stratford, Ontario

PostPosted: Thu 18 Feb 2016, 15:59    Post subject:  

Thanks. I looked at the original MSCW and it doesn't touch ~/.asoundrc. That is the correct behaviour.

If someone is using the PeasyBT .asoundrc and needs to configure a different internal card, they can hand-code it into the top lines.

Also, it is possible to make alsamixer work with the BT audio device by adding a section to .asoundrc.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [28 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0417s ][ Queries: 12 (0.0074s) ][ GZIP on ]