User talk:Tigersharke

From PC-BSD Wiki
Jump to: navigation, search


Audio Control

Another item that should be addressed is audio. KDE offers a sometimes frustrating audio setup manager that leads one to believe there is perfect integration with GStreamer, or Xine, or VLC. The KMix does adapt to adding treble and bass when setup via editing of non-kde files in /etc or /boot. However, even on a good day there seems to be a lack of consistency. Each program can wrest control of a seperate virtual channel which is nice, except when one program chooses to play from the headphone jack while another uses the internal speaker. These things should be configurable and not necessarily in such a way that flexibility is lost, but so that such settings might be accessible universally, consistently, and completely. I would like to suggest such a beast, which would work across environments the same as AppCafe and Control Panel are intended, and that would allow selection/configuration of sound codecs, mixers, and output. KDE seems to have a general concept reasonably fleshed out, but it is KDE specific (which also means no choice to install *only* kmix seperate from juk and dragonplayer etc, without specific modification prior to build).. being KDE specific eliminates it from being perfectly universal, but it does use Qt. A tray-dockable volume control slider tied to a mixer the way Kmix is, would be nice but shouldn't be considered mandatory.

--Tigersharke 05:58, 2 June 2011 (PDT)

The above was a bit of a frustration-induced rant. I have since decided to avoid all backends but GStreamer, I do not use pulseaudio nor Amarok (Clementine-player instead, with OSS chosen for output) and I specifically modified my /boot/loader.conf to load all sound drivers as below:


and modified /boot/device.hints to as i understand it, force my three possible output devices to act as one dependent upon the insertion of a plug into the headphone jack by:

hint.hdac.0.cad0.nid27.config="as=1 seq=15 device=Headphones"
hint.hdac.0.cad0.nid21.config="as=2 seq=15"
hint.hdac.0.cad0.nid29.config="as=0 seq=15"

and made sure that my audio devices would get noticed (and added additional channels), by forcing within /etc/sysctl.conf as below:

--Tigersharke 01:09, 22 June 2011 (PDT)

PC-BSD Control Panel used by 8.2

When following the instructions to install the control panel on an 8.2 system, everything seems to succeed (especially after fixing the improper dash used for the pkg_add command) but when attempting to access it from the kickoff menu, under applications --> system, neither control panel, nor appcafe function properly though both are listed. PC-BSD Welcome seems to work nicely, the Online Update Notifier successfully placed itself in my system tray, and attempted to find updates- tho the shield remains the red x. The only option from the shield system tray menu that seems to succeed is the 'check for updates'. Attempting to use AppCafe causes it to open a window for a very brief moment and then quits. The Control Panel opens a window with icons for some things, but clicking on anything does nothing, neither is there the multi-DE/WM selector visible.

My system is not exactly standard in the least.. it is v8.2 but with recently updated KDE 4.6.4. I will check to see if anything is improved by leaving and returning to KDE, or a reboot. Ok. Logout and return to KDE, either that caused the AppCafe, Printer, and display icons to be click-able, or I hadn't tested them earlier. The portsjail icon even more briefly (hard to believe but it does flash so rapidly its crazy) does blink a window attempt- but I had purposely disabled it in the appropriate startup file, so that is understandable. The printer config seems to work though I didn't attempt any changes, and same for the dispay manager since I didn't want to lose whatever I already have configured. A reboot did not change anything either.

One caveat- I had a very strange reaction to an pkg_add of qt4-linguist, which I did manually, though the prior install of the control panel was successful. Some time after using pkg_add -r qt4-linguist, I lost keyboard input, meaning that I could type and I saw some blinking on the screen but nothing appeared. This affected every open program. A pkg_deinstall of qt4-linguist, and a reinstall from ports of devel/qt4-linguist (possibly not necessary?) along with a reboot has fixed that keyboard issue.

--Tigersharke 01:09, 22 June 2011 (PDT)

8.2.1Troubleshooting Sound

(This is from the v9.0 handbook, and has since gone missing from the wiki due to prep for v9.1 handbook)

By default, PC-BSD loads the snd_hda.ko driver at boot time. This is a meta-driver that automatically loads all supported sound cards. This means that sound usually "just works".

If your sound does not work, type mixer. You should receive output similar to the following:

Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 50:50 Mixer mix is currently set to 60:60 Mixer rec is currently set to 75:75 Mixer igain is currently set to 100:100 Mixer ogain is currently set to 100:100

