On 5/10/10, Stefan Seyfried <stefan.seyfried@googlemail.com> wrote:
can't you just "eject sr0" to switch the device? Definitely worth trying.
Wonderful, it works! =) It automatically 'switches' to be as GSM-Modem: May 10 18:40:20 linux-6ajn hald: unmounted /dev/sr0 from '/media/ZTEMODEM' on behalf of uid 1000 May 10 18:40:25 linux-6ajn kernel: [ 247.803499] usb 1-1: USB disconnect, address 2 May 10 18:40:30 linux-6ajn kernel: [ 253.411100] usb 1-1: new high speed USB device using ehci_hcd and address 3 May 10 18:40:30 linux-6ajn kernel: [ 253.538102] usb 1-1: New USB device found, idVendor=19d2, idProduct=0031 May 10 18:40:30 linux-6ajn kernel: [ 253.538113] usb 1-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0 May 10 18:40:30 linux-6ajn kernel: [ 253.538122] usb 1-1: Product: ZTE CDMA Technologies MSM May 10 18:40:30 linux-6ajn kernel: [ 253.538128] usb 1-1: Manufacturer: ZTE,Incorporated May 10 18:40:30 linux-6ajn kernel: [ 253.541826] option 1-1:1.0: GSM modem (1-port) converter detected May 10 18:40:30 linux-6ajn kernel: [ 253.542856] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0 May 10 18:40:30 linux-6ajn kernel: [ 253.543431] option 1-1:1.1: GSM modem (1-port) converter detected May 10 18:40:30 linux-6ajn kernel: [ 253.543720] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 May 10 18:40:30 linux-6ajn kernel: [ 253.546466] scsi7 : usb-storage 1-1:1.2 May 10 18:40:30 linux-6ajn kernel: [ 253.547236] option 1-1:1.3: GSM modem (1-port) converter detected May 10 18:40:30 linux-6ajn kernel: [ 253.547559] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB0) opening serial device... May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB0): probe requested by plugin 'ZTE' May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB2) opening serial device... May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB2): probe requested by plugin 'ZTE' May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB1) opening serial device... May 10 18:40:31 linux-6ajn modem-manager: (ttyUSB1): probe requested by plugin 'ZTE' May 10 18:40:31 linux-6ajn kernel: [ 254.563354] scsi 7:0:0:0: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2 May 10 18:40:31 linux-6ajn kernel: [ 254.563825] sd 7:0:0:0: Attached scsi generic sg1 type 0 May 10 18:40:31 linux-6ajn kernel: [ 254.599549] sd 7:0:0:0: [sdb] Attached SCSI removable disk May 10 18:40:35 linux-6ajn modem-manager: (ttyUSB1) closing serial device... May 10 18:40:35 linux-6ajn modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 claimed port ttyUSB1 May 10 18:40:35 linux-6ajn modem-manager: Added modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 May 10 18:40:37 linux-6ajn su: (to root) andi on /dev/pts/3 May 10 18:40:39 linux-6ajn modem-manager: (ttyUSB2) closing serial device... May 10 18:40:39 linux-6ajn modem-manager: Exported modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 as /org/freedesktop/ModemManager/Modems/0 May 10 18:40:39 linux-6ajn modem-manager: (ZTE): GSM modem /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1 claimed port ttyUSB2 May 10 18:40:48 linux-6ajn modem-manager: (ttyUSB0) closing serial device... I am just curious on how it happened (worked without usb_modeswitch)? =) Best regards, -- Andi Sugandi, openSUSE-Id Team, openSUSE Ambassador Bandung, Indonesia -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org