Hub TT reset code causes ehci failure

2011-06-13 Thread Trevor Blackwell
back=0x0001, bp=0x,0x0000,0x,0x Jun 13 21:36:13 qb132 kernel: ehci_interrupt: blocking interrupts 0x10 -- Trevor Blackwelltre...@anybots.com650 776 7870 ___ 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: Clearing stalls: usbd_xfer_set_stall vs usbd_do_clear_stall_callback

2011-05-22 Thread Trevor Blackwell
e it, it closes all USB devices and resets the hub. On Fri, May 20, 2011 at 4:44 AM, Hans Petter Selasky wrote: > On Thursday 05 May 2011 10:09:55 Hans Petter Selasky wrote: > > On Thursday 05 May 2011 09:15:09 Trevor Blackwell wrote: > > > 8.2-STABLE. I'm willing to run what

Re: Clearing stalls: usbd_xfer_set_stall vs usbd_do_clear_stall_callback

2011-05-05 Thread Trevor Blackwell
On Thu, May 5, 2011 at 1:09 AM, Hans Petter Selasky wrote: > On Thursday 05 May 2011 09:15:09 Trevor Blackwell wrote: > > 8.2-STABLE. I'm willing to run whatever. > > > > I suspect the problem I'm having is the same as this: > > http://kerneltrap.org/mailarchive/l

Re: Clearing stalls: usbd_xfer_set_stall vs usbd_do_clear_stall_callback

2011-05-05 Thread Trevor Blackwell
uest a RESET_TT. uhub_explore notices the flag and does it. Possibly I could also add it to usb_do_clear_stall_callback, but I don't think I can call usb_do_request from inside a callback. Any suggestions? On Wed, May 4, 2011 at 11:41 PM, Hans Petter Selasky wrote: > On Thursday 05 May 2011 03:16:14

Clearing stalls: usbd_xfer_set_stall vs usbd_do_clear_stall_callback

2011-05-04 Thread Trevor Blackwell
an see that usb_xfer_set_stall ultimately leads to a call to usbd_clear_stall_proc, but I can't find where udev->ctrl_xfer[1] gets set up with the right endpoint values. -- Trevor Blackwelltre...@anybots.com650 776 7870 ___ freebsd-us

Re: USB serial device naming

2009-12-14 Thread Trevor Blackwell
USB_IOCTL_GET_PARENT_NAME That seems like the right approach. Is there only ever one associated "parent" driver? Are there cases where it should report both a serial & network interface? -- Trevor Blackwell650 776 7870

Re: USB serial device naming

2009-12-13 Thread Trevor Blackwell
y come up in. They're assigned sequentially by a bitmap system in usb_serial.c How can my code figure this out? I think what I want is some sort of ioctl on the raw USB device or usbconfig option to tell me what tty it appears as. -- Trevor Blackwell

USB serial device naming

2009-12-10 Thread Trevor Blackwell
usbconfig option to tell me what serial port it appears as. -- Trevor Blackwell650 776 7870t...@tlb.org ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send

Identifying serial ports

2009-11-24 Thread Trevor Blackwell
s which. It depends on which gets enumerated first. In FreeBSD 7, the USB device minor # seemed to correspond to the cuaU device number, but here they are both zero. Any ideas? -- Trevor Blackwellt...@anybots.com650 776 7870 ___

Re: usb/140236: Labels wiped on external Journaled USB HDD on 8.0-RC2

2009-11-03 Thread Trevor Blackwell
I recently had a partition table wiped out on a non-boot disk, an 8 GB flash drive on a SATA port. I don't know that I can reproduce it, but if there are more similar reports it might be worth looking in the disk subsystem rather than USB. -- Trevor Blackwell t...@tlb.org

Re: Simple manner to read 1-pin high/low from USB under FBSD?

2009-10-14 Thread Trevor Blackwell
too that does the same protocol over serial instead of sockets. But Ethernet is pretty nice because you can put it anywhere, or have more than one. -- Trevor Blackwell t...@tlb.org 650 776 7870 On Oct 14, 2009, at 10:21 , Sven Hazejager wrote: Try Phidgets. http://phidgets.com. It

Re: Simple manner to read 1-pin high/low from USB under FBSD?

2009-10-11 Thread Trevor Blackwell
signal = (buf[X]>>Y)&1; printf("%d\n", input_signal) } for some values of N, X and Y. You can get more general if you want. -- Trevor Blackwell650 776 7870t...@tlb.org On Oct 11, 2009, at 9:56 AM, Sven Hazejager wrote: On Sun, 11

libusb20 api

2009-09-21 Thread Trevor Blackwell
for length: : static int ugen20_dev_get_iface_desc(struct libusb20_device *pdev, uint8_t iface_index, char *buf, uint8_t len) even though the kernel ioctl structure has a 16-bit length. Hans, why not just use size_t for such arguments? -- Trevor Blackwell650 776 7870t

Transfer size limits

2009-09-17 Thread Trevor Blackwell
complete frame (5 MB), it would simplify the logic of my driver. Large transfers didn't work reliably with the -7 USB stack, because of some obscure problem with setting up DMA transfers in the ehci driver with more than a few separate physical regions. -- Trevor Blackwell

VMWare USB fail

2009-08-28 Thread Trevor Blackwell
07 bDescriptorType = 0x0005 bEndpointAddress = 0x0081 bmAttributes = 0x0003 wMaxPacketSize = 0x0001 bInterval = 0x00ff bRefresh = 0x bSynchAddress = 0x -- Trevor Blackwell