cinap_lenrek
7b34e8e759
nusb/kb: use report protocol for mouse
...
instead of forcing mouse to boot protocol, which often
doesnt work, we set it to report protocol and parse
the hid report descriptor. if thers no such descriptor
we revert to boot protocol.
all mouse packet parsing is done by report parser,
even for boot protocol. also all the work arrounds
for the leadbyte hack (report id?) are removed.
keyboards should not be affected by this change.
2012-12-19 12:09:35 +01:00
cinap_lenrek
30b8fa0eef
pci: add southbridge for Viatech VT8235
2012-12-19 00:35:53 +01:00
cinap_lenrek
5d27a5972d
pci: add southbridge for intel 82hb65 cougar point pch (thanks ftrvxmtrx)
2012-12-19 00:09:42 +01:00
cinap_lenrek
b4c81e2cdc
audio/pcmconv: fix mistake
2012-12-17 09:53:36 +01:00
cinap_lenrek
5d78632d41
pci: add Viatech VT8251 south bridge
2012-12-17 07:51:40 +01:00
cinap_lenrek
1fdd311f2f
audio/pcmconv: implement stereo -> mono conversion (mixing)
2012-12-14 17:16:50 +01:00
cinap_lenrek
776f3726dd
audio/pcmconv: check bits for same format check not just framesz
2012-12-14 09:43:00 +01:00
cinap_lenrek
d99e693119
file: report .au files as "sun audio" instead of µlaw
2012-12-14 05:12:07 +01:00
cinap_lenrek
a2b94beae0
play: use audio/sundec instead of audio/µlawdec
2012-12-14 05:00:51 +01:00
cinap_lenrek
5ceb834f0e
audio: replace µlawdec, add big endian and µlaw audio formats to pcmconv, µlaw in wav support
...
to support µ-law audio embedded in wav and big endian pcm
in sun audio files the µ-law and a-law and big endian integer
decoding was added to pcmconv. sundec now parses the sun
audio header supporting stereo now.
2012-12-14 04:38:45 +01:00
cinap_lenrek
d7b7723c96
audio/pcmconv: dithering
2012-12-13 09:39:15 +01:00
cinap_lenrek
a8b02eb198
audio/pcmconv: cleanup
2012-12-12 19:04:57 +01:00
cinap_lenrek
985df234d6
audio/pcmconv: implement filter coefficient interpolation, cleanup
2012-12-12 15:46:12 +01:00
cinap_lenrek
2823498ac3
audio/pcmconv: mistake for double to int conversion (thanks ftrvxmtrx)
2012-12-12 12:20:54 +01:00
cinap_lenrek
bedfd8f361
audio/pcmconv: check number of input channels
2012-12-11 21:02:14 +01:00
cinap_lenrek
45a5074b10
audio/pcmconv: disable floating point exceptions for data conversion
...
for the float to integer conversion, disable
exceptions. also clamp the values.
--
cinap
2012-12-11 20:42:33 +01:00
cinap_lenrek
0903d01134
audio: fix broken write() size for mp3dec/oggdec/flacdec
...
they accidently wrote additional bytes in the stream. this
confused the new audio/pcmconv (now actually checking
if it got complete samples).
2012-12-11 19:55:02 +01:00
cinap_lenrek
3d1f5d4812
audio/pcmconv: implement band limited audio resampler using fir filter
...
implement the resampler described in the
"Digital Audio Resampling Home Page" paper:
https://ccrma.stanford.edu/~jos/resample/
2012-12-11 16:37:39 +01:00
cinap_lenrek
6182ff7d77
merge
2012-12-11 14:25:02 +01:00
cinap_lenrek
91f72566c6
paqfs: fix wrong block type in readdir() (from sources)
2012-12-11 14:19:04 +01:00
stanley lieber
871419f216
fortunes: _exits("damn");
2012-12-10 22:06:42 -06:00
cinap_lenrek
b1b2a4ac9c
6l: fix wrong opcode for MOVLQZX (import from sources)
2012-12-10 10:53:27 +01:00
cinap_lenrek
3971337d13
nusb: provide language id when reading string descriptors (thanks ftrvxmtrx)
...
there are devices which do not return a string if used
with invalid language id, so at least try to use the first
one and choose english if failed.
this fixes CDC ethernet for N900
2012-12-10 10:36:53 +01:00
cinap_lenrek
8f0ed00420
audiohda: add support for PCH (Dell E5420)
2012-12-10 10:01:52 +01:00
cinap_lenrek
e93d22ef18
awk: fix the fix
...
be more carefull. have to preserve DONTFREE flag!
2012-12-10 09:19:41 +01:00
cinap_lenrek
6e4554b7d5
awk: prevent split(a[x], a) from freeing a[x]
...
the freesymtab() call frees the y argument. temporarily mark it
not to be freed.
2012-12-10 07:20:00 +01:00
cinap_lenrek
dfd5bca48e
audio(1): µlawdec reference
2012-12-08 09:23:05 +01:00
cinap_lenrek
7148847ff0
µlaw audio support (from erik quanstro)
2012-12-08 09:18:44 +01:00
cinap_lenrek
0d84343fbc
audio: add audio/pcmconv program
...
instead of duplicating resampling and pcm format
conversion code, put it in the new pcmconv program.
2012-12-08 08:26:50 +01:00
cinap_lenrek
9507061986
cwfs: allow previously authorized channels to attach as none
...
we allow allow previously authorized channels to attach as none
even if anonymous logins are disabled with nonone.
2012-12-07 09:53:08 +01:00
cinap_lenrek
52b500af61
cwfs: make none attach work
...
allow attach as none. (this was supposed to work but it
doesnt for 9p2000 because we have to check for
afid being NOFID instead of checking the uname string).
and add "nonone" flag to disable this.
2012-12-07 06:30:26 +01:00
cinap_lenrek
3bf1e0798b
audiohda: pikeshedding
...
use seprint() for audiostat.
2012-12-07 00:56:26 +01:00
cinap_lenrek
62721182c4
audiohda: fix getoutamprange()
...
same problem as previous commit. have to query
function group if not Wampovrcap.
2012-12-07 00:36:15 +01:00
cinap_lenrek
29aa499682
audiohda: handle default amp settings
...
widgets that do not have Wampovrcap have ther default
amplifier parameters stored in the aydio function group.
only if the amp override bit is *not* set, then the widget
stores its own amplifier parameters and we have to query
its node id, otherwise the audio function group node id.
2012-12-07 00:12:16 +01:00
cinap_lenrek
5a138029db
move devusb to port
...
moved devusb to port, shifting the responsibility of how
to enable interrupts to the arch specific hci driver.
2012-12-06 18:53:17 +01:00
cinap_lenrek
75b1ec6716
audiohda: dont xspanalloc() Ctlr structure
...
theres no requirement for the Ctlr structure to be 8 byte aligned.
its not passed to hardware.
2012-12-06 17:19:13 +01:00
cinap_lenrek
7a99d3c6a6
ipconfig(8): better way to say it :)
2012-12-06 07:34:56 +01:00
cinap_lenrek
df8c55ec71
ipconfig(8): document new default behaviour for finding ethernet device
2012-12-06 07:30:16 +01:00
cinap_lenrek
a81a6f2ff4
inst: add a linebreak before install boot record description
2012-12-06 07:09:16 +01:00
cinap_lenrek
b929f24b92
inst: remove broken winnt boot setup
2012-12-06 06:35:36 +01:00
cinap_lenrek
c3105131fe
bootrc: fix mistake, god damn it
2012-12-06 03:46:22 +01:00
cinap_lenrek
620d6df973
bootrc: reparse all env variables, not just #ec
2012-12-06 02:03:59 +01:00
cinap_lenrek
6e630a2d1f
nusb/ether: remove debug prints, cleanup
2012-12-06 00:31:25 +01:00
cinap_lenrek
29ca49ca38
nusb/ether: remove vid check in smsc driver, cleanup cdc driver
2012-12-06 23:24:42 +01:00
cinap_lenrek
04fd67ab06
nusb(4): document new nusb/ether options
2012-12-06 23:17:18 +01:00
cinap_lenrek
23239adf54
nusb/ether: port drivers for asix and smsc ethernet
2012-12-06 23:05:24 +01:00
cinap_lenrek
49c8aed2db
ip/ipconfig: automatically find ethernet device on /net if not given
2012-12-05 14:38:30 +01:00
cinap_lenrek
0750687012
move usb ethernet in bootfs.paq
2012-12-05 13:53:34 +01:00
cinap_lenrek
96cc3eb2ee
devtls: add support for aes_128_cbc and aes_256_cbc (import from sources)
2012-12-04 10:53:53 +01:00
cinap_lenrek
b296b96c68
devssl: handle bad secretin/secretout ctl arguments (import from sources)
2012-12-04 10:52:42 +01:00