If any of these settings are set to 0, set them to a higher value, by specifying the name of the mixer setting as seen in this example:

mixer vol 100 Setting the mixer vol from 0:0 to 100:100.

If you only get one or two mixer settings instead of the settings shown above, you need to change the default mixer channel. As the superuser, try this command:

sysctl -w hw.snd.default_unit=1

To see if that changed to the correct channel, type mixer again. If you still only have one or two mixer settings, try setting the sysctl value to 2, and if necessary, to 3.

Once you have all of the mixer settings and none are set to 0, your sound should work. If it does not, see the section 9 Finding Help. When reporting your problem, include your version of PC-BSD and the name of your sound card.

--> making the above permanent: edit /etc/sysctl.conf to add a much similar line: hw.snd.default_unit=1

Recommended Reading

FreeBSD Sound Wiki

Further suggested additions

  • WPA/WEP passkey configuration in network setup during install- supposing secured wifi is the sole internet access but a proxy is not needed/desired.
  • Add forensic tools to Live Mode- Scalpel (when ported) and Foremost or similar.
  • Simply offer a PC-BSD 'standard' set of control panel items (which could also be adjusted via cli if possible) for all common System needs. Possible items to include if they do not already exist. Brand these PC-BSD developed items with the fireball logo so they can be easily identified. The additional idea aside from having more control of necessarily configurable OS features and availability of them to the system in general (regardless), is that possibly other DE/WM included versions which may be buggy or resource wasteful could be turned off or deinstalled.
    • Audio - auto-sense headphone connection, dolby/surround, assign specific output/volume to program/device
    • Display - including multi-head
    • Input - keyboard, mouse, touch, tablet/stylus
    • Printer - could include fax
    • Network - wifi, ethernet, pppoe, dialup/modem
    • Scanner
    • Search - A GUI to Locate would be great, though searching within a file could be added, I suppose.
  • Service Manager - add a description of each service that may be stopped/started or enabled/disabled.. perhaps either display or quote the manpage for the service. Of course, if there is anything dependent upon a service, it may also be prudent to include tailored warnings about what will be affected.

Painting over the Underbelly?

Our focus should be on making things easier and more approachable or accessible. Therefore, in subtle ways, we ought to maintain some visibility of the technical side of BSD. We can GUI-fy the output of a manpage, dmesg, locate, or other cli "ugliness". This would appeal to the tech-inclined without necessarily scaring away neophytes. It would be wrong to go the more extreme route that Apple has chosen, thereby hiding all technical/challenging aspects behind a simplistic (even if powerful) interface.

Or this test page User:Tigersharke/sandbox

Or these links: txt=Missing Link[1] txt=Missing Link[2] txt=Missing Link[2]

Experimental theme test - functionality of user styles seems to be disabled.

concept- task list -ideas

firefox section for suggested addons especially for hardening purposes.

task to replacing for better phrases of links

Salve Tigersharke,

this section might be the right one to collect (all) the not perfect named links, which should be replaced (in the "style" of the Guideline for Hypertext Links).

You (or Drulavigne) can manage that, if people are posting it here ( :-D ). ;-)

page (an maybe section) phrase to replace

I am interested that people like you are are doing the replacement. Please (just) make the text (of the links) better. After that, please delete the row of the table above.


some things to get done

  1. templates: standardize things like variables used, be consistent with how and what they do or can do.
  2. template pages: standardize and improve documentation.
  3. pc-bsd version: develop something to help consistent identification of the version of PC-BSD referenced. This can include present and future version numbers.
    • partly complete
  1. table of contents: somehow fix styling via CSS, increase to include another level of sub-topics, perhaps create a template to ease this by greatly reducing the amount an editor would have to adjust.
  2. styles: further conversion from inline style to CSS within templates.
  3. develop template for images that will add them to a list and offer flexibility of layout.
  4. wiki translation: continue to improve documentation.
  5. wiki editing: continue to improve documentation.
  6. licenses: create templates for use with the assigned license subsystem.


Gave up on RefHeading groupRefHeading but got close when reversed the two table concept and references cite footnote lists except needed "ref" group for references (citelink)

Cite error: <ref> tags exist, but no <references/> tag was found
Personal tools