Hi, when i connect an Huawei 3g usb dongle i see this in dmesg:
[ 2706.844241] usb 2-1: new high speed USB device using tegra-ehci and address 7
[ 2706.876571] usb 2-1: New USB device found, idVendor=12d1, idProduct=1c05
[ 2706.876627] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 2706.876671] usb 2-1: Product: HUAWEI Mobile
[ 2706.876705] usb 2-1: Manufacturer: HUAWEI
but i can't find the associated device under /dev (I guess it should be ttyHS[X])
Thanks for any help!
Related
Hi all,
i am opening this thread to push the development on the mtk65xx phones. The taget is to boot CM10 on those devices and maybe we could achive this goal with bundled effort, here is how far i get on this:
1. the source code for this devices is now accessible through different sources. as i own an alcatel one touch 998 the code is accessible ( and for many other phones ) on http://sourceforge.net/projects/alcatel/files/.
2 Building the source:
2.1 Pass the Target device through the environment variable during build e.g. TARGET_PRODUCT=jrdsh77_cu_ics2 for my phone
2.1 Add the needed Header to the Product through mkimage -> ./mkimage zImage KERNEL > kernel (mkimage is inside mediatek/build/tools/)
this will add the needed header to boot the image to the compiled zImage.
3. Repack the Image with repack-MT65xx.pl ( my honor and rewards to Bruno Martins )
4. Boot Phone to Recovery and flash the kernel through dd if=<PathToBoot.img>/boot.img of=/dev/bootimg && sync
5. Reboot Phone.
Ok this is about it how i do it, i don not mention to flash the System-Partiton here as this is a obvious task and can easily done by the cm-<...>.zip generated by the normal build procedure, by commenting out the kernel flash lines inside the updater-script.
Problem for me is now that i get into a bootloop: My phone only shows the vendor Logo stays there for some seconds an reboots again, on my x86_64 Machine inside dmesg i get:
Code:
[ 6717.986372] usb 2-4: new high-speed USB device number 17 using ehci_hcd
[ 6718.120618] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6718.120629] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6718.120637] usb 2-4: Product: MT65xx Preloader
[ 6718.120642] usb 2-4: Manufacturer: MediaTek
[ 6718.182193] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6719.142274] usb 2-4: USB disconnect, device number 17
[ 6734.134696] usb 2-4: new high-speed USB device number 18 using ehci_hcd
[ 6734.268987] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6734.268998] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6734.269005] usb 2-4: Product: MT65xx Preloader
[ 6734.269011] usb 2-4: Manufacturer: MediaTek
[ 6734.331210] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6735.294111] usb 2-4: USB disconnect, device number 18
[ 6750.067450] usb 2-4: new high-speed USB device number 19 using ehci_hcd
[ 6750.201879] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6750.201890] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6750.201897] usb 2-4: Product: MT65xx Preloader
[ 6750.201903] usb 2-4: Manufacturer: MediaTek
[ 6750.263563] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6751.230653] usb 2-4: USB disconnect, device number 19
[ 6766.000293] usb 2-4: new high-speed USB device number 20 using ehci_hcd
[ 6766.134432] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6766.134443] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6766.134451] usb 2-4: Product: MT65xx Preloader
[ 6766.134456] usb 2-4: Manufacturer: MediaTek
[ 6766.196292] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6767.150220] usb 2-4: USB disconnect, device number 20
[ 6781.933093] usb 2-4: new high-speed USB device number 21 using ehci_hcd
[ 6782.067271] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6782.067282] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6782.067289] usb 2-4: Product: MT65xx Preloader
[ 6782.067295] usb 2-4: Manufacturer: MediaTek
[ 6782.129241] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6783.096138] usb 2-4: USB disconnect, device number 21
So it starts -> boots to preloader -> tries to boot the kernel and fails miserably here, as i dont have any chance to get any debug message to find out what is wrong here im stuck, i have no suggestion, i booted a kernel once succesfully but flashing it now does lead to the same beavior. Maybe reseting it to complete stock and starting again would help but i dont know how to do this, maybe someone can provide me here with some Information, or maybe someone can start with the information here, if any Information is needed or some point needs clearification im free to help. i have several Serial debug cables/chips here but i dont see where i could attach a serial console to the phone to read some debug messages, does anyone know if this is possible?
Sorry for my lousy english :/ i try to get better.
Greetz HUELK
I own an mtk6575 device too,Emmc partition, powervr,hvga screen, 512mb ram running J.b 4.1...
But I am new to ROM porting,wish I culd help
I am not sure how far you can go but, atleast booting to CM is an important steps.
I cant understand the log cat, however if you want to use the stock kernel, have you tried this?
BoardConfig.mk file add
TARGET_PREBUILT_KERNEL := device/manufacturer/devicename/kernel
a few words of encouragement
would be great to have CM10 for MTK65xx phones, maybe solve my crap chinaclone GPS problem.
hope you not abandoned the project.
have u checked the CPUgovernor in the original rom, maybe overclocking and setting voltages too high. set the conservative option as default in the kernel build.
stevet99uk said:
would be great to have CM10 for MTK65xx phones, maybe solve my crap chinaclone GPS problem.
hope you not abandoned the project.
have u checked the CPUgovernor in the original rom, maybe overclocking and setting voltages too high. set the conservative option as default in the kernel build.
Click to expand...
Click to collapse
Hello there. At last someone is doing it too. I'm currently downloading the sources again to re attempt the unknown.
I also have that idea of incompatible/unbootable kernel. Have you tried unpacking the stock boot.img by using the mt-65xx-unpack.pl? That is what I'm thinking to do but have not tried it yet since I'm still building the environment.
We get the working kernel from the original boot.img then use it to build the boot.img to be used for cm.
so theres no hope for android chinese. eh. i am trying to port the cm10 but no luck. since there is no real source given to download.
Hello,
I have problem with device T-R42.
I cannot enable ethernet - every time I try enable connection it logs to logcat:
dmesg reports:
<6>[ 3.329844] usb 2-1.4: new full speed USB device number 3 using usb20_host
<3>[ 3.409848] usb 2-1.4: device descriptor read/64, error -32
<3>[ 3.599841] usb 2-1.4: device descriptor read/64, error -32
whilest properly operational device has
<6>[ 3.390032] usb 2-1.4: new high speed USB device number 3 using usb20_host
<6>[ 3.502644] usb 2-1.4: New USB device found, idVendor=0b95, idProduct=772b
<6>[ 3.502680] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 3.502716] usb 2-1.4: Product: AX88772C
<6>[ 3.502741] usb 2-1.4: Manufacturer: ASIX Elec. Corp.
<6>[ 3.502766] usb 2-1.4: SerialNumber: 0002B1
<6>[ 4.153134] ASIX USB Ethernet Adapter:v4.1.1 17:50:33 Aug 13 2013
Is there anybody who can help me, please?
Many thanks
Jan
Hi everyone
I'm working on a custom embedbed android version with printing support. I'm having some troubles when connecting the printer do the board (EM210 Android 4.0)
This is the log from dmsg when I connect the usb printer (1.1 USB) the board is compliant with USB 2.0.
[ 3867.524022] usb 1-1.3: new full speed USB device number 14 using s5p-ehci
[ 3867.614000] usb 1-1.3: device descriptor read/64, error -32
[ 3867.804011] usb 1-1.3: device descriptor read/64, error -32
[ 3867.994175] usb 1-1.3: new full speed USB device number 15 using s5p-ehci
[ 3868.084009] usb 1-1.3: device descriptor read/64, error -32
[ 3868.274402] usb 1-1.3: device descriptor read/64, error -32
[ 3868.469008] usb 1-1.3: new full speed USB device number 16 using s5p-ehci
[ 3868.883827] usb 1-1.3: device not accepting address 16, error -32
[ 3868.904184] hub 1-1:1.0: unable to enumerate USB device on port 3
[ 3869.114141] usb 1-1.3: new full speed USB device number 18 using s5p-ehci
I used USB Device INFO app and in Linux tab I can see that the printer was correctly mounted on /sys/bus/usb/devices/1-1.3/ but In Android there is no device detected.
Any idea on how can I try to make this work?
Thanks for any help
Hi,
First i'm french si sorry for grammar
I 'm on cyanogenmod 12 / nethunter /root /busybox
I recently bought an wifi adaptater and plug it on my phone but I doesn't show up on ifconfig or airmon-ng.I have tried an other card who work with no problem. The strange thing is that the card show up in lsusb and dmesg
Output of lsusb:
Code:
[email protected]:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output of dmesg:
Code:
[53625.557927] init: untracked pid 1031 exited with status 0[53636.095878] msm-dwc3 msm_dwc3: DWC3 exited from low power mode
[53636.098024] qpnp_chg_ext_charger_reset: qpnp_chg_ext_charger_reset reset:1
[53636.100268] qpnp_chg_ext_charger_reset: qpnp_chg_ext_charger_reset reset:0
[53636.104646] qpnp_chg_ext_charger_wdt_set: qpnp_chg_ext_charger_wdt_set seconds:0
[53636.105999] bq24196_charge_en enable:0
[53636.108919] bq24196_vddmax_set voltage:4350
[53636.115950] bq24196_charge_en enable:2
[53636.125106] xhci-hcd xhci-hcd: xHCI Host Controller
[53636.125408] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[53636.137471] xhci-hcd xhci-hcd: irq 163, io mem 0xf9200000[53636.155514] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[53636.156186] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[53636.156286] usb usb1: Product: xHCI Host Controller
[53636.156439] usb usb1: Manufacturer: Linux 3.4.67-cyanogenmod-g399b32b xhci-hcd
[53636.156536] usb usb1: SerialNumber: xhci-hcd
[53636.160953] xHCI xhci_add_endpoint called for root hub
[53636.160962] xHCI xhci_check_bandwidth called for root hub[53636.161638] hub 1-0:1.0: USB hub found
[53636.161736] hub 1-0:1.0: 1 port detected
[53636.162783] xhci-hcd xhci-hcd: xHCI Host Controller
[53636.162936] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[53636.163183] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[53636.163330] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[53636.163473] usb usb2: Product: xHCI Host Controller
[53636.163554] usb usb2: Manufacturer: Linux 3.4.67-cyanogenmod-g399b32b xhci-hcd
[53636.163701] usb usb2: SerialNumber: xhci-hcd
[53636.165570] xHCI xhci_add_endpoint called for root hub
[53636.165579] xHCI xhci_check_bandwidth called for root hub[53636.166218] hub 2-0:1.0: USB hub found
[53636.166310] hub 2-0:1.0: 1 port detected
[53636.653437] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[53636.686391] usb 1-1: New USB device found, idVendor=148f, idProduct=7601
[53636.686847] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[53636.687281] usb 1-1: Product: 802.11 n WLAN
[53636.687521] usb 1-1: Manufacturer: MediaTek
[53636.687759] usb 1-1: SerialNumber: 1.0
[email protected]:~#
If anyone know how to fix or patch it let me know how.
TurtleForGaming said:
Hi,
First i'm french si sorry for grammar
I 'm on cyanogenmod 12 / nethunter /root /busybox
I recently bought an wifi adaptater and plug it on my phone but I doesn't show up on ifconfig or airmon-ng.I have tried an other card who work with no problem. The strange thing is that the card show up in lsusb and dmesg
Output of lsusb:
Code:
[email protected]:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output of dmesg:
Code:
[53625.557927] init: untracked pid 1031 exited with status 0[53636.095878] msm-dwc3 msm_dwc3: DWC3 exited from low power mode
[53636.098024] qpnp_chg_ext_charger_reset: qpnp_chg_ext_charger_reset reset:1
[53636.100268] qpnp_chg_ext_charger_reset: qpnp_chg_ext_charger_reset reset:0
[53636.104646] qpnp_chg_ext_charger_wdt_set: qpnp_chg_ext_charger_wdt_set seconds:0
[53636.105999] bq24196_charge_en enable:0
[53636.108919] bq24196_vddmax_set voltage:4350
[53636.115950] bq24196_charge_en enable:2
[53636.125106] xhci-hcd xhci-hcd: xHCI Host Controller
[53636.125408] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 1
[53636.137471] xhci-hcd xhci-hcd: irq 163, io mem 0xf9200000[53636.155514] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[53636.156186] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[53636.156286] usb usb1: Product: xHCI Host Controller
[53636.156439] usb usb1: Manufacturer: Linux 3.4.67-cyanogenmod-g399b32b xhci-hcd
[53636.156536] usb usb1: SerialNumber: xhci-hcd
[53636.160953] xHCI xhci_add_endpoint called for root hub
[53636.160962] xHCI xhci_check_bandwidth called for root hub[53636.161638] hub 1-0:1.0: USB hub found
[53636.161736] hub 1-0:1.0: 1 port detected
[53636.162783] xhci-hcd xhci-hcd: xHCI Host Controller
[53636.162936] xhci-hcd xhci-hcd: new USB bus registered, assigned bus number 2
[53636.163183] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[53636.163330] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[53636.163473] usb usb2: Product: xHCI Host Controller
[53636.163554] usb usb2: Manufacturer: Linux 3.4.67-cyanogenmod-g399b32b xhci-hcd
[53636.163701] usb usb2: SerialNumber: xhci-hcd
[53636.165570] xHCI xhci_add_endpoint called for root hub
[53636.165579] xHCI xhci_check_bandwidth called for root hub[53636.166218] hub 2-0:1.0: USB hub found
[53636.166310] hub 2-0:1.0: 1 port detected
[53636.653437] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[53636.686391] usb 1-1: New USB device found, idVendor=148f, idProduct=7601
[53636.686847] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[53636.687281] usb 1-1: Product: 802.11 n WLAN
[53636.687521] usb 1-1: Manufacturer: MediaTek
[53636.687759] usb 1-1: SerialNumber: 1.0
[email protected]:~#
If anyone know how to fix or patch it let me know how.
Click to expand...
Click to collapse
I guess this thread can help you:
https://forum.xda-developers.com/oneplus-one/general/unleash-true-potential-oneplus-t3394310
Nope. In my case I think it's driver related because other card work but I can't install the linux driver for the MT7601U due software dependencies / 404 error
UP
I have custom 3.4.49 kernel with Android 5.1 and for some reason, I broke it and now the modem ports do not appear in /dev
This is the debug output I see with custom kernel:
<6>[ 2.868000] usbcore: registered new interface driver usbserial
<6>[ 2.876000] usbcore: registered new interface driver usbserial_generic
<6>[ 2.884000] USB Serial support registered for generic
<6>[ 2.944000] usb 1-1.2: new high-speed USB device number 3 using nxp-ehci
<6>[ 3.052000] usb 1-1.2: New USB device found, idVendor=1e0e, idProduct=9001
<6>[ 3.052000] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
<6>[ 3.060000] usb 1-1.2: Product: SimTech, Incorporated
<6>[ 3.064000] usb 1-1.2: Manufacturer: SimTech, Incorporated
<6>[ 3.068000] usb 1-1.2: SerialNumber: 0123456789ABCDEF
<6>[ 3.076000] usbserial: USB Serial Driver core
<6>[ 3.080000] usbcore: registered new interface driver ch341
<6>[ 3.084000] USB Serial support registered for ch341-uart
<6>[ 3.088000] usbcore: registered new interface driver cp210x
<6>[ 3.096000] USB Serial support registered for cp210x
<6>[ 3.100000] usbcore: registered new interface driver ftdi_sio
<6>[ 3.104000] USB Serial support registered for FTDI USB Serial Device
<6>[ 3.112000] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
<6>[ 3.116000] usbcore: registered new interface driver option
<6>[ 3.124000] USB Serial support registered for GSM modem (1-port)
<6>[ 3.128000] usbcore: registered new interface driver pl2303
<6>[ 3.136000] USB Serial support registered for pl2303
<6>[ 3.140000] usbcore: registered new interface driver ti_usb_3410_5052
<6>[ 3.148000] USB Serial support registered for TI USB 3410 1 port adapter
<6>[ 3.152000] USB Serial support registered for TI USB 5052 2 port adapter
<6>[ 3.160000] ti_usb_3410_5052: v0.10:TI USB 3410/5052 Serial Driver
Now, if I load back the original kernel, then this is what I see in the debug output.
[ 2.936000] usbcore: registered new interface driver usbserial
[ 2.940000] usbcore: registered new interface driver usbserial_generic
[ 2.948000] USB Serial support registered for generic
[ 3.012000] usb 1-1.2: new high-speed USB device number 3 using nxp-ehci
[ 3.124000] usb 1-1.2: New USB device found, idVendor=1e0e, idProduct=9001
[ 3.124000] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.132000] usb 1-1.2: Product: SimTech, Incorporated
[ 3.136000] usb 1-1.2: Manufacturer: SimTech, Incorporated
[ 3.144000] usb 1-1.2: SerialNumber: 0123456789ABCDEF
[ 3.152000] usbserial: USB Serial Driver core
[ 3.152000] usbcore: registered new interface driver ch341
[ 3.156000] USB Serial support registered for ch341-uart
[ 3.164000] usbcore: registered new interface driver cp210x
[ 3.168000] USB Serial support registered for cp210x
[ 3.172000] usbcore: registered new interface driver ftdi_sio
[ 3.180000] USB Serial support registered for FTDI USB Serial Device
[ 3.184000] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[ 3.192000] usbcore: registered new interface driver option
[ 3.196000] USB Serial support registered for GSM modem (1-port)
[ 3.204000] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 3.208000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 3.216000] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 3.220000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 3.228000] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 3.236000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 3.244000] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 3.248000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 3.256000] option 1-1.2:1.4: GSM modem (1-port) converter detected
[ 3.260000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB4
[ 3.268000] usbcore: registered new interface driver pl2303
[ 3.272000] USB Serial support registered for pl2303
[ 3.280000] usbcore: registered new interface driver ti_usb_3410_5052
[ 3.284000] USB Serial support registered for TI USB 3410 1 port adapter
[ 3.292000] USB Serial support registered for TI USB 5052 2 port adapter
[ 3.300000] ti_usb_3410_5052: v0.10:TI USB 3410/5052 Serial Driver
Right after [ 3.196000] USB Serial support registered for GSM modem (1-port), the 5 ttyUSB ports are listed. So what am I missing from the kernel build that is failing to handle the modem and add the ports? The Android build is identical and only the kernel has been changed.
I've uploaded the complete debug capture for both here if that will help to narrow this down.
http://www.axoninstruments.biz/download/ttyUSB-notdetected.txt
http://www.axoninstruments.biz/download/ttyUSB-detected.txt
I found the issue with this. It was an update via git pull that overwrote code I had added to option.c to add the modem USB VID and PID. Once I added them back in, it's working again. DOH!!