kent
a37082a494
whitespace and folding fix.
2002-03-23 17:17:10 +00:00
kent
541b66ade5
Decrease UAUDIO_NFRAMES: 20 -> 10
...
This change eliminates noise of 6ch audio.
2002-03-23 16:23:20 +00:00
taca
e6937b841b
Change devinfo definition and make devname initialization correctly.
...
Those changes are referring with uplcom.c.
I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23 15:38:22 +00:00
augustss
85fc920f4f
Define uvscom_acvtivate() according to prototype.
2002-03-20 16:39:39 +00:00
lukem
7fedb7d335
add missing prototype for uvscom_activate()
2002-03-20 03:20:10 +00:00
augustss
ea41085783
Add driver for SUNTAC Slipper U VS-10U serial devices.
...
Written by Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. From FreeBSD.
2002-03-19 15:08:42 +00:00
augustss
b9300aa49f
Regen.
2002-03-19 15:07:23 +00:00
augustss
d79c559262
Add some devices. From FreeBSD.
2002-03-19 15:07:05 +00:00
kent
a340d0e8ea
Create new uaudio_chan_init() and move sample_size/bytes_per_frame
...
initialization to it from uaudio_chan_set_param(). uaudio_set_params()
calls uaudio_chan_init().
These are required because bytes_per_frame is used in
uaudio_round_blocksize(), which is called before uaudio_set_params().
Noise of 4ch playing disappears by this change. 6ch playing still has
cyclic noise.
2002-03-18 14:06:08 +00:00
christos
8b264dc99c
regen
2002-03-18 14:01:31 +00:00
christos
57a22d5790
Add Siemens speedstream, from Alicia da Conceicao.
2002-03-18 14:01:02 +00:00
atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
augustss
b32942bb23
Whitespace fixes.
2002-03-17 18:02:52 +00:00
augustss
3fba39846b
Add Swiss keyboard mappings. From OpenBSD.
2002-03-17 18:01:07 +00:00
kent
fe274639f9
aurateconv.c:
...
- Simplify the source
- Accept any convresions such that sample_rate < hw_sample_rate
uaudio.c:
- Request the above conversion. This is needed for 4ch-only devices to
play monaural/stereo data.
2002-03-17 16:14:21 +00:00
tsutsui
ce457aa10e
Fix a couple of typo:
...
- s/ehci/uhci/ (in unused arg of macro)
- s/ohci/uhci/ (in panic message)
2002-03-16 16:13:41 +00:00
tsutsui
e01954f52a
Fix a couple of typo:
...
- s/ehci/ohci/ (in unused arg of macro)
- s/uhci/ohci/ (in debug message)
2002-03-16 16:11:18 +00:00
ichiro
66ae17a426
add device TDK USB-PDC Adapter UPA9664
2002-03-16 16:10:19 +00:00
kent
3ca7d89bcf
uaudio_set_params(): Set conversions:
...
- 8bit slinear/ulinear to 16bit slinear for playing
- 16bit slinear to 8bit slinear/ulinear for recording
2002-03-15 17:20:14 +00:00
kent
33525eb269
Accept 24bit precision.
2002-03-12 15:12:03 +00:00
augustss
42314426c9
Regen.
2002-03-10 19:55:55 +00:00
augustss
861a9e05a1
Add some WLAN devices.
2002-03-10 19:55:23 +00:00
augustss
5cd0234a24
Regen.
2002-03-10 02:58:35 +00:00
augustss
bb70169d38
Add vendor Intersil.
2002-03-10 02:58:14 +00:00
augustss
00c6ccf059
Regen.
2002-03-10 02:55:26 +00:00
augustss
61b69e8d60
Add Pen Driver USB Disk.
2002-03-10 02:54:57 +00:00
kent
a1f23f2a90
Move sampling rate conversion functions to aurateconv.c.
...
Introduce "aurateconv" attribute for audio devices.
Add aurateconv to uaudio and auich.
(due to kern/15845 and kern/15848)
2002-03-09 20:30:42 +00:00
ichiro
f0c89eaf40
add device
...
TDK USB-PHS Adapter UHA6400
2002-03-09 06:06:11 +00:00
kent
ad276dda9e
free_all_endpoints(): Fix a problem with disabled device.
2002-03-08 17:24:06 +00:00
kent
c329c38eef
Sampling rate and mono-stereo conversion described in
...
http://mail-index.netbsd.org/tech-kern/2002/03/04/0005.html
auconv.c: Add conversion functions
audio.c: Sample alignment, calling conversion functions, etc.
audio_if.h: Add four hw_* members to "struct audio_params"
audiovar.h: Add conversion buffers, etc.
auich and uaudio: Add conversion request code to *_set_params().
2002-03-07 14:37:02 +00:00
itojun
ac36f7cb2c
bring in latest ALTQ from kjc. ALTQify some of the drivers.
2002-03-05 04:12:57 +00:00
augustss
e4ca1c8a44
Use the correct pointer for the timeout abort.
2002-03-04 00:53:33 +00:00
jmcneill
f58e1d41e1
Regen
2002-02-28 21:10:51 +00:00
jmcneill
f3b42effa5
Add Linksys Wireless USB Network Adapters (WUSB11, both original and ver 2.5)
2002-02-28 21:10:28 +00:00
thorpej
c49eaa2724
Don't use NULL for non-pointer arguments.
2002-02-28 04:49:16 +00:00
augustss
da0af33867
Change mapping of keycode 50 to be closer to the spec.
2002-02-28 00:30:13 +00:00
augustss
27cee6c777
Regen.
2002-02-27 23:29:01 +00:00
augustss
f2afa010b1
Add some more stuff that might make Palm and Sony devices work.
...
(Gleaned from Linux.)
2002-02-27 23:00:03 +00:00
augustss
50a7e169bc
Add Palm m125.
2002-02-27 22:45:16 +00:00
augustss
5d2b04bb42
Move the interrupt bailout when a cancelled ii is found.
2002-02-27 12:42:41 +00:00
augustss
5663022c32
Remove spurious splusb().
...
Lower abort hardware wait.
2002-02-27 12:12:45 +00:00
augustss
0357a44190
Avoid a race condition spotted by UCHIYAMA Yasushi <uch@vnop.net>.
2002-02-27 01:30:50 +00:00
augustss
ae9f835cf2
A small fix for FreeBSD.
2002-02-26 10:27:49 +00:00
augustss
2c66bc238b
Fix a typo that prevented timeout in control requests from working.
...
Spotted by Alfred Perlstein <bright@mu.org>.
2002-02-26 10:22:48 +00:00
augustss
ab875c9c5c
Some minor fixes from FreeBSD.
2002-02-26 02:00:16 +00:00
augustss
97e6cc6f72
Fix an uninitilized request. From Alfred Perlstein <bright@mu.org>.
2002-02-25 22:39:01 +00:00
augustss
306aa99ff8
Some portability improvement.
...
Add define for usb.h version.
2002-02-25 00:46:37 +00:00
augustss
0db3eee7bb
Add quirks for Minolta Dimage X.
2002-02-20 22:28:54 +00:00
augustss
dd0cea6baa
Regen.
2002-02-20 22:28:20 +00:00
augustss
b1b2559c84
Add Minolta Dimage X (very nifty!).
2002-02-20 22:27:54 +00:00
christos
6728d906e9
Prefix structure members to protect them against clashes with eg. c++ keywords.
...
Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
2002-02-20 20:30:12 +00:00
simonb
724e595530
Regen: Add the Concord Camera Eye Q 3x.
2002-02-19 14:13:01 +00:00
simonb
63e8b06dff
Add the Concord Camera Eye Q 3x.
...
Reverse the Yamaha and Yano entries so they're in alphabetical order.
2002-02-19 14:12:02 +00:00
simonb
72359ec83c
Fix indentation botch.
2002-02-19 14:07:26 +00:00
thorpej
58ff6aaf22
Regen: Add Genesys Logic GL641USB CompactFlash card reader.
2002-02-16 18:18:06 +00:00
thorpej
bfdbf84cf8
Add product ID for the Gensys Logic GL641USB CompactFlash card reader.
2002-02-16 18:17:35 +00:00
kent
46ffcfbf95
uaudio_set_params() for mulaw:
...
Give priority to 16bit again in the case the device has no hardware
support for mulaw.
2002-02-14 12:55:51 +00:00
jdolecek
a2803fa798
split the channel stuff into record and play parts, so that this driver is
...
full duplex, independent
2002-02-12 19:52:43 +00:00
tron
f1a2d1c420
Remove obsolete prototype for "udsbr_search".
2002-02-12 10:51:49 +00:00
mjl
253423f1c7
Add OnSpec PC-Card reader
2002-02-11 21:13:35 +00:00
mjl
59ff2c4198
Regen
2002-02-11 21:07:50 +00:00
mjl
c381ca9def
Add Datafab MD1-II
2002-02-11 21:05:34 +00:00
augustss
490beda381
Remove an accidental change from last commit.
2002-02-11 15:20:23 +00:00
augustss
319f13f6ef
Give usbd_do_request_flags() an extra argument for the timeout.
2002-02-11 15:11:49 +00:00
augustss
5f87e5a984
Regen.
2002-02-11 15:00:35 +00:00
augustss
cf31e1b945
Add a bunch of mass storage devices.
2002-02-11 15:00:17 +00:00
augustss
e644076000
A little const poisoning. (From FreeBSD.)
2002-02-11 12:42:48 +00:00
augustss
6f566032d7
Whitespace changes.
2002-02-11 11:42:16 +00:00
augustss
0e66a32e2c
Switch to new abort mechanism.
2002-02-11 11:41:30 +00:00
augustss
f8204d29e1
Switch to the same abort mechanism as in [eo]hci; it should be more
...
robust.
2002-02-11 11:40:33 +00:00
augustss
f1274a71dc
Some minor fixes from FreeBSD.
2002-02-11 10:09:14 +00:00
augustss
1b221b1c9b
Some updates for FreeBSD.
2002-02-11 10:04:28 +00:00
kent
c1b55b61ac
uaudio_chan_set_param:
...
Take care of param->factor.
uaudio_set_params:
Fix a problem of precision matching for mulaw/alaw with 16bit.
2002-02-11 07:10:36 +00:00
kent
4653bffb03
uaudio_set_params:
...
Use slinear16_to_mulaw_le() if ULAW recording is requested and the device
supports neither signed 8bit nor unsigned 8bit and supports 16bit.
2002-02-10 06:37:45 +00:00
rh
c57778753f
regen
2002-02-09 09:21:24 +00:00
rh
7236711b7c
Add HP Scanjet 5400C
2002-02-09 09:20:44 +00:00
augustss
660b4087dc
Add quirks for Minolta S304.
2002-02-07 13:53:14 +00:00
augustss
53a6c27b2e
Add quirk for devices without Get Max Lun.
2002-02-07 13:52:54 +00:00
augustss
86c1274c84
Regen.
2002-02-07 13:52:27 +00:00
augustss
c801ef4f0d
Add Minolta Dimage S304
2002-02-07 13:52:08 +00:00
augustss
d76f24be37
OnSpec doesn't like Mode Sense.
2002-02-07 13:02:26 +00:00
augustss
09f2c3182a
Regen.
2002-02-07 13:00:37 +00:00
augustss
29f28f51f0
Add OnSpec disk controller.
2002-02-07 13:00:13 +00:00
augustss
7f01f1dd6b
Some white space fixes from FreeBSD.
2002-02-03 18:15:20 +00:00
gehenna
5306945459
Add entry for ELECOM LD-USBL/TX
2002-02-02 06:04:46 +00:00
gehenna
604899daad
regen
2002-02-02 06:02:26 +00:00
gehenna
aa93973989
Add ELECOM LD-USBL/TX (ethernet adapter)
2002-02-02 06:00:56 +00:00
augustss
c0530aa288
Regen.
2002-02-02 02:29:49 +00:00
augustss
9df6e6d623
Add PhotoClip USB Camera (from FreeBSD).
2002-02-02 02:29:28 +00:00
augustss
044c8f0a7a
Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors.
...
Spotted by OpenBSD.
2002-01-27 23:00:34 +00:00
augustss
9cdd3fd977
Don't dereference NULL pointer when no device attaches.
2002-01-27 18:10:34 +00:00
augustss
a7dea23b26
Regen.
2002-01-25 22:54:53 +00:00
augustss
6fd474bf85
Fix typo pointed out by Manuel Bouyer.
2002-01-25 22:54:34 +00:00
ichiro
e00f8610ea
regen
2002-01-22 03:17:28 +00:00
ichiro
c1227aa54e
supported RATOC Systems REX-USB60
2002-01-22 03:13:28 +00:00
ichiro
9684a618c1
add product
...
RATOC Systems USB serial adapter REX-USB60
2002-01-22 03:12:18 +00:00
augustss
12f71ce4b8
Regen.
2002-01-21 11:20:42 +00:00
augustss
8f9166873c
Add some new devices.
2002-01-21 11:20:25 +00:00
tsutsui
448d063b57
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-14 13:23:36 +00:00
tsutsui
e6f8529d26
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:58:16 +00:00