Re: Olimex ARM-USB-OCD and ftdi-sio driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 03, 2009 at 09:10:02AM -0500, Jon Smirl wrote:
> On Tue, Mar 3, 2009 at 1:04 AM, Greg KH <greg@xxxxxxxxx> wrote:
> >
> > On Tue, Mar 03, 2009 at 12:06:10AM -0500, Jon Smirl wrote:
> > > I have an Olimex ARM-USB-OCD which I haven't used in a while. I just
> > > got it out and tried using it on 2.6.28. I can't get the serial port
> > > and JTAG to work simultaneously. It appears to me that ftdi-sio is
> > > interfering with the user space jtag program. I get this in the log
> > > file when I use the user space program.
> > >
> > > usb 7-2: usbfs: interface 1 claimed by ftdi_sio while 'jtag' sets config #1
> > >
> > > If I unload ftdi-sio I can use the device.
> > >
> > > 7-2:1.0 says its driver is usbfs
> > > 7-2:1.1 says its driver is ftdi_sio
> > >
> > > I tried echo -n 7-2:1.0 >unbind on usbfs but it didn't help.
> >
> > You need to unbind the ftdi_sio driver and then use the jtag userspace
> > program.
> >
> > That program should be the one doing the unbinding, there's a usbfs
> > ioctl to do just that.
> 
> So I can't use the serial port and the jtag at the same time?

No you can not.

> If I unbind ftdi_sio it closes my terminal connection.
> 
> Is there a way for libftdi to allow access to the jtag without
> unbinding ftdi_sio?

Nope, can't have 2 drivers talking to the same device at the same time,
things would get very confusing very quickly.

good luck,

greg k-h
--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux