On Tue, 2008-06-24 at 20:55 -0400, Chris Frey wrote:
> On Mon, Jun 23, 2008 at 04:41:10PM -0400, Jeremy Moles wrote:
> > Heyas everyone--how are things here? I just got a Curve and want to
> > start hacking right away! I found this project and found that it's
> > written in surprisingly easy-to-understand C++ and that it compiles
> > straightforwardly (though I had to add lots of #include <cstring> and
> > #include <cstdlib> in many different files on Fedora9; no biggy, their
> > GCC is more strict than what you guys are probably developing with).
>
> Hi Jeremy, welcome to Barry!
>
> I don't know if you've tried the latest CVS. The latest CVS should compile
> on FC9 (except for opensync, since FC9 uses the devel branch of opensync
> instead of stable). If you find FC9 compilation problems in CVS,
> please let me know, or send patches.
>
> Development code is available via CVS on Sourceforge, and git on repo.or.cz.
> If you are a git user, see: http://repo.or.cz/w/barry.git
>
> The code has changed since 0.12, adding optional threading support, which
> was needed for the serial feature. I think the CVS code is more modular
> than 0.12 was. :-)
>
>
>
> > What's the status of support on the Curve (8310, I think) hardware?
>
> So far we have been fortunate in that most Blackberries just work.
> I haven't created a list of known working devices, since it hasn't really
> been that necessary. There is very little conditional code that works
> around issues in various Blackberry models... for example, there are no
> separate compile options for the 8700 or 8300 series.
>
> The most workaround-oriented code is tools/bcharge.cc, which changes the
> device's modes for charging and database access. Classic Blackberries
> vs. Pearls behave differently, so you'll see that handled in bcharge.
>
> That said, some of the newest devices, such as the 8120, have issues
> when running the Linux usb_storage module at the same time as you try
> to access the database. I don't know if you'll see the same issue on
> the 8310. If you don't have usb_storage going, you should not have
> a problem.
>
> So far it appears that the 8120 resets itself when the database access side of
> the USB conversation closes the device, but the kernel is still using
> the Mass Storage USB endpoints. The 8120 firmware seems unable to handle
> this. I'm still pondering a workaround.
>
>
>
> > What kinds of things can I start hacking on?
>
> First is to make sure that the latest CVS works on your system.
>
> Then take a peek at the TODO file for what still needs to be done.
>
>
> > Will Barry make it possible to to use my phone with PPPD directly,
> > or should I be investigating Bluetooth DUN for this?
>
> Using the blackberry as a modem is already possible with the latest CVS.
> This will be in the upcoming version 0.13 release. Your feedback on this
> feature would be most helpful, so we can squash as many bugs as possible
> before release.
So, I decided to give this a try but I'm really having the hardest time
figuring out what I'm doing wrong. I've attached the peers file I'm
using with my 8310 Curve (using AT&T's service); can anyone spot
anything wrong?
I am ready and willing to try whatever. :)
> You can also use Bluetooth, and you don't need Barry for that.
> Linux apparently supports this natively. You'll need the standalone
> gprs_protocol_fix.c program from the XmBlackBerry project to work with
> Bluetooth, as I understand it. I work nearly exclusively with USB,
> so I don't have a lot of tips on the Bluetooth side.
>
>
> > Will it allow me to load Java apps I write onto the phone in Linux?
>
> Not yet, but that is on the TODO list. I think Brian Edginton is working
> on this, so if you want to join him in the effort, you should contact him.
>
> - Chris
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Barry-devel mailing list
> Barry-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/barry-devel
>
Serial connection established.
using channel 7
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
sent [LCP ConfReq id=0x1 <asyncmap 0x0>]
rcvd [LCP ConfReq id=0x17 <asyncmap 0x0> <auth pap>]
sent [LCP ConfAck id=0x17 <asyncmap 0x0> <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>]
sent [PAP AuthReq id=0x1 user="wapuser" password=<hidden>]
rcvd [LCP TermReq id=0x18]
LCP terminated by peer
sent [LCP TermAck id=0x18]
rcvd [LCP TermAck id=0x18]
Connection terminated.
Waiting for 1 child processes...
script /home/cubicool/local/sbin/pppob, pid 8694
sending SIGTERM to process 8694
noauth
user wapuser
password wap
name wapuser
connect "chat -v 'ABORT' 'ERROR' '' 'AT&F' 'OK' 'ATZ' 'OK' 'ATI' 'OK' 'AT+CNUM'
'OK' 'AT+CSQ' 'OK' 'AT+CREG?' 'OK' 'AT+CGDCONT?' 'OK' 'AT+CGQREQ?' 'OK'
'AT+CGQMIN?' 'OK' 'AT+CGATT?' 'OK' 'AT+CGREG?' 'OK'
'AT+CGDCONT=1,\"IP\",\"proxy\"' 'OK' 'ATDT*99#' 'CONNECT'"
noipdefault
nodetach
novj
nodeflate
nobsdcomp
noaccomp
nocrtscts
nopcomp
nomagic
passive
debug
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
pty "/home/cubicool/local/sbin/pppob"
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel