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?



Reply via email to