Date: Wed, 23 Jun 2010 07:09:39 GMT From: "Dmitry S. Luhtionov" <mitya@cabletv.dp.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/148080: usbconfig sometimes does not turn off the device Message-ID: <201006230709.o5N79dxc081653@www.freebsd.org> Resent-Message-ID: <201006230710.o5N7A5H6008454@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148080 >Category: usb >Synopsis: usbconfig sometimes does not turn off the device >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 23 07:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dmitry S. Luhtionov >Release: 8.0-STABLE amd64 >Organization: >Environment: FreeBSD po.netcom.dp.ua 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Jun 20 03:30:29 EEST 2010 mitya@po.netcom.dp.ua:/usr/src/sys/amd64/compile/lan amd64 >Description: I tried to make some device that would react to the disappearance of power Jun 19 23:45:36 po kernel: ugen0.3: <FTDI> at usbus0 Jun 19 23:45:36 po kernel: uftdi0: <USB - Serial Cable> on usbus0 usbconfig -u 0 -a 2 power_on usbconfig -u 0 -a 2 power_on usbconfig -u 0 -a 2 power_off Jun 19 23:45:43 po kernel: ugen0.3: <FTDI> at usbus0 (disconnected) Jun 19 23:45:43 po kernel: uftdi0: at uhub2, port 2, addr 3 (disconnected) "usbconfig list" shows that the power is off, but output there are 6 volts ugen0.1: <EHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: <product 0x0020 vendor 0x8087> at usbus0, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=OFF ugen1.2: <product 0x0020 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.3: <USB to Serial Cypress Semiconductor> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON usbconfig -u 0 -a 2 reset usbconfig -u 0 -a 2 power_off really disable power on output then you can take some time to usbconfig -u 0 -a 2 power_on usbconfig -u 0 -a 2 power_off all work fine I think this is some strange behavior, when I twice call "usbconfig power_on" I can not now show something, because I ruined the device solder >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006230709.o5N79dxc081653>