Опубликовано 30.03.2010 21:56 · Жалоба Помогло полностью! Единственно ругается на меня. Видимо за то что я не ввел инфо про используемый телефон(смартфон). Но в итоге сдается и показывает. Можеть и не надо ничего вводить, про некоторые Nokia. если у вас GPRS через /dev/ttyACM0, то вводить ничего не нужно, типа USB_MODEM в pgi.conf Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 04:33 (изменено) · Жалоба Ребята у меня тоже работает.Huawei E1550:/dev/ttiUSB0,921600,12d1:1003 # Huawei E1550 DefaultVendor= 0x12d1 DefaultProduct= 0x1446 TargetVendor= 0x12d1 TargetProduct= 0x1001 # only for reference and 0.x versions # MessageEndpoint=0x01 MessageContent="55534243123456780000000000000011060000000000000000000000000000" Спасибо дядя Фёдор,с меня пиво.Только забыл снимать лог,давно не пользовался(tray sislog) Изменено 31.03.2010 13:07 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 08:56 · Жалоба Ребята у меня тоже работает.Huawei E1550:/dev/ttiUSB0,921600,12d1:1003Не могли бы вы более подробно описать как именно вам удалось подключить Huawei E1550.Если можно с готвыми конфигами как это сделал "mika71" на примере ZTE 626.Думаю эта информация будет интересна многим, потому как эта модель модемов наиболее распространена. Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 11:21 · Жалоба Шаблон делайте как mika71, спасибо ему,настройки ставте свой(от оператора связи).Остальные данные выше написал.Ставте по своим местам и всё.Удачи. Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 13:13 (изменено) · Жалоба дядя Фёдор Спасибо. Я так понял, что в скриптах пустить usb_modeswitch по правильному пути, не получится? Будьте добры, попробуйте отредактировать файл /var/etc/usb_modeswitch.d/12d1:1446 Поменяйте строку: TargetProductList="1001,1406,140c,14ac" На TargetProduct= 0x1001 И запустите еще раз вручную, как описано здесь. Покажите лог команды usb_modeswitch Изменено 31.03.2010 13:14 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 13:20 (изменено) · Жалоба Ребята, подскажите у меня мобильный провайдер velcom требуется логин и пароль вводить, а куда? # GPRS Chat File, contains all parameters that /usr/sbin/chat will pass to the modem to create the GPRS connection # # # Abort Strings 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO ANSWER' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' 'TIMEOUT' '10' # # Modem Init '' 'ATZ' # # 'OK' 'ATM1L1' # # "internet" represents Vodafone's APN, whereas "general.t-mobile.uk" is T-mobiles UK APN address 'OK' 'AT&f+cgdcont=1,"IP","web1.velcom.by","",0,0' 'OK' 'ATDT*99***1#' 'CONNECT' '' Изменено 31.03.2010 13:40 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 13:38 · Жалоба Ребята, подскажите у меня мобильный провайдер velcom требуется логин и пароль вводить, а куда?Логин и пароль прописывается в файле /var/etc/ppp/chap-secrets *login * "password" * Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 13:40 · Жалоба Логин и пароль прописывается в файле /var/etc/ppp/chap-secrets *login * "password" * нет. логин прописывается в peer файле... а вот пароль - в chap-secrets http://tldp.org/LDP/nag/node121.html Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 14:59 · Жалоба Будьте добры, попробуйте отредактировать файл /var/etc/usb_modeswitch.d/12d1:1446 .... Покажите лог команды usb_modeswitch Вот лог: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.03.31 17:50:08 =~=~=~=~=~=~=~=~=~=~=~=Welcome to Cuberevocuberevo login: rootPassword: [PGI ~]$ /usr/sbin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446Reading config file: /var/etc/usb_modeswitch.d/12d1:1446 * usb-modeswitch: handle USB devices with multiple modes * Version 1.1.1 © Josua Dietze 2010 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS !DefaultVendor= 0x12d1DefaultProduct= 0x1446TargetVendor= 0x12d1TargetProduct= 0x1001TargetClass= not setDetachStorageOnly=0HuaweiMode=0SierraMode=0SonyMode=0GCTMode=0MessageEndpoint= not setMessageContent="55534243123456780000000000000011060000000000000000000000000000"NeedResponse=0ResponseEndpoint= not setInterface=0x00InquireDevice disabledSuccess check enabled, max. wait time 20 secondsSystem integration mode enabledusb_set_debug: Setting debugging level to 15 (on)usb_os_find_busses: Found 002usb_os_find_busses: Found 001usb_os_find_busses: Skipping non bus directory devicesusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 002 on 001usb_os_find_devices: Found 001 on 001Looking for target devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID searching devices, found USB ID 0000:0000 No devices in target mode or class foundLooking for default devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID found matching product ID adding device searching devices, found USB ID 0000:0000 Found devices in default mode or class (1)Accessing device 033 on bus 001 ...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" detachedSetting up communication with interface 0 ...Trying to send the message to endpoint 0x01 ... OK, message successfully sentUSB error: could not clear/halt ep 1: Protocol error Device is gone, skipping any further commandsChecking for mode switch (max. 20 times, once per second) ... Original device is gone already, not checking Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID adding device busnum/devnum indicates an unrelated device searching devices, found USB ID 0000:0000 No new devices in target mode or class foundMode switch has failed. Bye.fail:[PGI ~]$ lsusbBus 002 Device 001: ID 0000:0000 Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB ModemBus 001 Device 001: ID 0000:0000 [PGI ~]$ Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 15:05 · Жалоба Вот лог: Спасибо за тест! Это прогресс.. похоже я нашел в чем проблема. Попробуйте вот эту версию usb_modeswitch, c оригинальным файлом rules, в котором TargetProductList="1001,1406,140c,14ac" (я знаю, что не заработает, но я включил отладочный код) usb_modeswitch.zip Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 15:13 · Жалоба нет. логин прописывается в peer файле... http://tldp.org/LDP/nag/node121.html Параметр "user" ? Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 15:26 · Жалоба Спасибо за тест! Это прогресс.. похоже я нашел в чем проблема. Попробуйте вот эту версию usb_modeswitch, c оригинальным файлом rules, в котором TargetProductList="1001,1406,140c,14ac" (я знаю, что не заработает, но я включил отладочный код) Вроде заработало, но /usr/sbin/ - Read Only запустил отсюда /var/bin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446 =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.03.31 18:20:05 =~=~=~=~=~=~=~=~=~=~=~=Welcome to Cuberevocuberevo login: rootPassword: [PGI ~]$ /var/bin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446Reading config file: /var/etc/usb_modeswitch.d/12d1:1446 * usb-modeswitch: handle USB devices with multiple modes * Version 1.1.1 © Josua Dietze 2010 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS !DefaultVendor= 0x12d1DefaultProduct= 0x1446TargetVendor= 0x12d1TargetProduct= not setTargetProductList=1001,1406,140c,14acTargetClass= not setDetachStorageOnly=0HuaweiMode=0SierraMode=0SonyMode=0GCTMode=0MessageEndpoint= not setMessageContent="55534243123456780000000000000011060000000000000000000000000000"NeedResponse=0ResponseEndpoint= not setInterface=0x00InquireDevice disabledSuccess check enabled, max. wait time 20 secondsSystem integration mode enabledusb_set_debug: Setting debugging level to 15 (on)usb_os_find_busses: Found 002usb_os_find_busses: Found 001usb_os_find_busses: Skipping non bus directory devicesusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 002 on 001usb_os_find_devices: Found 001 on 001error obtaining child information: Inappropriate ioctl for deviceLooking for target devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID searching devices, found USB ID 0000:0000 No devices in target mode or class foundLooking for default devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID found matching product ID adding device searching devices, found USB ID 0000:0000 Found devices in default mode or class (1)Accessing device 002 on bus 001 ...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" detachedSetting up communication with interface 0 ...Trying to send the message to endpoint 0x01 ... OK, message successfully sentUSB error: could not clear/halt ep 1: Protocol error Device is gone, skipping any further commandsChecking for mode switch (max. 20 times, once per second) ... Original device is gone already, not checking Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001error obtaining child information: Inappropriate ioctl for device searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list>>>>> dev->devnum = [003] and devnum = [002] >>>>> busnum = [1] and dev->bus->dirname = [1] >>>>> Hello, sailor! searching devices, found USB ID 0000:0000Found target device 003 on bus 001Target device description data-------------------------Manufacturer: HUAWEI Technology Product: HUAWEI Mobile Serial No.: not provided------------------------- Found correct target deviceMode switch succeeded. Bye.ok:12d1:1001[PGI ~]$ Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 15:50 · Жалоба Параметр "user" ? да Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 16:14 (изменено) · Жалоба Вроде заработало, но Брррррррр....... ничего не понимаю.... Я только добавил отладочный для вывода значений переменных на экран. Как это так... Не должно ведь было заработать.... Попробуйте несколько раз. Уберите USB_MODEM из pgi.conf, чтобы модем не инициализировался при начальной загрузке. А еще лучше, переименуйте /var/etc/usb_modeswitch.rules во что-нибудь другое... После этого несколько раз попробуйте перегружать ресивер и вручную запускать как сделали в последнем посте. Может какая-то случайность была? И через раз работает? Не понимаю, пока, что происходит. Изменено 31.03.2010 16:14 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 16:36 · Жалоба нет. логин прописывается в peer файле... а вот пароль - в chap-secrets http://tldp.org/LDP/nag/node121.html пароль я нашел, а вот логин неа, ткните плиз носом.. Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 18:00 (изменено) · Жалоба #this file contains all the parameters pppd will pass to the modem to establish the GPRS connection # # The user and password has been commented out becasue the "noauth" command is being used [b]#user web[/b] #password web # # This places a default route in the routing table with the peer as the gateway defaultroute.... дядя Фёдор вот этот user? Изменено 31.03.2010 18:01 пользователем sikor Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 18:13 (изменено) · Жалоба дядя Фёдор вот этот user? да и между прочим, вся эта информация есть в NETWORK_ru.txt Изменено 31.03.2010 18:14 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 18:50 · Жалоба Как это так... Не должно ведь было заработать.... Попробуйте несколько раз. Уберите USB_MODEM из pgi.conf, чтобы модем не инициализировался при начальной загрузке. А еще лучше, переименуйте /var/etc/usb_modeswitch.rules во что-нибудь другое... USB_MODEM из pgi.conf я убрал еще раньше. Все остальное попробую завтра утром - ресивер на работе. Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 20:48 (изменено) · Жалоба вот что уменя получилось +++ dvb_ca_en50221_thread : 1226 Vendor: HUAWEI Model: Mass Storage Rev: 2.31 Type: CD-ROM ANSI SCSI revision: 02 Vendor: HUAWEI Model: MMC Storage Rev: 2.31 Type: Direct-Access ANSI SCSI revision: 02 usb-storage: device scan complete sd 7:0:0:0: Attached scsi removable disk sdb usb-storage: device scan complete Изменено 31.03.2010 20:57 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 20:57 · Жалоба вот что уменя получилось тут до "получилось" еще далеко... если это все что у Вас получилось.. ;) Вы какие шаги сделаи? Какое устройство? Что у вас в pgi.conf? Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 21:23 (изменено) · Жалоба вот лог: [PGI ~]$ lsusb Bus 002 Device 001: ID 0000:0000 Bus 001 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem Bus 001 Device 001: ID 0000:0000 в pgi прописал USB_MODEM="12d1:1003" после презагрузка #dmesg и тишина... Изменено 31.03.2010 23:46 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 31.03.2010 23:49 (изменено) · Жалоба в pgi прописал USB_MODEM="12d1:1003" Это пока что единственное, что Вы сделали правильно. А логи не те, что нужно. Перезагрузите ресивер и покажите содержимое лога /tmp/usb_modem.*.log И учитесь пользоваться кнопкой "КОД" слева от окна ввода сообщения на форуме, когда постите длинные логи. Изменено 31.03.2010 23:50 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 05:01 · Жалоба Спасибо дядя Фёдор устройство E156G Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 06:09 · Жалоба Попробуйте несколько раз. Уберите USB_MODEM из pgi.conf, чтобы модем не инициализировался при начальной загрузке. А еще лучше, переименуйте /var/etc/usb_modeswitch.rules во что-нибудь другое... usb_modeswitch.rules - убрал совсем USB_MODEM из pgi.conf закоментарил решеткой запускал 5 раз измененный /varr/bin/usb_modeswitch и всегда получал одинаковый результат с определением модема =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.04.01 08:48:17 =~=~=~=~=~=~=~=~=~=~=~=Welcome to Cuberevocuberevo login: rootPassword: [PGI ~]$ /var/bin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446Reading config file: /var/etc/usb_modeswitch.d/12d1:1446 * usb-modeswitch: handle USB devices with multiple modes * Version 1.1.1 © Josua Dietze 2010 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS !DefaultVendor= 0x12d1DefaultProduct= 0x1446TargetVendor= 0x12d1TargetProduct= not setTargetProductList=1001,1406,140c,14acTargetClass= not setDetachStorageOnly=0HuaweiMode=0SierraMode=0SonyMode=0GCTMode=0MessageEndpoint= not setMessageContent="55534243123456780000000000000011060000000000000000000000000000"NeedResponse=0ResponseEndpoint= not setInterface=0x00InquireDevice disabledSuccess check enabled, max. wait time 20 secondsSystem integration mode enabledusb_set_debug: Setting debugging level to 15 (on)usb_os_find_busses: Found 002usb_os_find_busses: Found 001usb_os_find_busses: Skipping non bus directory devicesusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 002 on 001usb_os_find_devices: Found 001 on 001error obtaining child information: Inappropriate ioctl for deviceLooking for target devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID searching devices, found USB ID 0000:0000 No devices in target mode or class foundLooking for default devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID found matching product ID adding device searching devices, found USB ID 0000:0000 Found devices in default mode or class (1)Accessing device 002 on bus 001 ...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" detachedSetting up communication with interface 0 ...Trying to send the message to endpoint 0x01 ... OK, message successfully sentUSB error: could not clear/halt ep 1: Protocol error Device is gone, skipping any further commandsChecking for mode switch (max. 20 times, once per second) ... Original device is gone already, not checking Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001error obtaining child information: Inappropriate ioctl for device searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list>>>>> dev->devnum = [003] and devnum = [002] >>>>> busnum = [1] and dev->bus->dirname = [1] >>>>> Hello, sailor! searching devices, found USB ID 0000:0000Found target device 003 on bus 001Target device description data-------------------------Manufacturer: HUAWEI Technology Product: HUAWEI Mobile Serial No.: not provided------------------------- Found correct target deviceMode switch succeeded. Bye.ok:12d1:1001[PGI ~]$ ресивер всегда выключаю через полное выключение. пробовал вставлять модем после запуска ресивера и пробовал включать ресивер с уже вставленным модемом. результат одинаков. Запустил два раза и отсюда /usr/sbin/usb_modeswitch (со старой версией) как обычно получил ошибку =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.04.01 08:40:53 =~=~=~=~=~=~=~=~=~=~=~=Welcome to Cuberevocuberevo login: rootPassword: [PGI ~]$ /usr/sbin/usb_modeswitch -I -W -D -c /var/etc/usb_modeswitch.d/12d1:1446Reading config file: /var/etc/usb_modeswitch.d/12d1:1446 * usb-modeswitch: handle USB devices with multiple modes * Version 1.1.1 © Josua Dietze 2010 * Based on libusb0 (0.1.12 and above) ! PLEASE REPORT NEW CONFIGURATIONS !DefaultVendor= 0x12d1DefaultProduct= 0x1446TargetVendor= 0x12d1TargetProduct= not setTargetProductList=1001,1406,140c,14acTargetClass= not setDetachStorageOnly=0HuaweiMode=0SierraMode=0SonyMode=0GCTMode=0MessageEndpoint= not setMessageContent="55534243123456780000000000000011060000000000000000000000000000"NeedResponse=0ResponseEndpoint= not setInterface=0x00InquireDevice disabledSuccess check enabled, max. wait time 20 secondsSystem integration mode enabledusb_set_debug: Setting debugging level to 15 (on)usb_os_find_busses: Found 002usb_os_find_busses: Found 001usb_os_find_busses: Skipping non bus directory devicesusb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 002 on 001usb_os_find_devices: Found 001 on 001Looking for target devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID searching devices, found USB ID 0000:0000 No devices in target mode or class foundLooking for default devices ... searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1446 found matching vendor ID found matching product ID adding device searching devices, found USB ID 0000:0000 Found devices in default mode or class (1)Accessing device 033 on bus 001 ...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" detachedSetting up communication with interface 0 ...Trying to send the message to endpoint 0x01 ... OK, message successfully sentUSB error: could not clear/halt ep 1: Protocol error Device is gone, skipping any further commandsChecking for mode switch (max. 20 times, once per second) ... Original device is gone already, not checking Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 Searching for target devices ...usb_os_find_devices: Found 001 on 002usb_os_find_devices: Found 003 on 001usb_os_find_devices: Found 001 on 001 searching devices, found USB ID 0000:0000 searching devices, found USB ID 12d1:1001 found matching vendor ID found matching product ID from list searching devices, found USB ID 0000:0000 No new devices in target mode or class foundMode switch has failed. Bye.fail:[PGI ~]$ Если посмотреть логи в первом случае, то правильное определение модема происходит после появления некоторой ошибки: error obtaining child information: Inappropriate ioctl for deviceво втором, стандартном варианте такой ошибки нет. Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 06:40 · Жалоба E1550 работает второй день,полёт нормальный,но поставил жесткии диск обратно в USB, ресивер пишет диск недоступен,до настройки под USB такои проблемы небыло.Попробовал как написано на первой странице:"DEBUG="yes" перезагружаем ресивер, и после того как он снова начнет работать, смотрим содержимое файла /var/log/1.hdd.log". Вот этого файла там нету 1.hdd.log.Дальше чего делать не знаю,форматировать жестки диск не хочеться.Помогите пожалуйста. Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 07:05 · Жалоба vildan-t А USB_MODEM из pgi.conf выставил в нет? Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 07:15 · Жалоба USB_MODEM="none" попробовал вот так не получаеться пишет диск недоступен Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 07:22 · Жалоба USB_MODEM="no" то же не помагает Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 07:27 (изменено) · Жалоба pgi conf. ASPECT_RATIO="pillarbox,14:9,panscan,widescreen,cinema" BACKUP_DIR="/media/pgi-backup" CARDSERV="none" CI_INIT="no" CRON="no" DEV_BANNER="skip1st" ETH_ADDR_LOW="auto" FAN_9000_ON="NO" HDD_SLEEP="0" HDD_TMD="no" MEDIA_CLEAN="no" NFSD="no" NFS_REC="no" NFS_REC_PROTO="tcp" NTP_SYNC="no" POWER_OFF="hold" PPPD_PEER="zte" SAMBA="no" SKIN="default" SOFTCAM="mgcamd" USB_MODEM="12d1:1003" VFD_BRIGHT="7" WEBTV="yes" Изменено 03.04.2010 01:00 пользователем дядя Фёдор Поделиться сообщением Ссылка на сообщение
Опубликовано 01.04.2010 07:27 (изменено) · Жалоба Это пока что единственное, что Вы сделали правильно. А логи не те, что нужно. Перезагрузите ресивер и покажите содержимое лога /tmp/usb_modem.*.log я прошу прощения, содержимое лога как и чем снять, через ком-порт? извините за тупость.. Изменено 01.04.2010 07:28 пользователем sikor Поделиться сообщением Ссылка на сообщение