Page 1 of 1

Alcatel Onetouch X602D 1bbb 022e

Posted: 15 Sep 2019, 19:22
by gla
The modem has only sim card slot. I use ModemManager with it and this was my initial problem output from ModemManager

Code: Select all

...device not supported by any plugin...
so I tried fixing my problem by whitelisting the modem by creating the file /lib/udev/rules.d/78-mm-whitelist-internal-modem.rules whose contents include

Code: Select all

ACTION!="add|change|move", GOTO="mm_whitelist_internal_modem_end"
ATTRS{idVendor}=="1bbb", ATTRS{idProduct}=="022e", ENV{ID_MM_DEVICE_PROCESS}="1"
LABEL="mm_whitelist_internal_modem_end"
I then did this

Code: Select all

udevadm control -R
udevadm trigger
That did not make the modem work so I rebooted my my machine and it still did not work , I then I tried this

Code: Select all

modprobe option
echo 1bbb 022e > /sys/bus/usb-serial/drivers/option1/new_id
That is the final idea I had to solve my problem but the modem is still not working. Lsusb output is

Code: Select all

Bus 001 Device 005: ID 1bbb:022e T & A Mobile Phones
/sys/kernel/debug/usb/devices output is

Code: Select all

T:  Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  5 Spd=480  MxCh= 0
D:  Ver= 1.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1bbb ProdID=022e Rev= 2.02
C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E:  Ad=85(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
dmesg output is

Code: Select all

[ 2240.701973] usb 1-3: new high-speed USB device number 5 using ehci-pci
[ 2240.848954] usb 1-3: config 1 interface 0 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 64
[ 2240.848960] usb 1-3: config 1 interface 0 altsetting 0 bulk endpoint 0x6 has invalid maxpacket 64
[ 2240.848967] usb 1-3: New USB device found, idVendor=1bbb, idProduct=022e, bcdDevice= 2.02
[ 2240.848971] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2240.849680] option 1-3:1.0: GSM modem (1-port) converter detected
[ 2240.854425] usb 1-3: GSM modem (1-port) converter now attached to ttyUSB0
[ 2436.005163] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
ModemManager status is

Code: Select all

(tty/ttyUSB0): released by device '/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3
(tty/ttyUSB1): released by device '/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3'
(tty/ttyUSB2): released by device '/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3'
device /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3] creating modem with plugin 'Generic' and '1' ports
Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Couldn't create modem for device '/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3': Failed to find primary AT port
I'm using Parabola GNU/Linux-libre. Kernel version 5.2.5-gnu-1

Re: Alcatel Onetouch X602D 1bbb 022e

Posted: 16 Sep 2019, 02:22
by LOM
When a modem has just one,single, interface then that interface can not be used for much else than debugging or firmware download, your attempt at supporting your modem by adding udev rules and forcing the option driver onto it won't change that.
An X602D should have the pid 022c with 4-5 interfaces, not 022e. If you unplug and replug the modem and then check in the end of your dmesg log showing the detection of the modem after replug then is it initially detected there as 1bbb:022e ?
Is there any indication there that it is being switched from another pid into pid 022e?

Re: Alcatel Onetouch X602D 1bbb 022e

Posted: 16 Sep 2019, 06:34
by gla
there's no indication of pid being changed

Re: Alcatel Onetouch X602D 1bbb 022e

Posted: 16 Sep 2019, 09:57
by LOM
Well then I can unfortunately not help you, your X602D is not in a usable mode so you'd better ask the seller to replace it.

Re: Alcatel Onetouch X602D 1bbb 022e

Posted: 18 Sep 2019, 11:32
by gla
well, thanks for looking into my issue