Instalacja Huawei E173 U-2

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Pryk
Posty: 20
Rejestracja: 29 lipca 2009, 19:20

Instalacja Huawei E173 U-2

Post autor: Pryk »

Witam.
Znów muszę zasięgnąć Waszej rady. Nie radzę sobie z instalacją modemu.

Kod: Zaznacz cały

Bus 007 Device 002: ID 04f2:b083 Chicony Electronics Co., Ltd 
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Kod: Zaznacz cały

 sudo /usr/sbin/usb_modeswitch -W -c /etc/usb_modeswitch.conf
zwraca:

Kod: Zaznacz cały

 * usb_modeswitch: tool for controlling "flip flop" mode USB devices
 * Version 0.9.4 (C) Josua Dietze 2008
 * Works with libusb 0.1.12 and probably other versions

DefaultVendor=0x12d1
DefaultProduct=0x1c0b
TargetVendor=0x12d1
TargetProduct=0x1c23
TargetClass=0x0
DetachStorageOnly=0
HuaweiMode=0
MessageEndpoint=0xf
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint=0x0

Looking for target devices
 No target device found
Looking for default devices
 No default device found. Is it connected? Bye
Dałem w

Kod: Zaznacz cały

/etc/udev/rules.d/40-usb_modeswitch.rules
[HTML]#Huawei E173s
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
[/HTML]

Kod: Zaznacz cały

ls /dev

Kod: Zaznacz cały

audio         full      MAKEDEV          ram12   scd0      sg3        tty13  tty28  tty42  tty57      usbdev1.1_ep00  usbdev6.1_ep81  vcsa3
block         fuse      mem              ram13   scd1      shm        tty14  tty29  tty43  tty58      usbdev1.1_ep81  usbdev6.2_ep00  vcsa4
bsg         hpet      mixer              ram14   sda      snapshot  tty15  tty3   tty44  tty59      usbdev2.1_ep00  usbdev6.2_ep83  vcsa5
bus         initctl  net              ram15   sda1      snd        tty16  tty30  tty45  tty6      usbdev2.1_ep81  usbdev7.1_ep00  vcsa6
cdrom         input      network_latency     ram2    sda2      sndstat   tty17  tty31  tty46  tty60      usbdev3.1_ep00  usbdev7.1_ep81  vcsa7
cdrw         kmem      network_throughput  ram3    sda5      sr0        tty18  tty32  tty47  tty61      usbdev3.1_ep81  vcs          video0
char         kmsg      null              ram4    sda6      sr1        tty19  tty33  tty48  tty62      usbdev3.3_ep00  vcs1          xconsole
console         log      port              ram5    sda7      stderr    tty2   tty34  tty49  tty63      usbdev3.3_ep01  vcs2          zero
core         loop0      ppp              ram6    sda8      stdin     tty20  tty35  tty5     tty7      usbdev3.3_ep02  vcs3
cpu_dma_latency  loop1      psaux              ram7    sda9      stdout    tty21  tty36  tty50  tty8      usbdev3.3_ep81  vcs4
disk         loop2      ptmx              ram8    sdb      tty        tty22  tty37  tty51  tty9      usbdev3.3_ep82  vcs5
dri         loop3      pts              ram9    sequencer   tty0        tty23  tty38  tty52  ttyS0      usbdev4.1_ep00  vcs6
dsp         loop4      ram0              random  sequencer2  tty1        tty24  tty39  tty53  ttyS1      usbdev4.1_ep81  vcs7
dvd         loop5      ram1              root    sg0      tty10     tty25  tty4   tty54  ttyS2      usbdev5.1_ep00  vcsa
dvdrw         loop6      ram10              rtc     sg1      tty11     tty26  tty40  tty55  ttyS3      usbdev5.1_ep81  vcsa1
fd         loop7      ram11              rtc0    sg2      tty12     tty27  tty41  tty56  urandom  usbdev6.1_ep00  vcsa2

Kod: Zaznacz cały

ls /dev/ttyU*

Kod: Zaznacz cały

ls: nie ma dostępu do /dev/ttyU*: Nie ma takiego pliku ani katalogu
Przerabiałem rożne poradniki ale bez sukcesu
Pijo
Posty: 3
Rejestracja: 31 grudnia 2008, 20:17

Post autor: Pijo »

Pryk
Posty: 20
Rejestracja: 29 lipca 2009, 19:20

Post autor: Pryk »

Dziękuję za odpowiedź.
U mnie to nie działa. Mój Debian to 5.0.6
Nie mogę zainstalować modemmanager.

I
nformacja:

Kod: Zaznacz cały

Error: Dependency is not satisfable: libdbus-glib-1-2

 
libdbus-glib-1-2 też nie mogę zainstalować, bo wymaga paczki, która również nie działa.

Ps. Wcześniej miałem zainstalowany modem Huawei 160G i działał poprawnie, teraz zmieniłem na E173.

Dodane:
Dalsze informacje.

Kod: Zaznacz cały

/usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1:1446
Zwraca

Kod: Zaznacz cały

Reading config file: /etc/usb_modeswitch.d/12d1:1446

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.8 (C) Josua Dietze 2011
 * 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,14ac"

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
MessageEndpoint=  not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
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 001 on 002
usb_os_find_devices: Found 001 on 001

Looking for target devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:1446
   found matching vendor ID
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 No devices in target mode or class found
Looking for default devices ...
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:1446
   found matching vendor ID
   found matching product ID
   adding device
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Found devices in default mode, class or configuration (1)
Accessing device 003 on bus 003 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
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 ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 Device seems to have vanished right after sending. Good.
 Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
 Searching for target devices ...
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
 Searching for target devices ...
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 004 on 003
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 04f2:b083
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 12d1:140c
   found matching vendo ID
   found matching product ID from list
  searching devices, found USB ID 1d6b:0002
  searching devices, found USB ID 1d6b:0001
  searching devices, found USB ID 1d6b:0001

Found target device, now opening

Found target device 004 on bus 003

Target device description data
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
 Found correct target device

Mode switch succeeded. Bye.

Kod: Zaznacz cały

usb_modeswitch -W
Zwraca

Kod: Zaznacz cały


 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.1.8 (C) Josua Dietze 2011
 * Based on libusb0 (0.1.12 and above)

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  not set
DefaultProduct= not set
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
SequansMode=0
MobileActionMode=0
MessageEndpoint=  not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
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 007
usb_os_find_devices: Found 002 on 006
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 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 006
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 004 on 003
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
No default vendor/product ID given. Aborting.
ODPOWIEDZ