Author Message

<  Setup Discussion  ~  Unsupported device. Alcatel x232d

PostPosted: Wed Apr 12, 2017 3:12 pm Reply with quote
Posts: 5Joined: Wed Apr 12, 2017 3:03 pm
Good afternoon.
I Have a problem with my Alacatel x232D modem. Googled and searched everywhere. Nothing helps. Even if I try to switch it like X602 with same PID,VID (1bbb,022c).
Tried to figure out how to make unsupported devices to support. Nothing.
Have both Windows and Linux(Debian) so on Windows it DOES work in bot modes. So I want to do everything you say to deal with my device.
What and How should I do to understand how does it switch on Windows to make it works with Linux? I think the problem is this device isn`t popular thats why nobody tried to switch it. Isn`t it? Will glad to talk with any kind of discussion.
Thanks in advance!


Offline Profile
PostPosted: Wed Apr 12, 2017 3:16 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
What does lsusb tell about the dongles USB Id?


Offline Profile
PostPosted: Wed Apr 12, 2017 3:19 pm Reply with quote
Posts: 5Joined: Wed Apr 12, 2017 3:03 pm
LOM wrote:
What does lsusb tell about the dongles USB Id?

Bus 001 Device 004: ID 1bbb:022c T & A Mobile Phones


Offline Profile
PostPosted: Wed Apr 12, 2017 3:29 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
usb_modeswitch will handle 1bbb:022c by selecting its 2nd config.
Show me output from cat /proc/bus/usb/devices or from cat /sys/kernel/debug/usb/devices


Offline Profile
PostPosted: Wed Apr 12, 2017 3:34 pm Reply with quote
Posts: 5Joined: Wed Apr 12, 2017 3:03 pm
LOM wrote:
usb_modeswitch will handle 1bbb:022c by selecting its 2nd config.


Code:
$ sudo usb_modeswitch -v 1bbb -p 022c -u 2
Look for default devices ...
   product ID matched
Get the current device configuration ...
 No devices in default mode found. Nothing to do. Bye!


LOM wrote:
Show me output from cat /proc/bus/usb/devices or from cat /sys/kernel/debug/usb/devices

Code:
$ sudo cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int= -3, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.04
S:  Manufacturer=Linux 4.4.50-v7+ dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=3f980000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 5
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=9514 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=ec00 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=smsc95xx
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=1ms

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  2
P:  Vendor=1bbb ProdID=022c Rev= 0.00
S:  Manufacturer=SCD
S:  Product=HSPA+ USB Modem
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
C:* #Ifs= 4 Cfg#= 2 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us


Offline Profile
PostPosted: Wed Apr 12, 2017 3:50 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
LionisIAm wrote:


T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 2
P: Vendor=1bbb ProdID=022c Rev= 0.00
S: Manufacturer=SCD
S: Product=HSPA+ USB Modem

C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us

C:* #Ifs= 4 Cfg#= 2 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=125us



2 configurations, config1 contains the virtual cd-rom with windows drivers and connection manager.
config2 is the modem mode and it is currently the active config (the * after C: denotes that) so usb_modeswitch has switched it.

No drivers bound to the interfaces because no one has reported it/sent in a patch to the linux maintainers.
You can add on-the-fly linux driver support for it with the cmd:

sudo echo 1bbb 022c > /sys/bus/usb-serial/drivers/option1/new_id

this will create 4 ttyUSB devices in /dev and they are:

MI_00 SCD Extension Port
MI_01 SCD HSPA+ USB Modem
MI_02 SCD Control Port
MI_03 SCD Voice Port

Good luck!


Offline Profile
PostPosted: Wed Apr 12, 2017 4:05 pm Reply with quote
Posts: 5Joined: Wed Apr 12, 2017 3:03 pm
Thanks!
LOM wrote:

sudo echo 1bbb 022c > /sys/bus/usb-serial/drivers/option1/new_id

this will create 4 ttyUSB devices in /dev and they are:


But command returns
Code:
-bash:  /sys/bus/usb-serial/drivers/option1/new_id: No such file or directory


Offline Profile
PostPosted: Wed Apr 12, 2017 4:24 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
The option driver must be loaded before adding a new id to it.

sudo modprobe option
sudo echo 1bbb 022c > /sys/bus/usb-serial/drivers/option1/new_id


Offline Profile
PostPosted: Wed Apr 12, 2017 4:33 pm Reply with quote
Posts: 5Joined: Wed Apr 12, 2017 3:03 pm
Thanks a lot!
Now done.
But modem is still "blinking" . Seems like something Isn`t done? Sorry for my stupid..
In dmesg I Had
Code:
[ 4262.956724] usbcore: registered new interface driver option
[ 4262.957223] usbserial: USB Serial support registered for GSM modem (1-port)


Offline Profile
PostPosted: Wed Apr 12, 2017 4:52 pm Reply with quote
Posts: 1156Location: Koh Samui, THJoined: Wed Jul 11, 2012 3:14 pm
You need to setup a dialer like vwdial, Sakis3G, or ModemManager but that is a task not covered by this forum.
Google is your friend for that.
ttyUSB1 is the modem.


Offline Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
10 posts
Users browsing this forum: Google [Bot] and 3 guests
Search for:
Post new topic  Reply to topic
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum