Author Message

<  Setup Discussion  ~  Sprint Compass 597 and version 0.9.4

sunx99
Posted: Wed Jul 01, 2009 7:27 am Reply with quote
Joined: 01 Jul 2009 Posts: 4
Ok, I feel like I should be really close after reading through everything I can find.
I have a WL-520GU router running the kopple WL500gpv2 1.9.2.7-10-USB-1.71 firmware release which includes usb_modeswitch 0.9.4. The problem being this edition did not include the 'Sierra' switch in it that is said to work for the 597. I have no idea how to start to compile a new firmware with the newest version of usb_modeswitch. Is there a command line entry I can put into 0.9.4 to get it to send the correct command?
Does anyone had other suggestions?
Thanks guys.
Anyone interested can find the sys logs at:
http://koppel.cz/conferences/viewtopic.php?t=2616
View user's profile Send private message
Josh
Posted: Thu Jul 02, 2009 3:15 pm Reply with quote
Site Admin Joined: 02 Nov 2007 Posts: 1255
Well, if you could insert the Sierra function into the old version and compile, you still had to get it into the firmware somehow ...

I'm not familiar with the OpenWRT system; can you attach a flash stick and run programs from there?
View user's profile Send private message
sunx99
Posted: Thu Jul 02, 2009 5:24 pm Reply with quote
Joined: 01 Jul 2009 Posts: 4
Thanks Josh,
Well, I know the mobile card is reading as a disk right now but I haven't tried a true flash disk. I am able to upload a new ffs into the router, and copied up the newer version of the modeswitch, but wasn't able to actually run the program, it just came back with an error about expecting a '(' or something. I have been able to get a wget and pull files from my computer onto the router's /tmp and work with them from there. There was a forum post were someone had taken the older version and modified the *.c file and inserted the new function. But it sounded like I still needed to recompile something and not sure if that is done on the PC or the router.
View user's profile Send private message
Josh
Posted: Thu Jul 02, 2009 10:47 pm Reply with quote
Site Admin Joined: 02 Nov 2007 Posts: 1255
If you want to compile you'd better do it on the PC. You need a "toolchain" though because you have to "cross-compile", that is, the resulting program will run on the router processor but not on the PC. It contains different machine code.

The OpenWRT community has most likely all kinds of documentation for that.

If you compile yourself, you can as well take the latest version of USB_ModeSwitch. No need to use the old code.

If you know what processor family your router uses, you could still try and find ready-made packages (e.g. Debian packs) which exist for a number of platforms. See the Download section on the main page and look for the Debian repository.
View user's profile Send private message
sunx99
Posted: Sat Jul 11, 2009 11:55 pm Reply with quote
Joined: 01 Jul 2009 Posts: 4
No progress so far.
I'm trying to learn how to do the cross compiling but so far is over my head. What I would need is a broadcomm complied version, if anyone has one already and could upload it, I need something newer then the 9.4.0 version, I believe over 9.7.0 to have the Sierra features.
View user's profile Send private message
Josh
Posted: Sun Jul 12, 2009 8:33 am Reply with quote
Site Admin Joined: 02 Nov 2007 Posts: 1255
There must be someone in the OpenWRT community who is able to compile for you ... Or they need to update the official package.

In the package for the "Kamikaze" release (it's 0.9.5) I found this maintainer data:

OpenWrt Developers Team <openwrt-devel@openwrt.org>

Why not ask them directly? Or the developers in the forum? I'm sure you know
http://forum.openwrt.org/

And did you try the MIPSEL binary from the Debian repository I mentioned? In case you didn't here is a link for your convenience:
usb_modeswitch_mipsel
It's just the program extracted from the DEB package; no idea if it will run on your router.
View user's profile Send private message
sunx99
Posted: Mon Jul 13, 2009 11:50 pm Reply with quote
Joined: 01 Jul 2009 Posts: 4
Thanks Josh, I posted in the OpenWRT group looking for support. I'll have to try the mipsel release you linked, I'm not familiar with it and didn't think to try it. I ended up jumping back over to DD-WRT as I thought I found a package that had a 9.7 release.
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1
Post new topicReply to topic

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum