Comment 25 for bug 1070006

Revision history for this message
In , Need (need-redhat-bugs) wrote :

I plug in the usb stick:

# dmesg -c
usb 2-2: new high speed USB device using ehci_hcd and address 5
usb 2-2: New USB device found, idVendor=19d2, idProduct=2000
usb 2-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
usb 2-2: Product: ZTE CDMA Technologies MSM
usb 2-2: Manufacturer: ZTE, Incorporated
usb 2-2: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 7:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 0
sr0: scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
sr 7:0:0:0: Attached scsi CD-ROM sr0
sr 7:0:0:0: Attached scsi generic sg1 type 5
ISO 9660 Extensions: Microsoft Joliet Level 1
ISOFS: changing to secondary root
SELinux: initialized (dev sr0, type iso9660), uses genfs_contexts

# lsusb
Bus 002 Device 005: ID 19d2:2000 ONDA Communication S.p.A.

# usb_modeswitch

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found default devices (1)
Accessing device 005 on bus 002 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached

Received inquiry data (detailed identification)
-------------------------
  Vendor String: ZTE
   Model String: USB SCSI CD-ROM
Revision String: 2.31
-------------------------

Device description data (identification)
-------------------------
Manufacturer: ZTE, Incorporated
     Product: ZTE CDMA Technologies MSM
  Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
 OK, message successfully sent
-> Run lsusb to note any changes. Bye.

# dmesg -c
scsi 7:0:0:0: rejecting I/O to dead device
usb 2-2: usbfs: process 10564 (usb_modeswitch) did not claim interface 0 before use
usb 2-2: USB disconnect, address 5
usb 2-2: new high speed USB device using ehci_hcd and address 6
usb 2-2: New USB device found, idVendor=19d2, idProduct=0031
usb 2-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
usb 2-2: Product: ZTE CDMA Technologies MSM
usb 2-2: Manufacturer: ZTE, Incorporated
usb 2-2: SerialNumber: 1234567890ABCDEF
usb 2-2: configuration #1 chosen from 1 choice
option 2-2:1.0: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
option 2-2:1.1: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
scsi8 : SCSI emulation for USB Mass Storage devices
option 2-2:1.3: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
option: option_instat_callback: error -71
option: option_instat_callback: error -71
option: option_instat_callback: error -71
option: option_instat_callback: error -71
usb-storage: device scan complete
scsi 8:0:0:0: Direct-Access ZTE MMC Storage 322 PQ: 0 ANSI: 2
sd 8:0:0:0: Attached scsi generic sg1 type 0
sd 8:0:0:0: [sdb] Attached SCSI removable disk
option: option_instat_callback: error -71
option: option_instat_callback: error -71
option: option_instat_callback: error -71
option: option_instat_callback: error -71

# lsusb
Bus 002 Device 006: ID 19d2:0031 ONDA Communication S.p.A.