[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] btdm and pppd use the same serial port?



I run bt as "btdm --speed 57600" and use another 
windows client to browse it.I use Widcomm's software.
When I double click the "Lan access using PPP" , the 
linux console display info:remote bd:....." it looked 
nice and correct.But my ppp connection is stop at 
status "authenticating..."
I see the log and found below info:

"
Nov  2 18:18:18 localhost btdm: Found connection on
line: 0
Nov  2 18:18:18 localhost kernel: BT (driver)
__bt_ioctl: BTREADREMOTEBDADDR
Nov  2 18:18:18 localhost kernel: BT SYS:
get_remote_bd: 00:02:5b:ff:00:a1
Nov  2 18:18:18 localhost btdm: WARNING: No remote ip
addr set, only local 192.168.3.11:
Nov  2 18:18:18 localhost memul: Starting modem
emulator on /dev/ttyBT0
Nov  2 18:18:18 localhost kernel: BT (driver) bt_open:
Line 7
Nov  2 18:18:18 localhost kernel: BT (driver)
Registering tty on line 7 (memul)
Nov  2 18:18:18 localhost kernel: BT (driver) Now 2
open fd:s for ttyBTC [memul]
Nov  2 18:18:18 localhost kernel: BT (driver)
bt_close: Line 7
Nov  2 18:18:18 localhost kernel: BT (driver)
Unregistering tty on line 7
Nov  2 18:18:18 localhost kernel: BT (driver) bt_open:
Line 0
Nov  2 18:18:18 localhost kernel: BT (driver)
Registering tty on line 0 (memul)
Nov  2 18:18:18 localhost kernel: BT (driver) bt_open:
Line 7
Nov  2 18:18:18 localhost kernel: BT (driver)
Registering tty on line 7 (memul)
Nov  2 18:18:18 localhost kernel: BT (driver) Now 2
open fd:s for ttyBTC [memul]
Nov  2 18:18:18 localhost kernel: BT (driver)
BTSETBCSPMODE: -1
Nov  2 18:18:18 localhost kernel: BT (driver)
bt_close: Line 7
Nov  2 18:18:18 localhost btdm: Started modem emulator
on /dev/ttyBT0 [pid: 1093]
Nov  2 18:18:18 localhost kernel: BT (driver)
Unregistering tty on line 7
Nov  2 18:18:18 localhost kernel: BT (driver)
bt_set_termios: Forwarding to serial driver
Nov  2 18:18:18 localhost kernel: BT (driver)
bt_chars_in_buffer: 0
Nov  2 18:18:19 localhost kernel: BT (driver)
bt_chars_in_buffer: 0
Nov  2 18:18:19 localhost memul: Found PPP Connect,
start pppd
Nov  2 18:18:19 localhost kernel: BT (driver)
bt_close: Line 0
Nov  2 18:18:19 localhost kernel: BT (driver)
Unregistering tty on line 0
Nov  2 18:18:19 localhost pppd[1094]: pppd 2.4.0
started by root, uid 0
Nov  2 18:18:19 localhost kernel: BT (driver) bt_open:
Line 0
Nov  2 18:18:19 localhost kernel: BT (driver)
Registering tty on line 0 (pppd)
Nov  2 18:18:19 localhost kernel: BT (driver)
bt_set_termios: Forwarding to serial driver
Nov  2 18:18:19 localhost kernel: BT (driver) bt_open:
Line 0
Nov  2 18:18:19 localhost kernel: BT (driver)
Registering tty on line 0 (pppd)
Nov  2 18:18:19 localhost kernel: BT SYS: Warning:
bt_register_tty: Line busy !
Nov  2 18:18:19 localhost pppd[1094]: Failed to reopen
/dev/ttyBT0: Device or resource busy
Nov  2 18:18:20 localhost kernel: BT (driver)
bt_set_termios: Forwarding to serial driver
Nov  2 18:18:20 localhost kernel: BT (driver)
bt_close: Line 0
Nov  2 18:18:20 localhost kernel: BT (driver)
Unregistering tty on line 0
Nov  2 18:18:20 localhost pppd[1094]: Exit."

Does anyone know how to set the btdm and pppd use
different serial port?
thanks 


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com