Re: [crisos] Problem with usbserial

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Hi, Claudio.

Actually, it seems like the problem was solved quite easily: Instead of the kernel panic, I just changed the code to make a reset for the hcd in question: crisv10_hcd_reset(hcd); Dunno if this is the correct way or not, but it works for me :-)

Attached the patch too, but please keep in mind that this patch has no acceptance from Axis, and it only helps in the specific circumstances I described in my earlier post...

Regards, Zoni

2009/4/4 Claudio <claudyus84@xxxxxxxxx>
Hi Zoni,
for this driver problems you should directly contact axis on
mailinglist: http://www.axis.com/techsup/dev/support_info.htm
Hence I will be very happy to integrate any improvement inside openwrt.


2009/4/2 J S <sippis1976@xxxxxxxxx>:
> 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
>

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


Attachment: 001-usb-serial-reset.patch
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/