Now
MAIN commitmail json YAML
Return early if PM data is not available.
This avoids random crashes on my Powerbook when using the mouse or keyboard.
The same was needed for the Powerbook 5xx/Duos (compile tested only).
XXX pullup-10, pullup-9, pullup-8.
This avoids random crashes on my Powerbook when using the mouse or keyboard.
The same was needed for the Powerbook 5xx/Duos (compile tested only).
XXX pullup-10, pullup-9, pullup-8.
MAIN commitmail json YAML
Mention ascaudio(4).
MAIN commitmail json YAML
src/sys/arch/mac68k/conf/AUDIO@1.1
/
diff
/
nxr@1.1
src/sys/arch/mac68k/conf/AUDIOSBC@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/conf/files.mac68k@1.133 / diff / nxr@1.133
src/sys/arch/mac68k/conf/majors.mac68k@1.28 / diff / nxr@1.28
src/sys/arch/mac68k/obio/ascaudio.c@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/obio/ascaudiovar.h@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/obio/ascreg.h@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/conf/AUDIOSBC@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/conf/files.mac68k@1.133 / diff / nxr@1.133
src/sys/arch/mac68k/conf/majors.mac68k@1.28 / diff / nxr@1.28
src/sys/arch/mac68k/obio/ascaudio.c@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/obio/ascaudiovar.h@1.1 / diff / nxr@1.1
src/sys/arch/mac68k/obio/ascreg.h@1.1 / diff / nxr@1.1
Apple Sound Chip audio support for 68k Macintoshoes.
This provies a sound device and support for wsbell(4).
Manual page to be added in a followup commit.
As posted to port-mac68k.
This provies a sound device and support for wsbell(4).
Manual page to be added in a followup commit.
As posted to port-mac68k.
MAIN commitmail json YAML
Bluetooth low energy - A beginning at least.
This was the start of support for low energy bluetooth support that I have
not as yet completed.
I'm committing this as it gives the hci defines for an impementation in NetBSD.
This was the start of support for low energy bluetooth support that I have
not as yet completed.
I'm committing this as it gives the hci defines for an impementation in NetBSD.
MAIN commitmail json YAML
src/sys/arch/evbcf/include/cpu.h@1.10
/
diff
/
nxr@1.10
src/sys/arch/m68k/include/cpu.h@1.24 / diff / nxr@1.24
src/sys/arch/mac68k/include/cpu.h@1.106 / diff / nxr@1.106
src/sys/arch/m68k/include/cpu.h@1.24 / diff / nxr@1.24
src/sys/arch/mac68k/include/cpu.h@1.106 / diff / nxr@1.106
Use proper clockframe size for those platforms that require it.
XXX This is a tempory measure, better to fix clock interrupts to take the
common clockframe size.
OK thorpej@.
XXX This is a tempory measure, better to fix clock interrupts to take the
common clockframe size.
OK thorpej@.
MAIN commitmail json YAML
Missing '\'
Many thnanks rillig@
XXX-pullup10.
Many thnanks rillig@
XXX-pullup10.
MAIN commitmail json YAML
src/sys/dev/ic/hd44780_subr.c@1.24
/
diff
/
nxr@1.24
src/sys/dev/ic/hd44780var.h@1.11 / diff / nxr@1.11
src/sys/dev/ic/hd44780var.h@1.11 / diff / nxr@1.11
Avoid adding another member to the softc and use sc_flags instead.
NFCI.
NFCI.
MAIN commitmail json YAML
src/sys/dev/ic/hd44780_subr.c@1.23
/
diff
/
nxr@1.23
src/sys/dev/ic/hd44780var.h@1.10 / diff / nxr@1.10
src/sys/dev/ic/hd44780var.h@1.10 / diff / nxr@1.10
Add a flag for output only devices and attachments.
It is necessary to skip the test for the device as output only attached
devices lack the ability for the device to be probed - such as the 1602 lcd
module.
It is necessary to skip the test for the device as output only attached
devices lack the ability for the device to be probed - such as the 1602 lcd
module.
MAIN commitmail json YAML
src/sys/dev/ic/hd44780_subr.c@1.22
/
diff
/
nxr@1.22
src/sys/dev/ic/hd44780var.h@1.9 / diff / nxr@1.9
src/sys/dev/ic/hd44780var.h@1.9 / diff / nxr@1.9
Add a detach function.
MAIN commitmail json YAML
Add missing dot.
MAIN commitmail json YAML
Mention changes to bta2dpd(8).
MAIN commitmail json YAML
Reorder for readability.
No functional change intended.
XXX pullup-10.
No functional change intended.
XXX pullup-10.
MAIN commitmail json YAML
Fix formatting.
XXX pullup-10.
XXX pullup-10.
MAIN commitmail json YAML
Add BUGS section to manual page.
This notes the problems with playback from file on certain devices.
XXX pullup-10
This notes the problems with playback from file on certain devices.
XXX pullup-10
MAIN commitmail json YAML
Add thottling when playing from file.
This avoids rapid playback when playing from file with affected devices.
Playback using pad(4) is still preferred ad gives a better result.
Playback from pad(4) is unaffected by this change.
XXX pullup-10.
This avoids rapid playback when playing from file with affected devices.
Playback using pad(4) is still preferred ad gives a better result.
Playback from pad(4) is unaffected by this change.
XXX pullup-10.
MAIN commitmail json YAML
Bump date for previous commit.
XXX pullup-10.
XXX pullup-10.
MAIN commitmail json YAML
Manual page fixups.
Fix EXAMPLES section.
Use correct flags when used with pad(4).
Use correct encoding format (sinear_le).
XXX pullup-10.
Fix EXAMPLES section.
Use correct flags when used with pad(4).
Use correct encoding format (sinear_le).
XXX pullup-10.
MAIN commitmail json YAML
Fix previous.
The previous commit was misleading due to the flag names used.
The rationale for this change is that it is ok to return EAGAIN on first
read as playback has not started. Then it shoud wait on every subsequent read.
This is what makes the high precsision throttling of pad(4), for which these
degree of fine-grained sleeps are not possible in userland. This is a
requirement of users of pad(4) such as bta2dpd(8).
The previous commit was misleading due to the flag names used.
The rationale for this change is that it is ok to return EAGAIN on first
read as playback has not started. Then it shoud wait on every subsequent read.
This is what makes the high precsision throttling of pad(4), for which these
degree of fine-grained sleeps are not possible in userland. This is a
requirement of users of pad(4) such as bta2dpd(8).
MAIN commitmail json YAML
Use the offset in mmap calculations.
It fixes wsfb(4) when used with intelfb(4).
Ok riastradh@
XXX pullup-10
It fixes wsfb(4) when used with intelfb(4).
Ok riastradh@
XXX pullup-10
MAIN commitmail json YAML
src/sys/arch/mac68k/conf/GENERICSBC@1.57
/
diff
/
nxr@1.57
src/sys/arch/mac68k/conf/INSTALLSBC@1.33 / diff / nxr@1.33
src/sys/arch/mac68k/dev/sbc.c@1.59 / diff / nxr@1.59
src/sys/arch/mac68k/dev/sbcvar.h@1.13 / diff / nxr@1.13
src/sys/arch/mac68k/conf/INSTALLSBC@1.33 / diff / nxr@1.33
src/sys/arch/mac68k/dev/sbc.c@1.59 / diff / nxr@1.59
src/sys/arch/mac68k/dev/sbcvar.h@1.13 / diff / nxr@1.13
Introduce a flag to disable PDMA when writing.
The use of pdma when writing would always cause a panic on my Powerbook 160,
possibly others as well.
As posted to tech-kern.
The use of pdma when writing would always cause a panic on my Powerbook 160,
possibly others as well.
As posted to tech-kern.
MAIN commitmail json YAML
Honor the XS_CTL_POLL flag and fallback to polled io instead of PDMA.
As posted to tech-kern.
As posted to tech-kern.
MAIN commitmail json YAML
Fix condition for ending the pacet read loop.
len is unsigned 16 bit so testing for less than zero is not valid.
len is unsigned 16 bit so testing for less than zero is not valid.
MAIN commitmail json YAML
Remove unused commented out code.
Remove unintentional stray debug printfs.
Fix DSE_DEBUG build.
Remove unintentional stray debug printfs.
Fix DSE_DEBUG build.
MAIN commitmail json YAML
Mention dse.4
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1758
/
diff
/
nxr@1.1758
src/share/man/man4/Makefile@1.731 / diff / nxr@1.731
src/share/man/man4/dse.4@1.1 / diff / nxr@1.1
src/sys/arch/alpha/conf/GENERIC@1.417 / diff / nxr@1.417
src/sys/arch/amd64/conf/ALL@1.175 / diff / nxr@1.175
src/sys/arch/atari/conf/ATARITT@1.126 / diff / nxr@1.126
src/sys/arch/atari/conf/FALCON@1.123 / diff / nxr@1.123
src/sys/arch/atari/conf/GENERIC.in@1.125 / diff / nxr@1.125
src/sys/arch/atari/conf/HADES@1.121 / diff / nxr@1.121
src/sys/arch/atari/conf/HADES.in@1.17 / diff / nxr@1.17
src/sys/arch/i386/conf/ALL@1.504 / diff / nxr@1.504
src/sys/arch/mac68k/conf/GENERIC@1.236 / diff / nxr@1.236
src/sys/arch/next68k/conf/GENERIC@1.154 / diff / nxr@1.154
src/sys/arch/next68k/conf/SLAB@1.61 / diff / nxr@1.61
src/sys/dev/scsipi/files.scsipi@1.44 / diff / nxr@1.44
src/sys/dev/scsipi/if_dse.c@1.1 / diff / nxr@1.1
src/share/man/man4/Makefile@1.731 / diff / nxr@1.731
src/share/man/man4/dse.4@1.1 / diff / nxr@1.1
src/sys/arch/alpha/conf/GENERIC@1.417 / diff / nxr@1.417
src/sys/arch/amd64/conf/ALL@1.175 / diff / nxr@1.175
src/sys/arch/atari/conf/ATARITT@1.126 / diff / nxr@1.126
src/sys/arch/atari/conf/FALCON@1.123 / diff / nxr@1.123
src/sys/arch/atari/conf/GENERIC.in@1.125 / diff / nxr@1.125
src/sys/arch/atari/conf/HADES@1.121 / diff / nxr@1.121
src/sys/arch/atari/conf/HADES.in@1.17 / diff / nxr@1.17
src/sys/arch/i386/conf/ALL@1.504 / diff / nxr@1.504
src/sys/arch/mac68k/conf/GENERIC@1.236 / diff / nxr@1.236
src/sys/arch/next68k/conf/GENERIC@1.154 / diff / nxr@1.154
src/sys/arch/next68k/conf/SLAB@1.61 / diff / nxr@1.61
src/sys/dev/scsipi/files.scsipi@1.44 / diff / nxr@1.44
src/sys/dev/scsipi/if_dse.c@1.1 / diff / nxr@1.1
Driver for DaynaPORT SCSI/Link (dse.4).
Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.
Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.
Reviewed on tech-net by Izumi Tsutsui.
Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.
Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.
Reviewed on tech-net by Izumi Tsutsui.
MAIN commitmail json YAML
Don't hold a spin lock entering usbd_transfer.
This avoids a crash found with LOCKDEBUG.
This avoids a crash found with LOCKDEBUG.
MAIN commitmail json YAML
Do a full screen update upon vt switch.
MAIN commitmail json YAML
Ensure the device is fully initialized before starting the update thread.
MAIN commitmail json YAML
Don't throttle the frame rate.
Throttling of the frame rate is no longer necessary as most screen updates are
now partial updates.
Throttling of the frame rate is no longer necessary as most screen updates are
now partial updates.
MAIN commitmail json YAML
Finally fix the blitting function.
This means better performance for mostly static displays.
Full screen updates are still done five times a second.
Introduce a new variable sc_clear to force a full update.
This means better performance for mostly static displays.
Full screen updates are still done five times a second.
Introduce a new variable sc_clear to force a full update.
MAIN commitmail json YAML
Revert to previous as the atf tests are still failing.
MAIN commitmail json YAML
Use existing address when setting parameters.
No need to specify address every time when setting broadcast address or
netmask.
Hopefully successfully re addresses PR bin/10911.
No need to specify address every time when setting broadcast address or
netmask.
Hopefully successfully re addresses PR bin/10911.
MAIN commitmail json YAML
Revert to previous as atf tests were failing.
MAIN commitmail json YAML
No need address every time to specify broadcast and netmask.
Previously ifconfig would fail silently.
Addresses PR bin/10911.
Previously ifconfig would fail silently.
Addresses PR bin/10911.
MAIN commitmail json YAML
Cosmetic changes. No functional change intended.
MAIN commitmail json YAML
Add support for HXN variants from openbsd.
MAIN commitmail json YAML
Better display in monochrome.
MAIN commitmail json YAML
Sprinkle a little delay.
MAIN commitmail json YAML
Initialize firmware mailbox counter when firmware is reset.
MAIN commitmail json YAML
Serialize sending of firmware commands to device.
MAIN commitmail json YAML
Use urtwn_delay_ms were possibile.
NFC intended.
NFC intended.
MAIN commitmail json YAML
Describe how to obtain debugging information from vchiq(4).
Ok nia@
Ok nia@
MAIN commitmail json YAML
Fix build for uniprocessor.
MAIN commitmail json YAML
src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.8@1.5
/
diff
/
nxr@1.5
src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.c@1.8 / diff / nxr@1.8
src/usr.sbin/bta2dpd/bta2dpd/bta2dpd.c@1.8 / diff / nxr@1.8
Intoduce "-n" switch.
Running btat2dpd with "-n" especially for use with pad(4) will stop bta2dpd
from exiting upon a read error from pad(4) devices.
This is to compenstate for the behaviour in NetBSD current that pad(4) will
no longer output 0's when its corresponding audio(4) device is not active.
I believe that this new pad(4) behaviour is not present in -9 and -8.
While here I've improved its function as a daemon and it should reconnect to
bluetooth speakers when they are disconnected/reconnected.
Reported and tested by reinoud@ and maya@
Running btat2dpd with "-n" especially for use with pad(4) will stop bta2dpd
from exiting upon a read error from pad(4) devices.
This is to compenstate for the behaviour in NetBSD current that pad(4) will
no longer output 0's when its corresponding audio(4) device is not active.
I believe that this new pad(4) behaviour is not present in -9 and -8.
While here I've improved its function as a daemon and it should reconnect to
bluetooth speakers when they are disconnected/reconnected.
Reported and tested by reinoud@ and maya@
MAIN commitmail json YAML
Opps....Remove irrelavent debug code and don't free_m before IFQ_DEQUEUE().
Identified and reported by Patrick Welche and remedy found by Martin Husemann.
Identified and reported by Patrick Welche and remedy found by Martin Husemann.
MAIN commitmail json YAML
Also free assocated mbufs.
MAIN commitmail json YAML
Update the debug set for testpat(6).
MAIN commitmail json YAML
Add testpat(6) to the games set.
MAIN commitmail json YAML
src/games/Makefile@1.31
/
diff
/
nxr@1.31
src/games/testpat/Makefile@1.1 / diff / nxr@1.1
src/games/testpat/testpat.6@1.1 / diff / nxr@1.1
src/games/testpat/testpat.c@1.1 / diff / nxr@1.1
src/games/testpat/Makefile@1.1 / diff / nxr@1.1
src/games/testpat/testpat.6@1.1 / diff / nxr@1.1
src/games/testpat/testpat.c@1.1 / diff / nxr@1.1
Add testpat(6) to games.
Testpat displays a test pattern in curses(3).
Testpat displays a test pattern in curses(3).
MAIN commitmail json YAML
Eddie Van Halen, co-founder of Van Halen dies.
MAIN commitmail json YAML
Ensure event_thread stays in event loop upon creation.
MAIN commitmail json YAML
Avoid running of the end of the array if a file cannot be opened.
Found by plunky@.
Found by plunky@.
MAIN commitmail json YAML
Remove inappropriate place for __predict_false.
Ok mrg@ maya@.
Ok mrg@ maya@.
MAIN commitmail json YAML
Skip pfil_run_hooks if no packet filter configured in kernel.
phil-wifi commitmail json YAML
Pass the error through to the hardware to initialize.
phil-wifi commitmail json YAML
Make ostate reflect the updated state.
phil-wifi commitmail json YAML
Software crypto definitions from FreeBSD.
phil-wifi commitmail json YAML
Fix resource leak in rx/tx free lists.
phil-wifi commitmail json YAML
Skip pfil_run_hooks if no packet filter enabled in the kernel.
phil-wifi commitmail json YAML
Remove configuring 40Mhz channels for now.
Avoid duplicate state transitions in urtwn_newstate.
Avoid changing channel parameters in urtwn_newstate.
Rework of tx desc parameters for all types of packets.
Don't create a percpuq as the stack is not expecting it //XXX not sure
Tested connections to an open 11n network with 8188CUS, 8192CU and 8192EU
usb adaptors.
Avoid duplicate state transitions in urtwn_newstate.
Avoid changing channel parameters in urtwn_newstate.
Rework of tx desc parameters for all types of packets.
Don't create a percpuq as the stack is not expecting it //XXX not sure
Tested connections to an open 11n network with 8188CUS, 8192CU and 8192EU
usb adaptors.
phil-wifi commitmail json YAML
Compete some more of 11n support.
htcaps and streams values from FreeBSD.
htcaps and streams values from FreeBSD.
phil-wifi commitmail json YAML
Initial 11n support for urtwn.
Compile tested only... More to come.
Compile tested only... More to come.
phil-wifi commitmail json YAML
src/sys/dev/ic/rtwnreg.h@1.1.8.4
/
diff
/
nxr@1.1.8.4
src/sys/dev/usb/if_urtwn.c@1.59.2.11 / diff / nxr@1.59.2.11
src/sys/dev/usb/if_urtwn.c@1.59.2.11 / diff / nxr@1.59.2.11
Update with 92EU changes from -current.
MAIN commitmail json YAML
Correct rx packet count for 8192EU. Tested OK.
phil-wifi commitmail json YAML
Use if_stat functions.
phil-wifi commitmail json YAML
Pull in <sys/rndsource.h>
phil-wifi commitmail json YAML
src/sys/net80211/ieee80211.c@1.56.18.9
/
diff
/
nxr@1.56.18.9
src/sys/net80211/ieee80211_netbsd.c@1.31.2.10 / diff / nxr@1.31.2.10
src/sys/net80211/ieee80211_netbsd.h@1.21.2.12 / diff / nxr@1.21.2.12
src/sys/net80211/ieee80211_netbsd.c@1.31.2.10 / diff / nxr@1.31.2.10
src/sys/net80211/ieee80211_netbsd.h@1.21.2.12 / diff / nxr@1.21.2.12
Use if_stat functions.
MAIN commitmail json YAML
Fix off by one in sbc encoder. Test mode transmission and reception
works again.
XXX pullup -8 and -9.
works again.
XXX pullup -8 and -9.
MAIN commitmail json YAML
Sync with reality.
MAIN commitmail json YAML
Opps... Remove extra ')'
MAIN commitmail json YAML
Remove dead code from sbc decoder.
Found by Hans Petter Selasky.
Found by Hans Petter Selasky.
MAIN commitmail json YAML
Update fstat for audio(4) and pad(4) devices.
XXX - pullup 8.
Ok christos@.
XXX - pullup 8.
Ok christos@.
MAIN commitmail json YAML
Fix support for 8192eu, notably TPLINK TL-WN823NV2, by using the right
registers when setting receiver gain.
Ok christos@.
registers when setting receiver gain.
Ok christos@.
MAIN commitmail json YAML
Add another register as found on 8192eu.
MAIN commitmail json YAML
src/distrib/sets/lists/comp/mi@1.2198
/
diff
/
nxr@1.2198
src/distrib/sets/lists/man/mi@1.1591 / diff / nxr@1.1591
src/share/man/man4/audio.4@1.86 / diff / nxr@1.86
src/share/man/man7/Makefile@1.33 / diff / nxr@1.33
src/share/man/man7/audio.7 deleted
src/share/man/man7/intro.7@1.26 / diff / nxr@1.26
src/share/man/man9/Makefile@1.422 / diff / nxr@1.422
src/share/man/man9/audio.9@1.47 / diff / nxr@1.47
src/share/man/man9/audio_system.9@1.1 / diff / nxr@1.1
src/share/man/man9/intro.9@1.20 / diff / nxr@1.20
src/distrib/sets/lists/man/mi@1.1591 / diff / nxr@1.1591
src/share/man/man4/audio.4@1.86 / diff / nxr@1.86
src/share/man/man7/Makefile@1.33 / diff / nxr@1.33
src/share/man/man7/audio.7 deleted
src/share/man/man7/intro.7@1.26 / diff / nxr@1.26
src/share/man/man9/Makefile@1.422 / diff / nxr@1.422
src/share/man/man9/audio.9@1.47 / diff / nxr@1.47
src/share/man/man9/audio_system.9@1.1 / diff / nxr@1.1
src/share/man/man9/intro.9@1.20 / diff / nxr@1.20
Move the audio specification to section 9 under audio_system.
Ok wiz@
Ok wiz@
MAIN commitmail json YAML
Using audioctl without the -p switch defaults to the mix ring. This allows
setting the hardware gain etc.
Update the audio spec in audio.7 to reflect these changes.
Addresses PR kern/52781.
setting the hardware gain etc.
Update the audio spec in audio.7 to reflect these changes.
Addresses PR kern/52781.
MAIN commitmail json YAML
Fix a typo with sc_out/inports when setting the hardware recording gain on the
mix ring. Found by mrg@
XXX pullup-8
mix ring. Found by mrg@
XXX pullup-8
MAIN commitmail json YAML
Fix over cautious compiler error - setmode may not be initialized.
MAIN commitmail json YAML
Use the correct tag options.
MAIN commitmail json YAML
Update the introduction page to section 7 of the manual noting the audio
spec.
spec.
MAIN commitmail json YAML
src/distrib/sets/lists/man/mi@1.1586
/
diff
/
nxr@1.1586
src/share/man/man4/audio.4@1.85 / diff / nxr@1.85
src/share/man/man7/Makefile@1.32 / diff / nxr@1.32
src/share/man/man7/audio.7@1.1 / diff / nxr@1.1
src/share/man/man9/audio.9@1.46 / diff / nxr@1.46
src/share/man/man4/audio.4@1.85 / diff / nxr@1.85
src/share/man/man7/Makefile@1.32 / diff / nxr@1.32
src/share/man/man7/audio.7@1.1 / diff / nxr@1.1
src/share/man/man9/audio.9@1.46 / diff / nxr@1.46
Add the audio mixer specification to section 7 of the manual.
See posting on tech-kern - "NetBSD Audio Specification 2018."
See posting on tech-kern - "NetBSD Audio Specification 2018."
MAIN commitmail json YAML
Expose the audio_info structure of vchan zero(0) the mix ring to allow
setting the hardware gain and balance via audioctl(1) using the -p 0
switch.
It is not possible to influence the hardware gain/blance from the
audio_info structure of vchans 1 onwards. It is now possible to return
the audio mixers audio format from the audio_info structure of vchan 0 to
ease applications configuring for mmapped play back.
This is conformant to the audio specification posted on tech-kern see:
"NetBSD Audio Specification 2018"
or audio.7 manual page to be added in a follow up commit.
setting the hardware gain and balance via audioctl(1) using the -p 0
switch.
It is not possible to influence the hardware gain/blance from the
audio_info structure of vchans 1 onwards. It is now possible to return
the audio mixers audio format from the audio_info structure of vchan 0 to
ease applications configuring for mmapped play back.
This is conformant to the audio specification posted on tech-kern see:
"NetBSD Audio Specification 2018"
or audio.7 manual page to be added in a follow up commit.
MAIN commitmail json YAML
Fix numbering of vchan mixer controls to correspond to the vchan number in
use.
This makes the numbering of vchans consistient for audioctl and mixerctl.
use.
This makes the numbering of vchans consistient for audioctl and mixerctl.
MAIN commitmail json YAML
Set size of mtusize before calling getsockopt to obtain mtu size.
MAIN commitmail json YAML
Allow open of audioctl devices whilst audio is open with the mixer
disabled.
XXX pullup -8
disabled.
XXX pullup -8
MAIN commitmail json YAML
Fix pad on systems with many cores/cpus:
* Introduce a lock to serialize attach/detach of pad devices.
* Forcefully detach children of pad on close.
* Be more carefull in pad_open with regards to config_detach only
if new instances of the pad device are created and fail to open.
Addresses PR kern/52889.
These changes were developed with and tested by pgoyette@.
* Introduce a lock to serialize attach/detach of pad devices.
* Forcefully detach children of pad on close.
* Be more carefull in pad_open with regards to config_detach only
if new instances of the pad device are created and fail to open.
Addresses PR kern/52889.
These changes were developed with and tested by pgoyette@.
MAIN commitmail json YAML
Forcefully detach children of audio instances.
This addresses part of PR kern/52889 as children of pad(4) were not
detaching.
This addresses part of PR kern/52889 as children of pad(4) were not
detaching.
MAIN commitmail json YAML
Rework of play/rec threads to ensure effective use of locks.
Addresses part of PR kern/52889 where the mixing thread would not exit on
audio detach.
Addresses part of PR kern/52889 where the mixing thread would not exit on
audio detach.
MAIN commitmail json YAML
Only signal a pause change on a transition of a pause change.
This addresses a problem found in audio/sox causing high cpu usage.
Path and analysis by Onno van der Linden.
This addresses a problem found in audio/sox causing high cpu usage.
Path and analysis by Onno van der Linden.
MAIN commitmail json YAML
Whitespace.
MAIN commitmail json YAML
mulaw/alaw_to_linearN macros replaced with individual faster filters.
NFC.
NFC.
MAIN commitmail json YAML
The reset bit for the analog portion of the codec is bit 28. As per
Allwinner H3 datasheet.
Ok jmcneill@.
Allwinner H3 datasheet.
Ok jmcneill@.
MAIN commitmail json YAML
Replace LINEARN_TO_LINEARN macro with individual optimized functions for
8, 16, 24 and 32 bits linear to linear conversions.
Addresses PR kern/52586.
8, 16, 24 and 32 bits linear to linear conversions.
Addresses PR kern/52586.
MAIN commitmail json YAML
Convert double block size of data though the play back filters. This is
primarily for when audio mixing is disabled to stop inserting silence when
there is data available.
This change should have no effect when mixing is enabled as there is only
1 block of data in the mix ring.
primarily for when audio mixing is disabled to stop inserting silence when
there is data available.
This change should have no effect when mixing is enabled as there is only
1 block of data in the mix ring.
MAIN commitmail json YAML
Allow the hwvc block size to be set to any amount with audio mixing
disabled.
disabled.
MAIN commitmail json YAML
Only init the mix ring if sc_usemixer is enabled as with mixing set to
false the mix ring is not used.
false the mix ring is not used.
MAIN commitmail json YAML
Speed up improvements for MIX_FUNC.
As suggested by jmcneill@.
As suggested by jmcneill@.
MAIN commitmail json YAML
Use correct combination of mix ring block size and vc playring used low
for signalling the writer or fetching data from the vc play ring filters.
When dealing with the ring buffer sc_mpr.s it is necessary to use the hwvc
or mixring block sizes as they represent the final size of the data to be
played back from the stream vc.
When dealing with sc_pustream when there is play back filters or not one
should use the vc->sc_mpr.blocksize, as this represents the amount of data
before going through play back filters.
This should address PR kern/52685.
for signalling the writer or fetching data from the vc play ring filters.
When dealing with the ring buffer sc_mpr.s it is necessary to use the hwvc
or mixring block sizes as they represent the final size of the data to be
played back from the stream vc.
When dealing with sc_pustream when there is play back filters or not one
should use the vc->sc_mpr.blocksize, as this represents the amount of data
before going through play back filters.
This should address PR kern/52685.
MAIN commitmail json YAML
Add vc to debug messages in audio_mix.
Also add debug message when available data in the vc is less than the mix
ring blocksize. NFC.
Also add debug message when available data in the vc is less than the mix
ring blocksize. NFC.
MAIN commitmail json YAML
For the virtual stream it is required to insert silence. As these streams
are not harware streams audio_pint_silence is ineffective.
As audio_mix() was the only consumer of audio_pint_silence it has been
removed along with sc_sil_count - which was only used by this function.
are not harware streams audio_pint_silence is ineffective.
As audio_mix() was the only consumer of audio_pint_silence it has been
removed along with sc_sil_count - which was only used by this function.
MAIN commitmail json YAML
The harware vc is rounded to a power of two then round_blocksize is called.
This improves playback and makes it possibile to use mmapped audio on usb.
This improves playback and makes it possibile to use mmapped audio on usb.
MAIN commitmail json YAML
audio_pint improvements for when audio mixing is disabled.
When audio mixing is disabled there is only the hardware vc the mix ring
is not used.
When audio mixing is disabled there is only the hardware vc the mix ring
is not used.
MAIN commitmail json YAML
Improved audiostartp for when audio mixing is disabled.
MAIN commitmail json YAML
Improved draining function for when the mixer is and is not enabled.
One block of silence is also played in audio drivers using start_output
when draining the hardware, this helps playback of short (less than
blocksize) samples.
One block of silence is also played in audio drivers using start_output
when draining the hardware, this helps playback of short (less than
blocksize) samples.
MAIN commitmail json YAML
Plug memory leak as the mixer state does not grow or shrink when audio
mixing is disabled. This avoids triggering a panic also.
mixing is disabled. This avoids triggering a panic also.
MAIN commitmail json YAML
Don't return EIO falsely when dealing with the hardware vc.
Draining of the hardware vc on close is now possible.
Draining of the hardware vc on close is now possible.
MAIN commitmail json YAML
Use mixring blocksizes in the right places when mixer is enabled.
This means that x68k's vs audio works once again with sysctl usemixer=1.
Tested with xm6i.
This means that x68k's vs audio works once again with sysctl usemixer=1.
Tested with xm6i.
MAIN commitmail json YAML
Remove 24 bit in a 32 bit container filters.
At present this filter did not work well and has caused problems with
the audio mixer disabled for hdaudio(4).
These filters may return when they are fixed.
At present this filter did not work well and has caused problems with
the audio mixer disabled for hdaudio(4).
These filters may return when they are fixed.
MAIN commitmail json YAML
A sysctl is now available to disable the in kernel mixer.
sysctl -w hw.hdafg0.usemixer=0
There currently is a problem draining the last block with the mixer
disabled. I will fix this in a follow up commit.
AFAIK there will be a problem wiht vs(4) on x68k with the mixer disabled
as the filters for mulaw, alaw and unsigned linear have been removed post
audio mixing changes.
Documentation for this sysctl variable will be made to audio.4 in a follow
up commit.
Ok christos@.
sysctl -w hw.hdafg0.usemixer=0
There currently is a problem draining the last block with the mixer
disabled. I will fix this in a follow up commit.
AFAIK there will be a problem wiht vs(4) on x68k with the mixer disabled
as the filters for mulaw, alaw and unsigned linear have been removed post
audio mixing changes.
Documentation for this sysctl variable will be made to audio.4 in a follow
up commit.
Ok christos@.
MAIN commitmail json YAML
AU_RING_SIZE -> s.bufsize in audio_initbufs.
MAIN commitmail json YAML
Add AUDIO_ENCODING_SLINEAR to supported encodings. This allows sb, sbpro
& sb16 to configure with 8-bit precision.
Tested in games/mame with a 486DX emulation.
& sb16 to configure with 8-bit precision.
Tested in games/mame with a 486DX emulation.
MAIN commitmail json YAML
Blocksizes sould be rounded to a power of 2 as OSS applications need this.
Tested by martin@.
Tested by martin@.
MAIN commitmail json YAML
Revert to previous. It is necessary to use the calculated blocksize if
none supplied.
Tested by martin@.
none supplied.
Tested by martin@.
MAIN commitmail json YAML
No need to ratify block size twice as this is done in audio_initbufs.
This is a rework of rev 1.421.
This is a rework of rev 1.421.
MAIN commitmail json YAML
Calc latency when altering precision, frequency and channels sysctls.
MAIN commitmail json YAML
Allow for block sizes less than hw block size. This allows for the lowest
possible latency for all precision, sample rate and frequencies.
This is a rework of rev 1.419.
possible latency for all precision, sample rate and frequencies.
This is a rework of rev 1.419.
MAIN commitmail json YAML
Use mix ring block size in audio write, startp, and audio drain.
MAIN commitmail json YAML
Revert commit rev 1.419 to audio.c. This should address PR kern/52685.
This also means that drivers that have a static block size will have more
latency at lower sample rates/precision/channels. Also audio drivers that
do more than supply rounded blocksizes in their round_blocksize functions
will have to be changed.
This also means that drivers that have a static block size will have more
latency at lower sample rates/precision/channels. Also audio drivers that
do more than supply rounded blocksizes in their round_blocksize functions
will have to be changed.
MAIN commitmail json YAML
Add padding to gus.c so fields match up when it ts cast to a ad1848_isa
softc for the allocation of hw ring buffers.
Locking fixes as gus KASSERTS / uses the codec locks.
Ok christos@.
softc for the allocation of hw ring buffers.
Locking fixes as gus KASSERTS / uses the codec locks.
Ok christos@.
MAIN commitmail json YAML
Only allow blocksizes greater or equal to the calculated one.
This should help applications as the blocksize obtained (AUDIO_SET/GETINFO)
will work without stutter.
Ok christos@.
This should help applications as the blocksize obtained (AUDIO_SET/GETINFO)
will work without stutter.
Ok christos@.
MAIN commitmail json YAML
Move calculation of sc_latency into a function.
The latency of the audio device is updated on attach in the audio auto
config and shown on screen.
Ok christos@.
The latency of the audio device is updated on attach in the audio auto
config and shown on screen.
Ok christos@.
MAIN commitmail json YAML
round_blocksize is only used for the hardware ring buffer. All other
buffers (mix ring, streams) are set to be a power of 2.
This allows for consistent latency where a static blocksize is enforced by
the underlying audio device driver.
Ok christos@.
buffers (mix ring, streams) are set to be a power of 2.
This allows for consistent latency where a static blocksize is enforced by
the underlying audio device driver.
Ok christos@.
MAIN commitmail json YAML
Document the hw.driverN.latency sysctl variable.
MAIN commitmail json YAML
Independent blocksizes for virtual channels where a static blocksize is
not stipulated by the underlying hw driver.
This improves latency in games esp. when the stream format differs from
the harware format.
OK christos@.
not stipulated by the underlying hw driver.
This improves latency in games esp. when the stream format differs from
the harware format.
OK christos@.
MAIN commitmail json YAML
Ensure that the low/high water marks are at least PREFILL_BLOCKS.
MAIN commitmail json YAML
Add latency sysctl to adjust hw blocksize and hence latency of the mixer.
usage: sysctl -w hw.hdafg0.lantency="value in milliseconds"
It is possible to set the latency of the mixer unless a static blocksize
is configured by the underlying hardware driver (pad, vcaudio on RPI).
Documentation updates to audio.4 will occur in a follow up commit.
OK christos@. XXX pullup-8.
usage: sysctl -w hw.hdafg0.lantency="value in milliseconds"
It is possible to set the latency of the mixer unless a static blocksize
is configured by the underlying hardware driver (pad, vcaudio on RPI).
Documentation updates to audio.4 will occur in a follow up commit.
OK christos@. XXX pullup-8.
MAIN commitmail json YAML
Allow maxused to be an odd number of bytes. This makes single byte
conversions work for the test described in the PR.
Addresses another part of PR kern/52586.
conversions work for the test described in the PR.
Addresses another part of PR kern/52586.
MAIN commitmail json YAML
Improve LINEAR_LINEARN macro - inparticular BE/LE conversions.
Addresses part of PR kern/52586 analyzed and reported by isaki@.
Addresses part of PR kern/52586 analyzed and reported by isaki@.
MAIN commitmail json YAML
Ensure proper use of sc_opens (play back) and sc_recopens (recording).
Fix logic for /dev/sound so audiosetinfo is only called once.
These changes are to ensure that init_output/input is only called once for
the respective function play back or recording. For multiple recording or
plack back streams init_input/output is only called once fot the first
play/rec stream.
This addresses PR kern/52580, PR kern/52581 and PR kern/52582 analyzed and
reported by isaki@.
Fix logic for /dev/sound so audiosetinfo is only called once.
These changes are to ensure that init_output/input is only called once for
the respective function play back or recording. For multiple recording or
plack back streams init_input/output is only called once fot the first
play/rec stream.
This addresses PR kern/52580, PR kern/52581 and PR kern/52582 analyzed and
reported by isaki@.
MAIN commitmail json YAML
Call audio_mix for a third time - thus ensuring there is a block of data
in the mix ring before the audio interrupt occurs.
This addresses the instability seen in the audio atf tests.
in the mix ring before the audio interrupt occurs.
This addresses the instability seen in the audio atf tests.
MAIN commitmail json YAML
Move play/rec mix ring buffers into a virtual channel sc_mixring. NFCI.
MAIN commitmail json YAML
Remove references to BlueCore.
Enable XON/XOFF flowcontrol in SLIP layer depending on config response.
Send an acknowlegment packet on timeout/retry.
Compute tx{ack,seq} and rx{ack,seq} according to the specification.
Enable XON/XOFF flowcontrol in SLIP layer depending on config response.
Send an acknowlegment packet on timeout/retry.
Compute tx{ack,seq} and rx{ack,seq} according to the specification.
MAIN commitmail json YAML
Fix copyright error.
Ok plunky@.
Ok plunky@.
MAIN commitmail json YAML
Connection state machine improvement upon transition from AVDTP_OPEN to
AVDTP_START/SUSPEND.
AVDTP_START/SUSPEND.
MAIN commitmail json YAML
Remove extra newline.
MAIN commitmail json YAML
If ALPS probe fails, send a PMS_RESET.
Restores functionality on a wrong version ALPS touchpad.
Addresses PR kern/52489.
This patch was prepared by/committed on behalf of maya@.
Restores functionality on a wrong version ALPS touchpad.
Addresses PR kern/52489.
This patch was prepared by/committed on behalf of maya@.
MAIN commitmail json YAML
Apply the sequence number mask to txack.
MAIN commitmail json YAML
Conform to the spec. with regards to acknowlegment packets. This prevents
the host controller from freezing.
Inmprove communication from inactive to active state.
the host controller from freezing.
Inmprove communication from inactive to active state.
MAIN commitmail json YAML
Set controller clock based on baud rate.
MAIN commitmail json YAML
Ensure the XMIT flag is cleared before calling bth5_start.
This avoids a panic due to a diagnostic assertion.
This avoids a panic due to a diagnostic assertion.
MAIN commitmail json YAML
src/distrib/sets/lists/base/mi@1.1160
/
diff
/
nxr@1.1160
src/external/Makefile@1.19 / diff / nxr@1.19
src/external/Makefile@1.19 / diff / nxr@1.19
Add bcm43xx bluetooth controller firmware to the lists and update relevant
makefiles.
makefiles.
MAIN commitmail json YAML
src/external/broadcom/Makefile@1.1
/
diff
/
nxr@1.1
src/external/broadcom/Makefile.inc@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/BCM43430A1.hcd@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/LICENCE.broadcom_bcm43xx@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/Makefile@1.1 / diff / nxr@1.1
src/external/broadcom/Makefile.inc@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/BCM43430A1.hcd@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/LICENCE.broadcom_bcm43xx@1.1 / diff / nxr@1.1
src/external/broadcom/bcm43xx/Makefile@1.1 / diff / nxr@1.1
Add firmware and license for bcm43430 bluetooth uart interface.
This firmware is used by the Raspberry Pi 3 on-board bluetooth controller.
For additional licensing information, see:
https://github.com/raspberrypi/linux/issues/1325#issuecomment-195560582
This firmware is used by the Raspberry Pi 3 on-board bluetooth controller.
For additional licensing information, see:
https://github.com/raspberrypi/linux/issues/1325#issuecomment-195560582
MAIN commitmail json YAML
Add bluetooth serial uart devices.
RPI3 on-board bluetooth controller works with the bthfive pseudo-device.
RPI3 on-board bluetooth controller works with the bthfive pseudo-device.
MAIN commitmail json YAML
Update lists for btuart h5 protocol includes.
MAIN commitmail json YAML
src/usr.sbin/btattach/Makefile@1.3
/
diff
/
nxr@1.3
src/usr.sbin/btattach/btattach.c@1.14 / diff / nxr@1.14
src/usr.sbin/btattach/btattach.h@1.4 / diff / nxr@1.4
src/usr.sbin/btattach/init_bcm43xx.c@1.1 / diff / nxr@1.1
src/usr.sbin/btattach/btattach.c@1.14 / diff / nxr@1.14
src/usr.sbin/btattach/btattach.h@1.4 / diff / nxr@1.4
src/usr.sbin/btattach/init_bcm43xx.c@1.1 / diff / nxr@1.1
Add support for bcm 43xx devices using the btuart h5 protocol.
Currently It will only load 1 firmware image for rpi3.
To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.
Then you can use the bluetooth device btfive0.
This enables the embedded bluetooth controller on rpi3.
Currently It will only load 1 firmware image for rpi3.
To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.
Then you can use the bluetooth device btfive0.
This enables the embedded bluetooth controller on rpi3.
MAIN commitmail json YAML
Report AUXUART fifo size on rpi3 to 1 byte. This prevents bluetooth
errors using the h5 protocol.
errors using the h5 protocol.
MAIN commitmail json YAML
src/sys/dev/bluetooth/Makefile@1.7
/
diff
/
nxr@1.7
src/sys/dev/bluetooth/bluetoothdevices.config@1.2 / diff / nxr@1.2
src/sys/dev/bluetooth/bth5.c@1.1 / diff / nxr@1.1
src/sys/dev/bluetooth/bth5.h@1.1 / diff / nxr@1.1
src/sys/dev/bluetooth/files.bluetooth@1.15 / diff / nxr@1.15
src/sys/dev/bluetooth/bluetoothdevices.config@1.2 / diff / nxr@1.2
src/sys/dev/bluetooth/bth5.c@1.1 / diff / nxr@1.1
src/sys/dev/bluetooth/bth5.h@1.1 / diff / nxr@1.1
src/sys/dev/bluetooth/files.bluetooth@1.15 / diff / nxr@1.15
Add support for btuart h5 3-wire protocol.
MAIN commitmail json YAML
If the harware ring is starved of data...Insert silence into the mix ring
so mix_write can function properly.
so mix_write can function properly.
MAIN commitmail json YAML
Ensure to call mix write if inserting silence into the hw ring.
Addresses PR kern/52459.
Patch provided and tested by isaki@.
Addresses PR kern/52459.
Patch provided and tested by isaki@.
MAIN commitmail json YAML
Reset mixer ports on opening /dev/sound.
This fixes an issue reported on port-arm@ by Brian Buhrow.
This fixes an issue reported on port-arm@ by Brian Buhrow.
MAIN commitmail json YAML
Audio now compiles with WARNS=5, so there is no need to specify WARNS=3.
MAIN commitmail json YAML
The pad module will now compile with WARNS=5.
MAIN commitmail json YAML
src/sys/dev/auconv.c@1.31
/
diff
/
nxr@1.31
src/sys/dev/audio.c@1.383 / diff / nxr@1.383
src/sys/dev/audiovar.h@1.60 / diff / nxr@1.60
src/sys/dev/aurateconv.c@1.21 / diff / nxr@1.21
src/sys/dev/audio.c@1.383 / diff / nxr@1.383
src/sys/dev/audiovar.h@1.60 / diff / nxr@1.60
src/sys/dev/aurateconv.c@1.21 / diff / nxr@1.21
The audio module will now compile with WARNS=5.
MAIN commitmail json YAML
Audio vchan auto config works again due to the use of a null_filter.
Tested and confirmed working by isaki@.
Tested and confirmed working by isaki@.
MAIN commitmail json YAML
Remove dead code from audio open. Found by isaki@.
Better error handling incase memory for the streams' ringbuffers cannot be
allocated.
Addresses PR kern/52433.
Better error handling incase memory for the streams' ringbuffers cannot be
allocated.
Addresses PR kern/52433.
MAIN commitmail json YAML
Refactoring of order of auto config combinations. Most common formats
come first.
Do not exceed AUDIO_MAX_CHANNELS.
Addresses PR kern/52435.
come first.
Do not exceed AUDIO_MAX_CHANNELS.
Addresses PR kern/52435.
MAIN commitmail json YAML
src/sys/dev/auconv.c@1.30
/
diff
/
nxr@1.30
src/sys/dev/audio.c@1.372 / diff / nxr@1.372
src/sys/dev/ic/ac97.c@1.97 / diff / nxr@1.97
src/sys/dev/pci/azalia_codec.c@1.81 / diff / nxr@1.81
src/sys/dev/audio.c@1.372 / diff / nxr@1.372
src/sys/dev/ic/ac97.c@1.97 / diff / nxr@1.97
src/sys/dev/pci/azalia_codec.c@1.81 / diff / nxr@1.81
Mixer device bounds checking.
Analysis by Ilja van Sprundel.
Analysis by Ilja van Sprundel.
MAIN commitmail json YAML
src/sys/dev/auconv.c@1.29
/
diff
/
nxr@1.29
src/sys/dev/auconv.h@1.19 / diff / nxr@1.19
src/sys/dev/ic/am7930.c@1.56 / diff / nxr@1.56
src/sys/dev/auconv.h@1.19 / diff / nxr@1.19
src/sys/dev/ic/am7930.c@1.56 / diff / nxr@1.56
Add a null_filter to help with the audio autoconfig of pmax.
Tested by flxd@.
Tested by flxd@.
MAIN commitmail json YAML
src/sys/arch/dreamcast/conf/G1IDE@1.2
/
diff
/
nxr@1.2
src/sys/arch/dreamcast/conf/GENERIC@1.126 / diff / nxr@1.126
src/sys/arch/dreamcast/conf/GENERIC@1.126 / diff / nxr@1.126
Use the correct attachment for dreamcast audio.
Found and tested by Bjorn Johannesson on port-dreamcast.
Found and tested by Bjorn Johannesson on port-dreamcast.
MAIN commitmail json YAML
Dreamcast audio only supports playback so set it in the props.
This makes dreamcast audio work again.
Tested by Bjorn Johannesson.
cvs: ----------------------------------------------------------------------
This makes dreamcast audio work again.
Tested by Bjorn Johannesson.
cvs: ----------------------------------------------------------------------
MAIN commitmail json YAML
Fix a panic caused by opening pad(4)'s mixer before the corresponding
audio device has attached.
Addresses PR kern/52424.
audio device has attached.
Addresses PR kern/52424.
MAIN commitmail json YAML
As pad devices are now created on demand - pad has to be open for a
corresponding mixer to be available.
corresponding mixer to be available.
MAIN commitmail json YAML
If a particular pad device is opened, ie pad1 then configure and use pad1
if it is not already configured.
This improves scriptability as you will know the particular pad(4) device
you have opened.
pad(4) devices still have a cloning interface if pad device (minor
number 254) is opened it will attach the next free device. This action
can be repeated.
XXX update MAKEDEV scripts to make /dev/pad the cloning device.
Ok christos@.
if it is not already configured.
This improves scriptability as you will know the particular pad(4) device
you have opened.
pad(4) devices still have a cloning interface if pad device (minor
number 254) is opened it will attach the next free device. This action
can be repeated.
XXX update MAKEDEV scripts to make /dev/pad the cloning device.
Ok christos@.
MAIN commitmail json YAML
Return early from read if kpause is interrupted by a signal.
MAIN commitmail json YAML
src/sys/dev/pad/pad.c@1.39
/
diff
/
nxr@1.39
src/sys/dev/pad/padvar.h@1.11 / diff / nxr@1.11
src/sys/sys/file.h@1.82 / diff / nxr@1.82
src/sys/dev/pad/padvar.h@1.11 / diff / nxr@1.11
src/sys/sys/file.h@1.82 / diff / nxr@1.82
Pad is now clones its device, attaching upon open and detaching upon close.
This means that only one pad device is required in /dev.
The code contains a compile time limit of 128 units.
Ok christos@.
This means that only one pad device is required in /dev.
The code contains a compile time limit of 128 units.
Ok christos@.
MAIN commitmail json YAML
On a forcefull detach wait for spkr to close as the detach has to
succeed.
Ok christos@.
succeed.
Ok christos@.
MAIN commitmail json YAML
sc_audiodev should be defined as a device_t as this is what audio_attach_mi
returns.
returns.
MAIN commitmail json YAML
Broadcast all conditional variables if in being deactivated so no readers
or writers get stuck.
or writers get stuck.
MAIN commitmail json YAML
Don't keep writing data if an error has occurred.
MAIN commitmail json YAML
Ensure to close open file descriptors.
Patch by pgoyette@.
Patch by pgoyette@.
MAIN commitmail json YAML
KNF. NFCI.
MAIN commitmail json YAML
Better solution to mulaw/alaw conversion on big endian systems/sound
devices.
devices.
MAIN commitmail json YAML
Rectify an error in mulaw/alaw conversion to big endian. The atf audio
test should pass on sparc again.
test should pass on sparc again.
MAIN commitmail json YAML
Don't autoconfig for 24 bits precision. It does not work as yet.
MAIN commitmail json YAML
Don't start playback or recording on the hw ring only stream ring buffers.
MAIN commitmail json YAML
Set hw parameters for linear to ulaw filters.
Tested by flxd@.
Tested by flxd@.
MAIN commitmail json YAML
Check validbits against precision in vchan_autoconfig. At present
validbits != precision is not supported.
This change will most likely break autoconfig on vs(4), for these machines
the parameters can be set to the paramaters reported at attach time via
sysctl.
validbits != precision is not supported.
This change will most likely break autoconfig on vs(4), for these machines
the parameters can be set to the paramaters reported at attach time via
sysctl.
MAIN commitmail json YAML
Use LINEARNTOMULAW for 8 bits as well.
MAIN commitmail json YAML
Remove stray ";" from defines.
MAIN commitmail json YAML
Use pustream params when clearing the next block in the mixring.
MAIN commitmail json YAML
rfill and pfill mixed up.
MAIN commitmail json YAML
Check hardare precision in vchan_autoconfig. Passes atf test again.
MAIN commitmail json YAML
Fix defines to proper function names.
MAIN commitmail json YAML
Allow for bigger data types to mix into to avoid overflow.
MAIN commitmail json YAML
sc_iffreq -> sc_frequency. NFCI.
Ok christos@.
Ok christos@.
MAIN commitmail json YAML
No need to reset the audioinfo whem dealing with the hardware ring. This
avoids a panic with some audio devices.
Ok christos@.
avoids a panic with some audio devices.
Ok christos@.
MAIN commitmail json YAML
src/sys/dev/auconv.c@1.27
/
diff
/
nxr@1.27
src/sys/dev/auconv.h@1.17 / diff / nxr@1.17
src/sys/dev/mulaw.c@1.29 / diff / nxr@1.29
src/sys/dev/mulaw.h@1.21 / diff / nxr@1.21
src/sys/dev/auconv.h@1.17 / diff / nxr@1.17
src/sys/dev/mulaw.c@1.29 / diff / nxr@1.29
src/sys/dev/mulaw.h@1.21 / diff / nxr@1.21
Add support for more formats. At present 24 bit formats do not work and
have been disabled.
Ok christos@.
have been disabled.
Ok christos@.
MAIN commitmail json YAML
Rate conversion works at 8 bits, so enable it.
Ok christos@.
Ok christos@.
MAIN commitmail json YAML
Use defines to specify pad audio format. NFCI.
Ok christos@.
Ok christos@.
MAIN commitmail json YAML
Ensure to detach children.
MAIN commitmail json YAML
src/share/man/man4/Makefile@1.638
/
diff
/
nxr@1.638
src/share/man/man9/Makefile@1.415 / diff / nxr@1.415
src/share/man/man9/Makefile@1.415 / diff / nxr@1.415
Add wsbell.
Found by wiz@.
Found by wiz@.
MAIN commitmail json YAML
src/distrib/sets/lists/comp/mi@1.2140
/
diff
/
nxr@1.2140
src/distrib/sets/lists/man/mi@1.1558 / diff / nxr@1.1558
src/distrib/sets/lists/man/mi@1.1558 / diff / nxr@1.1558
Update for wsbell(4) manual pages.
MAIN commitmail json YAML
Manual pages for wsbell.
MAIN commitmail json YAML
Update the speaker man page, mentioning wsbell and new formatting for
ioctls.
Ok pgoyette@.
ioctls.
Ok pgoyette@.