Some more details,

I've tried this on a Acer TravelMate 8200 and Dell XPS Laptops, running the 
same kernel versions and both give the same problems.

I've also discovered if I force unload the usbserial module and then plug the 
dongle back in the gdbproxy initialises the dongle correctly, but you have to 
unplug and unload the ti_usb_3410_5052 and usbserial modules between each 
run, which is a bit of a pain.

This definitely seems like a bug in the usbserial subsystem in 2.6.28.  I'm 
looking at the differences between the two versions of 
`drivers/usb/serial/usb-serial.c` now.

Still if anyone has ideas, they will be most welcome.

-- 
Regards,
Stewart Allen
[email protected]

On Saturday 07 March 2009 11:08:18 Mark Lister wrote:
> try
>
> echo "2" > /sys/bus/usb/devices/2-1.1/bConfigurationValue
>
> change the path to match your system
>
> Needs a Wiki entry...
>
> Stewart Allen wrote:
> > Hi all,
> >
> > This is the problems I having...
> >
> > The usb dongle gets picked up by linux and the /dev/ttyUSB0 gets created.
> >  I can start  the msp430-gdbproxy and even connect and debug.   Problems
> > start after I detach the msp430-gdb or close the proxy.  I then start
> > getting the following error messages.
> >
> > debug: MSP430_Initialize()
> > error:     msp430: Could not initialize device interface (1)
> >
> > Unplugging the dongle and replacing it also gives the above errors when
> > starting msp430-gdbproxy even though the /dev/ttyUSB0 is created.
> >
> > I then tried `cat /dev/ttyUSB0` and I get the following error
> >
> > cat: /dev/ttyUSB0: Input/output error
> >
> > There are no unusual errors in dmesg or in /var/log/messages
> >
> > It seems to crash the entire USB serial stack.   Even plugging in a FTDI
> > USB serial dongle gives the same `cat` error.  Unloading the
> > ti_usb_3410_5052 module, also has no effect.   I have to restart the PC
> > to get it all working again.
> >
> > All this seems to happen on Gentoo kernel 2.6.28-tuxonice-r3
> >
> > I've tried the dongle on Ubuntu 8.10 with kernel 2.6.27-11-generic and it
> > works perfectly, no errors with reconnecting or multiple runs of the
> > proxy.
> >
> > I've diff'ed the ti_usb_3410_5052.c and .h files  between kernel
> > 2.6.28-tuxonice-r3 and 2.6.27-11-generic and there is no real difference
> > between the two versions.
> >
> > Anyone else having problems like this?  Any solutions?
>
> ---------------------------------------------------------------------------
>--- Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing
> the Enterprise -Strategies to boost innovation and cut costs with open
> source participation -Receive a $600 discount off the registration fee with
> the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to