Page 1 of 1

Support for Olivetti Olicard 155

Posted: 17 May 2011, 18:44
by cesar.linhares
Hello everybody!

I'm Cesar from Brazil. First of all I would like to congratulate you and the others that make this amazing project to be a useful tool!

This is my first post on this forum.

I've got an Olivetti 155 USB modem, and it doesn't work with the last version of usb-modeswitch (1.1.7).

I would like to improve usb-modeswitch, adding support for this modem, if no one already did.

Do you have any tips of how can what's going on with the modem when I run usb-modeswitch?

Some useful information:

when I run lsusb, I got:

$lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 04f2:b107 Chicony Electronics Co., Ltd CNF7070 Webcam
Bus 001 Device 023: ID 0b3c:c004 Olivetti Techcenter (*** Here is the modem ***)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


For my first test, I added the following lines to the file /etc/udev/rules.d/40-usb_modeswitch.rules

# Olivetti Olicard 155
ATTRS{idVendor}=="0b3c", ATTRS{idProduct}=="c004", RUN+="usb_modeswitch '%b/%k'"


When I plug the modem, it begins flashing the yellow light (that's a good thing), but then it comes back to the flashing green light, and this is the storage mode. No /dev/ttyS* is created.

On this linux, I use an ZTE MF-100, and this one works just fine.

I attached the kernel log output when I plug the modem on my machine.

By the way, I'm using one customized LinuxFromScratch, with almost all new packages, all of them build from the source.

Thank you,

Cesar


Kernel Output:

May 17 09:56:46 trinity kernel: [ 7352.044464] usb 1-2: unregistering device
May 17 09:56:46 trinity kernel: [ 7352.044472] usb 1-2: unregistering interface 1-2:1.0
May 17 09:56:46 trinity kernel: [ 7352.044613] usb 1-2: unregistering interface 1-2:1.1
May 17 09:56:46 trinity kernel: [ 7352.044699] usb 1-2: unregistering interface 1-2:1.2
May 17 09:56:46 trinity kernel: [ 7352.044785] usb 1-2: unregistering interface 1-2:1.3
May 17 09:56:46 trinity kernel: [ 7352.044868] usb 1-2: unregistering interface 1-2:1.4
May 17 09:56:46 trinity kernel: [ 7352.050523] usb 1-2: unregistering interface 1-2:1.5
May 17 09:56:46 trinity kernel: [ 7352.050635] usb 1-2: unregistering interface 1-2:1.6
May 17 09:56:46 trinity kernel: [ 7352.050739] usb 1-2: usb_disable_device nuking all URBs
May 17 09:56:46 trinity kernel: [ 7352.154072] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
May 17 09:57:05 trinity kernel: [ 7370.667360] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0004
May 17 09:57:05 trinity kernel: [ 7370.667390] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001803 0 ACK POWER sig=j CSC CONNECT
May 17 09:57:05 trinity kernel: [ 7370.667410] hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
May 17 09:57:05 trinity kernel: [ 7370.771080] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
May 17 09:57:05 trinity kernel: [ 7370.822714] ehci_hcd 0000:00:10.4: port 2 high speed
May 17 09:57:05 trinity kernel: [ 7370.822735] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
May 17 09:57:05 trinity kernel: [ 7370.873074] usb 1-2: new high speed USB device using ehci_hcd and address 24
May 17 09:57:05 trinity kernel: [ 7370.924355] ehci_hcd 0000:00:10.4: port 2 high speed
May 17 09:57:05 trinity kernel: [ 7370.924376] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
May 17 09:57:05 trinity kernel: [ 7370.988755] usb 1-2: default language 0x0409
May 17 09:57:05 trinity kernel: [ 7370.989886] usb 1-2: udev 24, busnum 1, minor = 23
May 17 09:57:05 trinity kernel: [ 7370.989897] usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
May 17 09:57:05 trinity kernel: [ 7370.989909] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
May 17 09:57:05 trinity kernel: [ 7370.989919] usb 1-2: Product: HSPA Data Card
May 17 09:57:05 trinity kernel: [ 7370.989927] usb 1-2: Manufacturer: USBModem
May 17 09:57:05 trinity kernel: [ 7370.989935] usb 1-2: SerialNumber: 1234567890ABCDEF
May 17 09:57:05 trinity kernel: [ 7370.990202] usb 1-2: usb_probe_device
May 17 09:57:05 trinity kernel: [ 7370.990214] usb 1-2: configuration #1 chosen from 1 choice
May 17 09:57:05 trinity kernel: [ 7370.992771] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
May 17 09:57:05 trinity kernel: [ 7370.992933] usb-storage 1-2:1.0: usb_probe_interface
May 17 09:57:05 trinity kernel: [ 7370.992958] usb-storage 1-2:1.0: usb_probe_interface - got id
May 17 09:57:05 trinity kernel: [ 7370.995730] scsi23 : usb-storage 1-2:1.0
May 17 09:57:05 trinity kernel: [ 7370.996646] drivers/usb/core/inode.c: creating file '024'
May 17 09:57:06 trinity kernel: [ 7371.581598] usb-storage 1-2:1.0: disconnect by usbfs
May 17 09:57:06 trinity kernel: [ 7371.605025] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0004
May 17 09:57:06 trinity kernel: [ 7371.605055] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001002 0 ACK POWER sig=se0 CSC
May 17 09:57:06 trinity kernel: [ 7371.605073] hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
May 17 09:57:06 trinity kernel: [ 7371.605090] ehci_hcd 0000:00:10.4: detected XactErr len 0/13 retry 1
May 17 09:57:06 trinity kernel: [ 7371.605104] usb 1-2: USB disconnect, address 24
May 17 09:57:06 trinity kernel: [ 7371.605114] usb 1-2: unregistering device
May 17 09:57:06 trinity kernel: [ 7371.605122] usb 1-2: unregistering interface 1-2:1.0
May 17 09:57:06 trinity kernel: [ 7371.605213] ehci_hcd 0000:00:10.4: detected XactErr len 0/13 retry 2
May 17 09:57:06 trinity kernel: [ 7371.605243] ehci_hcd 0000:00:10.4: shutdown urb f49ea580 ep1in-bulk
May 17 09:57:06 trinity kernel: [ 7371.605411] usb 1-2: usb_disable_device nuking all URBs
May 17 09:57:06 trinity kernel: [ 7371.710078] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001803 0 ACK POWER sig=j CSC CONNECT
May 17 09:57:06 trinity kernel: [ 7371.814082] hub 1-0:1.0: debounce: port 2: total 200ms stable 100ms status 0x501
May 17 09:57:06 trinity kernel: [ 7371.865386] ehci_hcd 0000:00:10.4: port 2 high speed
May 17 09:57:06 trinity kernel: [ 7371.865407] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
May 17 09:57:06 trinity kernel: [ 7371.916059] usb 1-2: new high speed USB device using ehci_hcd and address 25
May 17 09:57:06 trinity kernel: [ 7371.967404] ehci_hcd 0000:00:10.4: port 2 high speed
May 17 09:57:06 trinity kernel: [ 7371.967425] ehci_hcd 0000:00:10.4: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT
May 17 09:57:06 trinity kernel: [ 7372.031928] usb 1-2: default language 0x0409
May 17 09:57:06 trinity kernel: [ 7372.033087] usb 1-2: udev 25, busnum 1, minor = 24
May 17 09:57:06 trinity kernel: [ 7372.033098] usb 1-2: New USB device found, idVendor=0b3c, idProduct=c004
May 17 09:57:06 trinity kernel: [ 7372.033110] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=4
May 17 09:57:06 trinity kernel: [ 7372.033120] usb 1-2: Product: HSPA Data Card
May 17 09:57:06 trinity kernel: [ 7372.033127] usb 1-2: Manufacturer: USBModem
May 17 09:57:06 trinity kernel: [ 7372.033135] usb 1-2: SerialNumber: 1234567890ABCDEF
May 17 09:57:06 trinity kernel: [ 7372.033376] usb 1-2: usb_probe_device
May 17 09:57:06 trinity kernel: [ 7372.033387] usb 1-2: configuration #1 chosen from 1 choice
May 17 09:57:06 trinity kernel: [ 7372.035933] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
May 17 09:57:06 trinity kernel: [ 7372.036163] usbserial_generic 1-2:1.0: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.036173] usbserial_generic 1-2:1.0: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.036265] usb 1-2: adding 1-2:1.1 (config #1, interface 1)
May 17 09:57:06 trinity kernel: [ 7372.036377] usbserial_generic 1-2:1.1: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.036385] usbserial_generic 1-2:1.1: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.036467] usb 1-2: adding 1-2:1.2 (config #1, interface 2)
May 17 09:57:06 trinity kernel: [ 7372.036577] usbserial_generic 1-2:1.2: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.036585] usbserial_generic 1-2:1.2: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.036667] usb 1-2: adding 1-2:1.3 (config #1, interface 3)
May 17 09:57:06 trinity kernel: [ 7372.036778] usbserial_generic 1-2:1.3: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.036786] usbserial_generic 1-2:1.3: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.036867] usb 1-2: adding 1-2:1.4 (config #1, interface 4)
May 17 09:57:06 trinity kernel: [ 7372.036966] usb-storage 1-2:1.4: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.036989] usb-storage 1-2:1.4: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.041266] scsi24 : usb-storage 1-2:1.4
May 17 09:57:06 trinity kernel: [ 7372.043051] usb 1-2: adding 1-2:1.5 (config #1, interface 5)
May 17 09:57:06 trinity kernel: [ 7372.043221] usbserial_generic 1-2:1.5: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.043232] usbserial_generic 1-2:1.5: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.043357] usb 1-2: adding 1-2:1.6 (config #1, interface 6)
May 17 09:57:06 trinity kernel: [ 7372.043470] usbserial_generic 1-2:1.6: usb_probe_interface
May 17 09:57:06 trinity kernel: [ 7372.043479] usbserial_generic 1-2:1.6: usb_probe_interface - got id
May 17 09:57:06 trinity kernel: [ 7372.043605] drivers/usb/core/inode.c: creating file '025'
May 17 09:57:06 trinity kernel: [ 7372.048718] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0004
May 17 09:57:07 trinity kernel: [ 7373.049534] scsi 24:0:0:0: Direct-Access USBModem MMC Storage 2.31 PQ: 0 ANSI: 2
May 17 09:57:07 trinity kernel: [ 7373.049943] sd 24:0:0:0: Attached scsi generic sg1 type 0
May 17 09:57:07 trinity kernel: [ 7373.059435] sd 24:0:0:0: [sdb] Attached SCSI removable disk

Posted: 17 May 2011, 19:04
by Josh
There is probably a misunderstanding; your device did in fact switch, but the target product ID is yet unknown to the existing config file.

This is where you plug in:

Code: Select all

 usb 1-2: New USB device found, idVendor=0b3c, idProduct=f000
And this is after switching:

Code: Select all

usb 1-2: New USB device found, idVendor=0b3c, idProduct=c004
The only thing you have to do is adding your target ID (c004) to the existing config file "0b3c:f000".

Delete the line "TargetProduct= 0xc003" and instead add this:

Code: Select all

TargetProductList="c003,c004"
This should result in giving you the "option" driver, bound to the device after switching and providing the ttyUSBx ports.


Posted: 19 May 2011, 20:23
by cesar.linhares
Thanks for your help! With your tips, I could see the /dev/ttyUSBx.

I'm sorry for misunderstood the usb-modeswitch configuration. But I could only get the /dev/ttyUSB{0-5} only after loading the usbserial kernel module by hand, with the following command:

modprobe usbserial vendor=0x0b3c product=0xc004

I could solve this creating the file /etc/udev/rules.d/14-olicardmodules.rules with this content:

SYSFS{idVendor}=="0b3c",SYSFS{idProduct}=="c004",RUN+="/sbin/modprobe usbserial vendor=0x0b3c product=0xc004"
KERNEL=="ttyUSB[23]",ACTION=="add",SYSFS{idVendor}=="0b3c",SYSFS{idProduct}=="c004",RUN+="/bin/sleep 2"


I don't know if this is the best way of making the module to be loaded automatically.

I discovered that /dev/ttyUSB3 is the serial device that work as a modem. But I couldn't connect to the internet with this modem. After setting /etc/wvdial.conf, when I start the wvdial command, it starts dialing, it connects and lauch the pppd command. After that, the pppd dies with this message:


pppd[5186]: pppd 2.4.5 started by root, uid 0
pppd[5186]: Using interface ppp0
pppd[5186]: Connect: ppp0 <--> /dev/ttyUSB3
pppd[5186]: LCP: timeout sending Config-Requests
pppd[5186]: Connection terminated.
pppd[5186]: Modem hangup
pppd[5186]: Exit.

After that the modem dies, It doesn't answer for any command, even the "ATZ".

I tried to use the modules usb_wwan and option, but it dosn't make any difference.

I know that my problem is out of the scope of this forum.

Thanks for the fast feedback.

Posted: 24 May 2011, 08:02
by Josh
You should not have to load any driver manually with usb_modeswitch installed. Otherwise, please enable logging in "/etc/usb_modeswitch.conf" (see main doc page, paragraph "Troubleshooting").

Post the resulting log after replugging (might take some moments to appear).


Posted: 27 May 2011, 03:28
by cesar.linhares
Sorry for taking too long to answer... I was too busy this week... :(

I've enabled the log at /etc/usb_modeswitch.conf with the EnableLogging=1 option.

Doing this, the file /var/log/usb_modeswitch_1-1\:1.0 was created when I plugged the modem at the USB port.

Here goes the file content:



USB_ModeSwitch log from Thu May 26 22:11:29 BRT 2011

raw args from udev: /1-1:1.0

Using global config file: /etc/usb_modeswitch.conf
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
----------------
USB values from sysfs:
manufacturer USBModem
product HSPA Data Card
serial 1234567890ABCDEF
----------------
SCSI attributes not needed, moving on
checking config: /etc/usb_modeswitch.d/0b3c:f000~
! matched, now switching
(running command: /usr/sbin/usb_modeswitch -I -W -c /etc/usb_modeswitch.d/0b3c:f000~)

Verbose debug output of usb_modeswitch and libusb follows
(Note that some USB errors are expected in the process)
--------------------------------

Reading config file: /etc/usb_modeswitch.d/0b3c:f000~

* usb_modeswitch: handle USB devices with multiple modes
* Version 1.1.6 (C) Josua Dietze 2010
* Based on libusb0 (0.1.12 and above)

! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor= 0x0b3c
DefaultProduct= 0xf000
TargetVendor= 0x0b3c
TargetProduct= 0xc003
TargetClass= not set
TargetProductList=""

DetachStorageOnly=0
HuaweiMode=0
SierraMode=0
SonyMode=0
GCTMode=0
KobilMode=0
MessageEndpoint= not set
MessageContent="5553424312345678c000000080010606f50402527000000000000000000000"
NeedResponse=1
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:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 0b3c:f000
found matching vendor ID
searching devices, found USB ID 1d6b:0001
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:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 0b3c:f000
found matching vendor ID
found matching product ID
adding device
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: USBModem
Product: HSPA Data Card
Serial No.: 1234567890ABCDEF
-------------------------
Looking for active driver ...
OK, driver found ("dummy")
OK, driver "dummy" detached
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reading the response to the message (CSW) ...
Response reading got error -75, can probably be ignored
Device is gone, skipping any further commands

Checking for mode switch (max. 20 times, once per second) ...
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
Searching for target devices ...
searching devices, found USB ID 0b3c:c004
found matching vendor ID
searching devices, found USB ID 1d6b:0002
searching devices, found USB ID 04f2:b107
searching devices, found USB ID 13fe:1f00
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
searching devices, found USB ID 1d6b:0001
No new devices in target mode or class found

Mode switch has failed. Bye.

fail:
--------------------------------
(end of usb_modeswitch output)

USB dir exists: /sys/bus/usb/devices/1-1

All done, exiting



EOF

I could see the udev doesn't know the device.
I'm sorry because I didn't had time to study the documentation properly... :( Maybe this weekend...

If someone can help, it would be nice.

Thanks

Posted: 27 May 2011, 17:10
by Josh
It's as I said in my first reply (see above):

The target product ID "c004" must be added to the config file. It's there after switching but not recognized.

You have to edit the config file "0b3c:f000" and make the changes I described.