You are on page 1of 2

BAFO BF-810 USB2SERIAL WITH A GD76 CELL PHONE

http://digilander.libero.it/bepperota/BF-810_GD76.html

Community

bepperota

Profilo

Blog

Sito

Foto

Amici

Esplora

Bafo BF-810 USB2SERIAL converter (DB9) with Panasonic GD76 cell phone
author: Giuseppe Rota morpheus.bs **at** libero.it This document describes how to use the Bafo BF-810 usb-to-serial converter under linux with a GD76 cell phone, in order to estabilish a GPRS connection. My brother has a Evo N1015V laptop. That model lacks of a db9 serial port. My brothers also owns a GD76 cell phone which requires a DB9 serial port in order to estabilish a GPRS connection via its data cable as explained in this document. We found in our local store a usb2serial converter from Bafo Inc. shipped with Windows only driver. I fought hard to make it work under linux, and eventually did it. But it's very simple indeed. First of all let's say that the converter uses (or anyway is compatible with) the Prolic PL2303 module of the kernel. I don't know why, maybe Bafo and Prolic use the same chip for the protocols conversion... So, we only need to have a pl2303 module for our kernel. Another option is obviously to have a monolitich kernel with the pl2303.o code inside itself. I won't discuss here how to obtain this situation. Read the Kernel Howto, or others related Howtos, like Modules Howto. RedHat 9.0, for example, is shipped with a very modular kernel, including the Prolic PL2303 module, so, if that's the case we don't need to compile anything. I will assume from now that the kernel has the possibility to access the pl2303 code from inside itself or outside as a module. Anyway, link your cell with your panasonic data cable. Then link your DB9 Male data cable output with the Bafo converter. Then, without rebooting your machine, plug the usb port into your pc. You should see some messages from the kernel like these: Sep Sep Sep Sep Sep Sep Sep Sep Sep Sep 13 13 13 13 13 13 13 13 13 13 16:17:33 16:17:33 16:17:36 16:17:36 16:17:36 16:17:36 16:17:36 16:17:36 16:17:36 16:17:36 nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel nethunsiel kernel: hub.c: new USB device 00:10.2-2, assigned address 2 kernel: usb.c: USB device 2 (vend/prod 0x67b/0x2303) is not claimed by any active driver. /etc/hotplug/usb.agent: Setup pl2303 for USB product 67b/2303/202 kernel: usb.c: registered new driver serial kernel: usbserial.c: USB Serial support registered for Generic kernel: usbserial.c: USB Serial Driver core v1.4 kernel: usbserial.c: USB Serial support registered for PL-2303 kernel: usbserial.c: PL-2303 converter detected kernel: usbserial.c: PL-2303 converter now attached to ttyUSB0 (or usb/tts/0 for devfs) kernel: pl2303.c: Prolic PL2303 USB to serial adaptor driver v0.9

The important line is that where the kernel informs us of the converter attached to ttyUSB0. If that's achieved, you can try to run this command, assuming that you've created the pppd script as explained here pppd ttyUSB0 115200 le ~/xpppd

KPPP
Well, now, assuming that we have done everything explained here and that our /dev/modem is a symlink, let's do (as root) :
ls -l /dev/modem

(is it a symlink??!) (if it's a symlink type what's below to overwrite it)
ln -sf /dev/ttyUSB0 /dev/modem

We do that because Kppp hasn't in its scrol-list the possibility to choose /dev/ttyUSB0. Ok, now check if the minterm of kppp (Options -> Modem -> terminal) outputs: AT OK If that's the case we've done it. you can use kppp. (once again, if you did what was explained here) If we see only OK, or even nothing at all, try to switch o and then again on the cell phone or sending him an ATZ, and

1 of 2

Wednesday 18 September 2013 11:23 PM

BAFO BF-810 USB2SERIAL WITH A GD76 CELL PHONE


retry.

http://digilander.libero.it/bepperota/BF-810_GD76.html

This information is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this work; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

2 of 2

Wednesday 18 September 2013 11:23 PM

You might also like