Перейти к содержанию

3G/CDMA USB модемы на PGI


Рекомендуемые сообщения

Помогло полностью!

Единственно ругается на меня. Видимо за то что я не ввел инфо про используемый телефон(смартфон). Но в итоге сдается и показывает.

Можеть и не надо ничего вводить, про некоторые Nokia.

если у вас GPRS через /dev/ttyACM0, то вводить ничего не нужно, типа USB_MODEM в pgi.conf

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Ребята у меня тоже работает.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)

Изменено пользователем дядя Фёдор
Ссылка на комментарий
Поделиться на другие сайты

Ребята у меня тоже работает.Huawei E1550:/dev/ttiUSB0,921600,12d1:1003

Не могли бы вы более подробно описать как именно вам удалось подключить Huawei E1550.Если можно с готвыми конфигами как это сделал "mika71" на примере ZTE 626.Думаю эта информация будет интересна многим, потому как эта модель модемов наиболее распространена.

AB IPBox 910 HD PGI v0.6

Ссылка на комментарий
Поделиться на другие сайты

Шаблон делайте как mika71, спасибо ему,настройки ставте свой(от оператора связи).Остальные данные выше написал.Ставте по своим местам и всё.Удачи.

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор

Спасибо.

Я так понял, что в скриптах пустить usb_modeswitch по правильному пути, не получится?

Будьте добры, попробуйте отредактировать файл /var/etc/usb_modeswitch.d/12d1:1446

Поменяйте строку:

TargetProductList="1001,1406,140c,14ac"

На

TargetProduct= 0x1001

И запустите еще раз вручную, как описано здесь.

Покажите лог команды usb_modeswitch

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Ребята, подскажите у меня мобильный провайдер 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' ''

Изменено пользователем дядя Фёдор

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

Ребята, подскажите у меня мобильный провайдер velcom требуется логин и пароль вводить, а куда?

Логин и пароль прописывается в файле /var/etc/ppp/chap-secrets

*login * "password" *

Sezam 901HD_PGI-0.6.1 (36E-60E-75E-80E-90E)+HDD 160 Gb SATA-2 Fujitsu 2.5"

Ссылка на комментарий
Поделиться на другие сайты

Логин и пароль прописывается в файле /var/etc/ppp/chap-secrets

*login * "password" *

нет. логин прописывается в peer файле...

а вот пароль - в chap-secrets

http://tldp.org/LDP/nag/node121.html

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Будьте добры, попробуйте отредактировать файл /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 ~]$

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

Вот лог:

Спасибо за тест! Это прогресс.. похоже я нашел в чем проблема.

Попробуйте вот эту версию usb_modeswitch, c оригинальным файлом rules, в котором

TargetProductList="1001,1406,140c,14ac"

(я знаю, что не заработает, но я включил отладочный код)

usb_modeswitch.zip

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

нет. логин прописывается в peer файле...

http://tldp.org/LDP/nag/node121.html

Параметр "user" ?

IPBox910HD(PGIv0.7.3+INDB6)-OpenboxX820(5.46)-90E,80E,75E,53E,36E-DiSEqC1.1

AzboxElite(0.9.ХХХХ)WinQuestMD460(90E-37.5W)-DiSEqC1.0+36E

Ссылка на комментарий
Поделиться на другие сайты

Спасибо за тест! Это прогресс.. похоже я нашел в чем проблема.

Попробуйте вот эту версию 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 ~]$

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

Параметр "user" ?

да

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Вроде заработало, но

Брррррррр....... ничего не понимаю....

Я только добавил отладочный для вывода значений переменных на экран.

Как это так... Не должно ведь было заработать....

Попробуйте несколько раз. Уберите USB_MODEM из pgi.conf, чтобы модем не инициализировался при начальной загрузке.

А еще лучше, переименуйте /var/etc/usb_modeswitch.rules во что-нибудь другое...

После этого несколько раз попробуйте перегружать ресивер и вручную запускать как сделали в последнем посте.

