Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
jacksbarrow
Posts: 3
Joined: 05 May 2009, 11:06

Alcatel X200 setup problem...

Post by jacksbarrow » 06 May 2009, 16:01

Hi to all, I got a ton of problems installing this internet key...
I get DefaultVendor= 0x1bbb and DefaultProduct= 0xf000 plus this log file:
http://rapidshare.com/files/229811504/UsbSnoop.log and this
lsusb result: Bus 001 Device 003: ID 1bbb:f000 T & A Mobile Phones

When I attempt to modify usb_modeswitch.conf adding:
DefaultVendor= 0x1bbb
DefaultProduct= 0xf000
TargetVendor= 0x1bbb
TargetProduct= 0xf000
MessageEndpoint=0x01
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"

nothing changes.
I get all the way: lsusb Bus 001 Device 003: ID 1bbb:f000 T & A Mobile Phones("f000" should change in "0000").

Any idea to solve this quest?

Thank you

Regards

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 06 May 2009, 23:58

How do you know about the expected change to "0000"?

jacksbarrow
Posts: 3
Joined: 05 May 2009, 11:06

Post by jacksbarrow » 07 May 2009, 09:02

Josh wrote:How do you know about the expected change to "0000"?
Hello Josh,
I read this: http://www.tuxmind.org/2009/04/16/alcat ... -un-pirla/

Step #2 . says Questo cambierà il risultato del comando lsusb da Bus 001 Device 003: ID 1bbb:f000 T & A Mobile Phones a Bus 001 Device 003: ID 1bbb:0000 T & A Mobile Phones. La differenza sta tutta in un solo 0, ma vi assicuro che è una grande differenza.

translated is: This will change lsusb result from (...) ID 1bbb:f000 to 1bbb:0000. The only difference is a "0" but make great result.
Anyway, I think something should change after usb_modeswitch.conf changes but nothing happens.

Thank you very much

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 07 May 2009, 09:27

OK, I assume that at least usb_modeswitch ran without errors. Be so kind and post the output of "usb_modeswitch -W" here.

A small error in your config is the TargetProduct; it should be "0x0000" if the reports you cite are correct. But this would not prevent the program from doing its job.

jacksbarrow
Posts: 3
Joined: 05 May 2009, 11:06

Post by jacksbarrow » 07 May 2009, 11:59

Hello Josh, below is the result:

DefaultVendor= 0x1bbb
DefaultProduct= 0xf000
TargetVendor= 0x1bbb
TargetProduct= 0xf000
MessageEndpoint=0x01
MessageContent="55534243123456782400000080000612000000240000000000000000000000"


* usb_modeswitch: tool for controlling "flip flop" mode USB devices
* Version 0.9.7 (C) Josua Dietze 2009
* Works with libusb 0.1.12 and probably other versions

Reading config file: /etc/usb_modeswitch.conf
DefaultVendor=0x1bbb
DefaultProduct=0xf000
TargetVendor=0x1bbb
TargetProduct=0xf000
TargetClass=0x0
DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
MessageEndpoint=0x1
MessageContent="55534243123456788000000080000606f50402527000000000000000000000"
Interface=0x0

Success check disabled

usb_set_debug: Setting debugging level to 15 (on)
usb_os_find_busses: Found 001
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 002 on 001
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 001
error obtaining child information: Operation not permitted
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 005
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 004
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 003
error obtaining child information: Operation not permitted
usb_os_find_devices: couldn't get connect info
usb_os_find_devices: Found 001 on 002
error obtaining child information: Operation not permitted

Looking for target devices ...
Found devices in target mode or class (1)
Looking for default devices ...
Found default devices (1)
Prepare switching, accessing device 000 on bus 001 ...
Looking for active driver ...
USB error: could not get bound driver: Operation not permitted
No driver found. Either detached before or never attached
Setting up communication with interface 0 ...
USB error: could not claim interface 0: Operation not permitted
Could not claim interface (error -1). Skipping message sending
-> Run lsusb to note any changes. Bye


thanks a lot Josh

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Post by Josh » 08 May 2009, 09:11

Did you read the USB_ModeSwitch documentation page? Or the README file in the package?

You have to do all lsusb and libusb stuff as root/superuser.

And you still have "TargetProduct=0xf000" instead of "0x0000".

Post Reply