Hi,

# /lib/udev/modem-modeswitch
# /lib/udev/rules.d/61-option-modem-modeswitch.rules

I didn't investigate further, and here you lost me. Why do these affect this 
19d2:2000 
device version here? /lib/udev/rules.d/61-option-modem-modeswitch.rules has no 
19d2 context here.
And (w/o having fully disected) modem-modeswitch doesn't seem to get called 
when plugging the
device. I mean, can't see a logical path in udev where modem-modeswitch gets 
called, when
this device is plugged. Maybe I didn't bother too hard to find one..

# Nevertheless, I don't know how to fix this bug without breaking the 
19d2\:2000 
# switching facility.
I don't have a switching problem w/o the one file I needed to remove. W/o 
usb-modeswitch 
everything worked flawlessly to the point. Once usb-modeswitch got on the disk 
everything broke. So basically I don't need it. And the time is near where my 
disk 
will be lighter bit of bits by the size of usb-modeswitch..

# Could you please try to plus your device in within the 4 cases below
Well, ok, let's work this out..

# 1) /lib/udev/rules.d/61-mobile-action.rules present 
#    /etc/usb_modeswitch.d/19d2\:2000 present
#    (should fail as you reported)
Not working. 

usb 1-3: new high speed USB device using ehci_
hcd and address 73
usb 1-3: New USB device found, idVendor=19d2,idProduct=2000
usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-3: Product: ONDA WCDMA Technologies MSM
usb 1-3: Manufacturer: ONDA,Incorporated
usb 1-3: SerialNumber: P673M2ODCD010000 
scsi78 : usb-storage 1-3:1.0 
usb-modeswitch: switching 19d2:2000 (ONDA,Incorporated: ONDA WCDMA Technologies 
MSM)

No storage device, no modem device.

# 2) /lib/udev/rules.d/61-mobile-action.rules present 
#    /etc/usb_modeswitch.d/19d2\:2000 removed
#    (should work as you reported)
Working.

usb 1-3: new high speed USB device using ehci_hcd and address 74
usb 1-3: New USB device found, idVendor=19d2, idProduct=2000
usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-3: Product: ONDA WCDMA Technologies MSM
usb 1-3: Manufacturer: ONDA,Incorporated
usb 1-3: SerialNumber: P673M2ODCD010000
scsi79 : usb-storage 1-3:1.0
scsi 79:0:0:0: CD-ROM            ONDA     USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 79:0:0:0: Attached scsi CD-ROM sr0
sr 79:0:0:0: Attached scsi generic sg1 type 5
usb 1-3: USB disconnect, address 74
usb 1-3: new high speed USB device using ehci_hcd and address 75
usb 1-3: New USB device found, idVendor=19d2, idProduct=0037
usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-3: Product: ONDA WCDMA Technologies MSM
usb 1-3: Manufacturer: ONDA,Incorporated
usb 1-3: SerialNumber: P673M2ODCD010000
option 1-3:1.0: GSM modem (1-port) converter detected
usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
option 1-3:1.1: GSM modem (1-port) converter detected
usb 1-3: GSM modem (1-port) converter now attached to ttyUSB1
scsi80 : usb-storage 1-3:1.2
option 1-3:1.3: GSM modem (1-port) converter detected
usb 1-3: GSM modem (1-port) converter now attached to ttyUSB2
scsi 80:0:0:0: Direct-Access     ONDA     MMC Storage      2.31 PQ: 0 ANSI: 2
sd 80:0:0:0: Attached scsi generic sg1 type 0
sd 80:0:0:0: [sde] Write Protect is off
sd 80:0:0:0: [sde] Mode Sense: 0f 0e 00 00
sd 80:0:0:0: [sde] Assuming drive cache: write through
sd 80:0:0:0: [sde] Assuming drive cache: write through
 sde: sde1
sd 80:0:0:0: [sde] Assuming drive cache: write through
sd 80:0:0:0: [sde] Attached SCSI removable disk

Storage device present, modem device present.

# 3) /lib/udev/rules.d/61-mobile-action.rules absent 
#    /etc/usb_modeswitch.d/19d2\:2000 present
#    (I guess it should work)

Not working!

usb 1-3: new high speed USB device using ehci_hcd and address 77
usb 1-3: New USB device found, idVendor=19d2, idProduct=2000
usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-3: Product: ONDA WCDMA Technologies MSM
usb 1-3: Manufacturer: ONDA,Incorporated
usb 1-3: SerialNumber: P673M2ODCD010000
scsi82 : usb-storage 1-3:1.0
usb-modeswitch: switching 19d2:2000 (ONDA,Incorporated: ONDA WCDMA Technologies 
MSM)

No storage device, no modem device.

Interesting. The explicit eject in /lib/udev/rules.d/61-mobile-action.rules 
seems to be 
required. So the device itself didn't remove the NoCD but this eject effected 
this?
That's fine with me. But this tiny 19d2:2000 file is a blocker. Not fine with 
me.
 
# 4) /lib/udev/rules.d/61-mobile-action.rules absent
#    /etc/usb_modeswitch.d/19d2\:2000 absent
#   (I guess it should not work)

Not working.

usb 1-3: new high speed USB device using ehci_hcd and address 76
usb 1-3: New USB device found, idVendor=19d2, idProduct=2000
usb 1-3: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-3: Product: ONDA WCDMA Technologies MSM
usb 1-3: Manufacturer: ONDA,Incorporated
usb 1-3: SerialNumber: P673M2ODCD010000
scsi81 : usb-storage 1-3:1.0
scsi 81:0:0:0: CD-ROM            ONDA     USB SCSI CD-ROM  2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 81:0:0:0: Attached scsi CD-ROM sr0
sr 81:0:0:0: Attached scsi generic sg1 type 5
sr 81:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 81:0:0:0: [sr0] Sense Key : 0x5 [current] 
Info fld=0x0
sr 81:0:0:0: [sr0] ASC=0x21 ASCQ=0x0
sr 81:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 02 a0 c0 00 00 02 00
end_request: I/O error, dev sr0, sector 688896
quiet_error: 3 callbacks suppressed
Buffer I/O error on device sr0, logical block 172224
Buffer I/O error on device sr0, logical block 172225
sr 81:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 81:0:0:0: [sr0] Sense Key : 0x5 [current] 
Info fld=0x0
sr 81:0:0:0: [sr0] ASC=0x21 ASCQ=0x0
sr 81:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 02 a0 c0 00 00 02 00
end_request: I/O error, dev sr0, sector 688896
Buffer I/O error on device sr0, logical block 172224
Buffer I/O error on device sr0, logical block 172225
sr 81:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 81:0:0:0: [sr0] Sense Key : 0x5 [current] 
Info fld=0x0
sr 81:0:0:0: [sr0] ASC=0x21 ASCQ=0x0
sr 81:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 02 a0 f0 00 00 02 00
end_request: I/O error, dev sr0, sector 689088
[...]

No storage device, no modem device.
BTW, is there a way to get hold of those windows drivers on the NoCD using 
Linux?

Cheers




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to