augustss
9b2766b49b
Use different quirks for Sony Memory Stick. From John Heasley in kern/16946.
...
Also don't munge all sony devices when patching subclass.
2002-06-16 14:59:58 +00:00
dsainty
4cfd804df5
Regen.
2002-06-13 11:16:11 +00:00
dsainty
5c6618951c
Add 3com Bluetooth adapter
2002-06-13 11:11:08 +00:00
lukem
06de426449
SIMPLEQ rototill:
...
- implement SIMPLEQ_REMOVE(head, elm, type, field). whilst it's O(n),
this mirrors the functionality of SLIST_REMOVE() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
nathanw
7dc5cba95f
Regen.
2002-05-31 21:13:12 +00:00
nathanw
49331870a4
Add many Keyspan products, and distinguish the device IDs before and
...
after loading firmware.
2002-05-31 21:11:56 +00:00
augustss
9660362aab
Another fix in the FreeBSD part.
2002-05-28 17:45:17 +00:00
augustss
0a15c2acd4
Change DMAADDR macro slightly.
2002-05-28 12:42:38 +00:00
minoura
78d97e78f0
Clear done_head in the HCCA *before* acknoledging the interrupt.
...
Driver lost some completed transfers under heavy loads.
2002-05-26 03:10:02 +00:00
augustss
4bc0b333ea
Update dma memory access API a little.
2002-05-19 06:24:30 +00:00
augustss
894da75819
Regen.
2002-05-19 06:20:01 +00:00
augustss
4b2bf1316d
Another mouse.
2002-05-19 06:13:29 +00:00
kent
820aca767e
USB_ATTACH: Initialize sc_plachan.altidx and sc_recchan.altidx with -1.
2002-05-18 15:14:39 +00:00
groo
a54b0bba2e
Regen.
2002-05-17 01:07:53 +00:00
groo
ec845de24e
Add a bunch of Inside Out Networks devices.
2002-05-17 01:07:17 +00:00
augustss
4c3acbe183
Two minor fixes from OpenBSD.
2002-05-13 12:10:04 +00:00
simonb
819efe9017
Recognise the HP ScanJet 2200c as a scanner, tested with xsane.
2002-05-12 08:04:41 +00:00
simonb
45e03c4ed5
Regen; add the HP ScanJet 2200C.
2002-05-12 07:56:59 +00:00
simonb
04d64c386d
Add the HP ScanJet 2200C.
2002-05-12 07:55:57 +00:00
augustss
2acf4c8462
Use callout init macro.
2002-05-09 21:54:32 +00:00
scw
b6ce571885
Add support for FTDI USB->Serial adapters based on the FT8U232AM chip.
...
Changes inspired by the latest linux version of the driver.
This gets the dongle supplied with my HP Omnibook working (it has no
legacy com(4) ports).
2002-05-08 18:10:19 +00:00
scw
5550c45ad4
Regen.
2002-05-08 18:06:47 +00:00
scw
5cbc5940fc
Add product ID for FTDI USB<->Serial adapter based on FT8U232AM chip.
2002-05-08 18:06:09 +00:00
drochner
162314b746
regen
2002-05-07 18:23:23 +00:00
drochner
6c432706fa
add EasyDisk Flash Disk
2002-05-07 18:22:56 +00:00
kent
551d40fc9e
Regen
2002-05-03 15:20:29 +00:00
kent
f1810f8df7
Add the following:
...
Vendor
Sanwa Supply
Audio-Technica
Product
Audio-Technica ATC-HA4USB USB headphone
I/O DATA USB-SSMRW and USB-SDRW
Logitech WingMan Formula Force GP (GT-Force) and TrackMan Wheel
Microsoft TrackBall Explorer
Roland UA-3
Sanwa Supply JY-DV9USB gamepad
Sony PS2 keyboard, PS2 keyboardhub and PS2 mouse
Yamaha RP-U200
2002-05-03 15:19:15 +00:00
augustss
0405958cec
Check for write permission for some ioctls.
2002-04-23 06:34:11 +00:00
augustss
93e745b84c
Another disk quirk.
2002-04-22 12:48:40 +00:00
augustss
7f7ab48604
Rename the audio "bus" attribute audiobus to avoid confusion with audio
...
device.
2002-04-22 09:41:19 +00:00
kent
4cbdc3964d
uaudio_set_params():
...
Correct a parameter of uaudio_chan_init() for recording.
This change fixes kern/16385.
2002-04-20 17:36:16 +00:00
kent
e034d9364c
Clear the busy flag of an alt when a channel is closed.
2002-04-20 17:04:32 +00:00
gehenna
7fdc59f9fc
Regen
2002-04-19 00:55:31 +00:00
tshiozak
eb4e540b0e
add PCI/USB vendor ID for Kurusugawa Electronics, Inc.
...
PCI-ID: 0x6809, USB-ID: 0x0b7e.
2002-04-18 17:40:56 +00:00
augustss
2f34976283
Regen.
2002-04-18 03:49:17 +00:00
augustss
544654cbc3
nother device.
2002-04-18 03:48:53 +00:00
heinz
ebc862f9b0
Added some clarifying comments after my mistake.
2002-04-12 17:56:14 +00:00
heinz
ce4cc4a651
Regenerate to compensate my mistake of committing this _together_ with
...
usbdevs. Should now have the correct reference to usbdevs.
2002-04-12 17:40:38 +00:00
heinz
16e1edf6ab
Add a bunch of webcams from Philips (infos found on a Linux web site)
2002-04-12 13:12:28 +00:00
augustss
fbe535ae41
Regen.
2002-04-08 20:04:18 +00:00
augustss
9e68b40780
Add LaserJet 1200
2002-04-08 20:03:54 +00:00
toshii
df12f106c5
Make recording functional again.
2002-04-05 16:16:43 +00:00
ichiro
54a67f9e68
regen
2002-03-31 00:42:03 +00:00
ichiro
c0bd1d04bc
add product
...
WirelessLAN USB-11
2002-03-31 00:41:37 +00:00
ichiro
b66fc78bc0
URL_DEBUG was related to usb_port.h
2002-03-28 21:49:19 +00:00
ichiro
b3064f4907
add driver for Realtek RL8150L USB ethernet adapter
...
distribute from Shingo WATANABE <nabe@nabechan.org>
2002-03-28 21:09:10 +00:00
ichiro
b4e9977d83
regen
2002-03-28 20:42:38 +00:00
ichiro
89cf71872c
add devices
...
GREENHOUSE : USB Ethernet Adapter GH-USB100B
MELCO : LUA-KTX Ethernet
2002-03-28 20:42:08 +00:00
augustss
0cc4bc8ffa
Small rearrangment of the FreeBSD part of the code.
2002-03-27 19:51:39 +00:00
augustss
269b3925f6
Regen.
2002-03-24 17:16:04 +00:00
augustss
4cadac3fb4
Add some devices. From seebs <seebs@ged.plethora.net>
2002-03-24 17:15:42 +00:00
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
drochner
db154a4d20
"attach radio at radio":
...
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
2002-01-07 17:44:42 +00:00
augustss
f854b2521f
Add a DIAGNOSTIC check. From FreeBSD.
2002-01-03 22:20:45 +00:00
augustss
501071c88f
Correct the frequency calculation.
2002-01-03 21:52:26 +00:00
augustss
f1ee77f0c3
Add USTIR_DEBUG.
2002-01-03 18:57:36 +00:00
augustss
eb62bf638c
Add the ustir driver, for SigmaTel STIr4200 USB/IrDA Bridge.
...
Written by David Sainty <David.Sainty@dtsp.co.nz>.
2002-01-03 18:54:31 +00:00
augustss
e4552bb657
Add a comment.
2002-01-02 22:44:44 +00:00
augustss
68d53cd694
Fix typo in last commit.
2002-01-02 20:58:12 +00:00
augustss
f7839315fb
Some more usb_proc_ptr changes.
...
Also some minor stylistic changes.
2002-01-02 20:55:58 +00:00
augustss
cee8ba6db9
Get rid of a few stray __P().
2002-01-02 17:20:09 +00:00
augustss
b99cd0e9f5
More whitespace fixes from FreeBSD.
2002-01-02 16:20:14 +00:00
augustss
c572876ecb
Fix another descriptor parsing bug. Thanks to Tero Kivinen for
...
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
augustss
71dd2d73a6
Fix typos.
2002-01-02 03:47:35 +00:00
augustss
1d26d9e5fd
Move debug define.
...
Remove some cruft.
Update with some stuff from Warner Losh's driver.
2002-01-02 03:44:56 +00:00
augustss
f63f2e4dfe
Add udsbr(4), a D-Link DSB-R100 FM radio (untested).
2002-01-02 03:21:36 +00:00
augustss
371722006a
Add a missing subclass definition.
2002-01-01 14:23:37 +00:00
augustss
cec9735688
Delay bus enumeration a little in case the controller is a companion
...
controller. This way the main controller can gain ownership of the port
before enumeration starts.
2001-12-31 15:55:51 +00:00
augustss
d8e5a1dc07
Dump enpoint number instead of endpoint index.
2001-12-31 15:54:27 +00:00
augustss
88da42185c
Don't try to deactivate child if we have no bus yet.
2001-12-31 12:52:50 +00:00
augustss
0498c38d3d
Whitespace fixes (from FreeBSD).
2001-12-31 12:37:13 +00:00
augustss
637dc4b2fe
Change xfer abort to wait for the softintr to run.
2001-12-31 12:20:35 +00:00
augustss
096f451f64
Change abort slightly.
...
Change debug output.
2001-12-31 12:16:57 +00:00
augustss
f1397b7e37
Dump more of the command.
2001-12-31 12:15:46 +00:00
augustss
152efb1a0e
Make a typedef for struct proc to make portingeasier.
2001-12-31 12:15:21 +00:00
augustss
d14e739b92
Don't allow setting the configuration when an endpoint is open. From
...
FreeBSD.
2001-12-31 11:56:37 +00:00
augustss
0a3269865e
Only clear stall if endpoint is stalled. From FreeBSD.
2001-12-31 11:54:06 +00:00
augustss
ff21b251a0
Make sure we don't have any pending softintrs when entering polling mode.
...
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
2001-12-30 20:26:59 +00:00
augustss
776b0e7851
A little more debug.
2001-12-30 19:37:43 +00:00
augustss
70dea46276
Fix typo.
2001-12-30 19:22:28 +00:00
augustss
dd4b4280f7
Add new scanners to the table.
...
(The scanners don't actually have to work to be in the uscanner table,
this is how Linux does it and uscanner is just there because Linux has it.)
2001-12-30 11:13:22 +00:00
augustss
fb4d205cd6
Regen.
2001-12-30 11:08:19 +00:00
augustss
095e2b87e3
Fix typo in last commit.
2001-12-30 11:01:44 +00:00
augustss
bdbdfed4ec
Add some missing files.
2001-12-30 11:01:24 +00:00
gehenna
7a22165e1c
fix product ID
2001-12-30 05:12:36 +00:00
gehenna
b48ed7ad6d
regen
2001-12-30 05:11:29 +00:00
gehenna
e9ab191fc3
Add some vendor/product IDs (from FreeBSD)
2001-12-30 05:09:50 +00:00
augustss
5a31e4e8f8
Make the driver a little less talkative on errors.
2001-12-29 20:50:16 +00:00
augustss
3850573d96
Remove garbage.
2001-12-29 18:57:16 +00:00
augustss
c19b7e5c1b
Be more paranoid about input sizes.
2001-12-29 18:56:52 +00:00
augustss
5db54303c8
Reset global count value properly.
2001-12-29 18:56:20 +00:00
augustss
198e193c28
Don't clear global report values when reporting an item.
2001-12-29 17:48:29 +00:00
augustss
93f9b36aad
Add a debug message.
2001-12-29 16:15:42 +00:00
augustss
496dc72437
Add some definitions from the USB OTG (On The Go) spec.
2001-12-29 15:44:11 +00:00
augustss
9dd24c8a92
Regen.
2001-12-29 14:08:02 +00:00
augustss
5f958aabb7
Fix a typo.
2001-12-29 14:07:45 +00:00
augustss
8164bd8bae
Move some USB device quirks to the umass_quirk table.
2001-12-29 14:06:18 +00:00
augustss
414b3c7766
Always set the PQUIRK_ONLYBIG quirk for SCSI devices.
2001-12-29 13:52:21 +00:00
augustss
276b009425
Introduce a field, busquirks, in the umass quirk table that is passed
...
directly to the quirk field for the bus.
2001-12-29 13:46:23 +00:00
augustss
59473972d2
Only pull in HID processing if a driver needs it.
2001-12-29 10:50:55 +00:00
augustss
750a5959b8
Add some missing scan code translations. Docs from Microsoft via Perry Metzger.
2001-12-29 02:53:41 +00:00
augustss
935b0481a9
Introduce an extra driver level for HID devices, uhidev. This uhidev driver
...
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev. The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers. The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
2001-12-28 17:32:36 +00:00
augustss
f690fc0845
More DIAGNOSTIC.
2001-12-28 00:21:26 +00:00
augustss
3bf49b584d
Add some more #defines.
2001-12-28 00:20:24 +00:00
augustss
04ec4ba316
Add some DIAGNOSTIC stuf that I forgot. From Nate Williams.
2001-12-27 18:48:28 +00:00
augustss
f8e03bd53c
Change some DIAGNOSTIC #defines.
2001-12-27 18:43:46 +00:00
augustss
0df9b7654d
ANSIfy.
2001-12-27 11:28:01 +00:00
augustss
d0f9a76506
Update a comment.
2001-12-27 11:27:11 +00:00
augustss
1f003f1c43
Name collection types.
2001-12-27 11:25:47 +00:00
augustss
81b818b421
Add usbd_get_protocol().
2001-12-27 11:24:42 +00:00
augustss
12560718c5
Files I forgot to remove in last commit.
2001-12-27 11:23:56 +00:00
cjs
80c0f36acc
Re-make these after usbdevs update.
2001-12-26 07:18:36 +00:00
cjs
2d1b70cd08
Add ID for memory stick slot in Sony Clie running PalmOS 4.0. This may also
...
be the same for the PalmOS 3.5 versions, but I can't test that.
2001-12-26 04:32:39 +00:00
augustss
0228f218d3
Add UISDATA_DEBUG.
2001-12-24 21:37:52 +00:00
augustss
213baeaad6
Use the new USB_PRODUCT_ANY match.
2001-12-24 21:36:54 +00:00
augustss
bfc3660fb1
Add some more DIAGNOSTIC tests.
...
Make usb_match_device() match on USB_PRODUCT_ANY.
2001-12-24 21:36:15 +00:00
augustss
c33e730dd9
Get rid of the transfer_speed nonsense to calculate the timeout.
...
We get passed a timeout from the upper layer which is what matters.
2001-12-24 19:24:33 +00:00
augustss
ab7b323efa
Add a preliminary version of a driver for In-System Designs non-standard
...
ATA-over-BulkOnly protocol. The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss
45fc7e27e9
Regen.
2001-12-24 13:40:50 +00:00
augustss
0d60061a8b
Add some more In-System based adapters.
2001-12-24 13:40:31 +00:00
augustss
56b5867371
Make the separation between wire protocol (umass.c) and command protocol
...
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
gehenna
e1839209b8
Add new quirk: NO_REQUEST_SENSE
...
Submit by: Dave Sainty
2001-12-22 13:21:59 +00:00
augustss
3e919c40c7
Regen.
2001-12-21 23:37:41 +00:00
augustss
72d569430d
Fix typo, pointed out by Nathan Binkert.
2001-12-21 23:37:18 +00:00
augustss
c6107a12f8
Add UIRDA_DEBUG.
2001-12-20 17:41:32 +00:00
augustss
b2a9a2993d
Move utility routine from uirda.c to usbdi_util.c.
2001-12-18 14:50:01 +00:00
ichiro
57957526e0
Uoo
...
Make it compile.
2001-12-17 14:34:37 +00:00
ichiro
1b0449d255
support BREAK function,
...
keep a value of the last LCR.
2001-12-17 14:31:02 +00:00
ichiro
d5f3329501
In BREAK, the value of LCR is held.
2001-12-17 14:19:39 +00:00
gehenna
7cd101a6ca
Introduce the new umass quirk table.
...
Discussed with augustss.
2001-12-17 12:16:14 +00:00
ichiro
0a1465a39c
handle vendor and product lookup with common routine
2001-12-16 15:11:19 +00:00
augustss
c70fc55cba
Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD.
2001-12-15 00:26:14 +00:00
augustss
3a31906841
Regen.
2001-12-15 00:25:00 +00:00
augustss
4a4ae0b6b7
YAD.
2001-12-15 00:15:01 +00:00
augustss
18c6adb0b6
YAD (Yet Another Device)
2001-12-15 00:07:45 +00:00
augustss
f79701e3fa
Regen.
2001-12-14 23:57:00 +00:00
augustss
154a59571d
Add SS1001.
2001-12-14 23:56:42 +00:00
augustss
356c54687b
Integrate fix from PR 10155.
...
Add ACCTON SS1001.
2001-12-14 23:56:21 +00:00
augustss
74a0c5db97
Remember to add header byte to length.
...
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss
342a82f2dd
Start read at open.
...
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss
aa89e69702
Don't reallocate I/O buffers.
2001-12-14 12:08:14 +00:00
augustss
d787f49ee6
Fix descriptor definition bug.
...
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
gehenna
f144837e0e
Stylistic changes
2001-12-14 08:58:49 +00:00
gehenna
2d27ad7c73
Define a new structure to store wire specific control methods.
...
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
ichiro
69424fd268
typo fix
2001-12-14 08:33:54 +00:00
gehenna
49bba69842
Use device handle and interface number which are stored in softc.
2001-12-14 06:21:56 +00:00
gehenna
53f34def69
Change style to store endpoint addresses and pipes.
2001-12-14 05:58:13 +00:00
augustss
04c10fc0cf
Initialize lock.
2001-12-13 17:25:37 +00:00
augustss
0ba8bac8fe
Fix some bugs. But the driver is still borken.
2001-12-13 02:16:21 +00:00
augustss
8e98b4a185
Add some special cases for the Sitecom adapter.
...
Make endian safe.
Fix some minor bugs.
2001-12-12 23:59:48 +00:00
augustss
0a4d7b9de3
Add a scanner quirk for keeping the pipes open between device opening.
...
Idea from Enami.
2001-12-12 15:48:18 +00:00
augustss
7727919172
Use USBD_NO_COPY in for some transfers where it was missing.
2001-12-12 15:44:47 +00:00
augustss
2fdd0f5a4b
Some more paranoia checks when DIAGNOSTIC.
2001-12-12 15:38:58 +00:00
augustss
29c3fe261b
Add some comments.
2001-12-12 15:38:27 +00:00
augustss
95d1208c14
Regen.
2001-12-12 15:37:21 +00:00
augustss
290d3a0d9e
Add some devices.
2001-12-12 15:36:59 +00:00
augustss
dfbcffae07
Remove some stupid casts.
2001-12-12 15:36:08 +00:00
augustss
4a802f4928
Add USB-IrDA bridge.
...
Needs more testing.
2001-12-12 15:27:24 +00:00
augustss
22735e5d44
Move usbd_clear_endpoint_toggle() prototype to usbdi.h.
2001-12-12 15:23:58 +00:00
gehenna
968318a989
Use vendor/product variables
2001-12-12 14:24:53 +00:00
gehenna
0f983137af
Don't change wire protocol state in umass generic function
2001-12-12 13:23:20 +00:00
gehenna
54e3c1962e
bcopy -> memcpy
2001-12-12 13:17:03 +00:00
augustss
aa816a6d89
Regen.
2001-12-10 03:36:54 +00:00
augustss
9cfe511c73
Add some devices.
2001-12-10 03:36:12 +00:00
gehenna
c9b557f40e
Add an item
2001-12-09 03:06:46 +00:00
cjs
b445461d1e
Rebuild these to fix the "generated from" line.
2001-12-07 07:43:10 +00:00
cjs
9dd4ce03d0
Add Palm m500/m505 and Sony Clie USB cradle device IDs.
2001-12-07 06:59:44 +00:00
augustss
22fd9bbb5f
Add IrDA related defines.
2001-12-06 17:00:26 +00:00
augustss
ec901ec7fe
Regen.
2001-12-05 23:25:56 +00:00
augustss
12812553f8
Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!)
2001-12-05 23:25:31 +00:00
augustss
02aa2a59bc
Handle vendor/product lookup with a common routine.
2001-12-03 01:47:12 +00:00
augustss
23d4159897
Add a subroutine to search for a vendor/product pair.
2001-12-02 23:25:25 +00:00
bouyer
65768c08e2
No need to include atavar.h here.
2001-12-02 22:59:40 +00:00
bouyer
4809ad42cb
Clean up attach of wd/atapibus:
...
kill ata_atapi_attach. Change atapibus to use a struct scsipi_channel instead
of ata_atapi_attach as attach arch. Create a ata_device, compatible with
scsipi_channel, to attach wd.
2001-12-02 22:44:32 +00:00
enami
e69c410de5
Shorten wmesg so that they can be distinguished in ps/top output.
2001-12-01 09:42:39 +00:00
enami
b56cddb826
Fix null pointer dereference when EHCI_DEBUG is defined (and
...
debug is enabled).
2001-12-01 09:39:32 +00:00
augustss
2781ac8e07
Regen.
2001-11-30 13:41:17 +00:00
augustss
a287e24799
Add new devices. From URA Hiroshi in PR 14790.
2001-11-30 13:41:00 +00:00
augustss
4b06fc39aa
Regen.
2001-11-29 13:58:41 +00:00
augustss
7a7025366e
Add some ISD devices.
2001-11-29 13:58:22 +00:00
augustss
c01e71bac5
Plug a memory leak in an error case.
2001-11-29 11:07:12 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
9f42ccc795
use #ifdef DDB (for consistency with the rest of the kernel)
2001-11-28 05:45:27 +00:00
augustss
380fd47edb
Change wchan name for usb task thread.
2001-11-26 20:16:55 +00:00
augustss
a6ba091eef
Add a quirk for Olympus C-1. From FreeBSD (by iedowse)
2001-11-25 19:15:46 +00:00
augustss
596224e54f
Pay attention to the timeout value passed down by the scsipi layer.
2001-11-25 19:05:22 +00:00
augustss
6fcfa35836
Regen.
2001-11-25 17:17:42 +00:00
augustss
f070b78088
Add Olympus C-1.
2001-11-25 17:17:22 +00:00
enami
71651851a4
Match against EPSON GT-9700F.
2001-11-23 10:31:54 +00:00
enami
674f6e4d18
Regen.
2001-11-23 10:30:49 +00:00
enami
9930efdacf
Add product id of EPSON GT-9700F.
2001-11-23 10:29:30 +00:00
augustss
cdc819cd8a
Improve xfer abort sequence.
...
Fix another bug in qTD chain allocation.
2001-11-23 01:16:27 +00:00
augustss
6d8419a6cc
Handle Zip quirks differently.
...
Ugh! This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss
6f95b070ca
Update mass storage protocol numbers.
2001-11-23 01:14:45 +00:00
augustss
37c8189778
Correct a comment.
2001-11-22 21:59:33 +00:00
augustss
7467533f5a
Improve dump routine slightly.
2001-11-22 04:31:01 +00:00
augustss
6e3a855c27
Fix a bug in qTD chain allocation.
...
Fix a qTD leak.
Handle out of memory conditions better.
My USB 2.0 CD-RW now mounts nicely and I can access files.
Performance is still lacking (it's at about 2Mbyte/s).
2001-11-22 04:20:49 +00:00
augustss
bc136d1c2e
Make it compile without debug.
2001-11-21 16:22:58 +00:00
augustss
9dae283057
Add another "feature".
2001-11-21 16:12:56 +00:00
augustss
b2dc7b3fd3
Follow a safer protocol when updating the QH.
...
The EHCI driver isn't really working properly, but now the SCSI driver
correctly identifies my CD-RW drive! :-)
2001-11-21 16:05:13 +00:00
augustss
2c4813fa9d
Use NULL not 0.
2001-11-21 15:48:37 +00:00
augustss
df1a49923c
Fix indentation and typos.
2001-11-21 15:37:41 +00:00
augustss
5539d5afe6
Implement (incorrect?) data toggle clear method.
...
Implement allocation of qTD chains.
2001-11-21 14:00:12 +00:00
augustss
6bba920516
Wrap dump routine prototypes in #ifdef USB_DEBUG
2001-11-21 13:44:47 +00:00
augustss
ca0b46691f
Mask correct interrupt after error interrupt.
2001-11-21 13:43:38 +00:00
augustss
02f41ec3e6
Mask the correct interrupt after a door bell interrupt.
2001-11-21 13:42:19 +00:00
augustss
0adc2bbba2
Implement bulk transfers.
2001-11-21 13:04:50 +00:00
augustss
2d72c2726c
Add some interrupt processing.
2001-11-21 12:28:23 +00:00
augustss
4d4da7e06a
Fix typo in comment.
2001-11-21 12:25:55 +00:00
augustss
1029005107
Pay more attention to if the HC is being unplugged.
2001-11-21 08:18:39 +00:00
itojun
bf755aea42
make it compilable without OHCI_DEBUG
2001-11-21 05:52:50 +00:00
augustss
c907a8fbbd
Add missing }
2001-11-21 02:47:07 +00:00
augustss
4f7b354305
Set up control xfers.
...
Handle xfer timeouts.
Better debug messages.
2001-11-21 02:44:30 +00:00
augustss
28a6a57942
Use a task to perform the timeout abort so we have a process context when
...
sleeping.
2001-11-21 02:41:18 +00:00
augustss
5506bb0f06
Some more debug stuff.
2001-11-21 02:39:31 +00:00
augustss
2478d1b320
Cast some args to bitmask_snprintf().
2001-11-21 02:38:35 +00:00
augustss
b171d0908b
Create a special kernel thread to run the usb short lived tasks (instead
...
of using the device discovery threads).
2001-11-20 23:53:26 +00:00
augustss
9716a5f26d
Don't bother with interrupts when being disconnected.
2001-11-20 21:12:46 +00:00
augustss
a8de831b24
Support port indicator light.
2001-11-20 16:25:35 +00:00
augustss
2f560c9410
Sanity check max packet lengths.
2001-11-20 16:09:01 +00:00
augustss
7679101a11
Add a comment.
2001-11-20 16:08:37 +00:00
augustss
e5353fd3b5
Use longer reset for root hubs (as told in the spec).
2001-11-20 16:08:10 +00:00
augustss
8366f16a80
Don't wait for door bell interrupt when controller has been disconnected.
2001-11-20 14:28:44 +00:00
augustss
86e6ea35eb
Update for new speed handling.
2001-11-20 13:50:07 +00:00
augustss
a598bed92e
Simplify async list handling.
2001-11-20 13:49:23 +00:00
augustss
b38958f960
Use device speed in setup.
...
Simplify async list handling.
2001-11-20 13:49:07 +00:00
augustss
7e4459fe10
Keep track of device speed for USB 2.0.
2001-11-20 13:48:03 +00:00
augustss
482dbdf4e3
More USB 2.0 definitions.
2001-11-20 13:46:09 +00:00
augustss
2db9b8d2c8
Start of pipe open routine.
2001-11-19 02:57:16 +00:00
augustss
0f70418027
Add more fields to hardware structs.
...
Add memory allocation for various data structures.
2001-11-18 00:39:46 +00:00
augustss
1f6462461a
Make it possible to report device speeds with ioctl(USB_DEVICEINFO).
2001-11-17 01:49:53 +00:00
augustss
25ffd2ae73
Regen.
2001-11-17 01:44:03 +00:00
augustss
c434bdf8c7
Yet another device.
2001-11-17 01:43:40 +00:00
augustss
b2b2b2b448
Implement port reset sequence correctly.
2001-11-16 23:52:10 +00:00
augustss
f73c358f8c
Add some more data structure defs.
2001-11-16 15:33:13 +00:00
augustss
3b323cfaae
Better error message.
2001-11-16 02:21:54 +00:00
augustss
3db4a768d4
Handle devices that disappear during reset gracefully.
2001-11-16 01:57:47 +00:00
augustss
07ea2e28cb
Recognize port status changes.
...
Hand over low and full speed devices to companion controller.
2001-11-16 01:57:08 +00:00
augustss
122d2863d8
Add root hub emulation.
2001-11-15 23:25:09 +00:00
augustss
b684cbc2a7
usbd_interface2device_handle() cannot fail.
2001-11-15 15:15:58 +00:00
augustss
effc318eca
Regen.
2001-11-14 17:50:44 +00:00
augustss
77a68c4bf2
Add another printer dongle.
2001-11-14 17:50:21 +00:00
augustss
cec12bf775
Remove trailing `b' in some numbers for lengths. It just makes them look
...
like hex.
2001-11-13 08:01:40 +00:00
augustss
d6e38a1474
More test for NULL pipes.
2001-11-13 07:59:32 +00:00
augustss
9dcae667ee
Small changes to behaviour when disconnecting.
2001-11-13 07:57:22 +00:00
augustss
b93fa89e60
Fix pasto in a debug printf.
2001-11-13 07:56:04 +00:00
augustss
8b1e2b3b6d
Add some #endif comments.
2001-11-13 07:55:30 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
atatat
e6de03653d
Don't set 'atapi_probe_device' if no atapi busses are being configured.
2001-11-11 23:21:18 +00:00
augustss
9a444aef81
Get rid of unused abort_handle.
2001-11-10 17:11:38 +00:00
augustss
21f0709fbe
Abort any xfers on the control pipe before closing it on detach.
2001-11-10 17:10:42 +00:00