Il giorno dom, 17/01/2010 alle 21.26 +0100, Didier 'OdyX' Raboud ha
scritto:
> 
> These lines seem to indicate the opposite :

I thought the same, but apparently something is going wrong.

> After the plugging, do you get some /dev/ttyUSB* devices ?

No.

> If your answer to the question above is no, could you please modify
> the file 
> /usr/share/usb_modeswitch/usb_modeswitch.tcl to put 1 at line 32 and
> give me the 
> /var/log/usb_modeswitch file afterwards ?
> 
> (Don't forget to revert the modification afterwards…)

It's attached (probably I did plug-in and -out two times). Thanks

Ciao,
steko

-- 
Stefano Costa
http://www.iosa.it/ Open Archaeology

USB_ModeSwitch log from Sun Jan 17 21:42:51 CET 2010

raw args from udev: /2-5:1.1
Bus ID for device not given by udev.
 Trying to determine it from kernel name (2-5:1.1) ...
----------------
USB values from sysfs:
  manufacturer  HUAWEI Technology
  product       HUAWEI Mobile
  serial        
----------------
SCSI dir exists: /sys/bus/usb/devices/2-5/2-5:1.1/host9/target9:0:0/9:0:0:0
SCSI values read
----------------
SCSI values from sysfs:
 vendor HUAWEI  
 model  SD Storage      
 rev    2.31
----------------
checking config: /etc/usb_modeswitch.d/12d1:1446.dpkg-old
! matched, now switching
 (running command: /usr/sbin/usb_modeswitch -I -W -c 
/etc/usb_modeswitch.d/12d1:1446.dpkg-old)

verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 006
usb_os_find_busses: Found 003
usb_os_find_busses: Found 007
usb_os_find_busses: Found 004
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 024 on 005
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 002 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 017 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 5 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Check that you have permissions to write to 002/017 and, if you don't, that you 
set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 0: Device or resource busy
Reading config file: /etc/usb_modeswitch.d/12d1:1446.dpkg-old

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.0.7 (C) Josua Dietze 2009
 * Based on libusb 0.1.12

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set

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

InquireDevice disabled
Success check enabled, max. wait time 20 seconds


Note: target parameter missing; success check limited
Looking for default devices ...
 Found default devices (1)
Accessing device 017 on bus 002 ...

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Sending Huawei control message ...
 OK, Huawei control message sent

Checking for mode switch (max. 20 times, once per second) ...
 Waiting for original device to vanish ...
 Original device can't be accessed anymore. Good.
 (For a better success check provide target IDs or class)
 Original device vanished after switching

Mode switch most likely succeeded. Bye.

ok:0000:0000
--------------------------------
(end of usb_modeswitch output)

Now checking for new serial devices (driver bound?) ...
 no new serial devices found, check driver
Trying to add ID to option driver
 still no new serial devices found

All done, exiting



USB_ModeSwitch log from Sun Jan 17 21:43:45 CET 2010

raw args from udev: /2-5:1.0
Bus ID for device not given by udev.
 Trying to determine it from kernel name (2-5:1.0) ...
----------------
USB values from sysfs:
  manufacturer  HUAWEI Technology
  product       HUAWEI Mobile
  serial        
----------------
SCSI dir exists: /sys/bus/usb/devices/2-5/2-5:1.0/host10/target10:0:0/10:0:0:0
SCSI values read
----------------
SCSI values from sysfs:
 vendor HUAWEI  
 model  Mass Storage    
 rev    2.31
----------------
checking config: /etc/usb_modeswitch.d/12d1:1446.dpkg-old
! matched, now switching
 (running command: /usr/sbin/usb_modeswitch -I -W -c 
/etc/usb_modeswitch.d/12d1:1446.dpkg-old)

verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 005
usb_os_find_busses: Found 006
usb_os_find_busses: Found 003
usb_os_find_busses: Found 007
usb_os_find_busses: Found 004
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 024 on 005
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 005
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 002 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 018 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 5 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 9 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
Check that you have permissions to write to 002/018 and, if you don't, that you 
set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 0: Device or resource busy
Reading config file: /etc/usb_modeswitch.d/12d1:1446.dpkg-old

 * usb_modeswitch: handle USB devices with multiple modes
 * Version 1.0.7 (C) Josua Dietze 2009
 * Based on libusb 0.1.12

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1446
TargetVendor=   not set
TargetProduct=  not set
TargetClass=    not set

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

InquireDevice disabled
Success check enabled, max. wait time 20 seconds


Note: target parameter missing; success check limited
Looking for default devices ...
 Found default devices (1)
Accessing device 018 on bus 002 ...

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Sending Huawei control message ...
 OK, Huawei control message sent

Checking for mode switch (max. 20 times, once per second) ...
 Waiting for original device to vanish ...
 Original device can't be accessed anymore. Good.
 (For a better success check provide target IDs or class)
 Original device vanished after switching

Mode switch most likely succeeded. Bye.

ok:0000:0000
--------------------------------
(end of usb_modeswitch output)

Now checking for new serial devices (driver bound?) ...
 no new serial devices found, check driver
Trying to add ID to option driver
 still no new serial devices found

All done, exiting

Attachment: signature.asc
Description: Questa è una parte del messaggio firmata digitalmente

Reply via email to