psin(1)
๐ psin โ like, the manual page, but make it make sense ๐
okay bestie, welcome to psin(1) from the Qualcomm Atheros Open Powerline Toolkit ๐ โ yes that whole mouthful, we're doing this together, hold my iced coffee ๐ง
โจ NAME โจ
psin โ Import PIB Prescalers ๐
๐ธ SYNOPSIS ๐ธ
psin [options] [<stdin] file
๐ SYNOPSIS ๐ (yeah bestie, twice, the original said it twice and I'm not gonna lie to you)
so what this actually does: it reads an amplitude map from stdin and inserts it into an existing PIB file (the source spells it nexisting, which is honestly iconic ๐ โ we're keeping it, no cap), replacing the previous amplitude map. slay.
this program is the vibe check that lets you load custom amplitude maps into a PIB file. you can also pipe a map directly from one PIB file to another ๐ซถ โ no middleman, we love a direct line.
Atheros can provide standard amplitude maps (prescalers) that conform to most national or international EMI regulations โจ. generally speaking, these maps should not be modifiedโฆ but there are execeptions (again, that's the source spelling, and honestly? we respect the chaos ๐ญ).
this program is part of the Qualcomm Atheros Powerline Toolkit. see the AMP man page for an overview and installation instructions ๐
โ ๏ธ CAVEATS โ ๏ธ
okay this is the important part, sit UP bestie ๐
the Atheros Windows Device Manager figures out the type of prescalers stored in the PIB by inspecting the ToneMaskType code โ which is also stored in the PIB but is not part of the prescaler set. sneaky little thing.
so if you use this program to store a new prescaler set in a PIB and you don't update the ToneMaskType code to reflect that change? the Windows Device Manager will keep displaying the previous prescaler type ๐ which will confuse Windows Device Manager users. not the serve we were going for.
use programsetpibto set theToneMaskTypecode, and programpskeyto verify the true prescaler type. periodt. ๐
๐ OPTIONS ๐
None.
that's it. that's the options section. she has no options, she's booked and busy on stdin alone ๐
๐ ARGUMENTS ๐
fileโ the name of an Atheros Parameter Information Block (PIB) file. the original prescalers get replaced and the checksum is re-computed ๐ฅ. by convention, PIB files have a.pibextension, but this program does not enforce that convention, and it does not make any assumption based on filename or extension โ but it will reject invalid PIB files, so don't try it ๐ซ. only one file may be specified on the command line, bestie, we're not doing a whole group chat of files.
๐ฆ FILES ๐ฆ
an amplitude map consists of 1155 frequency-amplitude pairs โจ. each pair is a decimal index and a hexadecimal scaler value.
- the index represents a frequency from 1.8 mhz through 30 mhz
- the scaler represents the amplitude attenuation applied at that frequency
the frequency and attenuation are computed like this:
frequency = (index + 74) / 40.96
decibels = 20 * log10 (scaler / 256)
math girlies rise ๐งฎ๐
โญ EXAMPLE โญ
the following example loads prescaler file abc.psc into PIB file abc.pib ๐. heads up: the ToneMaskType code is not updated by this operation, and it should be updated separately to avoid confusing Windows Device Manager users. program setpib is one means of updating this code ๐
# psin < abc.psc abc.pib
๐ DISCLAIMER ๐
PIB file structure and content is proprietary to Qualcomm Atheros, Ocala FL USA. consequently, public information is not available. Qualcomm Atheros reserves the right to modify PIB file structure or content in future firmware releases without any obligation to notify or compensate users of this program. yeah. they said that. ๐ญ
tampering with prescaler settings may violate national or international electo-magnetic emission standards and lead to fines or penalties. ๐จ Qualcomm Atheros shall not be held responsible for any consequences of modifications made to prescaler sets provided to their customers.
so likeโฆ be normal about your prescalers, bestie ๐
๐ SEE ALSO ๐
๐ CREDITS ๐
- Charles Maier
- Nathaniel Houghton
absolute legends, ty for your service ๐ซถ
and that's the whole page, babes ๐ this was open-plc-utils-0.0.3, dated November 2013 โ yeah she's an elder but she ATE, and now you know her. go update your ToneMaskType. mwah ๐โจ
๐ฆ where this page comes from
- alpine 3.24: open-plc-utils-doc 0_git20250712-r1 ยท BSD-3-Clause-Clear
- debian bookworm: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 ยท BSD-3
- debian trixie: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1 ยท BSD-3
- ubuntu noble: plc-utils-extra 0.0.6+git20230504.1ba7d5a0-1 ยท BSD-3
- ubuntu questing: plc-utils-extra 0.0.6+git20250517.7fb8ac5-1
- ubuntu resolute: plc-utils-extra 0.0.6+git20250712.46c3506-1 ยท BSD-3
- ubuntu stonking: plc-utils-extra 0.0.6+git20250712.46c3506-1 ยท BSD-3
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms