Hallo, Mal wieder ein Wochenenede, für einen Freund damit verbracht, ein UMTS STICK ans laufen zu bekommen. Nun weiss ich nicht mehr weiter und benötige Euren Rat.
uname -a
Linux 3.5.0-47-generic #71~precise1-Ubuntu SMP Wed Feb 19 22:05:41 UTC 2014 i686 i686 i386 GNU/Linux
lsmod
Module Size Used by usbserial 36910 0 rfcomm 38104 0 bnep 17791 2 parport_pc 32115 0 ppdev 12850 0 bluetooth 189742 10 rfcomm,bnep joydev 17394 0 snd_hda_codec_si3054 12865 1 snd_hda_codec_realtek 64997 1 coretemp 13362 0 microcode 18396 0 snd_hda_intel 32983 3 snd_hda_codec 116477 3 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 13277 1 snd_hda_codec snd_pcm 81124 3 snd_hda_codec_si3054,snd_hda_intel,snd_hda_codec snd_seq_midi 13133 0 lpc_ich 16993 0 snd_rawmidi 25426 1 snd_seq_midi snd_seq_midi_event 14476 1 snd_seq_midi snd_seq 51594 2 snd_seq_midi,snd_seq_midi_event uvcvideo 72249 0 videobuf2_core 32212 1 uvcvideo videodev 100265 2 uvcvideo,videobuf2_core videobuf2_vmalloc 12757 1 uvcvideo videobuf2_memops 13213 1 videobuf2_vmalloc psmouse 91408 0 r852 17906 0 sm_common 16773 1 r852 r592 17809 0 nand 49703 2 r852,sm_common serio_raw 13032 0 nand_ids 8548 1 nand mtd 38671 2 sm_common,nand nand_bch 13004 1 nand bch 21768 1 nand_bch snd_timer 28932 2 snd_pcm,snd_seq nand_ecc 13106 1 nand arc4 12474 2 i915 479527 3 memstick 15886 1 r592 snd_seq_device 14138 3 snd_seq_midi,snd_rawmidi,snd_seq drm_kms_helper 47459 1 i915 drm 240443 4 i915,drm_kms_helper i2c_algo_bit 13317 1 i915 iwl3945 64717 0 iwlegacy 88440 1 iwl3945 mac80211 475584 2 iwl3945,iwlegacy snd 62675 16 snd_hda_codec_si3054,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device asus_laptop 23987 0 sparse_keymap 13659 1 asus_laptop input_polldev 13649 1 asus_laptop mac_hid 13078 0 cfg80211 181041 3 iwl3945,iwlegacy,mac80211 video 19117 1 i915 soundcore 14636 1 snd snd_page_alloc 14109 2 snd_hda_intel,snd_pcm lp 17456 0 parport 40931 3 parport_pc,ppdev,lp firewire_ohci 36110 0 sdhci_pci 18263 0 sdhci 32293 1 sdhci_pci firewire_core 61957 1 firewire_ohci crc_itu_t 12628 1 firewire_core r8169 56828 0 usb_storage 39720 0
usb-devices
T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1c9e ProdID=98ff Rev=00.00 S: Manufacturer=USB Modem S: Product=USB Modem S: SerialNumber=1234567890ABCDEF C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usbserial_generic I: If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
lsusb
Bus 001 Device 006: ID 1c9e:98ff OMEGA TECHNOLOGY Bus 001 Device 003: ID 04f2:b012 Chicony Electronics Co., Ltd 1.3 MPixel UVC Webcam Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux
lsusb | grep -i 1c9e
Bus 001 Device 006: ID 1c9e:98ff OMEGA TECHNOLOGY
lsmod | grep usbserial
usbserial 36910 0
s /dev/ | grep ttyUSB
ttyUSB0
Eintrag in 40-usb_modeswitch.rules
ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="98ff", \ RUN+="/usr/bin/logger Beginn W21 Verarbeitung.", \ RUN+="/bin/sleep 5", \ RUN+="/usr/sbin/usb_modeswitch", \ RUN+="/bin/sleep 5", \ RUN+="/sbin/modprobe -r option", \ RUN+="/bin/sleep 1", \ RUN+="/sbin/modprobe usbserial vendor=0x1c9e product=0x98ff", \ RUN+="/usr/bin/logger Ende W21 Verarbeitung."
sudo modprobe option
echo "1c9e 98ff" | sudo tee /sys/bus/usb-serial/drivers/option1/new_id
1c9e 98ff
usb-devices
T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=01 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1c9e ProdID=98ff Rev=00.00 S: Manufacturer=USB Modem S: Product=USB Modem S: SerialNumber=1234567890ABCDEF C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=option I: If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
sudo usb_modeswitch -v 1c9e -p 98ff -M '55534243123456780000000080000606f50402527000000000000000000000'
Looking for default devices ... found matching product ID adding device Found device in default mode, class or configuration (1) Accessing device 004 on bus 001 ... Getting the current device configuration ... OK, got current device configuration (1) Using first interface: 0x00 Using endpoints 0x01 (out) and 0x81 (in) Inquiring device details; driver will be detached ... Looking for active driver ... OK, driver found ("option") OK, driver "option" detached ohne Prompt
😬