Hi
i use an arduino nano 3.0 to drive my LPD8806 ledstrip on a Intel D34010WYK NUC which works fine when pluged in after my mediacenter os (openelec/linux) has started.
But when i turn the system on with the arduino pluged in it won't get initialized , there is no device (usb 2-3) in the filetree and the drivers (usbserial and ftdi_sio) won't get loaded as there is no device to connect to
dmesg shows this
...
[ 3.993537] lirc_dev: IR Remote Control driver registered, major 248
[ 3.993907] rc rc0: lirc_dev: driver ir-lirc-codec (nuvoton-cir) registered at minor = 0
[ 3.993910] IR LIRC bridge handler initialized
[ 4.060771] usb 2-3: Device not responding to set address.
[ 4.264122] usb 2-3: device not accepting address 4, error -71
[ 4.354531] random: nonblocking pool is initialized
[ 4.424191] usb 2-3: new full-speed USB device number 5 using xhci_hcd
[ 4.424311] usb 2-3: Device not responding to set address.
[ 4.627843] usb 2-3: Device not responding to set address.
[ 4.831103] usb 2-3: device not accepting address 5, error -71
[ 4.831203] hub 2-0:1.0: unable to enumerate USB device on port 3
[ 4.991179] usb 2-4: new full-speed USB device number 6 using xhci_hcd
...
this is what dmesg shows after repluging the arduino
...
[ 417.670250] usb 2-3: new full-speed USB device number 8 using xhci_hcd
[ 417.698647] usbcore: registered new interface driver usbserial
[ 417.701169] usbcore: registered new interface driver ftdi_sio
[ 417.701185] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 417.701246] ftdi_sio 2-3:1.0: FTDI USB Serial Device converter detected
[ 417.701283] usb 2-3: Detected FT232RL
[ 417.701286] usb 2-3: Number of endpoints 2
[ 417.701289] usb 2-3: Endpoint 1 MaxPacketSize 64
[ 417.701292] usb 2-3: Endpoint 2 MaxPacketSize 64
[ 417.701295] usb 2-3: Setting MaxPacketSize 64
[ 417.701449] usb 2-3: FTDI USB Serial Device converter now attached to ttyUSB0
lsmod shows the drivers are loaded and everything works like it should.
ftdi_sio 32936 1
usbserial 17814 3 ftdi_sio
I tried to reload the usb driver, unauthorize the usb ports and at last 20 different solutions to reset the usb system google offerd but with no luck. A teensy 3.0 gets recognized and initialized on every boot.
How do i reset the usb port or create and initialize the device without repluging the arduino?