On Wed, Mar 4, 2009 at 8:04 PM, Jon Smirl <jonsmirl@xxxxxxxxx> wrote: > On Tue, Mar 3, 2009 at 1:13 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > ioctl(3, USBDEVFS_SUBMITURB, 0x7fff9c5185c0) = -1 ENOENT (No such file > or directory) > write(1, "usb bulk -2\n", 12usb bulk -2 > ) = 12 > write(1, "seq_purge(): ftdi_read_data() fa"..., 59seq_purge(): > ftdi_read_data() failed: usb bulk read failed > ) = 59 > > > From urjtag.... > > static int > seq_purge( struct ftdi_context *fc, int purge_rx, int purge_tx ) > { > int r; > unsigned char buf; > > #ifndef LIBFTDI_UNIMPLEMENTED > if ((r = ftdi_usb_purge_buffers( fc )) < 0) > printf( _("%s(): ftdi_usb_purge_buffers() failed: %s\n"), > __FUNCTION__, ftdi_get_error_string( fc ) ); > if (r >= 0) if ((r = ftdi_read_data( fc, &buf, 1 )) < 0) > printf( _("%s(): ftdi_read_data() failed: %s\n"), > __FUNCTION__, ftdi_get_error_string( fc ) ); > #else /* not yet available */ jtag> cable ARM-USB-OCD Connected to libftdi driver. usb_bulk_read 6951d0 81 0x688670 1000 1388 printf("usb_urb_transfer %x %x %x %x %p %x %x %x %x %p\n", dev->fd, urb.type, urb.endpoint, urb.flags, urb.buffer, urb.buffer_length, urb.signr, urb.actual_length, urb.number_of_packets, urb.usercontext); usb_urb_transfer 3 3 81 0 0x688670 1000 0 0 0 (nil) usb bulk -2 seq_purge(): ftdi_read_data() failed: usb bulk read failed Error: Cable initialization failed! jtag> ftdio_sio has the device bound. Its appears that the user space app is able to claim the interface and issue ioctls to it, it just can't submit URBs to it. The hardware supports having both channels active, what's the right solution? -- Jon Smirl jonsmirl@xxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html