Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 56

Thread: USB serial high speed patch

  1. #16
    Yes, it is really weird. But knowing that the "original" one works, helps a lot.
    Could you test this one? It is based on the original one and has no "maxSize" option, but the buffer size is modified to be bigger, so in theory it should work as fast as the patched usbserial.o
    Attached Files Attached Files

  2. #17
    is this usable for "WL-500g" also? Any "USB1" speed improvement?

  3. #18
    Quote Originally Posted by jimmy_cr View Post
    is this usable for "WL-500g" also? Any "USB1" speed improvement?
    Yes it should work with a wl-500g as well as in a deluxe or a premium. As the USB 1.1 could get up to 12Mb/s, the limit in this case will be more the CPU than the USB port.
    Just remember this module is only for usb modems or similar, not for USB storage devices!

  4. #19
    Hello again,

    Sorry for the delay in testing this, had a busy day at work. Unfortunately the latest module does the exact same thing when inserted:

    --------
    usbserial.c: USB Serial support registered for Generic
    Unable to handle kernel paging request at virtual address 00000004, epc == c0087
    16c, ra == c00a588c
    Oops in fault.c::do_page_fault, line 192:
    $0 : 00000000 1000fc00 00000000 00001003 000012d1 00000000 c00a76a4 00000003
    $8 : 819bc800 00000000 00000008 c00a3060 c00a748d 2abb24a8 00000000 c00a73e0
    $16: c00a7554 c008705c c00a75d0 00000000 c00acec0 819bc800 00000000 c00a7544
    $24: 00000018 2ac14e20 818e2000 818e3cf8 00000000 c00a588c
    Hi : 00000000
    Lo : 00000d00
    epc : c008716c Not tainted
    Status: 1000fc03
    Cause : 80000008
    Process insmod (pid: 152, stackpage=818e2000)
    Stack: 802f36a0 1001f000 81dcadb8 8001acb8 1002f000 80190bec 802f36a0
    00000001 1002f000 819467a0 818e3e18 00000001 802f36bc 80022514 802197e0
    801d3040 000003c3 801dfce0 818dd0bc 8001a5d4 818e2000 819467a0 802f36a0
    1002f000 8000a8dc 8001670c 000003c3 801dfce0 801e0f28 00000000 00000000
    00000000 00000000 00000000 c00a7598 c00a75b8 81a1ec20 00000001 c00acec0
    00000001 ...
    Call Trace: [<8001acb8>] [<80190bec>] [<80022514>] [<8001a5d4>] [<8000a8dc>]
    [<8001670c>] [<c00a7598>] [<c00a75b8>] [<c00acec0>] [<c00986a0>] [<c008750c>]
    [<c008721c>] [<c0086f14>] [<c0086f98>] [<c008721c>] [<c0086f14>] [<c0086f14>]
    [<c0086fd4>] [<c0086f98>] [<800111cc>] [<c00986a8>] [<c0086f14>] [<c00986a8>]
    [<c0086f14>] [<c00986a8>] [<c00861a8>] [<c00a75d8>] [<c00a75d8>] [<c00a6860>]
    [<c00a7370>] [<c00a69b0>] [<c00a6750>] [<c00a6708>] [<80030500>] [<8001259c>]
    [<8002be40>] [<80030198>] [<c00a3060>] [<800085a4>]

    Code: 5462ffce 24c60014 30e20040 <50400006> 8d230004 90c3000c 910200e6 5462
    ffc7 24c60014
    --------------------

    Once again, this happens at the time the modem is inserted, not when the module is insmod-ed. Something is definitely wrong and I'm not sure what that is.

    When I use the builtin module, I get this:

    usb.c: registered new driver serial
    usbserial.c: USB Serial support registered for Generic
    usbserial.c: Generic converter detected
    usbserial.c: Generic converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
    usbserial.c: Generic converter detected
    usbserial.c: Generic converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
    usbserial.c: Generic converter detected
    usbserial.c: Generic converter now attached to ttyUSB2 (or usb/tts/2 for devfs)
    usbserial.c: USB Serial Driver core v1.4
    usbserial.c: USB Serial support registered for PL-2303
    pl2303.c: Prolific PL2303 USB to serial adaptor driver v0.11

    I'll try to put the machine on the open Internet so that you can take a direct look at it. Thanks for the effort, I really appreciate it.

    Razvan

  5. #20
    well, if this one also fails, that rules out the compiling problem, I think.
    Time to think in other alternatives. And having access to the machine will be handy, thanks.

  6. #21
    Hi,

    is there any progress with compiling usbserial module for Hueawei E220? I have this modem and have the same problem with connection to Internet via Asus WL.500g

  7. #22
    Quote Originally Posted by dimensionone View Post
    Hi,

    is there any progress with compiling usbserial module for Hueawei E220? I have this modem and have the same problem with connection to Internet via Asus WL.500g
    Sorry, no progress right now. Drazvan vanished since my last post and as I haven't got a suitable modem I couldn't test what is wrong and fix it.

    PS: you could test the last module I attached to this thread. It is very unlikely it could work but, who knows, perhaps you are lucky and it works ok with your hardware.

  8. #23
    Hi,

    I will test it, but, please, can you give me a detail instruction how can I copy your module to the router.

    And what firmware should I use for the testing?

    Thanks.


    Viliam

  9. #24
    Use firmware 1.9.2.7-7f
    To load this module, just copy it to a usb stick or harddisk.
    By default, any usb storage device is mounted in /tmp/harddisk
    so, if for example, you got the module in "module" folder, just write this in your asus shell prompt:
    insmod /tmp/harddisk/module/usbserial.o
    That's all.
    Good luck!

  10. #25
    Hi,

    I loaded Oleg's firmware, downloaded module, logged to Asus router, did insmod.
    After hitting enter, nothing happened. ( I don't know, if it is ok)

    Than I connected modem to usb port of the router.

    When I checked System log in Status and Log I saw only one line:

    Jan 1 00:11:55 kernel: hub.c: new USB device 00:04.0-1, assigned address 4

    Nothing more. If there is also other log, please, write me, how can I access it.

    Additionally, I wanted to test connection, but I don't know, where to put login settings.

    Can you write me, where I shall put such settings as APN and dial number and also as I will connect.


    I previously downloaded firmware from this page: http://koppel.cz/cdmawifi/NewFW166.

    They have created graphic interface to connect UMTS modem (unfortunately it is not working for Huawei modem).

    I also tried to install usbserial.o module using this firmware, but insmod gave me a message, that usbserial module already exists.

    I don't know, how can I overwrite a module with your one (once it is possible)

    I'm sorry, I'm only a normal user and has no linux knowledge

  11. #26
    Sorry, the firmware with working UMTS grafic interface can be downloaded from here http://koppel.cz/cdmawifi/download/163/. It supports ZADACOM modem connection, but Huawei. As I read on the forum, with ZADACOM, they can connect to internet with full speed. Their firmware is based on version 1.9.2.7-7f, so maybe it will be easier to test it with your usbserial module. Just let me know, how to load your module to Asus with their firmware.

  12. #27
    Sorry guys, I didn't disappear altogether, we just switched platforms, we're now using an x86-compatible embedded system, it was way easier to simply compile or get precompiled Linux x86 drivers. This whole Asus/MIPS compilation and testing process was simply taking too long and we needed to get our product out faster. I no longer have the Asus router so I can't really help with the tests.

    Cheers,
    Razvan

  13. #28

    Smile I got the Huawei E220 working at full speed!

    I felt that I had to reply, because I couldn't find a solution anywhere on the net and there must be someone that still have this problem.

    This is how I got the Huawei E220 to work at full speed (3.6 / 7.2 Mbit/s). No patches are needed, just configuration.


    I flashed the wl-500gP with http://koppel.cz/cdmawifi/download/166/

    * In Connection Mode (USB Connection) I choose Dial-Up and entered the vendor=0x12d1 product=0x1003 and to dial *99#.

    It now works but max out at 20kb/s.


    * Now change the connection mode to User Defined.

    * Telnet to the wl-500gP.

    * Copy the files from /tmp/ppp/dialup to /usr/local/dial.

    * Alter the file /usr/local/dial/update, replace "/tmp/ppp/dialup/" with "/usr/local/dial/"

    * Alter the file /usr/local/dial/dial at row 6 to
    "insmod usbserial vendor=$(nvram get dialup_vid) product=$(nvram get dialup_pid) maxpacketsize=4096"
    (I think this is the trick, the maxpacketsize)

    * Alter the file /usr/local/dial/dialup. Replace "115200" with "921600". (dunno if this is important)

    That's it.

    To save it all.

    flashfs save
    flashfs commit
    flashfs enable

    and

    reboot

    Now in the system log:
    Jan 1 00:00:44 kernel: usbserial.c: Generic converter detected
    Jan 1 00:00:44 kernel: usbserial.c: Buffer size for bulk_in is 4096 modem reports 64
    Jan 1 00:00:44 kernel: usbserial.c: Buffer size for bulk_out is 4096 modem reports 64
    Jan 1 00:00:44 kernel: usbserial.c: Generic converter now attached to /dev/usb/tts/0


    I now max out at 650kb/s. Much more pleasant


    /David.

  14. #29
    Hi, first of all thank you for your tutorial.

    Could anyone please explain (even in more detail) how to change mode to "user defined" and all commands that must be given to increase the speed of the connection.

    I done the first steps of the previous procedure but i stoped here:
    "(...) * Now change the connection mode to User Defined (...)"

    Sorry about the question but i dont understand almost anything about this subject.
    The telnet commands could be done using DOS prompt line? Could you plz tell me what must typed exactly?

    Thanks in advance.

  15. #30

    USB Speed Patch

    Hi, I have test the settings of user Denoud and it is working very fine.

    i let you de dial files configured, it's only load it on settings of connection.

    Tanks
    Attached Files Attached Files

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. linuxrc bug? - WL-500g not booting from usb drive with hub
    By daniel632 in forum WL-500g Custom Development
    Replies: 5
    Last Post: 14-03-2012, 15:28
  2. Unstable boot from USB
    By Tamadite in forum WL-500g Q&A
    Replies: 6
    Last Post: 20-08-2008, 15:19
  3. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48
  4. Wl500g > 2 USB and 1 LPT Printer
    By Trebron in forum WL-500g Q&A
    Replies: 0
    Last Post: 27-01-2006, 22:17
  5. Please help... USB HDD doesn't work
    By jirina42 in forum WL-500g Q&A
    Replies: 6
    Last Post: 05-01-2006, 19:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •