Commit Graph

47 Commits

Author SHA1 Message Date
Humdinger
8040281d80 setvolume: detailed usage info, print mute state
* Describe parameters in "usage".
* Change -m to explicitely mute, instead of toggling mute.
* Add -t to toggle muting, -u to unmute.
* Add long version options:
  --mute, --unmute, --togglemute --increase, --decrease
* Accept a step size as additional parameter to in/decrease,
  without it, the step size is 3 dB.
* Print muting state when toggling or un/muting.
* Update shortcut_settings to use "setvolume -t" to toggle muting.

Change-Id: Iacad5bcf4a40a6056c85161ac45379015392420c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5976
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: nephele <nep@packageloss.eu>
2023-01-03 06:46:14 +00:00
Jérôme Duval
d9f90ce7f3 Shortcuts: provide some default actions for mute, increment and decrement volume media keys
Works for HID-aware devices (USB & PS/2).

Change-Id: I45e9ededaab1699f30e55fb644ec0e3ceebeb191
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5937
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2022-12-19 13:51:02 +00:00
PulkoMandy
9fec431f60 vesa: disable the livepatching code by default
It can be enabled by putting "bios_patching true" in the VESA settings
file.

This patching does not work yet on modern hardware, but the detection
code to decide if we should try patching still says it found the
modetables. In this situation we can crash the BIOS or other weird
things can happen.

To avoid these problems, and because VESA is supposed to be the failsafe
option, disable this code by default, and let people who want to
experiment with it first enable it in the settings file.

Should fix #17633.

Change-Id: I4d89ff6dfeb7d02e39cd3da7b22ddd5411b10822
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5499
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
2022-08-11 15:00:41 +00:00
Augustin Cavalier
b0e768ac9c first_boot: Remove unused 'Locale settings'.
Change-Id: Iaf81d8741066c5da6d202c0baf3e95f7eb88caf4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2810
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2020-05-25 22:26:25 +00:00
bitigchi
a67bbcb799 Display localised application/preference names by default
By default, Haiku does not provide localised names for applications and
preference names. This commit changes the default setting to 'true',
for displaying the localised variants.

This is generally bad UX, especially for the preference preflets,
since the user will have no idea where to go if he/she does not
speak English (even will not be able to find this setting presumably).

Change-Id: I17dea9428541be50e27227ba15f9afcde21a99d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2002
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
Reviewed-by: humdinger <humdingerb@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-04-28 00:44:07 +00:00
François Revol
25de7c1b12 loader: VESA: make nvidia scaling fixup a driver setting
Since not everyone likes the default, make it an option in the vesa
settings file. Note setting a mode with the Screen prefs overwrites
the file so it will discard the option.

Also move the code to get_mode_from_settings() since we can't load driver
settings as early as vesa_init().

Change-Id: I93080bd1fbc064dab053624ad37935268b1ed17d
2019-05-08 04:42:33 +02:00
Augustin Cavalier
09fa96ee75 settings/drivers/kernel: Reorder to be in more logical groupings.
Also add better descriptions for APM and ACPI.
2019-01-16 15:34:26 -05:00
Augustin Cavalier
e04196d564 settings/drivers/kernel: Clean up and clarify comments.
No "functional" change.
2019-01-16 11:35:40 -05:00
John Scipione
30f554d464 Make it a bit easier to skip first boot prompt
...by adding default Locale settings to image

Add sample to UserBuildConfig.sample
2017-01-01 16:59:47 -08:00
Axel Dörfler
d2eca26b73 Moved per user post install actions to first-login script.
* The same mechanism (and the same PostInstallScript) is used for this.
* If a file first_login exists in ~/config/settings/boot, the first-login
  scripts are launched, and the file removed.
* This fixes adding the deskbar tray icons even when there is no Deskbar
  running yet (for example on first boot when the FirstBootPrompt
  starts), or, IOW bug #12275.
2015-10-19 21:27:02 +02:00
Alexander von Gluck IV
635fe4746d network: Add missing hosts configuration file
* Provides localhost define to the network kit
* Resolves #12260 and others
2015-09-09 09:30:38 -05:00
Augustin Cavalier
bfa8608fa7 dvb channels: Delete from tree.
Not included in the build, and this is isn't the place for such datafiles.
TV channels in Germany have probably changed since 2007 anyway.
2015-07-23 15:16:33 -04:00
Adrien Destugues
60295ba1f7 Move ports and protocols files back to data directory in Haiku package.
These files are required for netresolv functionality, and there is no
real use in modifying them as settings files. Restore the previous
behavior, the files are stored in data and part of the Haiku package.

This means there is no need for a fresh install from image to get the
files anymore.

Fixes #12156.
2015-06-20 11:52:13 +02:00
Adrien Destugues
8d2aee6bc8 libbind: integrate "netresolv" patches from NetBSD.
libbind development was transferred to the NetBSD project at
http://wiki.netbsd.org/individual-software-releases/netresolv/

There isn't an official release yet, but they provide a set of patches
against the latest libbind release.

* Remove all files we don't use
* Merge the changes to the remaining files
* Add some new files we need
* Move getifaddrs implementation to libnetwork (instead of libbnetapi)
so it can be used by netresolv.

Fixes #8293 : netresolv uses getifaddrs to determine if there is a local
IPv6 address. If there is not, it will not return AAAA records.
2015-06-14 15:47:03 +02:00
Alexander von Gluck IV
f83af26271 data: Kernel settings file
* Add example line to always boot using safe
  video mode (vesa)
2014-11-28 20:37:02 -06:00
Ingo Weinhold
f73f5d4c42 Initial changes to remove /boot/common
* find_directory() and hard-coded paths use /boot/system instead of
  /boot/common.
* The build system creates the writable directories in /boot/system
  instead of /boot/common.
* The build system no longer installs any packages in /boot/common.
2013-10-03 21:52:25 +02:00
Fredrik Holmqvist
953ca70721 Removing the acpi_avoid_full_init config option.
I've never heard anyone that been helped by that setting.
2012-09-09 13:13:53 +02:00
Fredrik Holmqvist
97d5dc0a3c I was being lazy, as pointe out by mmlr. It is much better to copy DSDT always do you don't need to figure out if you need to toggle that switch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 19:42:46 +00:00
Fredrik Holmqvist
c5862c76d3 Patch by scgtrp (Mike Smith) to copy DSDT to memory, as some machines corrupt DSDT after boot. This fixes bug #8043.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-10-21 19:14:06 +00:00
Michael Lotz
4602eb4c76 Forgot to commit that when enabling IO-APICs by default. It's the (commented)
kernel settings file entry to disable IO-APICs.

+r1alpha3


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-19 22:00:05 +00:00
Michael Lotz
5316b696ae * Set the actual default of the ACPI module to enabled instead of relying on the
kernel settings file. As pointed out by Rene, there's otherwise no way to
  enable ACPI when the settings file is absent, as there's only a disable switch
  in the boot menu.
* Remove MADT dumping as it isn't really implemented. This info can actually be
  printed in the IO-APIC code now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-05-14 16:28:43 +00:00
François Revol
b44f0a94a4 Add commented setting to enable the laplink type debugging output module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-28 22:01:19 +00:00
Ingo Weinhold
7b1d69ecbb Added safe mode option B_SAFEMODE_4_GB_MEMORY_LIMIT (plus a boot loader menu
item) and kernel settings option "4gb_memory_limit". Enabling either one
causes the memory beyond 4 GB to be ignored.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-06-23 11:13:39 +00:00
Ithamar R. Adema
9e24c4190f * Add example vesa configuration file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-05 20:45:54 +00:00
Fredrik Holmqvist
cc393dbf74 Enable ACPI.
While there has been no reports of fan or temperature problems that we know of,
there are rumours that this might happen.
It's a good idea to check that fans and temperature works as normal
just to be safe.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-04-25 17:33:13 +00:00
Fredrik Holmqvist
5e972c0f3d Implemented TODO about not loading symbols at boot.
This saves ~0.5s of boot time here, but I suspect it might be better for CD.
Enabled loadSymbols in kernel settings so the behavior should be the same as before this change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-15 15:55:16 +00:00
Jérôme Duval
53ef0850a7 patch from Fredrik Holmqvist:
* oshaiku.c is based on a different original from a stub, therefore it
looks like a lot of comment changes.
* achaiku.h is redone completely.
* dpc is added as boot module.
* acpi_busman.c now does all mandatory steps to init.
* style fixes
* added another acpi kernel settings to avoid full init for debugging.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 21:10:18 +00:00
Axel Dörfler
7712cf43c3 * Disable ftp/telnet - only sshd is started now by default!!
* Note that you need to have the OpenSSH package installed correctly for this
  to work. Otherwise your Haiku machine is no longer accessible through the
  net anymore!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-13 16:44:12 +00:00
Axel Dörfler
c755ecfe96 * Added an emergency key mechanism to the kernel, inspired by Jan Klötzke's
patch from about a year ago (I couldn't use any code of his yet, though,
  but there are a few things left). The emergency keys are triggered by
  pressing Alt-SysReq + key.
* By default, only Alt-SysReq+'d' is used as a means to deliberately enter
  the kernel debugger. F12 belongs to userland again, now :-)
* Debugger add-ons now have another optional method to implement their own
  emergency keys - 'd' for the debugger cannot be overridden, though.
* The mechanism can be turned off via a new kernel setting, so it's not that
  easy anymore to "crash" Haiku if you don't want to.
* Right now, the PS/2 driver, and the pre-input_server in-kernel debugger
  keyboard mini-driver support this, USB not yet.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-20 20:39:37 +00:00
Axel Dörfler
18ad0f1b8a * Added a new kernel setting "syslog_buffer_size" to change the size of the
internal syslog ring buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-22 10:41:31 +00:00
Rene Gollent
d8383f234c Update example description to the current state of affairs. Please revert to old description whenever we enable ACPI by default again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-17 01:01:11 +00:00
Rene Gollent
3734bee77d When the boot loader goes to load its settings files, it will now also prepend the "kernel" settings file to the safe mode settings if it exists. This allows settings from kernel/drivers/kernel to be respected early in the boot process as well, which allows us to do things like disable_smp permanently instead of having to pick from the safe mode menu every single boot. Review welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-08-11 23:03:36 +00:00
Ingo Weinhold
b2c7de8230 Reactivated the "fresh install" code in the Bootscript, but modified it
a bit:
* Added directory /etc/post_install, which can contain scripts that will
  be executed on the first boot.
* Moved the mimeset invocations to such a script. Use the "-apps"
  option instead of "-all". Since create_app_meta_mime() (and thus
  mimeset) work recursively now, running the commands does actually have
  an effect.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-04 13:10:42 +00:00
Stephan Aßmus
16eb448eb4 * The HaikuImage script will put a file "fresh_install" into
/boot/home/config/settings.
* The Bootscript will check for the existance of this file and updates the
  mime database with all the applications and preflets that come with the
  install. Then it removes the indicator file.

This fixes the problem that all the apps are not known to the system until
you run them once. Ie "Open With..." and such stuff works out of the box.
Feel free to find a more elegant way, I just found this simple and effective.
:-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-05 22:25:33 +00:00
Axel Dörfler
0481936536 * Ported FreeBSD's ftpd to Haiku.
* Added it to the image, and configured it to be used.
* Currently, it cannot transfer files over 64 KB for some reason
  ("Message too long").


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-02-03 16:37:49 +00:00
Axel Dörfler
c913d07f6d Added default "services" configuration that enables telnetd for now.
To log in, user is "baron" (if you haven't overridden the $USER environment variable),
and the password is empty (ie. just press return).
Note, the password is currently hardcoded into src/system/libroot/posix/pwd.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-04 22:26:42 +00:00
Marcus Overhagen
1263aca646 Enabled syslog debug output by default, added new syslog options to config file.
Reversed arguments in kernel settings file, now you only need to uncomment a line
to get the non-default setting. Explained default setting in comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-29 17:21:33 +00:00
Marcus Overhagen
23a805cd17 channel settings for DVB
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 19:00:26 +00:00
François Revol
641591259c typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-02-27 00:27:23 +00:00
Jérôme Duval
5efe9479fe ACPI boot menu item is for bios_ia32
added a kernel settings option to disable ACPI



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-13 19:55:14 +00:00
Stephan Aßmus
b3d94504c2 * added a bunch of drivers by Siarzhuk Zharski
-> a USB Mass Storgage module (SCSI bus manager add-on)
-> a SiS 7018 AC97 driver (uses "old" audio driver interface)
-> a USB Serial driver
-> a USB Vision driver and media add-on (Haupauge WinTV USB)
* moved R3MediaDefs.h from usb_audio driver to common place
  headers/private/audio (also used by SiS 7018 driver)
* added TV tuner frequency defines to data/settings/media/usb_vision

Some of these drivers are in unfinished state, particularily the
USB Vision driver, the VideoProducer doesn't seem to use it yet,
the USB Mass Storage module is known to work though, it also includes
add-ons for itself that add support for some "special" hardware, these
are not integrated with the Jamfile build system though.

Also I didn't much much time with the "CVS package" targets, the
ReadMes are not added, someone with more knowledge about this could
add them...

None of this stuff is added to the Haiku image, it is simply included
to be maintained in the Haiku tree from now on.

* fixed a bug in Video Producer sample inherited from Be Sample
  code - the timing from the time source was not really used,
  on some systems this could cause in the producer not waking
  up at the correct time if the system time and audio card time
  are drifting apart



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 09:54:03 +00:00
Axel Dörfler
bd610d2fcd * Added kernel settings for APM - defaults to disabled (since it doesn't work
on at least one of my systems, it only works on 3 of them...).
* Added APM safemode setting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 14:43:38 +00:00
Axel Dörfler
447308b363 Enabled on-screen KDL by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-27 20:49:28 +00:00
Axel Dörfler
38b2e6ccbe Added some more options we more or less support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 16:04:18 +00:00
Axel Dörfler
e8cd95e31a The default settings file now shows the default values, too, even
if they all commented out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-29 10:58:50 +00:00
Ingo Weinhold
cafebc1db5 Added qemu_single_step_hack setting to enable the qemu single step hack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 18:49:41 +00:00
Axel Dörfler
bc1c6407f6 Added a sample kernel settings file, explaining the existing options.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 21:13:24 +00:00