Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Trusted Contributor
pigling
Posts: 104
Registered: ‎02-05-2012
My Carrier: Singtel

Re: BB10 Alpha Device not for Linux

Hi,

Is there any driver needed for the connection? The usb display "not connected" in NDK IDE while the debug token and sign keys are all finished without any problem. I can't deploy the application to the device through Linux. Thanks.

 

regards,

pigling

Please use plain text.
Developer
jameztcc
Posts: 49
Registered: ‎11-11-2012
My Carrier: Digi

Re: BB10 Alpha Device not for Linux

[ Edited ]

I'm using Linux and the latest NDK 10.0.9.

I managed to connect, build and run as BB C/C++ Application without problem on the alpha dev device. No additional driver installed on Linux (Debian x86).

Did you try to "r-click" connect to the USB device? Can try:
1. unplug device
2. launch IDE
3. plug in device
4. check your ifconfig if there's a USB interface (rndis) meaning alpha dev device established a TCP connection with Linux. This is a good sign.
5. Attempt to connect the USB device at IDE. Should prompt for info if not setup etc.

*Am a newbie with BB NDK and eclipse in general. Hope this helps.

**Check this out http://supportforums.blackberry.com/t5/Cascades-Development/BB10-Alpha-Device-not-for-Linux/m-p/1747...



James Tan
Eating my dog food - TripLogger, my 1st bb10 app.
Please use plain text.
New Developer
New Developer
rzr
Posts: 151
Registered: ‎01-05-2010
My Carrier: www.rzr.online.fr

Re: BB10 Alpha Device not for Linux

Please use plain text.
Visitor
hawkbat05
Posts: 1
Registered: ‎10-28-2010

Re: BB10 Alpha Device not for Linux

Doing this on Linux Mint, I had to go to my Network settings, open the Options for the USB connection and then:

 

  1. Set the Method to Manual
  2. Under addresses add: 169.254.0.2, 255.255.0.0, 169.254.0.1
  3. Click on Routes
  4. Add: 169.254.0.1, 255.255.0.0, 169.254.0.1, 1
  5. Click OK and then Save.

Then when I connected my device it worked fine.  This might have something to do with Mint being run in VirtualBox as well.  Running this from the command line seems to do the trick too:

 

sudo ip addr add 169.254.0.2/16 dev usb0

sudo ip ro add 169.254.0.0/16 dev usb0

 

 

Please use plain text.
Contributor
mfarmilo
Posts: 43
Registered: ‎01-03-2010
My Carrier: Orange

Re: BB10 Alpha Device not for Linux

How did I get subscribed to this thread ? Suddenly started getting notifications of replies here, and never looked at it before now.

 

Please use plain text.