Huawei CDMA 2252+를 광학 드라이브에서 USB로 전환하는 방법은 무엇입니까?

Huawei CDMA 2252+를 광학 드라이브에서 USB로 전환하는 방법은 무엇입니까?

저는 Huawei CDMA 2252+ 휴대폰을 가지고 있으며 이를 Linux에 연결하여 문자 메시지를 보내고 싶습니다. Fedora 15(64비트)에서는 CD-ROM으로 처리됩니다. dmesg휴대폰을 연결한 후의 출력 입니다 .

[10887.524339] USB Mass Storage support registered.
[10888.614507] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[10888.786098] sr1: scsi-1 drive
[10888.788583] sr 3:0:0:0: Attached scsi CD-ROM sr1
[10888.788904] sr 3:0:0:0: Attached scsi generic sg2 type 5
[10899.106066] sr1: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
[10899.106073] sr: Sense Key : Hardware Error [current] 
[10899.106075] sr: Add. Sense: No additional sense information

이것은 다음의 출력입니다 lsusb.

Bus 002 Device 004: ID 12d1:1010 Huawei Technologies Co., Ltd.

usb_modeswitch그런 다음 아래와 같이 장치를 USB로 변경해 보았습니다 . (내 장치는 usb_modewitch지원 장치 목록에 없습니다 .)

출력 usb_modeswitch --verbose -H -v 0x12d1 -p 0x1010:

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1010
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=1
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint=  not set
MessageContent=""
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00

InquireDevice enabled (default)
Success check disabled
System integration mode disabled


Looking for default devices ...
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1010
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0e0f:0003
searching devices, found USB ID 0e0f:0002
Found devices in default mode, class or configuration (1)
Accessing device 005 on bus 002 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x0b (out) and 0x8a (in)
Using endpoints 0x0b (out) and 0x8a (in)
Not a storage device, skipping SCSI inquiry

USB description data (for identification)
-------------------------
Manufacturer: Huawei, Incorporated
  Product: Huawei Technologies
Serial No.: not provided
-------------------------
Sending Huawei control message ...
OK, Huawei control message sent
-> Run lsusb to note any changes. Bye.

나중에 실행했는데 lsusb아무런 변화가 없었습니다. 그러나 공지사항은 다음과 같습니다 dmesg.

[  180.438107] usb 2-2.1: USB disconnect, address 4
[  199.385604] usb 2-2.1: new full speed USB device using uhci_hcd and address 5
[  199.648757] usb 2-2.1: New USB device found, idVendor=12d1, idProduct=1010
[  199.648759] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  199.648761] usb 2-2.1: Product: Huawei Technologies
[  199.648762] usb 2-2.1: Manufacturer: Huawei, Incorporated

다음 내용은 에서 발췌했습니다 /var/log/messages.

kernel: [  180.438107] usb 2-2.1: USB disconnect, address 4
kernel: [  199.385604] usb 2-2.1: new full speed USB device using uhci_hcd and address 5
kernel: [  199.648757] usb 2-2.1: New USB device found, idVendor=12d1, idProduct=1010
kernel: [  199.648759] usb 2-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: [  199.648761] usb 2-2.1: Product: Huawei Technologies
kernel: [  199.648762] usb 2-2.1: Manufacturer: Huawei, Incorporated
mtp-probe: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb2/2-2/2-2.1"
mtp-probe: bus: 2, device: 5 was not an MTP device

휴대폰을 CD-ROM에서 USB로 성공적으로 전환했는지 잘 모르겠습니다. 이를 확인할 수 있는 방법이 있나요? 내 폴더에 ttyUSB파일이 없습니다 /dev. 위 장치에 해당하는 파일을 찾는 방법은 무엇입니까? 또한 AT 명령을 전화기로 보내고 싶습니다. 어떻게 하나요?

관련 정보