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 Mon 22 Apr 2019, 12:05
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Fatdog64-800 Final [28 Feb 2019]
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 11 [156 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Author Message
vtpup


Joined: 15 Oct 2008
Posts: 1289
Location: Republic of Vermont

PostPosted: Thu 04 Apr 2019, 08:55    Post subject:  

My guess is that the move toward general purpose programmable input-output chips has led to sloppy design. Basically stick some multiprocessor in there and tell it what to do and how to configure itself via easily altered firmware and you cut manufacturing costs for dedicated single purpose devices. But the very programmability of firmware is its danger. It can be anything, and do anything. Yes you could put a current limiter onboard, but if your mindset is hey this is hard programmed not to exceed current specs I don't need to worry about that, nope. Everything is mutable. Firmware updates routine. Goof your update code or delivery and bad things can happen. The internet of things will bring more of these problems.

As far as the specifics for the Acer R11, it's fine to add an external card and/or speakers for a desktop system, but for a highly portable system like a Chromebook, that's impractical.

I do wonder if those of us able to open the case could add our own current limiter to the speakers. A patch, I know, but I'm still interested in getting this thing useful.

_________________
Acer Aspire 5349-2635 laptop Tahrpup.
Acer R11 Chromebook no pup
1999 Thinkpad 600e Lupu 528
Acer Iconia A1-830 tablet no pup
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 5316
Location: Ontario

PostPosted: Thu 04 Apr 2019, 18:17    Post subject:  

For people writing software for fatdog64 here is a tip...

A simple warning message with yaf-splash to show on screen until clicked. Note that quotes have to be protected.

Code:

yaf-splash -timeout 0   -placement center  -bg orange  -bw 2 -outline 0 -margin 15  -text "EXAMPLES

In the following examples I'll be splitting One Click.mp3 into folder named split.
    To split between specific time range...

In this case just add the time points where you wanna split.
e.g. 15.00 30.00 would produce a 15 min track extracted from original file beginning at 15 min and ending at 30 min.
mp3splt \"One Click.mp3\" -d split 15.00.00 30.00.00


Here's an explanation of the recommended options:
    -f: for MP3 files only, increases precision and is needed if the MP3 files are variable bit rate (VBR).
    -t TIME: specifies the length, measured in time, to make each piece.

You will replace `TIME` with a numerical value expressed in minutes, such as 4.0 for four minutes or 7.30 for seven minutes, thirty seconds.
In our example, we picked four minute pieces, so the command line will be
mp3splt -f -t 4.0 -a -d split *.mp3

 "
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5316
Location: Ontario

PostPosted: Sat 06 Apr 2019, 13:38    Post subject:  

I noticed something about sound in fatdog...

There is a difference in how BarryK Easy pyro linux boots ALSA configuration...

Here is the configuration in /etc/init.d/10-alsa
https://github.com/puppylinux-woof-CE/woof-CE/blob/testing/woof-code/rootfs-skeleton/etc/init.d/10alsa#L13
Quote:


amixer -s -q <<EOF
sset Master 75% unmute
sset Master -12dB
sset 'Master Mono' 75% unmute
sset 'Master Mono' -12dB
sset 'Master Front' 100% unmute
sset 'Master Front' -12dB
sset Front,0 75% unmute
sset Front,0 -12dB
sset PCM 90% unmute
sset PCM 0dB
sset Synth 90% unmute
sset Synth 0dB
sset CD 90% unmute
sset CD 0dB
sset Mic 0% mute
sset PCM,1 90% unmute
sset PCM,1 0dB
sset Wave 100% unmute
sset Music 100% unmute
sset AC97 100% unmute
sset 'Master Digital' 75% unmute
sset DAC 90% unmute
sset DAC -12dB
sset DAC,0 90% unmute
sset DAC,0 -12dB
sset DAC,1 90% unmute
sset DAC,1 -12dB
sset Headphone 75% unmute
sset Headphone -12dB
sset Playback 100% unmute
sset "SB Live Analog/Digital Output Jack" off
sset "Audigy Analog/Digital Output Jack" off
sset Speaker 75% unmute
EOF



Compare to /etc/init.d/99-alsa in fatdog64

_____________________________________________________________

Quote:
amixer -s -q <<EOF
set Master 75% unmute
set Master -12dB
set Speaker 100% unmute
set Speaker 0dB
set Speaker+LO 0dB unmute
set 'Dock Mic' 0db unmute
set 'Headset Mic' 0db unmute
set 'Master Mono' 75% unmute
set 'Internal Mic Boost' 20db unmute
set 'Master Mono' -12dB
set Front 100% unmute
set Front 0dB
set PCM 100% unmute
set PCM 0dB
set Synth 100% unmute
set Synth 0dB
set CD 100% unmute
set CD 0dB
set Mic 0% mute
set PCM,1 100% unmute
set PCM,1 0dB
set Wave 100% unmute
set Music 100% unmute
set AC97 100% unmute
set 'Master Digital' 75% unmute
set DAC 90% unmute
set DAC -2dB
set DAC,0 90% unmute
set DAC,0 -2dB
set DAC,1 90% unmute
set DAC,1 -2dB
set Headphone 100% unmute
set Headphone 0dB
set Playback 100% unmute
set HDMI 100% unmute
set HDMI 0dB
set S/PDIF 100% unmute
set S/PDIF 0dB
set "SB Live Analog/Digital Output Jack" off
set "Audigy Analog/Digital Output Jack" off
EOF


Maybe speaker and headphone are set too high -->
Code:
  set Speaker 100% unmute
set Speaker 0dB
set Headphone 100% unmute
set Headphone 0dB

Last edited by don570 on Sun 07 Apr 2019, 15:26; edited 2 times in total
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1289
Location: Republic of Vermont

PostPosted: Sun 07 Apr 2019, 00:02    Post subject:  

Thanks Don570.

re. the overheated speaker issue -- I'm wondering if a simple safety workaround in my case might be putting a fuse inline with each speaker.

Any thoughts on how to size it?

_________________
Acer Aspire 5349-2635 laptop Tahrpup.
Acer R11 Chromebook no pup
1999 Thinkpad 600e Lupu 528
Acer Iconia A1-830 tablet no pup
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
Sage

Joined: 04 Oct 2005
Posts: 5450
Location: GB

PostPosted: Sun 07 Apr 2019, 13:52    Post subject:  

Quote:
putting a fuse inline with each speaker.

Any thoughts on how to size it?


In the olden days, quality hi-fi sometimes had a panel on the rear of the amplifier with small fuses for the speakers. Think they were ~ 100s of mA but will check later. Notwithstanding, the sizing of fuses has always been a black art, with little agreement and conflicting 'calculations' between advocates. There's a load of theory about exploding wires, but whether it's a true science in practice is debatable.
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1289
Location: Republic of Vermont

PostPosted: Sun 07 Apr 2019, 22:03    Post subject:  

Thanks Sage. If I remember correctly in ye olden days speakers were often 8 ohms. I don't know what they are now, and in computer applications. So it's hard to do a guess at the current.

But to put enough juice through them to melt a plastic computer case seems like quite a lot.

Since my main interest is preventing a meltdown, (not simply protecting high fidelity stereo speakers from damage, as they were doing in the old days)... I'm thinking as a guess, maybe a 1 amp fuse would kill things if there was a near direct short......... before they got too hot?

_________________
Acer Aspire 5349-2635 laptop Tahrpup.
Acer R11 Chromebook no pup
1999 Thinkpad 600e Lupu 528
Acer Iconia A1-830 tablet no pup
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 5316
Location: Ontario

PostPosted: Wed 10 Apr 2019, 20:04    Post subject:  

The modern way is to limit the current to the amplifier.
Perhaps a circuit breaker.
Raspberry pi has a polyfuse.

This video shows how to bypass the polyfuse to get more current .
https://www.youtube.com/watch?v=aJp-QAZFJbs
_______________________________________________________

I think changing
Code:
  set Speaker 100% unmute
set Speaker 0dB
set Headphone 100% unmute
set Headphone 0dB

should be tried. I'll experiment with a new install.
_______________________________________________
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1289
Location: Republic of Vermont

PostPosted: Thu 11 Apr 2019, 13:59    Post subject:  

Thanks Don for the suggestion. I'll be getting back to this issue shortly. Couple things to take care of right now.....
_________________
Acer Aspire 5349-2635 laptop Tahrpup.
Acer R11 Chromebook no pup
1999 Thinkpad 600e Lupu 528
Acer Iconia A1-830 tablet no pup
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
dr. Dan


Joined: 20 Apr 2015
Posts: 77
Location: Oregon, U.S.A.

PostPosted: Tue 16 Apr 2019, 02:29    Post subject: dual-boot multi-user user mapping question  

I'm setting up a computer with Windy ten (repeatedly self-destructive) and Fatdog64 for a friend. There is an additional user for their kids on both systems. I have used the ntfs-3g usermapping utility to try to deal with ownership compatibility, but it disallows specifying user 0 (root) for a mapping. Is there a better way to make use of this system, or is it better just to leave the Windows admin and linux root accounts unmapped? Once I have some better understanding of the functioning, I intend to use it for additional setups.

Thanks,

Dan
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5450
Location: GB

PostPosted: Tue 16 Apr 2019, 10:03    Post subject:  

Quote:
Is there a better way to make use of (this) system

PCs are 2-a-penny these days; always best to isolate Windoze. Get another machine(s) out of your local skip/dumpdter/amenity dump/freecycle. Really not so clever shoehorning incompatible systems unless you're a masochistic SW geek or guru who likes to push the boundaries?
Back to top
View user's profile Send private message 
dr. Dan


Joined: 20 Apr 2015
Posts: 77
Location: Oregon, U.S.A.

PostPosted: Tue 16 Apr 2019, 11:27    Post subject:  

Sadly, this is an 8 month old laptop that MS repeatedly renders unbootable.
Quote:
unless you're a masochistic SW geek or guru who likes to push the boundaries?
Sometimes it feels that way, but I'm just a dummy trying to help a friend.
Dan
Back to top
View user's profile Send private message 
Sage

Joined: 04 Oct 2005
Posts: 5450
Location: GB

PostPosted: Tue 16 Apr 2019, 11:41    Post subject:  

Quote:
8 month old laptop that MS repeatedly renders unbootable

Got one of those! Uefi and SecureBoot were specifically designed to interfere with perfectly sound designs. What's so difficult about changing a coin cell every 8-10yrs? With no BiOS just makes setting up more difficult. Although HP/CQ managed to screw that up, too, several years ago.
Quote:
just a dummy trying to help a friend

Aren't we all. Best help is to hold the dustbin/garbage can open for him...
Back to top
View user's profile Send private message 
dr. Dan


Joined: 20 Apr 2015
Posts: 77
Location: Oregon, U.S.A.

PostPosted: Tue 16 Apr 2019, 20:39    Post subject:  

Quote:
Best help is to hold the dustbin/garbage can open for him...
But, that's not an option. I'll hope to hear from someone who has played this hole before and knows the lay of the green. Wink

Dan
Back to top
View user's profile Send private message 
vtpup


Joined: 15 Oct 2008
Posts: 1289
Location: Republic of Vermont

PostPosted: Thu 18 Apr 2019, 09:29    Post subject:  

Not sure this is helpful, but we just ignore Win on her laptop and boot puppy off of the CD. We could do the same for USB stick or a card if the computer accepts one.

You might get more traction btw on this issue if you post it as its own thread in the users or beginners section of this forum.

_________________
Acer Aspire 5349-2635 laptop Tahrpup.
Acer R11 Chromebook no pup
1999 Thinkpad 600e Lupu 528
Acer Iconia A1-830 tablet no pup
www.sredmond.com
Back to top
View user's profile Send private message Visit poster's website 
rufwoof

Joined: 24 Feb 2014
Posts: 3014

PostPosted: Fri 19 Apr 2019, 20:14    Post subject:  

Friggin awesome !!!

Frugal installed to a laptop. Just me I guess but I always seem to hit problems getting FatDog to save things the first time around, which could be awkward for newbies I guess. But other than that everything just works and works great.

Nice to see that spot is now restricted from xdotool watching/stuffing commands into root owned windows, and doesn't have access to /dev/fb0 by default. Nice! And a considerable security improvement IMO.

tmux in the repo, mc already installed ... sweet. Like having alsamixer on one tmux window, alsaequal.sh on another, mc on another, ssh into hashbang.sh on another (my preferred ssh server for socks proxy, mail and irc ...etc.). Only thing missing for me was calcurse ... had to compile that for myself but once installed it pulled down my encrypted appointments/calendar file from hashbang.sh and that ran fine in calcurse.

Outstanding effort by the FatDog team. In the absence of the niggles I found in dpup and easyos, FD8 could very well turn out to be my default daily laptop workhorse.

Thanks guys.
s.png
 Description   
 Filesize   46.08 KB
 Viewed   73 Time(s)

s.png


_________________
( ͡° ͜ʖ ͡°) :wq
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 11 [156 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0625s ][ Queries: 13 (0.0052s) ][ GZIP on ]