Ahoj,
mam modem APE-540h od O2, moc se mu nechce spolupracovat. zkusil jsem dle:
http://www.abclinuxu.cz/hardware/pripojeni-na-sit/cdma-umts/ape-540h ale to nejde.vrátil jsem tedy změn a zkouším jinak
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:b257 Chicony Electronics Co., Ltd
Bus 001 Device 014: ID 05c6:6503 Qualcomm, Inc. AnyData APE-540H
Bus 002 Device 003: ID 147e:1002 Upek
dmesg
[ 5020.667919] usb 1-1.6: new full-speed USB device number 15 using ehci_hcd
[ 5020.763359] scsi17 : usb-storage 1-1.6:1.0
[ 5021.765266] scsi 17:0:0:0: CD-ROM AnyDATA CD-ROM 1.00 PQ: 0 ANSI: 2
[ 5021.772486] sr1: scsi3-mmc drive: 0x/0x caddy
[ 5021.772808] sr 17:0:0:0: Attached scsi CD-ROM sr1
[ 5021.773396] sr 17:0:0:0: Attached scsi generic sg2 type 5
[ 5021.878006] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[ 5021.878040] sr: Sense Key : Hardware Error [current]
[ 5021.878051] sr: Add. Sense: No additional sense information
takže zkoušim usb_modeswitch
sudo usb_modeswitch -v 0x05c6 -p 0x6503 -T 0x16d5 -P 0x6502 -m 0x08 -M 5553424328932a86000000000000061b000000020000000000000000000000
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 015 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Using endpoints 0x08 (out) and 0x87 (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: AnyDATA
Model String: CD-ROM
Revision String: 1.00
-------------------------
USB description data (for identification)
-------------------------
Manufacturer: AnyDATA Corporation
Product: USB MMC Storage
Serial No.: 000000000002
-------------------------
Looking for active driver ...
No driver found. Either detached before or never attached
Sending Kobil control message ...
Error: sending Kobil control message failed (error -32). Aborting.
nechapu tu "Kobil control message" nicméně modem vytahuji a vracím.
lsusb už ukazuje modem
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 04f2:b257 Chicony Electronics Co., Ltd
Bus 001 Device 017: ID 16d5:6502 AnyDATA Corporation CDMA/UMTS/GPRS modem
Bus 002 Device 003: ID 147e:1002 Upek
vytvořily se 3 USB, dál už je to známá pohádka o konfiguraci PPP
ALE:
když jsem se díval do /lib/udev/rules.d/40-usb_modeswitch.rules tak tam jsem ten modem už viděl se správným ID tak proč ho to nepoznalo (nepřepnulo) rovnou ? no a jak to teď zaonačit abych to nemusel dělat pořád růčo ?