
Ubuntu日本語フォーラム

ログインしていません。
カーネル標準添付のcdc-acmモジュールにFOMA特有の制御部分を追加することで
第3世代携帯電話をcdc-acmモジュール1つで全て対応させたいと考えています。
(現状ではcdc-acmモジュールではFOMAは対応出来ず、sourceforge.jpで公開されている
モジュールではFOMAと他社携帯の混用は不可能となっています。)
http://sourceforge.jp/projects/pepolinux/
↑
現在公開されているFOMA用cdc-acmモジュール
この作業に付随するかたちで、FOMA端末とFOMA用データ通信USBケーブルをお持ちで特に以下の
メーカ以外の方PCに接続した状態でのlsusbの出力結果をこちらに貼り付け願えませんか?
(いま思い当たる節としては、nokiaとかLGがあります)
※現状のFOMA対応モジュールでは以下のメーカについて idVendor値が直打ちされています。
0x0a3c(過去の端末?)
0x04da(Panasonic)
0x0409(NEC)
0x22b8(Motorola)
0x06d3(三菱電機)
0x04c5(富士通)
0x04dd(シャープ)
0x0474(三洋)
0x0fce(ソニーエリクソン)
貼付方法:
sudo lsusb -v
で詳細オプションを表示させます。
貼付範囲は
Bus *** Device ***: ID ****:****
から
Device Status:
でお願いします
(電話機内部の設定はインデント表示されるので多分わかりやすいかと思います)
あと、一応念のため接続した携帯電話の型番を一緒に
貼ってください。
オフライン
FOMAを持っていないので直接協力はできませんが、モデレータ権限でスティッキー(常時一番上に表示)にしました。
オフライン
早速のスティッキー処理、ありがとうございます。
非FOMAの方々には、デバイス識別部分で誤認識をするかチェックしていただければありがたいのですが、
何分今のところはソース/カーネルモジュールをアップロードする場が無いものですから
このフォーラムにファイル貼付でも出来れば貼りたいのですが(笑)
>近日中にsourceforge.jpにでもプロジェクトを立てたいと考えてます
さて、lsusb -v のサンプル出力貼り付けて置きます。(P904iです)
この中で一番重要なパラメータは
Device DescriptorのidVendor
各Interface DescriptorのbInterfaceClass,bInterfaceSubClass,bInterfaceProtocol
です。
ttyACMで使用しているInterface Descriptorは
bInterfaceClass=0x02
bInterfaceSubClass=0x88
bInterfaceProtocol=0x01
となっているようです。
FOMAは携帯電話の中に複数のInterface(5個程度)を作るのでInterface Descriptorの記述が
沢山出るようです。
もし「お前の言っていることはわかったから、必要な分だけ掲載する」ということでしたら
容量を減らすためにも全部貼らない方がベストでしょう。
====================以下P904iの例(サンプル)==============
Bus 001 Device 002: ID 04da:2137 Panasonic (Matsushita)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04da Panasonic (Matsushita)
idProduct 0x2137
bcdDevice 1.00
iManufacturer 1 Panasonic Mobile Communications Co., Ltd.
iProduct 2 FOMA P904i
iSerial 3 352880013167746
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 183
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
** UNRECOGNIZED: 06 44 11 02 01 c0
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 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
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 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 3
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 2
bSlaveInterface 3
** UNRECOGNIZED: 06 44 11 02 60 c0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 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 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
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 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
INVALID CDC (Union): 04 24 06 04
** UNRECOGNIZED: 05 44 11 05 02
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Device Status: 0x0001
Self Powered最後の編集者: Sunatomo (2008-10-23 00:23:20)
オフライン
お疲れ様です。デールです。(Dale)
下記がP905iのlsusb -v の出力貼り付けて置きます。
Bus 001 Device 004: ID 04da:2143 Panasonic (Matsushita)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04da Panasonic (Matsushita)
idProduct 0x2143
bcdDevice 1.00
iManufacturer 1 Panasonic Mobile Communications Co., Ltd.
iProduct 2 FOMA P905i
iSerial 3 359932012198934
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 183
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
** UNRECOGNIZED: 06 44 11 02 01 c0
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 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
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 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 2
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 3
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 2
bSlaveInterface 3
** UNRECOGNIZED: 06 44 11 02 60 c0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 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 3
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
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 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 0
CDC Header:
bcdCDC 1.10
INVALID CDC (Union): 04 24 06 04
** UNRECOGNIZED: 05 44 11 05 02
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Device Status: 0x0001
Self Poweredオフライン
# lsusb -v -s
SH901iS のです。
ほかにP704iとF906iもありますが、同様に書き込めばよいのでしょうか?
Bus 001 Device 007: ID 04dd:90c7 Sharp Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 255 Vendor Specific Subclass
bDeviceProtocol 255 Vendor Specific Protocol
bMaxPacketSize0 64
idVendor 0x04dd Sharp Corp.
idProduct 0x90c7
bcdDevice 1.00
iManufacturer 1 SHARP Corporation.
iProduct 2 FOMA SH901iS
iSerial 3 350287007664773
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 192
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 2 FOMA SH901iS
bmAttributes 0xc0
Self Powered
MaxPower 32mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 3
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 2 FOMA SH901iS
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 5 Interface #0
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 1
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
** UNRECOGNIZED: 06 44 11 01 01 c0
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 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 6 Interface #1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
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 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 7 Interface #2 Alt.0
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 3
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 136
bFunctionProtocol 1
iFunction 2 FOMA SH901iS
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 10 Interface #3
CDC Header:
bcdCDC 1.10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 4
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 3
bSlaveInterface 4
** UNRECOGNIZED: 06 44 11 02 60 c0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 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 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 11 Interface #4
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
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 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 136
bInterfaceProtocol 1
iInterface 12 Interface #5
CDC Header:
bcdCDC 1.10
INVALID CDC (Union): 04 24 06 05
** UNRECOGNIZED: 05 44 11 05 02
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 16
Device Status: 0x0001
Self Poweredオフライン
デールさん、北の狸さん、早速の提供ありがとうございます。
やはり今まで頂いた資料を拝見する限りでは
bInterfaceClass=0x02
bInterfaceSubClass=0x88(136)
bInterfaceProtocol=0x01
がtty向けのデバイスで間違いないようです。
ただし、現在元のソース作成者にここの判定部分について根拠を
問い合わせ中なのですがNTTドコモが技術的に「これ以外の値は
ありえない」と言わない限りはできるだけ資料として集めて
反映したいと思います。
あとSourceforge.jpへのプロジェクト開設願いは出しました。
審査終了後、承認されることを願うところです。
あと、これは関連情報なのですがPPPにて複数個のTTYを並列使用した
実績はどなたがございますか?
実はFOMAの本ドライバを過去にでも使用した方は分かるかと思いますが
FOMAをPCに差すとTTYデバイスを2個作成します。
これを多分うまく使うと従来より高速通信が可能かもしれません。
(パケ死にする可能性が高いと思いますが)
オフライン
sourceforge.jpにプロジェクトを作りました。
ソースコードはそちらに掲載致しましたので試用頂ける方はそちらからダウンロード願います。
http://sourceforge.jp/projects/cdc-acm/
オフライン