Author Message

<  Everything Coding  ~  small fix in usb_modeswitch.setup

PostPosted: Wed May 12, 2010 3:28 pm Reply with quote
Posts: 1 Joined: Tue May 11, 2010 3:43 pm
Hi,

I found a couple of semicolons missing. I think this could lead to some configuration problems if you are not aware ot it and you try to use the last modems at the end of the file.

Here is the patch for usb-modeswitch-1.1.2:


--- usb-modeswitch-1.1.2/usb_modeswitch.setup 2010-04-18 15:15:13.000000000 +0200
+++ usb-modeswitch-1.1.2.new/usb_modeswitch.setup 2010-05-12 15:19:35.000000000 +0200
@@ -1596,7 +1596,7 @@
# only for reference and 0.x versions
# MessageEndpoint=0x01

-MessageContent="55534243123456780600000080000601000000000000000000000000000000"
+;MessageContent="55534243123456780600000080000601000000000000000000000000000000"


########################################################
@@ -1613,7 +1613,7 @@
# only for reference and 0.x versions
# MessageEndpoint=2

-MessageContent="55534243f0298d8124000000800006bc626563240000000000000000000000"
+;MessageContent="55534243f0298d8124000000800006bc626563240000000000000000000000"


########################################################


Cheers,

Ema


Offline
PostPosted: Wed May 12, 2010 7:22 pm Reply with quote
Site Admin Posts: 6441 Joined: Sat Nov 03, 2007 12:30 am
O.K., thanks a lot! Will be fixed in the next release.

Note however that the file is not supposed to be used except for manual experiments - and even there it's always better to set up a small config file with only the relevant device in it.

All supported modems are in /etc/usb_modeswitch.d (data package). The files there can be used for manual runs too with the help of the -c parameter.



Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
2 posts
Users browsing this forum: No registered users and 1 guest
Search for:
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 post attachments in this forum