Ripped out the midi functionality in a branch of the current HEAD of whitewhale and I’ve turned on more of the debugging. This is the output of what happens when I connect in a few diff scenarios:
m128 (which works normally):
mode change (ignore)
finished monome class init
// white
usb vbus change, new status: 1whale //////////////////////////////// 31884 3976 8
read preset 0
timer_add, @ 0x00000618 ; timer is unlinked ; list was empty ; added timer as sole element ; added timer to tail ; new count: 1
timer_add, @ 0x000005BC ; timer is unlinked ; added timer to tail ; new count: 2
timer_add, @ 0x00000590 ; timer is unlinked ; added timer to tail ; new count: 3
usb device connection: 00000A9C , 1
run uhi_ftdi_install
ignoring descriptor in ftdi device enumeration
class/protocol matches FTDI.
completed FTDI device install
changed FTDI connection status
usb enumerated: 00000A9C , 00000000
FTDI setup routine
sending ctl request for serial string :
serial string: m0001750
setup mext device
setup request ftdi read; waiting...
waiting for transfer complete; busy flag: 0 done waiting. bytes read: 6
monome 128
done waiting. bytes read: 33
data:
setting monome functions, protocol idx: 2
posting monome connection event. device type: 0 cols : 16 rows: 8
connected monome device, mext protocol
monome vari: 16t /////////////////
timer_add, @ 0x00000578 ; timer is unlinked ; added timer to tail ; new count: 4
timer_add, @ 0x00000634 ; timer is unlinked ; added timer to tail ; new count: 5
m64 plugged in when turned on:
�
mode change (ignore)
finished monome class init
// whit
usb vbus change, new status: 1e whale //////////////////////////////// 31884 3976 8
read preset 0
timer_add, @ 0x00000618 ; timer is unlinked ; list was empty ; added timer as sole element ; added timer to tail ; new count: 1
timer_add, @ 0x000005BC ; timer is unlinked ; added timer to tail ; new count: 2
timer_add, @ 0x00000590 ; timer is unlinked ; added timer to tail ; new count: 3
usb device connection: 00000A9C , 1
usb enumerated: 00000A9C , 00000002
interrupt on PB08-PB15.
usb device c�
m64 plugged in after turning on:
mode change (ignore)
finished monome class init
// wh
usb vbus change, new status: 1
******************* usb vbus errorite whale //////////////////////////////// 31884 3976 8
read preset 0
timer_add, @ 0x00000618 ; timer is unlinked ; list was empty ; added timer as sole element ; added timer to tail ; new count: 1
timer_add, @ 0x000005BC ; timer is unlinked ; added timer to tail ; new count: 2
timer_add, @ 0x00000590 ; timer is unlinked ; added timer to tail ; new count: 3
usb device connection: 00000A9C , 1
usb enumerated: 00000A9C , 00000002
Still working on understanding how all of the connect code works, will try and update later this week once I’ve made some headway. I figure since we’re getting to usb enumerated it’s at least recognizing it’s connected, just need to determine why it isn’t registering that it’s actually a monome.