Re: usb errors on RELENG_8

2011-05-11 Thread Hans Petter Selasky
On Tuesday 10 May 2011 22:07:38 Mike Tancsa wrote:
 On 5/10/2011 12:32 PM, Mike Tancsa wrote:
  I am trying to monitor a boat load of UPSes off a soekris 5501 (same
  error on an Alix box) and a pair of USB hubs. It seems I can only have
  one USB hub plug in at a time. If I plug just one in, all is ok. But if
  two are plugged in, I get a stream of errors like this. Is this some
  sort of device or driver limitation ?
  
  ugen1.11: Unknown at usbus1 (disconnected)
 
 Some other odd things. If we plug in a new UPS to the hub, it fails
 
 usbd_setup_device_desc: getting device descriptor at addr 13 failed,
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=13, set address failed! (USB_ERR_TIMEOUT,
 ignored)
 usbd_setup_device_desc: getting device descriptor at addr 13 failed,
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=13, set address failed! (USB_ERR_STALLED,
 ignored)
 usbd_setup_device_desc: getting device descriptor at addr 13 failed,
 USB_ERR_STALLED
 ugen1.13: Unknown at usbus1 (disconnected)
 
 
 but, if we plug it in, then reboot the box, it seems to work.
 
 0[upsmon1]# usbconfig
 ugen0.1: OHCI root HUB AMD at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
 pwr=SAVE
 ugen1.1: EHCI root HUB AMD at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
 pwr=SAVE
 ugen1.2: USB2.0 Hub vendor 0x05e3 at usbus1, cfg=0 md=HOST spd=HIGH
 (480Mbps) pwr=SAVE
 ugen1.3: Back-UPS RS 1500 FW8.g8 .D USB FWg8 American Power Conversion
 at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.4: Back-UPS RS 1500 FW8.g8 .D USB FWg8 American Power Conversion
 at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.5: Back-UPS RS 1500 FW8.g9 .D USB FWg9 American Power Conversion
 at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.6: product 0xf103 vendor 0x2001 at usbus1, cfg=0 md=HOST
 spd=HIGH (480Mbps) pwr=SAVE
 ugen1.7: Back-UPS RS 1500 FW8.g9a.D USB FWg9a American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.8: Back-UPS RS 1500 FW8.g8 .D USB FWg8 American Power Conversion
 at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.9: Back-UPS RS 1500 FW8.g9a.D USB FWg9a American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.10: Back-UPS RS 1500 FW8.g9a.D USB FWg9a American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.11: Back-UPS RS 1500 FW8.g7 .D USB FWg7 American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.12: Back-UPS RS 1500 FW8.g8 .D USB FWg8 American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.13: Back-UPS RS 1500 FW8.g8 .D USB FWg8 American Power
 Conversion at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 0[upsmon1]#
 
 
 Also, I noticed at bootup time, I get the following error consistently
 
 uhub1: 4 ports with 4 removable, self powered
 Root mount waiting for: usbus1
 ugen1.2: vendor 0x05e3 at usbus1
 uhub2: vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/7.02, addr 2 on
 usbus1
 uhub2: 4 ports with 4 removable, self powered
 Root mount waiting for: usbus1
 ugen1.3: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.4: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.5: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.6: vendor 0x2001 at usbus1
 uhub3: vendor 0x2001 product 0xf103, class 9/0, rev 2.00/1.00, addr 6
 on usbus1
 Root mount waiting for: usbus1
 uhub3: 7 ports with 7 removable, self powered
 Root mount waiting for: usbus1
 Root mount waiting for: usbus1
 usb_alloc_device: set address 7 failed (USB_ERR_TIMEOUT, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 7 failed,
 USB_ERR_STALLED
 Root mount waiting for: usbus1
 usbd_req_re_enumerate: addr=7, set address failed! (USB_ERR_TIMEOUT,
 ignored)
 usbd_setup_device_desc: getting device descriptor at addr 7 failed,
 USB_ERR_STALLED
 Root mount waiting for: usbus1
 ugen1.7: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.8: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.9: American Power Conversion at usbus1
 ugen1.10: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.11: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.12: American Power Conversion at usbus1
 Root mount waiting for: usbus1
 ugen1.13: American Power Conversion at usbus1
 Trying to mount root from ufs:/dev/ad0s1a
 
 The error seems to follow the first port of the second HUB that is
 plugged in.
 
 Also, unplugging and replugging a device gives
 
 ugen1.3: American Power Conversion at usbus1 (disconnected)
 usb_alloc_device: set address 3 failed (USB_ERR_STALLED, ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=3, set address failed! (USB_ERR_STALLED,
 ignored)
 usbd_setup_device_desc: getting device descriptor at addr 3 failed,
 USB_ERR_STALLED
 usbd_req_re_enumerate: addr=3, 

Re: usb errors on RELENG_8

2011-05-11 Thread Mike Tancsa
On 5/11/2011 2:21 AM, Hans Petter Selasky wrote:
 Try to send this USB control request to the HUB and then re-plug the device. 
 Does it help?
 
 usbconfig -d X.Y do_request 0x23 0x09 0x 0x0001 0

Hi,
I get this command

0[upsmon1]# usbconfig -d 1.8 do_request 0x23 0x09 0x 0x0001 0
REQUEST = OK
0[upsmon1]#

It seems to quiet things down. What does the command do ?

---Mike

-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


request for usbdevs additions

2011-05-11 Thread Jim Bryant

Can someone please add the following entries to usbdevs?

vendor SOUNDGRAPH0x15C2  Soundgraph, Inc.

product SOUNDGRAPH IMON_VFD 0x0044  Antec Veris 
Elite VFD Panel and Remote
product SOUNDGRAPH SILVERSTONE_LC16 0xFFDC Silverstone LC16 VFD 
Panel and Remote


Also, is there any documentation for usbdi(9) than the source code 
itself 


Thank you,

Jim, KC5VDJ

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/133989: [usb8] [ukbd] USB keyboard dead at mountrootgt; prompt

2011-05-11 Thread Eugene M. Zheganin
The following reply was made to PR usb/133989; it has been noted by GNATS.

From: Eugene M. Zheganin eug...@zhegan.in
To: bug-follo...@freebsd.org, emiku...@gmail.com
Cc:  
Subject: Re: usb/133989: [usb8] [ukbd] USB keyboard dead at mountrootgt;
 prompt
Date: Thu, 12 May 2011 10:27:27 +0600

 8.2-RELEASE.  still there.
 furthermore, the number of usb-only server platform is increasing.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org