Может какая-то случайность была? И через раз работает?

Не понимаю, пока, что происходит.

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

нет. логин прописывается в peer файле...

а вот пароль - в chap-secrets

http://tldp.org/LDP/nag/node121.html

пароль я нашел, а вот логин неа, ткните плиз носом..

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

#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?

Изменено пользователем sikor

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

дядя Фёдор вот этот user?

да

и между прочим, вся эта информация есть в NETWORK_ru.txt

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Как это так... Не должно ведь было заработать....

Попробуйте несколько раз. Уберите USB_MODEM из pgi.conf, чтобы модем не инициализировался при начальной загрузке.

А еще лучше, переименуйте /var/etc/usb_modeswitch.rules во что-нибудь другое...

USB_MODEM из pgi.conf я убрал еще раньше.

Все остальное попробую завтра утром - ресивер на работе.

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

вот что уменя получилось

+++ 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

Изменено пользователем дядя Фёдор

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

вот что уменя получилось

тут до "получилось" еще далеко...

если это все что у Вас получилось.. ;)

Вы какие шаги сделаи? Какое устройство? Что у вас в pgi.conf?

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

вот лог:

[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 и тишина...

Изменено пользователем дядя Фёдор

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

в pgi прописал USB_MODEM="12d1:1003"

Это пока что единственное, что Вы сделали правильно.

А логи не те, что нужно.

Перезагрузите ресивер и покажите содержимое лога /tmp/usb_modem.*.log

И учитесь пользоваться кнопкой "КОД" слева от окна ввода сообщения на форуме, когда постите длинные логи.

Изменено пользователем дядя Фёдор

IPBox 9000HD | IPBox 910HD | IPBox 100 HD | Dreambox DM 800HD se | WaveFrontier Toroidal T90

28.2°E + 23.5°E + 19.2°E + 16.0°E + 13.0°E + 9.0°E + 7.0°E + 4.8°E + 0.8°W + 4.0°W + 5.0°W

Ссылка на комментарий
Поделиться на другие сайты

Попробуйте несколько раз. Уберите 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
во втором, стандартном варианте такой ошибки нет.

VU+ Duo2 | VU+ Solo4K | WaveFrontier Toroidal 90 + 0.6

36E + 31E + 28.2E + 23.5E + 19.2E + 16E + 13E + 9E + 4.8E + 1W + 4W

Ссылка на комментарий
Поделиться на другие сайты

E1550 работает второй день,полёт нормальный,но поставил жесткии диск обратно в USB, ресивер пишет диск недоступен,до настройки под USB такои проблемы небыло.Попробовал как написано на первой странице:"DEBUG="yes"

перезагружаем ресивер, и после того как он снова начнет работать, смотрим содержимое файла /var/log/1.hdd.log".

Вот этого файла там нету 1.hdd.log.Дальше чего делать не знаю,форматировать жестки диск не хочеться.Помогите пожалуйста.

Ссылка на комментарий
Поделиться на другие сайты

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"

Изменено пользователем дядя Фёдор
Ссылка на комментарий
Поделиться на другие сайты

Это пока что единственное, что Вы сделали правильно.

А логи не те, что нужно.

Перезагрузите ресивер и покажите содержимое лога /tmp/usb_modem.*.log

я прошу прощения, содержимое лога как и чем снять, через ком-порт? извините за тупость..

Изменено пользователем sikor

IPBOX 910 HD SAMSUNG 500 GB PGI 0.7.3 INDB-6 v0.06 usb

Ссылка на комментарий
Поделиться на другие сайты

Для публикации сообщений создайте учётную запись или авторизуйтесь

Вы должны быть пользователем, чтобы оставить комментарий

Создать учетную запись

Зарегистрируйте новую учётную запись в нашем сообществе. Это очень просто!

Регистрация нового пользователя

Войти

Уже есть аккаунт? Войти в систему.

Войти
×
×
  • Создать...