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

Treo and ppp over USB



Hi all,
I am tring to let my treo connect to a laptop using the USB cable, but I
am not lucky. I am working with a Debian GNU/Linux 3.0 with security upd
and proposed upd.

What I do is

1. connect cable to both devices
2. press the sincronize button that will load all relevant kernel modules 

kernel: hub.c: USB new device connect on bus2/1, assigned device number 2
kernel: usbserial.c: Handspring Visor converter detected
kernel: visor.c: Handspring Visor: Number of ports: 2
kernel: visor.c: Handspring Visor: port 1, is for Generic use and is bound to ttyUSB0
kernel: visor.c: Handspring Visor: port 2, is for HotSync use and is bound to ttyUSB1
kernel: usbserial.c: Handspring Visor converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
kernel: usbserial.c: Handspring Visor converter now attached to ttyUSB1 (or usb/tts/1 for devfs)

3. issue the following command by root

--- pppd-treo ---
#!/bin/sh -x

DNS=$(awk '/nameserver.*/ { print "ms-dns " $2 }' </etc/resolv.conf)

echo 1 >/proc/sys/net/ipv4/ip_forward

/usr/sbin/pppd /dev/ttyUSB0 57600 10.1.1.3:10.1.1.10 local \
    $DNS netmask 255.255.255.0 persist passive auth debug \
        nodeflate nobsdcomp noccp nopcomp proxyarp
--- ppd-treo ---

4. on a different window I ran a tail -f /var/log/syslog and I get

pppd[28318]: pppd 2.4.1 started by root, uid 0
pppd[28318]: using channel 1
pppd[28318]: Using interface ppp0
pppd[28318]: Connect: ppp0 <--> /dev/ttyUSB0
pppd[28318]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MD5> <magic 0x6a4dbe49> <accomp>]
pppd[28318]: LCP: timeout sending Config-Requests 

5. then the treo hangs and a small button pops up in the display. The
   button says 'reset' but I cannot press it. The handhelp is completely
   stopped and I have to soft reset it pressing the hardware button in
   the SIM card slot.
6. If I repeat steps 3 then the linux kernel panics and I get the oops
   screen :-)

Here my questions,
do someone manage to work with a PDA in this way? To whom shoud I report
the bug? I will send a report to Handspring but I should probably
contact lkml too, shouldn't I?

Thanks to all,
Giuseppe


-- 
To UNSUBSCRIBE, email to debian-pilot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: