[crisos] Problem with usbserial |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: crisos@xxxxxxxxxxxxxxxxxxx
- Subject: [crisos] Problem with usbserial
- From: J S <sippis1976@xxxxxxxxx>
- Date: Thu, 2 Apr 2009 10:31:43 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=LJFplInrkCjHURiOA216xbGAykyIFDk2u6sEBp5LRZg=; b=QAmrbmZpvyDBMgH9tdCJCF0UqlARyFv8MC7bY9dUfPORwHgBIm4izKjia0p7tHImR9 3y2q28dElRv7edCTJnKumRFO5dWA8RL6DQYQG/4BG+BhXti91vZsFDil2qgqgQjxG7y8 6iyMEwxhuYapeOLjdtzWdT+9Dty8i6q9JP/8s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=WZNRLcDFxmoORitcrtwhiGYvGHZB4s4o6eBT7aYBb43TPeeOELfCYfpVRacCojQ/Ab 0RgbdEUvlvqIzaRDdbta3ZGZwHDzv+aEVHCxhQ2nutvx0W0tI4OL/UkIvcBs3A40GYn8 QoLWqUxY9swJXc8/i86h1cQNcXvGdK0hccxQE=
Hi,
just wondering if anyone would have a solution for the following problem:
In our Darwin/Foxboard project, the both USB ports on Foxboard are/can be equipped with a device that uses usbserial driver. In certain case we should make a HW-reset for one of these devices (power down/up); the other device shouldn't be affected on this. We already tried disabling / enabling a either of the ports works as should; also if the other device is used by i.e. usb-storage, the HW reset for one port works OK.
But, if both ports have an active usbserial device, this causes kernel panic. In hc_crisv10.c there is a comment: "Two devices responded to a transaction request. Must be resolved by software. FIXME: Reset ports?". Ok, resetting the ports (or even reloading usbserial) would be a partial fix for our project, but would it be possible to preserve the other port?
Regards, Zoni