I saw few similar posts to this but i couldnt solve it.
So my OS is SUSE Linux Enterprise desktop 11 SP2
The situation is as follows:
When i connect my usb modem e1750: i see 'USB Drive' on my computer.
I cant open the usb drive to explore it (that is probably ok , becos there is no micro SD card in it.)
I guess i need to switch it to the other mode (modem mode , application mode or whatever...)
I have downloaded the 2 files manually from this site.
Usb_modeswtich 1 2 5
and
Usb Modeswitch-data 20101109
I probably did not install them right. I unzipped them and tried to run them.
In the end i still have the same situation.
How can i install these files, and how can i see if they are installed.
Sorry but i am a beginner in linux.
[SOLVED]HUAWEI e1750 on SUSE for begginers
Last edited by sedsed on 26 Jan 2013, 20:58, edited 2 times in total.
Re: HUAWEI e1750 on SUSE for begginers
i hope this helps you answer my question:
Code: Select all
linux-cg83:/etc # sudo usb_modeswitch -c usb_modeswitch.conf
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 003 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
SCSI inquiry data (for identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
-> Run lsusb to note any changes. Bye.
linux-cg83:/etc #
Re: HUAWEI e1750 on SUSE for begginers
and i managed somehow to see the Virtual CD-ROM drive which contains the .exe files and so on.
Now the only thing i am missing is the broadband connection on the list of awailable networsk.
I still only can see the wireless networks.
Now the only thing i am missing is the broadband connection on the list of awailable networsk.
I still only can see the wireless networks.
Re: HUAWEI e1750 on SUSE for begginers
i now have usb modeswutch 1.2.3.-2.5.1
and this is the log:
why does it fail now?
and this is the log:
Code: Select all
USB_ModeSwitch log from Sat Jan 26 00:14:46 CET 2013
Raw args from udev: /3-4:1.0
Using global config file: /etc/usb_modeswitch.conf
Using top device dir /sys/bus/usb/devices/3-4
----------------
USB values from sysfs:
manufacturer HUAWEI Technology
product HUAWEI Mobile
serial
----------------
bNumConfigurations is 1 - don't check for active configuration
SCSI attributes not needed, moving on
checking config: /usr/share/usb_modeswitch/12d1:1446
! matched. Reading config data
config: TargetVendor set to 12d1
config: TargetProductList set to 1001,1406,140b,140c,1412,141b,1433,1436,14ac,1506
Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Command to be run:
usb_modeswitch -I -W -D -s 20 -u -1 -b 3 -g 3 -v 12d1 -p 1446 -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 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 004
skipping descriptor 0x30
skipped 1 class/vendor specific endpoint descriptors
usb_os_find_devices: Found 003 on 003
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 19 class/vendor specific interface descriptors
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
USB error: could not get bound driver: No data available
Reading long config from command line
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.2.3 (C) Josua Dietze 2012
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= not set
TargetClass= not set
TargetProductList="1001,1406,140b,140c,1412,141b,1433,1436,14ac,1506"
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
QisdaMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
CiscoMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Use given bus/device number: 003/003 ...
Looking for default devices ...
bus/device number matched
searching devices, found USB ID 12d1:1446
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 first interface: 0x00
Using endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
Sending the message returned error -110. Trying to continue
Resetting response endpoint 0x81
Resetting message endpoint 0x01
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
3-4:1.0/bInterfaceClass: 08
bConfigurationValue: 1
bNumConfigurations: 1
busnum: 3
devnum: 3
idProduct: 1446
idVendor: 12d1
manufacturer: HUAWEI Technology
product: HUAWEI Mobile
serial:
Mode switching may have failed. Exiting
Re: HUAWEI e1750 on SUSE for begginers
Because of this error:
The mode-switching command is not getting through. Error 110 means "time out", no confirmation from the device after one whole second (1000 ms, set in the usb_modeswitch code).
Frankly, I have no idea what could be at the bottom of this. Hardware problems? Driver problems? Timing issues?
You can at least try to check the last item: there is a parameter named "WaitBefore" that you can add to your config file; set it to "3" for a 3-second delay.
Put the customized config file into the folder "/etc/usb_modeswitch.d".
Code: Select all
Trying to send message 1 to endpoint 0x01 ...
Sending the message returned error -110. Trying to continue
Frankly, I have no idea what could be at the bottom of this. Hardware problems? Driver problems? Timing issues?
You can at least try to check the last item: there is a parameter named "WaitBefore" that you can add to your config file; set it to "3" for a 3-second delay.
Put the customized config file into the folder "/etc/usb_modeswitch.d".
Re: HUAWEI e1750 on SUSE for begginers
It works now. Here is what i did:
In the end , since i had version 1.2.3 installed. I decided to overwrite it with the latest 1.2.5 version.
I executed 'make install' in the usb-modeswitch 1.2.5' folder.
I executed 'make install' in the usb-modeswitch-data folder.
After that, my "Software Manager-ZaST' still says i have 1.2.3 installed but it detects and connects to mobile Broadband without problems.
(and yes, i needed "libusb-devel" before i could install usb_modeswitch 1.2.3.
i found libusb-devel on the novell web site. In fact its contained in the SUSE Linux Enterprise Desktop SDK iso FIle.
Here is the link :
http://download.novell.com/protected/Su ... gW3ToaagDQ~
)
Now i have minor problems when i switch users, my "Network connections" Icon dissapears of the task bar.. Its only present for one user (e.g root user).
I have to restart the computer , and the firs user i log on gets he Network connections icon. The other doesnt.
So for all Huawei e1750 users : Just install the latest version and it should work.
Thanks Josh.
In the end , since i had version 1.2.3 installed. I decided to overwrite it with the latest 1.2.5 version.
I executed 'make install' in the usb-modeswitch 1.2.5' folder.
I executed 'make install' in the usb-modeswitch-data folder.
After that, my "Software Manager-ZaST' still says i have 1.2.3 installed but it detects and connects to mobile Broadband without problems.
(and yes, i needed "libusb-devel" before i could install usb_modeswitch 1.2.3.
i found libusb-devel on the novell web site. In fact its contained in the SUSE Linux Enterprise Desktop SDK iso FIle.
Here is the link :
http://download.novell.com/protected/Su ... gW3ToaagDQ~
)
Now i have minor problems when i switch users, my "Network connections" Icon dissapears of the task bar.. Its only present for one user (e.g root user).
I have to restart the computer , and the firs user i log on gets he Network connections icon. The other doesnt.
So for all Huawei e1750 users : Just install the latest version and it should work.
Thanks Josh.