Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0

2011-07-09 Thread Hans Petter Selasky
The following reply was made to PR usb/156596; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Colin Percival cperc...@freebsd.org Cc: bug-follo...@freebsd.org bug-follo...@freebsd.org Subject: Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80%

Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80% cpu utilization on CPU0

2011-07-09 Thread Hans Petter Selasky
The following reply was made to PR usb/156596; it has been noted by GNATS. From: Hans Petter Selasky hsela...@c2i.net To: Colin Percival cperc...@freebsd.org Cc: bug-follo...@freebsd.org bug-follo...@freebsd.org Subject: Re: usb/156596: [ehci] Extremely high interrupt rate on ehci/uhci IRQ16 80%

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Torfinn Ingolfsen
On Mon, 04 Jul 2011 07:23:27 +0200 Hans Petter Selasky hsela...@c2i.net wrote: If you add - and -s 16384 it will dump all the data in binary. STALLED means some error occurred. Ok, another try. Details: root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 8.2-STABLE FreeBSD 8.2-STABLE #6: Sat Jul

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Hans Petter Selasky
On Saturday 09 July 2011 22:10:15 Torfinn Ingolfsen wrote: usbconfig -u 0 -a 3 ugen0.3: product 0x0901 vendor 0xc000 at usbus0, cfg=255 md=HOST spd=LOW (1.5Mbps) pwr=ON This device won't work because it is unconfigured (cfg=255) Try to set the config to 0 --HPS

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Torfinn Ingolfsen
On Sat, 09 Jul 2011 22:16:33 +0200 Hans Petter Selasky hsela...@c2i.net wrote: On Saturday 09 July 2011 22:10:15 Torfinn Ingolfsen wrote: usbconfig -u 0 -a 3 ugen0.3: product 0x0901 vendor 0xc000 at usbus0, cfg=255 md=HOST spd=LOW (1.5Mbps) pwr=ON This device won't work because it is

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Hans Petter Selasky
On Saturday 09 July 2011 22:27:28 Torfinn Ingolfsen wrote: On Sat, 09 Jul 2011 22:16:33 +0200 Hans Petter Selasky hsela...@c2i.net wrote: On Saturday 09 July 2011 22:10:15 Torfinn Ingolfsen wrote: usbconfig -u 0 -a 3 ugen0.3: product 0x0901 vendor 0xc000 at usbus0, cfg=255 md=HOST

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Torfinn Ingolfsen
On Sat, 09 Jul 2011 22:29:22 +0200 Hans Petter Selasky hsela...@c2i.net wrote: Could you try to reset it? usbconfig -d X.Y reset root@kg-v7# usbconfig -d 0.3 ugen0.3: product 0x0011 vendor 0x0922 at usbus0, cfg=255 md=HOST spd=LOW (1.5Mbps) pwr=ON root@kg-v7# usbconfig -d 0.3 reset

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Hans Petter Selasky
On Saturday 09 July 2011 22:36:53 Torfinn Ingolfsen wrote: On Sat, 09 Jul 2011 22:29:22 +0200 Hans Petter Selasky hsela...@c2i.net wrote: Could you try to reset it? usbconfig -d X.Y reset What does the device descriptor say about the number of configurations? If there are any

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Torfinn Ingolfsen
On Sat, 09 Jul 2011 22:38:04 +0200 Hans Petter Selasky hsela...@c2i.net wrote: What does the device descriptor say about the number of configurations? root@kg-v7# usbconfig -d 0.3 dump_device_desc ugen0.3: product 0x0011 vendor 0x0922 at usbus0, cfg=255 md=HOST spd=LOW (1.5Mbps) pwr=ON

Re: How to debug a misbehaving usb device (DYMO LabelManager PC)?

2011-07-09 Thread Torfinn Ingolfsen
On Sat, 09 Jul 2011 22:44:44 +0200 Hans Petter Selasky hsela...@c2i.net wrote: You could try to change in /sys/dev/usb/usb_device.c: /* Set the actual configuration value. */ err = usbd_req_set_config(udev, NULL, cdp-bConfigurationValue); if (err) {