Some days back I posted on linux-usb-users about my pl2303-based USB
serial device not working.  I received one private response that it works
in linux 2.6.8, and indeed it does, perfectly.

Does anyone have a backport to kernel 2.4.x?  Even the latest 2.4.28 prepatch
has the old revision of the driver.

The diffs didn't seem hard to merge in so I tried doing it myself.  Earlier,
under 2.4 (and also under DragonFly BSD and, I'm told, NetBSD) the modem
would simply not acknowledge commands: the initialisation string would time
out.  Now after my attempted merge, the modem initialises, dials, authenticates
and even the IP address gets configured; but after that, no traffic flows at
all.  I have no clue how to debug this, but for various reasons I'd
really prefer to use 2.4 to 2.6.

Here's my syslog, with verbose output from the usb-serial driver.  The last 13
lines keep repeating every time I try to make traffic flow, almost
identically except for the "data" line which changes.

-- Rahul

....
Oct 18 22:04:28 greenrondo pppd[547]: rcvd [IPCP ConfAck id=0x3 <addr
219.64.142.43> <ms-dns1 202.54.1.30> <ms-dns3 202.54.6.35>]
Oct 18 22:04:28 greenrondo pppd[547]: local  IP address 219.64.142.43
Oct 18 22:04:28 greenrondo pppd[547]: remote IP address 172.23.128.48
Oct 18 22:04:28 greenrondo pppd[547]: primary   DNS address 202.54.1.30
Oct 18 22:04:28 greenrondo pppd[547]: secondary DNS address 202.54.6.35
Oct 18 22:04:28 greenrondo pppd[547]: Script /etc/ppp/ip-up started (pid 569)
Oct 18 22:04:28 greenrondo pppd[547]: Script /etc/ppp/ip-up finished (pid 569),
status = 0x0
Oct 18 22:04:41 greenrondo kernel: usbserial.c: serial_post_one - port 0 user 0
count 64
Oct 18 22:04:41 greenrondo kernel: usbserial.c: serial_post_one - port 0 user 0
count 16
Oct 18 22:04:41 greenrondo kernel: usbserial.c: post_helper - port 0 len 64
backlog 80
Oct 18 22:04:41 greenrondo kernel: usbserial.c: __serial_write - port 0, 64
byte(s)
Oct 18 22:04:41 greenrondo kernel: pl2303.c: pl2303_write - port 0, 64 bytes
Oct 18 22:04:41 greenrondo kernel: pl2303.c: pl2303_write - length = 64, data =
7e ff 03 00 21 45 00 00 48 22 00 40 00 40 11 e3 e4 db 40 8e 2b ca 36 01 1e 80
00 00 35 00 34 69 54 bc ec 01 00 00 01 00 00 00 00 00 00 02 34 38 03 31 32 38
02 32 33 03 31 37 32 07 69 6e 2d 61
Oct 18 22:04:41 greenrondo kernel: usbserial.c: post_helper - port 0 len 16
backlog 16
Oct 18 22:04:41 greenrondo kernel: usbserial.c: __serial_write - port 0, 16
byte(s)
Oct 18 22:04:41 greenrondo kernel: pl2303.c: pl2303_write - port 0, 16 bytes
Oct 18 22:04:41 greenrondo kernel: pl2303.c: pl2303_write - already writing
Oct 18 22:04:41 greenrondo kernel: pl2303.c: pl2303_write_bulk_callback - port 0
Oct 18 22:04:41 greenrondo kernel: usbserial.c: port_softint - port 0
Oct 18 22:04:41 greenrondo kernel: usbserial.c: port_softint - write wakeup
call.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to