BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Linux Users Corner (http://www.blackberryforums.com/forumdisplay.php?f=83)
-   -   8100 Bluetooth Modem (http://www.blackberryforums.com/showthread.php?t=53091)

LunkHead 11-02-2006 04:06 PM

8100 Bluetooth Modem
 
Anyone using an 8100 with Linux OS?

I have 2 PC's, one has Linux and the other has BSD (Unix). I do not use nor have windows on either pc.

My question is, has anyone used a BB, specifically, a 8100 with Linux or Unix.

Thanks in advance :)

LunkHead 11-03-2006 04:57 PM

Quote:

Originally Posted by headtailgrep
There is very little Linux support..

I would advise you use VMWARE or some other VM to run Windows under your Unix install..


You could try this, it's called "barry" and it appears to have been recently updated. Search these forums for more information

SourceForge.net: Barry


Thanks! yes I tried Barry a few months ago, and it IS very buggy. Wine does not work ether. There are a few other options out there but none really seam to even come close to working. I was able to temp get Berry working and sorta syncing with Evolution.

I guess I was hopeful that someone here might had found a better solution.

Again thanks for the response..

I guess i do not really understand why RIM does not support Linux/Unix better but that a whole different topic.

headtailgrep 11-03-2006 09:09 PM

There is very little Linux support..

I would advise you use VMWARE or some other VM to run Windows under your Unix install..


You could try this, it's called "barry" and it appears to have been recently updated. Search these forums for more information

SourceForge.net: Barry

Dark Knight 11-05-2006 02:01 PM

Quote:

Originally Posted by LunkHead
Anyone using an 8100 with Linux OS?

I have 2 PC's, one has Linux and the other has BSD (Unix). I do not use nor have windows on either pc.

My question is, has anyone used a BB, specifically, a 8100 with Linux or Unix.

Thanks in advance :)

This weekend is fairly busy but I'm going to try and find time to play around with the Pearl sync to the SLED (SUSE Linux Enterprise Desktop) LAN. Novell has commented several times on their website that they support Blackberrys so it shouldn't be much of an issue. The good news is Novell does offer good support for those that need it. If I come across any resolutions to issues found I'll let the community know. Also as in past on other forums I've posted tutorials that simplify the process of using devices with Linux so I'll continue to pass that knowledge here on Blackberryforums.com.

raharold 11-05-2006 08:23 PM

I have been using it with Kubuntu 6.10. All I have managed to do is export the address book (and other various flles) via bluetooth and import it into Thunderbird. I may try the VM route but I need more memory on my laptop :(. Sync4j is another option. I have read about some success with it on the Ubuntu forums.

Rosss

Dark Knight 11-13-2006 06:55 PM

Has anyone here used xmBlackberry or Barry on Linux?

xmblackberry.sourceforge.net

sourceforge.net/projects/barry/

jibi 11-13-2006 09:08 PM

I'll try both tomorrow from work and give them a go. XmBlackBerry hasn't been updated in a half year and is versioned at 0.0.0, so I have to wonder on it's stability.

mrpg 11-13-2006 09:17 PM

Good stuff mang chops, I've been following the funambol :: open source project

antelope 02-06-2007 04:31 PM

anyone have any luck getting their 8100 recognized as a modem in linux??

when plugging the phone in via usb i'm able to mount it as a mass storage device. great. but id like to be able to use it as a modem. I understand there are drivers that ship with it to do this under windows, but that doesnt help me much. I tried disabling mass storage on the phone but then dmesg complains about

"Device not ready. Make sure there is a disc in the drive."

lsusb does find the device

"Bus 002 Device 009: ID 0fca:0006 Research In Motion, Ltd."

but again it's still not behaving like a modem although it does not automount after disabling mass storage on the phone :P

how about as a modem via bluetooth? i don't have bluetooth on my computer but would be willing to get an adapter if people have had success with this method.

and what about windows? i don't have a box and would hate to have to set something up just to get the modem working... anyone have luck with vmware?

rivviepop 02-06-2007 07:26 PM

Quote:

Originally Posted by antelope
"Bus 002 Device 009: ID 0fca:0006 Research In Motion, Ltd."

but again it's still not behaving like a modem although it does not automount after disabling mass storage on the phone :P

I had an exchange with the developer of Barry a bit ago when I was getting bcharge to work for the Pearl (see here: http://www.blackberryforums.com/gene...-charging.html) and it appears the problem is that the Pearl doesn't expose the modem portion of the interface immediately; you should see *two* entries in lsusb for the RIM device, one that's the mass storage and the other that's the ttyACM0 (sic) interface. Even if you set the Pearl to *not* use Mass Storage, it still presents the usb-storage interface when plugged in, which the kernel then grabs.

His one suggestion was to try actually removing (physically move the kernel module file) for usb-storage so that the kernel can't load it and see what happens; I have not tried this yet, just haven't gotten around to it. I'm just happy the thing charges right now at the proper 500mA with bcharge installed.

For management of data, I use SyncML for all my handsets; no need at all for desktop apps. See one of my posts here: http://www.blackberryforums.com/gene...tml#post422050

rivviepop 02-06-2007 07:27 PM

PS: everyone go lend your support to this thread:

http://www.blackberryforums.com/site...-subforum.html

shameless plug. :)

antelope 02-06-2007 11:22 PM

Tried removing usb_storage and loading cdc_acm... Even with the module not loaded (tried moving it too) it still shows up as just a mass storage device. No modem. Perhaps it needs more power first?

I've heard that it works over Bluetooth, but maybe usb is different? ...I don't know, I'm just guessing

HuwSy 02-07-2007 07:19 AM

I tried compiling xmblackberry but it kept telling me that there was calls to undefined functions or variables it the source during make. Anyone get it to compile or work in any manner? Or has anyone found anyother way that works without sunc4j? as I dont have a data plan yet.

rivviepop 02-07-2007 07:16 PM

Quote:

Originally Posted by antelope
Tried removing usb_storage and loading cdc_acm... Even with the module not loaded (tried moving it too) it still shows up as just a mass storage device. No modem. Perhaps it needs more power first?

Try getting in touch with the Barry lead, he's really friendly and would love to hear about your progress (good or bad) I'm sure; you can reach him at cdfrey_at_ foursquare _dot_ net (Chris). He will probably have some things you could try (then let us all know :) ).

Quote:

I've heard that it works over Bluetooth, but maybe usb is different? ...I don't know, I'm just guessing
Yes, they're different -- BT exposes a 'profile', which you then connect to; I don't have a BT stack here at the office to show you, but basically you query a device and it returns all the profiles (file transfer, headsets, modem, etc.).

So whereas lsusb -v might show that one (and only one) device entry for the Pearl, when you do something similar over BT ("sdptool browse <BT mac address>") it'll return unique entries for each service. If I remember tonight I'll jack in my BT usb stick and play with it and post a set of profiles.

rivviepop 02-07-2007 10:34 PM

Here ya go:

Code:

# hcitool scan
Scanning ...
        00:0F:86:F7:EB:AD      BlackBerry 8100

Code:

# sdptool browse 00:0F:86:F7:EB:AD
Browsing 00:0F:86:F7:EB:AD ...
Service Name: AUDIO Gateway
Service RecHandle: 0x10001
Service Class ID List:
  "Headset Audio Gateway" (0x1112)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 2
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Voice Gateway
Service RecHandle: 0x10002
Service Class ID List:
  "Handfree Audio Gateway" (0x111f)
  "Generic Audio" (0x1203)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Handsfree" (0x111e)
    Version: 0x0105

Service Name: BlackBerry Desktop Service P:0x23E23A30 R:0x03 V:0x20004
Service RecHandle: 0x10003
Service Class ID List:
  UUID 128: 426c6163-6b42-6572-7279-44736b746f70
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 4
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: BlackBerry Bypass Service P:0x23E23A30 R:0x03 V:0x20003
Service RecHandle: 0x10004
Service Class ID List:
  UUID 128: 426c6163-6b42-6572-7279-427970617373
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 5
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

Service Name: Phonebook Access PSE
Service RecHandle: 0x10005
Service Class ID List:
  "Phonebook Access - PSE" (0x112f)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 6
  "OBEX" (0x0008)
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100
Profile Descriptor List:
  "Phonebook Access" (0x1130)
    Version: 0x0100


antelope 02-08-2007 01:04 AM

Thanks for the info.

I take it it's the "bypass" one? I'll have to pick up a bt adapter and give that a shot too.

rivviepop 02-08-2007 01:55 PM

Quote:

Originally Posted by antelope
Thanks for the info.

I take it it's the "bypass" one? I'll have to pick up a bt adapter and give that a shot too.

Actually I think it's channel 4 -- from what I remember setting up my other devices (S60 handsets, etc.) is that it's usually channel 4 that is the modem (serial) interface on most bluetooth implementations.

But, given that both channel 4 and 5 expose a serial interface I'm not sure which one would be the right modem link; I'll have to play a bit when I get time...

antelope 02-11-2007 10:31 AM

Picked up a bt dongle. I'm able to connect to the modem over channel 1. No luck with channels 4 and 5. On the phone, I get a white screen and a "connecting to desktop..." over 4 but no connectivity.

Over channel 1 I'm able to dial in but get disconnected immediately. So for .1 minutes I get an IP and DNS info... Using blackberry service with tmobile, APN wap.voicestream.com, phone *99# (or *99***1#)

I've tried different AT commands but am still getting the same result. Perhaps its a misconfiguration on my end. anyone have a wvdial conf or the correct init strings for this phone/service?

rivviepop 02-11-2007 12:49 PM

Quote:

Originally Posted by antelope
I've tried different AT commands but am still getting the same result. Perhaps its a misconfiguration on my end. anyone have a wvdial conf or the correct init strings for this phone/service?

I *think* that the init strings are all the same, in that it's something to do with GSM dialing and not quite like a real modem (where different models might have different inits). Given that, I can supply my S60/Symbian values that might be relevant.

/etc/wvdial.conf
Code:

[Modem0]
Modem = /dev/rfcomm0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM0
FlowControl = CRTSCTS
[Dialer TMobile]
Username = t-mobile
Password = t-mobile
Phone = *99#
Stupid Mode = 1
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 =  at+cgdcont=1,"IP","wap.voicestream.com"
Inherits = Modem0

Notice that the last parameter in Init3 might be different depending on your plan with your carrier -- 'wap.voicestream.com' is suitable for the BlackBerry data plan on T-Mobile. Also, the Modem=/dev/rfcomm0 I think might be for when I use it with a USB cable, not a BT stack.

antelope 02-11-2007 03:22 PM

bound channel 1 to rfcomm. when i dial im prompted for the pin on the phone so it's able they are able to talk but im thinking the AT commands may be the issue.

the following:

ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

produces and error for me.. i'll have to look into it more to see which part of this is giving me the modem issues:
AT [enable output] [long form] [echo] [automatic answer] [serial - does nothing?] [onhook] [faxclass]

wap.voicestream.com should be correct for me, I'm unable to use things like midpssh w/o it.


All times are GMT -5. The time now is 03:12 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.