New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
This is a wifi device that acts as USB Ethernet when tethered.
It requires a control message:
usb_control_msg(devh, USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0x70, 2, 0, buffer, 0, 1000);
I copied switchQuantaMode and created switchPantechMode with this above line. It is easy to do, but if you would like a patch I have to get approval from my employer which can take a day.
The device before has id of 10a9:6080 and after the switch 10a9:6085.
In the US, this device is available as:
http://www.verizonwireless.com/b2c/devi ... ot-mhs291l
Thanks,
Adam
It requires a control message:
usb_control_msg(devh, USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0x70, 2, 0, buffer, 0, 1000);
I copied switchQuantaMode and created switchPantechMode with this above line. It is easy to do, but if you would like a patch I have to get approval from my employer which can take a day.
The device before has id of 10a9:6080 and after the switch 10a9:6085.
In the US, this device is available as:
http://www.verizonwireless.com/b2c/devi ... ot-mhs291l
Thanks,
Adam
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Thanks for the new device!
BTW, how did you figure out the control message?
If you don't object I will include you as the contributor of this device in the reference file.
No need, I can do it myself.agoode wrote:It is easy to do, but if you would like a patch I have to get approval from my employer which can take a day.
BTW, how did you figure out the control message?
If you don't object I will include you as the contributor of this device in the reference file.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
I used usbpcap + wireshark on windows to do the snooping. It works well on new Windows.
I am happy to be listed as a contributor.
Do you want the pcap file? The windows driver does do a few strange things. It sends the control message twice, with a 2 second pause, then a few more times after the switch. It also has a data length of 1 but seems to send no data. I found these things unnecessary for the switch.
One strange thing that happened was at some point I got the device into 10a9:6086! But I do not know how to replicate this.
I am happy to be listed as a contributor.
Do you want the pcap file? The windows driver does do a few strange things. It sends the control message twice, with a 2 second pause, then a few more times after the switch. It also has a data length of 1 but seems to send no data. I found these things unnecessary for the switch.
One strange thing that happened was at some point I got the device into 10a9:6086! But I do not know how to replicate this.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Hi Josh or Adam,
I've been trying to get it to switch. Can someone post the modem's mode switch code here?
Thanks
Dan
I've been trying to get it to switch. Can someone post the modem's mode switch code here?
Thanks
Dan
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Josh wrote:Thanks for the new device!
No need, I can do it myself.agoode wrote:It is easy to do, but if you would like a patch I have to get approval from my employer which can take a day.
BTW, how did you figure out the control message?
If you don't object I will include you as the contributor of this device in the reference file.
I sent you a pm, but haven't got a reply in several days. I am in dire need to get this device working with my Raspberry PI for an event I'm running on the 14'th.
Any help getting this working asap would be greatly appreciated.
-Blak
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
If you are a developer, why not just do what Adam suggested?
Copy one of the 'special' mode-switch functions (like switchQuantaMode) and adapt it to the Pantech by inserting the control message that Adam indicated.
Add a flag variable, a command line flag and a full-text configuration option like "PantechMode" which you can use in your config file.
Copy one of the 'special' mode-switch functions (like switchQuantaMode) and adapt it to the Pantech by inserting the control message that Adam indicated.
Add a flag variable, a command line flag and a full-text configuration option like "PantechMode" which you can use in your config file.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
I'm not a developer, just a user. I'm still new to the whole programming/linux thing.Josh wrote:If you are a developer, why not just do what Adam suggested?
Copy one of the 'special' mode-switch functions (like switchQuantaMode) and adapt it to the Pantech by inserting the control message that Adam indicated.
Add a flag variable, a command line flag and a full-text configuration option like "PantechMode" which you can use in your config file.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Josh wrote:If you are a developer, why not just do what Adam suggested?
Copy one of the 'special' mode-switch functions (like switchQuantaMode) and adapt it to the Pantech by inserting the control message that Adam indicated.
Add a flag variable, a command line flag and a full-text configuration option like "PantechMode" which you can use in your config file.
I'd be willing to make a donation if possible to get this update pushed through. I'm really at wits end. I need to get this working.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
See the new releases of usb_modeswitch and its data package.
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
so I got all super excited to see the update. I installed usb_modeswitch on a freshly installed and updated version of Raspbian Wheezy.Josh wrote:See the new releases of usb_modeswitch and its data package.
Aaaand no bueno.
Code: Select all
USB_ModeSwitch log from Sat Aug 10 03:26:26 UTC 2013
Raw args from udev: /1-1.2.4
Using global config file: /etc/usb_modeswitch.conf
Called by new rules file - remember to check class of first interface ...
Using top device dir /sys/bus/usb/devices/1-1.2.4
Check class of first interface ...
Device is in install mode.
Using interface 1.0
----------------
USB values from sysfs:
manufacturer Pantech, Incorporated
product PANTECH MHS291LVW
serial PTMHS291LVW20041907
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /usr/share/usb_modeswitch/10a9:6080
! matched. Reading config data
config: TargetVendor set to 10a9
config: TargetProduct set to 6085
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -W -D -s 20 -u -1 -b 1 -g 7 -v 10a9 -p 6080 -f $configBuffer
Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are to be expected in the process)
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_devices: Found 007 on 001
usb_os_find_devices: Found 005 on 001
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.5 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x10a9
DefaultProduct= 0x6080
TargetVendor= 0x10a9
TargetProduct= 0x6085
TargetClass= not set
TargetProductList=""
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
QuantaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 001/007 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 10a9:6080
found matching vendor ID
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Skipping the check for the current configuration
Using interface number 0
Ambiguous Class/InterfaceClass: 0xef/0x08
USB description data (for identification)
-------------------------
Manufacturer: Pantech, Incorporated
Product: PANTECH MHS291LVW
Serial No.: PTMHS291LVW20041907
-------------------------
Bus/dev search active, referring success check to wrapper. Bye.
ok:busdev
--------------------------------
(end of usb_modeswitch output)
Checking success of mode switch for max. 20 seconds ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ... Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Reading attributes ...
Target config not matching - current values are
1-1.2.4:1.0/bInterfaceClass: 08
bConfigurationValue: 1
bNumConfigurations: 1
busnum: 1
devnum: 7
idProduct: 6080
idVendor: 10a9
manufacturer: Pantech, Incorporated
product: PANTECH MHS291LVW
serial: PTMHS291LVW20041907
Mode switching may have failed. ExitingRe: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Josh has forgot to update the link on the front page, here the correct dl link:
http://www.draisberghof.de/usb_modeswit ... .7.tar.bz2
http://www.draisberghof.de/usb_modeswit ... .7.tar.bz2
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
I was wondering why the version still showed 1.2.5 XDLOM wrote:Josh has forgot to update the link on the front page, here the correct dl link:
http://www.draisberghof.de/usb_modeswit ... .7.tar.bz2
Thanks, I'ma boot my Pi up and reload it!
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Annnd we're good to go. Pi is set up as a router now thanks to usb_modeswitch and http://qcktech.blogspot.ca/2012/08/rasp ... outer.htmlLOM wrote:Josh has forgot to update the link on the front page, here the correct dl link:
http://www.draisberghof.de/usb_modeswit ... .7.tar.bz2
http://twitpic.com/d23mcj (yes im aware that isnt the pantech in the pic, its my old crappy Novatel)
-Blak
Re: New device: Pantech LTE modem 10a9:6080 -> 10a9:6085
Oops!LOM wrote:Josh has forgot to update the link on the front page
Corrected now.