BlackBerry supports Linux as a development OS (technically only Ubuntu), but it’s still very much a second-class citizen compared to Windows and Mac, so support is rather spotty. That said, I was having trouble figuring out why I couldn’t get the Momentics IDE torecognize my plugged-in BlackBerry Z10. I scoured the internet, found a few discussions that seemed relevant, but never really got anywhere. Eventually, I got it to work by running a dhclient command, one that also happened to break the rest of my internet until I manually re-started it. Then, I found the solution:
Open up the Network Settings dialog and turn on the usb0 network connection.
Turns out that the phone was recognized properly, but the network connection was disabled by default; all it took to get it working was enabling it.
There’s probably an improvement that can be made here to make it more obvious that, while a USB device was connected, it’s not actually enabled, but after banging my head on the desk for several hours, I’m very impressed by the simplicity of the solution.