Slayer86
17-04-2010, 00:18
Chi si offre volontario per aiutarmi a far funzionare questa favolosa chiavetta sulla mia gentoo box???
Ora sto navigando con il mio cellulare UMTS... quindi presumo che il kernel sia compilato correttamente...
Il problema per questa chiavetta è che, nonostante siano presenti i driver anche per linux, non riesce a riconoscerla come modem... ma la vede sempre come device di storage...
qui di seguito il log di usb_modeswitch...
USB_ModeSwitch log from Fri Apr 16 23:12:23 CEST 2010
Using global config file: /etc/usb_modeswitch.conf
raw args from udev: /1-1:1.0
Bus ID for device not given by udev.
Trying to determine it from kernel name (1-1:1.0) ...
USB dir exists: /sys/bus/usb/devices/1-1
Warning: USB attribute "serial" not found.
----------------
USB values from sysfs:
manufacturer HUA WEI
product Huawei Mobile
serial
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/12d1:1446
! matched, now switching
(running command: /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1:1446)
verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 004
usb_os_find_busses: Found 001
usb_os_find_busses: Found 003
usb_os_find_busses: Found 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
Reading config file: /etc/usb_modeswitch.d/12d1:1446
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.1 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= not set
TargetProductList=1001,1406,140c,14ac
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Looking for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1446
found matching vendor ID
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1446
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Found devices in default mode or class (1)
Accessing device 004 on bus 001 ...
USB description data (for identification)
-------------------------
Manufacturer: HUA WEI
Product: Huawei Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x03 ...
USB error: could not claim interface 0: No such device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 005 on 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
OK, message successfully 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.
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1001
found matching vendor ID
found matching product ID from list
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Found target device 005 on bus 001
Target device description data
-------------------------
Manufacturer: HUA WEI
Product: Huawei Mobile
Serial No.: not provided
-------------------------
Found correct target device
Mode switch succeeded. Bye.
ok:12d1:1001
--------------------------------
(end of usb_modeswitch output)
Now checking for newly created serial devices ...
no new serial devices found
USB dir exists: /sys/bus/usb/devices/1-1
Warning: USB attribute "serial" not found.
Trying to load the option driver
loader is: /sbin/modprobe
i diriver per linux inclusi sulla chiavetta oltre ad installare una marea di zozzerie che non mi servono... vanno a installare una regola di udev... che evidentemente non funziona visto che quando avvio il prog non riesce a smontare la chiavetta... cmq così a naso penso che il problema sia di Hald ma non ne sono sicuro...
idee???
Ora sto navigando con il mio cellulare UMTS... quindi presumo che il kernel sia compilato correttamente...
Il problema per questa chiavetta è che, nonostante siano presenti i driver anche per linux, non riesce a riconoscerla come modem... ma la vede sempre come device di storage...
qui di seguito il log di usb_modeswitch...
USB_ModeSwitch log from Fri Apr 16 23:12:23 CEST 2010
Using global config file: /etc/usb_modeswitch.conf
raw args from udev: /1-1:1.0
Bus ID for device not given by udev.
Trying to determine it from kernel name (1-1:1.0) ...
USB dir exists: /sys/bus/usb/devices/1-1
Warning: USB attribute "serial" not found.
----------------
USB values from sysfs:
manufacturer HUA WEI
product Huawei Mobile
serial
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/12d1:1446
! matched, now switching
(running command: /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1:1446)
verbose output of usb_modeswitch:
--------------------------------
usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 002
usb_os_find_busses: Found 004
usb_os_find_busses: Found 001
usb_os_find_busses: Found 003
usb_os_find_busses: Found 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 004 on 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
Reading config file: /etc/usb_modeswitch.d/12d1:1446
* usb-modeswitch: handle USB devices with multiple modes
* Version 1.1.1 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProduct= not set
TargetProductList=1001,1406,140c,14ac
TargetClass= not set
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
MessageEndpoint= not set
MessageContent="55534243123456780000000000000011060000000000000000000000000000"
NeedResponse=0
ResponseEndpoint= not set
Interface=0x00
InquireDevice disabled
Success check enabled, max. wait time 20 seconds
System integration mode enabled
Looking for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1446
found matching vendor ID
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
No devices in target mode or class found
Looking for default devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1446
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Found devices in default mode or class (1)
Accessing device 004 on bus 001 ...
USB description data (for identification)
-------------------------
Manufacturer: HUA WEI
Product: Huawei Mobile
Serial No.: not provided
-------------------------
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x03 ...
USB error: could not claim interface 0: No such device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 004
usb_os_find_devices: Found 005 on 001
usb_os_find_devices: Found 003 on 001
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 001 on 005
OK, message successfully 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.
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 12d1:1001
found matching vendor ID
found matching product ID from list
searching devices, found USB ID 0402:5602
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Found target device 005 on bus 001
Target device description data
-------------------------
Manufacturer: HUA WEI
Product: Huawei Mobile
Serial No.: not provided
-------------------------
Found correct target device
Mode switch succeeded. Bye.
ok:12d1:1001
--------------------------------
(end of usb_modeswitch output)
Now checking for newly created serial devices ...
no new serial devices found
USB dir exists: /sys/bus/usb/devices/1-1
Warning: USB attribute "serial" not found.
Trying to load the option driver
loader is: /sbin/modprobe
i diriver per linux inclusi sulla chiavetta oltre ad installare una marea di zozzerie che non mi servono... vanno a installare una regola di udev... che evidentemente non funziona visto che quando avvio il prog non riesce a smontare la chiavetta... cmq così a naso penso che il problema sia di Hald ma non ne sono sicuro...
idee???