Правильное определение устройства в /dev/. Samsung SGH-E380 в Linux. (Не получается автоматическое определение телефона по кабелю USB в Linu)

КПК, смартфоны, коммуникаторы, мобильные телефоны, диктофоны - подключаем, настраиваем.

Модератор: Модераторы разделов

Ответить
pidanmaster
Сообщения: 6
ОС: Linux Suse 10

Правильное определение устройства в /dev/. Samsung SGH-E380 в Linux.

Сообщение pidanmaster »

Уважаемые участники сообщества OpenSource! Заранее извиняюсь, если кому-то мой вопрос покажется глупым. Прежде чем его задавать я поработал с поиском на основных форумах и с www.google.com. Для понимания моей темы, да и Linux-а вообщем (уже неделю как пытаюсь освоить АзЫ работы в нём) я нашёл немало интересного и полезного материала. Но моя первая задача, которую я ставлю и которую никак не могу решить, чтобы уменьшить зависимость от Windows, настроить выход в интернет через GPRS, коим я пользуюсь уже давно и который является моей единственной возможностью работы в сети.
У меня есть телефон: Samsung SGH-E380, USB Data Cabel (без всяких чипов), ОС Linux Suse 10.
В Виндовс всё как обычно работает с пол оборота. Что же проиходит в Линуксе: Модем на телефоне совершенно правильно определился при установке системы. Команды lsusb и lsusb -v в консоле дают такие результаты. Как я понял из материалов форума: первое, что происходит - устройство определяется в /dev/ как ttyS0 (S1) для com-портов или ttyACM0 (ACM1) для USB и т.д. Эти файлы появляются в каталоге устройств /dev/. Но как видно из лога, никакие из этих файлов не появляются.
В Логе var/log/message при подключении телефона записывается же такая строчка:
Jan 16 00:07:53 linux kernel: usb 1-1: new full speed USB device using ohci_hcd and address 6
Уже не фигурирует никакого модема.
Я думаю, что если бы устройство нормально определится, то настроить его для дозвона я смогу без труда, но эту ситуацию я совсем не понимаю: Система видит устройство насквозь, знает о нём всё, определяет как модем, но в итоге его как модем не записывает, а появляется лишь /dev/usbdev1.x и full speed USB device в логе.
Помогите пожалуйста. Скажите, что делать. Я не в пустую спрашиваю. Потратил уже ни один день на самоварение. Мне нужно знать как можно сделать так, чтобы система определила модем как модем и создала его файл устройства типа ttyACM0 (ACM1) для USB.

________________________________________________________________________
linux:~ # lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04e8:663e Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 0000:0000

________________________________________________________________________

linux:~ # lsusb -v
.......
.......
Bus 001 Device 004: ID 04e8:663e Samsung Electronics Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04e8 Samsung Electronics Co., Ltd
idProduct 0x663e
bcdDevice 1.00
iManufacturer 1 SamsungBus 001 Device 004: ID 04e8:663e Samsung Electronics Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04e8 Samsung Electronics Co., Ltd
idProduct 0x663e
bcdDevice 1.00
iManufacturer 1 Samsung
iProduct 2 SAMSUNG MBus 001 Device 004: ID 04e8:663e Samsung Electronics Co., Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x04e8 Samsung Electronics Co., Ltd
idProduct 0x663e
bcdDevice 1.00
iManufacturer 1 Samsung
iProduct 2 SAMSUNG Mobile USB Modem
iSerial 3 359894-00-265953
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 92
bNumInterfaces 3
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 S_WHCM
CDC Header:
bcdCDC 1.10
CDC WHCM:
bcdVersion 1.00
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 WMC Modem
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
CDC ACM:
bmCapabilities 0x07
sends break
line coding and serial state
get/set/clear comm features
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 7 WMC Modem bulk data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
obile USB Modem
iSerial 3 359894-00-265953
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 92
bNumInterfaces 3
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 S_WHCM
CDC Header:
bcdCDC 1.10
CDC WHCM:
bcdVersion 1.00
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 WMC Modem
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
CDC ACM:
bmCapabilities 0x07
sends break
line coding and serial state
get/set/clear comm features
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 7 WMC Modem bulk data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0

iProduct 2 SAMSUNG Mobile USB Modem
iSerial 3 359894-00-265953
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 92
bNumInterfaces 3
bConfigurationValue 2
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 S_WHCM
CDC Header:
bcdCDC 1.10
CDC WHCM:
bcdVersion 1.00
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 WMC Modem
CDC Header:
bcdCDC 1.10
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
CDC ACM:
bmCapabilities 0x07
sends break
line coding and serial state
get/set/clear comm features
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 7 WMC Modem bulk data
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0

__________________________________________________________

В Логе var/log/message при подключении телефона записывается же такая строчка:
Jan 16 00:07:53 linux kernel: usb 1-1: new full speed USB device using ohci_hcd and address 6
Уже не фигурирует никакого модема.
__________________________________________________________

С благодарностью и уважением![font=Comic Sans Ms][size=2]
Спасибо сказали:
Аватара пользователя
(asper
Бывший модератор
Сообщения: 1661
Статус: nano vi sed awk !
ОС: Работает как часы !

Re: Правильное определение устройства в /dev/. Samsung SGH-E380 в Linux.

Сообщение (asper »

Может нет нужного модуля в ядре ?
Что там для самсунга идёт знатоки ?
Сомнительно доброе привидение
Спасибо сказали:
usetus
Сообщения: 1

Re: Правильное определение устройства в /dev/. Samsung SGH-E380 в Linux.

Сообщение usetus »

Vlady писал(а):
15.01.2007 19:22
Может нет нужного модуля в ядре ?
Что там для самсунга идёт знатоки ?


http://www.geocities.com/kream77/internet_...iance_cdma.html

может это поможет !
Спасибо сказали:
Ответить