Hi!
Hello Administrator, You don't have to reply, this is a test. I have a new website someurl.com You are welcome! ___ 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 keyboard partially functioning
On Saturday 11 August 2012 13:02:31 Kra OTN wrote: Is it possible to auto quirk at boot? Hi, You can add the quirk permanently by adding a line to: sys/dev/usb/quirk/usb_quirk.c --HPS ___ 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 devices disappearing
On Sunday 12 August 2012 03:33:51 Peter Jeremy wrote: I have a USB-connected UPS and both sysutils/nut and a simple client that I wrote are reporting no device (LIBUSB_ERROR_NO_DEVICE via libusb) after talking to it for some (variable) time. If I restart my client it again works for a while before dying the same way. I'm using FreeBSD 8-stable/amd64 (r237444). As an example, my client sends Q1\r every second and expects a status message (chopped into 8-byte chunks) back. The following is a usbdump showing the last successful poll and failure. Any suggestions on where this problem exists? 11:12:53.547070 usbus1.3 SUBM-CTRL-EP=,SPD=LOW,NFR=2,SLEN=16,IVAL=0 frame[0] WRITE 8 bytes 21 09 00 02 00 00 08 00 -- -- -- -- -- -- -- -- |!...| frame[1] WRITE 8 bytes 51 31 0D 00 00 00 00 00 -- -- -- -- -- -- -- -- |Q1..| 11:12:53.548918 usbus1.3 DONE-CTRL-EP=,SPD=LOW,NFR=2,SLEN=0,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] WRITE 8 bytes 11:12:53.548963 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.601930 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 28 32 34 30 2E 38 20 32 -- -- -- -- -- -- -- -- |(240.8 2| 11:12:53.602018 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.633918 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 34 30 2E 34 20 32 34 31 -- -- -- -- -- -- -- -- |40.4 241| 11:12:53.633979 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.697920 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 2E 33 20 30 32 30 20 35 -- -- -- -- -- -- -- -- |.3 020 5| 11:12:53.697995 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.729919 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 30 2E 32 20 31 33 2E 36 -- -- -- -- -- -- -- -- |0.2 13.6| 11:12:53.72 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.761916 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 20 32 35 2E 30 20 30 30 -- -- -- -- -- -- -- -- | 25.0 00| 11:12:53.761976 usbus1.3 SUBM-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=0,IVAL=32 frame[0] READ 8 bytes 11:12:53.793925 usbus1.3 DONE-INTR-EP=0081,SPD=LOW,NFR=1,SLEN=8,IVAL=32,ERR=0 frame[0] READ 8 bytes 30 30 31 30 30 31 0D 00 -- -- -- -- -- -- -- -- |001001..| 11:12:54.795036 usbus1.3 SUBM-CTRL-EP=,SPD=LOW,NFR=2,SLEN=16,IVAL=0 frame[0] WRITE 8 bytes 21 09 00 02 00 00 08 00 -- -- -- -- -- -- -- -- |!...| frame[1] WRITE 8 bytes 51 31 0D 00 00 00 00 00 -- -- -- -- -- -- -- -- |Q1..| 11:12:59.679800 usbus1.3 DONE-CTRL-EP=,SPD=LOW,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT Hi, You could try: hw.usb.ehci.lostintrbug=1 In /boot/loader.rc If that doesn't help, it is most likely a device problem. --HPS ___ 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 keyboard partially functioning
On Saturday 11 August 2012 13:55:14 Kra OTN wrote: *Output of usbdump (at time of problem, it loops):* --- 13:49:38.646846 usbus3.2 DONE-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 01 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- || flags 0x10 PROXY_BUFFER|0 status 0xea1a1 OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|C AN_CANCEL_IMMED|DOING_CALLBACK|0 13:49:38.646855 usbus3.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes A3 00 00 00 02 00 04 00 -- -- -- -- -- -- -- -- || frame[1] READ 4 bytes flags 0x10 PROXY_BUFFER|0 status 0xea1a3 OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|C URR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0 13:49:38.646971 usbus3.2 DONE-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 01 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- || flags 0x10 PROXY_BUFFER|0 status 0xca1a1 OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMM ED|DOING_CALLBACK|0 13:49:38.646974 usbus3.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes A3 00 00 00 03 00 04 00 -- -- -- -- -- -- -- -- || frame[1] READ 4 bytes flags 0x10 PROXY_BUFFER|0 status 0xca1a3 OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|C AN_CANCEL_IMMED|DOING_CALLBACK|0 13:49:38.647095 usbus3.2 DONE-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 00 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- || flags 0x10 PROXY_BUFFER|0 status 0xea1a1 OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|C AN_CANCEL_IMMED|DOING_CALLBACK|0 13:49:38.647098 usbus3.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes A3 00 00 00 04 00 04 00 -- -- -- -- -- -- -- -- || frame[1] READ 4 bytes flags 0x10 PROXY_BUFFER|0 status 0xea1a3 OPEN|TRANSFERRING|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|C URR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0 13:49:38.647220 usbus3.2 DONE-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 00 01 00 00 -- -- -- -- -- -- -- -- -- -- -- -- || flags 0x10 PROXY_BUFFER|0 status 0xca1a1 OPEN|STARTED|CONTROL_XFR|CONTROL_HDR|BDMA_ENABLE|BDMA_SETUP|CAN_CANCEL_IMM ED|DOING_CALLBACK|0 --- You need to run usbdump until you see INTR-EP= ... If no such message appears when you press a key, then some programming on the keyboard is probably missing. --HPS ___ 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