Autor Thema: UMTS-Surfstick von Klarmobil XSStick P14  (Gelesen 3621 mal)

0 Nutzer und 1 Gast betrachten dieses Thema.

Offline gs

  • Tester
  • *
  • Beiträge: 116
UMTS-Surfstick von Klarmobil XSStick P14
« am: 08.06.2011, 00:11:18 »
habe og. Stick bekommen und erbitte Hilfe.
Forumsuche hat nicht wirklich weitergeholfen.
Der Stick hat die ID 1c9e:f000 und dmesg sagt:

usb 2-2.2: new high speed USB device using ehci_hcd and address 6
usb 2-2.2: New USB device found, idVendor=1c9e, idProduct=f000
usb 2-2.2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 2-2.2: Product: USB Modem
usb 2-2.2: Manufacturer: USB Modem
usb 2-2.2: SerialNumber: 1234567890ABCDEF
usb 2-2.2: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
scsi 4:0:0:0: CD-ROM            USBModem Disk             2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
sr 4:0:0:0: Attached scsi CD-ROM sr0
sr 4:0:0:0: Attached scsi generic sg1 type 5
usb-storage: device scan complete

wvdial bringt:
WvDial: Internet dialer version 1.61
--> Cannot open /dev/sg1: Invalid argument
--> Cannot open /dev/sg1: Invalid argument
--> Cannot open /dev/sg1: Invalid argument

Wird das Device mit Fluxflux funktionieren und wenn ja, wie soll ich vorgehen?
Danke schon mal fürs Helfen?

PS: Für Windows und MacOS 10.5 sind Treiber auf dem Stick.....

Online kgha

  • Global Moderator
  • *****
  • Beiträge: 501
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #1 am: 08.06.2011, 09:06:09 »
My guess is that the stick is so new that your usb_modeswitch config file doesn't include it and therefore cánnot switch it from storage to modem. You could try building a new usb_modswitch package with Slackbuild: http://slackbuilds.org/repository/13.0/system/usb_modeswitch/
Just make sure that you get the latest source file (1.1.7) and edit the build script so that the version number is correct. Latest source file can be obtained from http://www.draisberghof.de/usb_modeswitch/
It's also possible to edit the config file manually. The relevant entries for your stick seems to be the ones given in the last post of this thread:
http://ubuntuforums.org/archive/index.php/t-1519481.html
"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”

Online kgha

  • Global Moderator
  • *****
  • Beiträge: 501
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #2 am: 09.06.2011, 10:57:31 »
Having time to take a second look I notice that the usb_modeswitch version in ff2011 contains the data for MBD-200HU and if the post I found on the ubuntu forum this is the same as your stick.

You state a wvdial error message. Do you start wvdial directly? What happens when you run the umts-connect script - either from the start menu or from terminal with 'sudo umts-connect'? The latter might be preferable since it will give you error messages if something doesn't work.

After choosing "UMTS-Modem (USB/PCMCIA/Express34) you should get the message "Kein UMTS-Modem gefunden - Starte usb_modeswitch nach Klick auf 'ok'". Click 'ok' - what happens next?

"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”

Offline gs

  • Tester
  • *
  • Beiträge: 116
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #3 am: 09.06.2011, 18:46:29 »
I did a fresh install of fluxflux 2011.1c, since I had fiddled around quite a bit trying to get this stick working.
So now I have answers to your questions.
gsfluxsda3@fluxflux: ~ $ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
gsfluxsda3@fluxflux: ~ $ sudo umts-connect
/bin/ls: cannot access /dev/ttyUSB*: Datei oder Verzeichnis nicht gefunden
/bin/ls: cannot access /dev/ttyACM*: Datei oder Verzeichnis nicht gefunden
/bin/ls: cannot access /dev/ttyUSB*: Datei oder Verzeichnis nicht gefunden
/bin/ls: cannot access /dev/ttyACM*: Datei oder Verzeichnis nicht gefunden
manager.c:318 (main) Error getting uid for halevt: Erfolg

After starting usb_modeswitch there comes a little window telling that modeswith is looking for the modem- and after quite some time this window closes saying that no modem has been found.

The problem appears to be that the stick is primarily recognized as disk containing the installation software for windows and MacOs - therefore the entries in dmesg I mentioned above.
In Kanotix, which is the distro I am most familiar with, there is a little programm called KnetworkManager, and this is successfull in recognizing the stick as modem (/dev/ttyusb1) and connecting with the internet.

I had tried to play with the wvdial.conf to no avail.
The entries in /etc/usb_modeswitch.d for 1c93:f000 are identical in fluxflux and in kanotix and the modeswitching presently only works in the latter distro.

I shall keep on trying.....and thank your for helpful comments.

Online kgha

  • Global Moderator
  • *****
  • Beiträge: 501
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #4 am: 09.06.2011, 19:20:48 »
Mith my own USB moden (Huawei E1750) I get the same wvdial reply:
kgha@fluxflux: ~ $ wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
--> Cannot open /dev/ttyUSB0: No such file or directory
sudo umts-connect first gives me:
kgha@fluxflux: ~ $ sudo umts-connect
/bin/ls: cannot access /dev/ttyUSB*: No such file or directory
/bin/ls: cannot access /dev/ttyACM*: No such file or directory
But when I click 'OK' to start usb_modeswitch things begin to happen:
Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found default devices (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

Received inquiry data (detailed identification)
-------------------------
  Vendor String: HUAWEI  
   Model String: Mass Storage    
Revision String: 2.31
-------------------------

Device description data (identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
 OK, message successfully sent
 Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
 Original device is gone already, not checking
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
 Found correct target device

Mode switch succeeded. Bye.

I would expect this process to start for you, even if it could end with 'no target device found'. I guess that the following line in your terminal is the crucial one:
manager.c:318 (main) Error getting uid for halevt: ErfolgIt seems as there is some kind of problem with 'user identification' (uid), but I have no idea why it occurs. Hopefully Manfred or Flux (who is something of a USB Modem expert) have suggestions for a solution.



« Letzte Änderung: 09.06.2011, 19:22:23 von kgha »
"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”

Offline gs

  • Tester
  • *
  • Beiträge: 116
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #5 am: 09.06.2011, 23:18:09 »
Following your post I made some progress. I added some groups, rather "blindly": netdev,tty,dialout,plugdev and now the output of umts-connect looks better:

gsfluxsda3@fluxflux: ~ $ sudo umts-connect
/bin/ls: cannot access /dev/ttyUSB*: Datei oder Verzeichnis nicht gefunden
/bin/ls: cannot access /dev/ttyACM*: Datei oder Verzeichnis nicht gefunden

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found devices in default mode or class (1)
Accessing device 004 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("dummy")
 OK, driver "dummy" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: USBModem
   Model String: Disk           
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: USB Modem
     Product: USB Modem
  Serial No.: 1234567890ABCDEF
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
 Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
 Original device is gone already, not checking
 Searching for target devices ...
 Searching for target devices ...
 Searching for target devices ...
Error: could not get description string "manufacturer"
Error: could not get description string "product"
Error: could not get description string "serial number"
 Found correct target device

Mode switch succeeded. Bye.

/bin/ls: cannot access /dev/ttyUSB*: Datei oder Verzeichnis nicht gefunden
/bin/ls: cannot access /dev/ttyACM*: Datei oder Verzeichnis nicht gefunden
manager.c:318 (main) Error getting uid for halevt: Erfolg

But still the LEDs of the stick remain inactive and no internet is available ???

Online kgha

  • Global Moderator
  • *****
  • Beiträge: 501
Re: UMTS-Surfstick von Klarmobil XSStick P14
« Antwort #6 am: 10.06.2011, 15:10:11 »
A big step forward, it seems as if the switch works so that the stick is now recognized as a modem :)
But the uid/halevt error remains and I guess this is the reason why the process halts. Hopefully Manfred has an idea, he's a halevt pro...
"Ubuntu": an African word, meaning "Slackware is soooo difficult"
------------------------------------------------------------------------------------------
„Ubuntu”: ein afrikanisches Wort, das bedeutet „Slackware ist soooo schwer”