What's weird is that the bootloader and app are using pretty much the same
USB stack. Maybe there's a slight detail in the way they're configured that
I've missed.
In any case, this issue seems specific to certain versions of Linux, so the
practical workaround for the problem is to do the upgrade on a windows or
OSX machine. BTW, can you compare lsusb -v for both modes?
On May 16, 2014 3:50 PM, "Mark z" <[email protected]> wrote:

>  This is my first post and first off I want to thank all involved with the
> development of the IOIO board, this is a great product. Keep it going!
>
> I'm running into an issue while trying to upgrade the stock firmware of
> Sparkfun IOIO OTG board from 3.30 that it ships with to the latest 5.0 and
> I'm not having any luck. This exact issue is mentioned in this post:
>
> https://groups.google.com/forum/#!topic/ioio-users/RUHRBSnx1ys
>
> Here are some more details of this issue. When connected as a device it
> shows up properly and gets mapped to /dev/IOIO0 and /dev/ttyACM0 but when
> connected in bootloader mode(boot pin shorted to ground) the OS goes into
> this endless loop of connecting /disconnecting the device. The key
> information from syslog is this line where things seem to go wrong:
>
> linux modem-manager[1024]: <warn>  Couldn't probe for capabilities,
> probably not a GSM or CDMA modem
>
> after this point a disconnect/reconnect occurs. Taking a wild guess at
> what might be going on here the boot loader code is presenting itself to
> linux differently than the non boot loader mode which works fine. This test
> is very repeatable. I've tested this on linux mint 15 and 16 both of which
> are Ubuntu derivatives. I'd be very curious to know if this is specific to
> Ubuntu based distros or is a kernel level issue effecting all or a host
> hardware issue.
>
> Most likely there is no fix for this short of upgrading the bootloader
> code with a fix which is beyond most users capabilities. So I'm suggesting
> marking the docs accordingly so people are aware of this issue. Post
> thought: maybe some udev rules could work around this, I'm not very
> familiar with them.
>
> Log dump for non bootloader mode that succeeds:
>
> May 16 17:48:11 linux kernel: [  401.604142] usb 7-2: new full-speed USB
> device number 9 using uhci_hcd
> May 16 17:48:11 linux kernel: [  401.784416] usb 7-2: New USB device
> found, idVendor=1b4f, idProduct=0008
> May 16 17:48:11 linux kernel: [  401.784426] usb 7-2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> May 16 17:48:11 linux kernel: [  401.784433] usb 7-2: Product: IOIO
> May 16 17:48:11 linux kernel: [  401.784440] usb 7-2: Manufacturer: IOIO
> Open-Source Project
> May 16 17:48:11 linux kernel: [  401.786498] cdc_acm 7-2:1.0: This device
> cannot do calls on its own. It is not a modem.
> May 16 17:48:11 linux kernel: [  401.786537] cdc_acm 7-2:1.0: ttyACM0: USB
> ACM device
> May 16 17:48:11 linux mtp-probe: checking bus 7, device 9:
> "/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-2"
> May 16 17:48:11 linux mtp-probe: bus: 7, device: 9 was not an MTP device
> May 16 17:48:11 linux modem-manager[1024]: <info>  (ttyACM0) opening
> serial port...
> May 16 17:48:23 linux modem-manager[1024]: <info>  (ttyACM0) closing
> serial port...
> May 16 17:48:23 linux modem-manager[1024]: <info>  (ttyACM0) serial port
> closed
> May 16 17:48:23 linux modem-manager[1024]: <info>  (ttyACM0) opening
> serial port...
> May 16 17:48:29 linux modem-manager[1024]: <info>  (ttyACM0) closing
> serial port...
> May 16 17:48:29 linux modem-manager[1024]: <info>  (ttyACM0) serial port
> closed
>
> Log dump for bootloader mode (infinite loop):
> May 16 17:46:33 linux kernel: [  303.912179] usb 7-2: new full-speed USB
> device number 3 using uhci_hcd
> May 16 17:46:33 linux kernel: [  304.092375] usb 7-2: New USB device
> found, idVendor=1b4f, idProduct=0008
> May 16 17:46:33 linux kernel: [  304.092385] usb 7-2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> May 16 17:46:33 linux kernel: [  304.092392] usb 7-2: Product: IOIO
> May 16 17:46:33 linux kernel: [  304.092399] usb 7-2: Manufacturer: IOIO
> Open-Source Project
> May 16 17:46:33 linux kernel: [  304.094452] cdc_acm 7-2:1.0: This device
> cannot do calls on its own. It is not a modem.
> May 16 17:46:33 linux kernel: [  304.094491] cdc_acm 7-2:1.0: ttyACM0: USB
> ACM device
> May 16 17:46:33 linux mtp-probe: checking bus 7, device 3:
> "/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-2"
> May 16 17:46:33 linux mtp-probe: bus: 7, device: 3 was not an MTP device
> May 16 17:46:33 linux modem-manager[1024]: <info>  (ttyACM0) opening
> serial port...
> May 16 17:46:34 linux modem-manager[1024]: <info>  (ttyACM0) closing
> serial port...
> May 16 17:46:34 linux modem-manager[1024]: <info>  (ttyACM0) serial port
> closed
> May 16 17:46:34 linux modem-manager[1024]: <warn>  Couldn't probe for
> capabilities, probably not a GSM or CDMA modem
> May 16 17:46:34 linux kernel: [  304.448172] usb 7-2: USB disconnect,
> device number 3
> May 16 17:46:36 linux kernel: [  306.644163] usb 7-2: new full-speed USB
> device number 4 using uhci_hcd
> May 16 17:46:36 linux kernel: [  306.824421] usb 7-2: New USB device
> found, idVendor=1b4f, idProduct=0008
> May 16 17:46:36 linux kernel: [  306.824431] usb 7-2: New USB device
> strings: Mfr=1, Product=2, SerialNumber=0
> May 16 17:46:36 linux kernel: [  306.824439] usb 7-2: Product: IOIO
> May 16 17:46:36 linux kernel: [  306.824445] usb 7-2: Manufacturer: IOIO
> Open-Source Project
> May 16 17:46:36 linux kernel: [  306.826500] cdc_acm 7-2:1.0: This device
> cannot do calls on its own. It is not a modem.
> May 16 17:46:36 linux kernel: [  306.826540] cdc_acm 7-2:1.0: ttyACM0: USB
> ACM device
> May 16 17:46:36 linux mtp-probe: checking bus 7, device 4:
> "/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-2"
> May 16 17:46:36 linux mtp-probe: bus: 7, device: 4 was not an MTP device
> May 16 17:46:36 linux modem-manager[1024]: <info>  (ttyACM0) opening
> serial port...
> May 16 17:46:36 linux modem-manager[1024]: <info>  (ttyACM0) closing
> serial port...
> May 16 17:46:36 linux modem-manager[1024]: <info>  (ttyACM0) serial port
> closed
> May 16 17:46:36 linux modem-manager[1024]: <warn>  Couldn't probe for
> capabilities, probably not a GSM or CDMA modem
> May 16 17:46:36 linux kernel: [  307.176120] usb 7-2: USB disconnect,
> device number 4
>
> --
> You received this message because you are subscribed to the Google Groups
> "ioio-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to