resolved all typos with aspell

master
Alessandro Mauri 3 years ago
parent b5a482ed7c
commit cf20a64895
  1. 1
      .gitignore
  2. 10
      src/alsa/part1.md
  3. 2
      src/commonsizes.md
  4. 2
      src/index.md
  5. 6
      src/makesoftware.md
  6. 32
      src/x301/hardware.md
  7. 24
      src/x301/paintjob.md
  8. 10
      src/x301/preamble.md
  9. 10
      src/x301/software.md

1
.gitignore vendored

@ -1 +1,2 @@
dst/**
**/*.bak

@ -20,7 +20,7 @@ Official links:
Unofficial links:
* [Userspace documentaion](https://alsa.opensrc.org/)
* [Userspace documentation](https://alsa.opensrc.org/)
* [A close look at ALSA](https://www.volkerschatz.com/noise/alsa.html)
* ST's (the microchip company) [general look at ALSA](https://wiki.st.com/stm32mpu/wiki/ALSA_overview)
@ -175,7 +175,7 @@ PCM plugin layer device (like dmix, softvol, etc).
#### Open modes
**Blocking mode (0)**: when opening a PCM in blocked (which is the default mode)
the behaviour is that if the resources are already in use with another
the behavior is that if the resources are already in use with another
application, then it blocks the caller, until resources are free.
**Non blocking mode (SND_PCM_NONBLOCK)**: the non-blocked mode doesn't block the
@ -187,7 +187,7 @@ the resources are not available.
The opening modes affect all the standard I/O operations (such as writing), in
the same way the options operate with `open(2)` and `write(2)`, so instead of
making the calling process wait when the resource is not available, operations
return `-EAGAIN /* EAGAIN * -1 */`, which literally means resource temporarly
return `-EAGAIN /* EAGAIN * -1 */`, which literally means resource temporarily
unavailable. The operation mode for successive (to opening) I/O calls can be
changed with the `snd_pcm_nonblock()` function.
@ -240,7 +240,7 @@ typedef struct _snd_pcm {
} snd_pcm_t;
```
That's a lot of stuff but luckly we have functions to operate on this struct.
That's a lot of stuff but luckily we have functions to operate on this struct.
#### `snd_pcm_open`
Open a pcm returning it's handle that is pointer to it's defining data structure,
@ -280,7 +280,7 @@ ARGS:
RESULT: RETURN: `(int)` 0 on success or negative code on error
#### `snd_pcm_nonblock`
Change the nonblocking mode on opened PCMs
Change the non-blocking mode on opened PCMs
```c
int snd_pcm_nonblock (snd_pcm_t *pcm, int nonblock);

@ -17,7 +17,7 @@ lines of code. Let's get to the data.
**UPDATE**: I changed the method for counting lines of code, that is I changed
utility from [scc][1] to [cloc][2]. The reason behind this is that [cloc][2]
allows to excude a list of languages from the code count, that way I can count
allows to exclude a list of languages from the code count, that way I can count
only the lines that matter excluding stuff like documentation and so on.
So entries marked with *"x"* mean that they were re-counted using the following
command (that's a big command):

@ -9,7 +9,7 @@ wasting my time.
If you'd like to see what I'm up to there are links to my git repositories in
the header, I advise to look at the Gitea link because it is my self-hosted
git server and my Github is in a state of abbandon.
git server and my Github is in a state of abandon.
For any questions my email is in the footer of every page.
This website is statically generated using [rivet][rivet], my own static site

@ -8,11 +8,11 @@ bloat, so here's a list of programs that I would like to see made/remade and
perhaps that I will make.
## A proper init system
Yes I know, starting strong with a controvercial one, here are my reasons I
Yes I know, starting strong with a controversial one, here are my reasons I
would like to see a new init system on the table:
1. Other options suck
- systemd is botne bloat bigger than 90% of every other linux
- systemd is botnet bloat bigger than 90% of every other linux
project out there
- runit is fine but it lacks support for oneshots, easy user services
and targets/dependencies
@ -62,5 +62,5 @@ it working.
How should the alternative work? Kinda like fprintd but with just 2 components:
- A fingerprint database manager to add, remove, modify and verify fingerprints
- A PAM module for authentication
Everything else can be done with a combination of those two components and shome
Everything else can be done with a combination of those two components and shame
shell glue, you don't really need anything else.

@ -1,12 +1,12 @@
Title: Thinkapd x301 Restoration: Hardware Mods
Title: ThinkPad x301 Restoration: Hardware Mods
Author: Alessandro Mauri
# Thinkapd x301 Restoration Project: Hardware Modifications
# ThinkPad x301 Restoration Project: Hardware Modifications
As I have to tear at least one Thinkpd down I thought that doing some hardware
As I have to tear at least one ThinkPad down I thought that doing some hardware
modifications would be a good idea. Some things I would like to do are:
1. A display mod, the stock x301 display is decent but for 2008 stadards.
1. A display mod, the stock x301 display is decent but for 2008 standards.
As far as I know there are no good options for a display mod, as the x300
and x301 screens were made specifically for these laptops, but maybe a
good AFFS screen can be found and substituted.
@ -14,18 +14,18 @@ modifications would be a good idea. Some things I would like to do are:
instead of the default charging connector, they signal compatible power
supplies to deliver 20V thus charging the laptop. This is very cool because
it allows old ThinkPads to be charged via modern chargers, which are among
other things, much more efficien and light.
other things, much more efficient and light.
3. Cleaning the fan bearing. The old bearing is, well, old and it makes an
awful sound. This is not only very unpleasant but also lowers cooling and
power efficiency
4. Full repaste, very basic, much needed.
5. Changing the default wifi card to a "freedom respecting" [Atheros AR9382][wf]
4. Full re-paste, very basic, much needed.
5. Changing the default WiFi card to a "freedom respecting" [Atheros AR9382][wf]
card, from 2010 it has a maximum speed of 300Mb in download and god-knows in
upload. Certified under false brands as [RYF][ryf] hardware by the fsf is
upload. Certified under false brands as [RYF][ryf] hardware by the FSF is
is very well supported by open-source drivers.
6. Use a microSata to MSata converter in order to use faster and more modern
SSDs, this will increase the responsitivity of the machine by a lot.
7. Upgrade the bluetooth module from 2.0 to 4.0, this is not only for better
7. Upgrade the Bluetooth module from 2.0 to 4.0, this is not only for better
speeds but also for better power saving.
8. New third party battery, this is also needed on most old laptops
@ -33,8 +33,8 @@ modifications would be a good idea. Some things I would like to do are:
This stuff is rather easy, calling replacing a card a "hardware mod" is a
stretch but better put it here than somewhere else.
In general a good resource for simple modifications and general informations
about the ThinkPad x301 is the [Mc Donnell Tech webstite][donnell]
In general a good resource for simple modifications and general information
about the ThinkPad x301 is the [Mc Donnell Tech website][donnell]
Let's begin with the battery, the ThinkPad x301 came with three battery
[options][batteries]:
@ -51,7 +51,7 @@ Buying a new battery can cost you upwards of 50€ and I'm not really sure about
the difference between the third parties, I'll have to do some more research
on that.
Moving on to WiFi, the preinstalled one is an Intel 5XXX wifi link something
Moving on to WiFi, the preinstalled one is an Intel 5XXX WiFi link something
something. Not bad but not great, some other options are:
- [Atheros AR9382][wf], good driver support but _average_ speeds, also this
@ -59,7 +59,7 @@ something. Not bad but not great, some other options are:
- [Intel Centrino Ultimate-N 6300][centrino] (FRU 60Y3233), better speeds and
power efficiency, unsure about driver support and "freedom respect"
- [Intel Dual Band Wireless-AC 7260 Plus Bluetooth][ac7260] (FRU 04W3814), as
the name implies it has bluetooth builtin and even greater speeds, again tho
the name implies it has Bluetooth builtin and even greater speeds, again tho
I'm not sure about drivers and freedom. Also a [hardware mod][ac7260mod] may
be required for it to work.
@ -71,15 +71,15 @@ Onto Bluetooth, there are a couple of [FRUs][fru] (cards) that will work out of
the box (and for all I know at all), there are:
- The preinstalled BT 2.0 boards
- [FRU 60Y3303][bt1] bluetooth 4.0 from Foxconn
- [FRU 60Y3305][bt2] bluetooth 4.0 from Liteon
- [FRU 60Y3303][bt1] Bluetooth 4.0 from Foxconn
- [FRU 60Y3305][bt2] Bluetooth 4.0 from Liteon
One of the 4.0 cards will serve me nicely, as far as I know there is no real
difference between the two so no stress in picking one or the other.
Finally the [micro SATA][usata] to [mSATA][msata] converter board. The x301
originally used a micro SATA SSD or HDD, these come in a non-common 1.8"
format which to my knownledge manufacturers no longer use. So the idea is to
format which to my knowledge manufacturers no longer use. So the idea is to
use a [commercially available][umconverter] converter board along with a
[3D printable caddy][caddyfile] (source [here][caddy]) in order to use
common mSATA SSDs.

@ -1,8 +1,8 @@
Title: Thinkapd x301 Restoration: Paintjob
Title: ThinkPad x301 Restoration: Paint-job
Author: Alessandro Mauri
# ThinkPad x301 Restoration Project: Paintjob
# ThinkPad x301 Restoration Project: Paint-job
There are basically two options worth noting:
@ -36,14 +36,14 @@ The cons of paint are:
- Longer preparation
- Harder to work with
- Different materials need different paints and/or base coats (metal for the
lid and plasic for everything else)
lid and plastic for everything else)
- Harder to apply right
- Harder to fix mistakes
- Higher price
One "paint" that [some people][pdip] use on old ThinkPads is PlastiDip, It is
a rubber coating paint that goes on without preparation and can be peeled off.
It has the best of both worldsm, the ability to apply multiple coats while
It has the best of both wolds, the ability to apply multiple coats while
requiring no prep and being easily removable.
Also, as seen in the video, the wear does not peel it like vinyl wrap, instead
it "scrapes" off like paint which looks much better. Lastly I think that the
@ -56,7 +56,7 @@ some.
## Using vinyl wraps
Vinyl wrap films are thin, sticky, texturized sheets of plastic which one can
Vinyl wrap films are thin, sticky, textured sheets of plastic which one can
apply onto a surface, kinda like a very big sticker, in order to change it's
color. This is not news for cars and for [laptops][dbrand], vinyl "skins" are
a convenient way to change the color of a surface, they are removable, easy to
@ -64,7 +64,7 @@ apply and can form to most surfaces.
Pros of vinyl wraps are:
- Much easyer prep work and installation
- Much easier prep work and installation
- Good durability
- "All in one" solution to the problem
- Very cost-effective
@ -84,7 +84,7 @@ Two big cons of vinyl wraps are:
smooth as possible (I imagine); this is not good for a laptop since it will
attract more fingerprints and in general make the whole thing feel worse
to the touch, there is a reason why originally Lenovo went with a rubber
finiss.
finish.
2. Damage is worse on vinyl; with paint if you scratch it at worst you reveal
the material under it, in most cases you uncover the coat underneath. With
vinyl wraps, since it is basically a big sticker, bumps and scratches
@ -95,7 +95,7 @@ Another consideration is thickness, my plan for vinyl is to apply it on the
completely disassembled laptop, in order to wrap a bit on the parts that are
"internal" to the assembly, basically squeezing it to prevent it coming off.
With a sheet that is close to a millimeter thick there is just not enough
tollerance to comfortably fit it in between seems.
tolerance to comfortably fit it in between seems.
Lastly, one thing peculiar about the x301 are the port icons on the up side,
they wear out easily but I really want to recreate them if possible. This would
@ -110,12 +110,12 @@ Vinyl wrap options:
## Colors
One part of a thinkpad is it's color, black is the most obvious way to go, but
One part of a ThinkPad is it's color, black is the most obvious way to go, but
what shade?
There are many many shades of black and many more finishes. Do you want matte
or glossy, dark or light, texture or no texture, metrallic shine or not; you
or glossy, dark or light, texture or no texture, metallic shine or not; you
get the idea.
While making an all white thinkpad is an interesting project I think the best
While making an all white ThinkPad is an interesting project I think the best
way to go is to stick with the default black, at least for the interiors, the
lid may see some touches later on.
@ -129,7 +129,7 @@ Here are some shades that I really liked:
Another option, that would look good and also be cheaper is to remove all the
paint and replace it with, well, nothing.
There are many examples of people doing just this [1][np1] and altough some say
There are many examples of people doing just this [1][np1] and although some say
that exposing the bare metal and plastic to the environment will deteriorate it
but maybe covering it with a protective layer will help.

@ -1,4 +1,4 @@
Title: Thinkapd x301 Restoration: Preamble
Title: ThinkPad x301 Restoration: Preamble
Author: Alessandro Mauri
# ThinkPad x301 Restoration Project: Preamble
@ -18,7 +18,7 @@ same coating as the lid. The problem is that this coating is now over 11-13
years old (the x301 was in production from 2008 to 2010) and it shows.
The problems I encountered are two:
1. Stickyness of the rubber
1. Stickiness of the rubber
2. Almost impossible to clean
I tried several methods of cleaning and surface restoration, I will briefly list
@ -28,12 +28,12 @@ them now.
[here][lid2] and in many more places
2. Soapy water
3. Just water on a tissue
4. Denaturated alchol
4. Denatured alcohol
All of the above either yielded no results or made things worse. The first
method with the magic eraser and cream worked to some extent but the rubber
coating on the x301 is so _thin_ that I would have completely removed it before
getting rid of the stickyness.
getting rid of the stickiness.
The thinness of the coatings apparently was intentional as the main focus for
the x300 and x301 was lightweight, so some corners were cut in terms of the
number of coatings (I am **not** a reliable source).
@ -52,7 +52,7 @@ bad condition and it was already somewhat peeled).
Easy, I will take them apart, one by one, mix and match parts to make two decent
x301s and completely restore them!
One is going staright to Ebay and the other stays with me.
One is going straight to Ebay and the other stays with me.
In the next entries of this blog series I will show in detail the whole process,
from thought to result, I will use this blog as a notepad for ideas and for

@ -1,4 +1,4 @@
Title: Thinkapd x301 Restoration: Software
Title: ThinkPad x301 Restoration: Software
Author: Alessandro Mauri
@ -12,7 +12,7 @@ freedom where I can get it.
## [Libreboot][lboot]
Yes! After some 5 years of dormiency the Libreboot project came out with a
Yes! After some 5 years of dormancy the Libreboot project came out with a
[new beta release][newboot] that [adds support for the x301][xboot].
Basically Libreboot is a BIOS replacement, it completely replaces all of the
@ -20,10 +20,10 @@ old BIOS stuff with a _libre_ alternative, which has many advantages:
1. MUCH faster boot times
2. Completely respects your freedom
3. COmpletely disables the intel ME and replaces all proprietary firmware with
3. Completely disables the intel ME and replaces all proprietary firmware with
libre software
4. While being simpler (no menu, no live configuration, etc.) it actually
allows for much greater flexibility in th boot process
allows for much greater flexibility in the boot process
Libreboot works by setting up a minimal environment, enough to load
[GRUB][grub], then GRUB proceeds to load the OS or other things.
@ -36,7 +36,7 @@ is pressed like shift, during the boot process, will load a menu of options
containing all the operating systems, some diagnostic, Tianocore and SeaBIOS
(everything needs to boot). Otherwise when no key is pressed it should boot
straight into the first available OS.
Disclaimer: I have not seen this elsewhere and altough I think it should be
Disclaimer: I have not seen this elsewhere and although I think it should be
possible, I don't really know.
[lboot]: https://libreboot.org/

Loading…
Cancel
Save