| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
so that devd can match on it. This field was already available to
usbd and is used by a number of usbd.conf entries, so now it is
possible to transfer those entries to devd.conf.
Submitted by: Anish Mistry
Notes:
svn path=/head/; revision=149398
|
| |
|
|
|
|
|
|
|
|
| |
could sleep which I think can lead to races. However, there are fewer
with this code than without it.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=146101
|
| |
|
|
|
|
|
|
|
|
|
|
| |
with the wrong language parameter when retrieving the device serial
number. This invalid request caused some devices not to work at
all.
PR: usb/79190
Submitted by: Hans Petter Selasky <hselasky@c2i.net>
Notes:
svn path=/head/; revision=144087
|
| |
|
|
|
|
|
| |
message about them if the hub depth is zero.
Notes:
svn path=/head/; revision=143896
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139749
|
| |
|
|
|
|
|
| |
port X' message.
Notes:
svn path=/head/; revision=137474
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Reduce the interrupt delay to 2 microframes.
o Follow the spec more closely when updating the overlay qTD in the QH.
o No need to generate an interrupt at the data part of a control
transfer, it's generated by the status transfer.
o Make sure to update the data toggle on short transfers.
o Turn the printf about needing toggle update into a DPRINTF.
o Keep track of what high speed port (if any) a device belongs to
so we can set the transaction translator fields for the transfer.
o Verbosely refuse to open low/full speed pipes that depend on
unimplemented split transaction support.
o Fix various typos in comments.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=137144
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device_t instances when no driver attaches. They are left around, and
we need to remember them.
# The usbd_device_handle->subdevs[] array likely is completely bogus
# at this point, but one change at a time, since its removal will need
# to have similar code replace it extracted from newbus.
Part of the patch submitted by Peter Pentchev after an excellent
analysis of the underlying problems.
MFC After: 1 week
Notes:
svn path=/head/; revision=135009
|
| |
|
|
|
|
|
| |
moved into them.
Notes:
svn path=/head/; revision=133787
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o reprobe children when a new driver is added to uhub
o fix the usbd_probe_and_attach to set the ivars to a malloc'd area, as well
as freeing the ivars on child destruction.
o Don't delete children that don't attach. Evidentally, the need to do this
is a common misconception.
o minor formatting foo that may violate style(9) at the moment, but keeps the
diffs against my p4 tree smaller.
This does not solve the ugen gobbling things up problem, but the fixes
I have for that expose bugs in other parts of the tree...
Notes:
svn path=/head/; revision=133730
|
| |
|
|
|
|
|
|
| |
a significant amount of memory may be leaked each time a host
controller is detached.
Notes:
svn path=/head/; revision=133018
|
| |
|
|
|
|
|
| |
sys/bus.h includes it.
Notes:
svn path=/head/; revision=132559
|
| |
|
|
|
|
|
|
|
|
| |
Improve child_detached a little and make it conform better to
style(9). Also, improve comment about what we'll be doing in the
future about driver_added. Soon it will be possible to kldload usb
drivers and have them attach w/o a need to disconnect/reconnect them.
Notes:
svn path=/head/; revision=132558
|
| |
|
|
|
|
|
|
|
|
|
| |
rev. 1.68, author: mycroft
Ignore a port error that happens to come in at the same time as a
connect status change. Some root hubs seem to report both.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=131422
|
| |
|
|
|
|
|
|
|
| |
the subdevices of uhub better now to accomplish this.
Submitted by: Bernd Walter
Notes:
svn path=/head/; revision=131305
|
| |
|
|
|
|
|
|
|
|
|
|
| |
as otherwise the junk it contains may cause uhub_explore to give
up without ever trying to restart the port. This fixes the following
errors I was seeing with a VIA UHCI controller:
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
Notes:
svn path=/head/; revision=130291
|
| |
|
|
|
|
|
| |
Also some minor style cleanups.
Notes:
svn path=/head/; revision=119418
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117571
|
| |
|
|
|
|
|
|
|
|
| |
date: 2002/10/01 01:25:25; author: thorpej;
Use CFATTACH_DECL().
Not a functional change on FreeBSD.
Notes:
svn path=/head/; revision=117570
|
| |
|
|
|
|
|
|
|
| |
date: 2002/09/23 05:51:20; author: simonb;
Remove breaks after returns, unreachable returns and returns after
returns(!).
Notes:
svn path=/head/; revision=117569
|
| |
|
|
|
|
|
|
| |
date: 2003/02/08 03:32:51; author: ichiro;
change URL pointers of USB[1,2] specification
Notes:
svn path=/head/; revision=117567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get a Hub descriptor, we have to set req.wValue to "Descriptor Type
and Descriptor Index". In this case, Descriptor Type is 0x29
(UDESC_HUB), Descriptor Index should be 0.
If I don't do a check (dev->address > 1 ... ), root hub fails.
A new Cytronix 4-port USB 2.0 Hub (Cypress CY7C65640 chip) now works
after this patch.
Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net>
MFC after: 7 days
Notes:
svn path=/head/; revision=117564
|
| |
|
|
|
|
|
|
|
| |
This code reduces the number of trailing white space to be more in line
w/ NetBSD. I don't regenerate usbdevs, saving that for when it really
changes.
Notes:
svn path=/head/; revision=117213
|
| |
|
|
|
|
|
| |
Requested by: imp
Notes:
svn path=/head/; revision=101521
|
| |
|
|
|
|
|
|
|
| |
debugging levels to off by default. Now that debug levels can be
tweaked by sysctl we don't need to go through hoops to get the
different usb parts to produce debug data.
Notes:
svn path=/head/; revision=101060
|
| |
|
|
| |
Notes:
svn path=/head/; revision=101058
|
| |
|
|
| |
Notes:
svn path=/head/; revision=101055
|
| |
|
|
|
|
|
|
|
|
|
|
| |
during the previous probe are stale.
What really should be done is route the probe through
device_probe_and_attach bit this is one of those ICBBATIASS (I can't be
bothered as there is a simpler solution). The user can easily replug the
device after kldloading a new device driver.
Notes:
svn path=/head/; revision=98358
|
| |
|
|
|
|
|
| |
functional changes.)
Notes:
svn path=/head/; revision=94070
|
| |
|
|
|
|
|
|
|
| |
revision 1.57
date: 2001/11/20 16:08:37; author: augustss; state: Exp; lines: +3 -2
Add a comment.
Notes:
svn path=/head/; revision=94069
|
| |
|
|
|
|
|
|
|
|
|
| |
usbdi.c (1.86), usbdivar.h (1.66)
[Some partial, because most of this was merged in a while ago]
date: 2001/11/20 13:48:03; author: augustss;
Keep track of device speed for USB 2.0.
Notes:
svn path=/head/; revision=94068
|
| |
|
|
|
|
|
|
|
| |
revision 1.55
date: 2001/11/16 02:21:54; author: augustss; state: Exp; lines: +4 -4
Better error message.
Notes:
svn path=/head/; revision=94067
|
| |
|
|
|
|
|
|
| |
date: 2001/11/16 01:57:47; author: augustss;
Handle devices that disappear during reset gracefully.
Notes:
svn path=/head/; revision=94066
|
| |
|
|
|
|
|
|
|
| |
revision 1.52
date: 2001/10/26 17:53:59; author: augustss; state: Exp; lines: +8 -2
Compare pointer with NULL instead of using them as a condition.
Notes:
svn path=/head/; revision=94058
|
| |
|
|
|
|
|
|
|
| |
revision 1.51
date: 2001/10/24 15:30:17; author: augustss; state: Exp; lines: +3 -3
Better debug message.
Notes:
svn path=/head/; revision=94057
|
| |
|
|
|
|
|
|
|
|
|
|
| |
date: 2001/01/21 19:00:06; author: augustss;
Change the operation of the USB event thread. Before it only
performed USB device discovery, now it can also perform (short)
tasks for device drivers that need a process context, but don't
have one. This is not pretty, but better than using busy-wait
in an interrupt context.
Notes:
svn path=/head/; revision=93639
|
| |
|
|
|
|
|
|
| |
* rev 1.47: Update a URL
* rev 1.56: Keep track of device speed for USB 2.0.
Notes:
svn path=/head/; revision=90883
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
uhub.c: revision 1.37
usb.4: revision 1.30
usb.c: revision 1.38
usb.h: revision 1.40
usb_port.h: revision 1.21
usb_subr.c: revision 1.65
usbdi.h: revision 1.40
Split the attach/detach events up into device, driver and controller
attach and detach events.
The commit message from NetBSD was:
date: 2000/02/02 07:34:00; author: augustss; state: Exp;
Change the USB event mechanism to include more information
about devices and drivers. Partly from FreeBSD.
Also rework usbd to take these new event types into account.
Notes:
svn path=/head/; revision=89892
|
| |
|
|
|
|
|
| |
functional change.
Notes:
svn path=/head/; revision=89819
|
| |
|
|
|
|
|
|
|
| |
date: 2000/02/29 21:37:01; author: augustss; state: Exp;
Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
Notes:
svn path=/head/; revision=88824
|
| |
|
|
|
|
|
|
| |
This avoids panicing the system by unplugging a hub. The interrupt transfer
would sometimes arrive after the driver had been removed.
Notes:
svn path=/head/; revision=82786
|
| |
|
|
|
|
|
|
| |
Found by: Smashed u-area and hardware watch points.
MFC after: 1 week
Notes:
svn path=/head/; revision=81461
|
| |
|
|
|
|
|
|
|
| |
*_suspend.
Submitted by: kazu
Notes:
svn path=/head/; revision=70683
|
| |
|
|
|
|
|
|
|
| |
Add seatbelts.
Be more lenient towards restarting the ports: If a port manages to connect
successfully reset the restartcount.
Notes:
svn path=/head/; revision=67215
|
| |
|
|
|
|
|
| |
versions.
Notes:
svn path=/head/; revision=63319
|
| |
|
|
|
|
|
|
| |
Make the behaviour more similar to what the Microsoft uhub driver
does.
Notes:
svn path=/head/; revision=60560
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60545
|
| |
|
|
| |
Notes:
svn path=/head/; revision=60178
|
| |
|
|
|
|
|
|
|
| |
#define Static static
that the OpenBSD folks can define it to be empty if they like.
Notes:
svn path=/head/; revision=58986
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
methods for USB devices.
However: with none of the devices I have here suspend seems to work
properly. This is probably a bug in uhci_power which I still have to
look at.
Prodded and pushed by: Christopher Masto <chris@netmonger.net>
Notes:
svn path=/head/; revision=56348
|