I am using usb ethernet dongle with chip dm9601.
so for anyone who needs it.
Basic usage:
Code:
su
modprobe dm9601
# if the above command is not working, use this instead.
insmod /system/lib/modules/dm9601.ko
# for dhcp
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
# for static ip
ifconfig eth0 10.0.10.5 netmask 255.255.255.0 broadcast 10.0.10.255
route add default gw 10.0.10.1
setprop net.dns1 8.8.8.8
And that's it.
update_dm9601.zip
ps. tested in EOS ROM #20
check if your kernel version is 2.6.39.4-Tiamat-02006-gd302a89
if yes, you can use this module.
20120116_dm9601.zip
ps. tested in EOS ROM #38
check if your kernel version is 2.6.39.4-Tiamat-02030-ge515569
if yes, you can use this module.
20120122_update.zip
ps. tested in EOS ROM #44
check if your kernel version is 2.6.39.4-Tiamat-02044-gf2b60b1-dirty
if yes, you can use this module.
20120202_update_dm9601.zip
ps. tested in EOS ROM #58
check if your kernel version is 2.6.39.4-Tiamat-3.0.4-gpuoc-02063-gf5229f7
if yes, you can use this module.
Awesome. Thank you very much
Sent from my Xoom using Tapatalk
Nice, but any thread with 3G usb dongle?
Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx
send from my MZ601 with Tapatalk
Craxx said:
Nice nice nice please can you make a version for hc 3.2 with Kernel Rogue "Rana 1.4.3"?
Best regards
Craxx
send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
what is your kernel version ?
Setting -> About tablet.
Hy clotai,
My version is [email protected] #20
Thx a lot
Craxx
Send from my MZ601 with Tapatalk
Craxx said:
Hy clotai,
My version is [email protected] #20
Thx a lot
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
Ok. Please Try this.
Hy clotai,
i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0
This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
but it doesn´t work.
When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8
Hope you can solve this
Craxx said:
Hy clotai,
i tested your file but do not work. I think something should be corrected in your first post?
instead of /system/bin/dhcpd eth0 it should be /system/bin/dhcpcd eth0
This i put in console:
su
/system/bin/dhcpcd eth0
setprop net.dns1 8.8.8.8
but it doesn´t work.
When i write:
su
ifconfig eth0 192.168.0.190 netmask 255.255.255.0 broadcast 192.168.0.255
I get an error: error: CIOCSIFADDR (No such device)
route add default gw 192.168.0.1
I get an error: Invalid argument
setprop net.dns1 8.8.8.8
Hope you can solve this
Click to expand...
Click to collapse
1. did you do 'modprobe dm9601' ?
2. if the answer of 1 is yes, please show me dmesg when you plug-in your
usb ethernet device
3. please also show me lsusb.
Hy clotai,
Sorry i forgot. Yes i do modeprobe, but modeprobe couldn't find...
I am at work now so later i can post the rest of your questions
Craxx
Send from my MZ601 with Tapatalk
Craxx said:
Hy clotai,
Sorry i forgot. Yes i do modeprobe, but modeprobe couldn't find...
I am at work now so later i can post the rest of your questions
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
if modprobe is not found, please try to use
Code:
insmod /system/lib/modules/dm9601.ko
Hi,
I have also a problem with this module and rogue kernel
Dmesg
6>[ 774.845504] usb usb2: Product: Tegra EHCI Host Controller
<6>[ 774.845523] usb usb2: Manufacturer: Linux 2.6.36.4-rogue-1.4.3+ ehci_hcd
<6>[ 774.846072] usb usb2: SerialNumber: tegra-ehci.0
<6>[ 774.850240] hub 2-0:1.0: USB hub found
<6>[ 774.850288] hub 2-0:1.0: 1 port detected
<6>[ 775.325506] usb 2-1: new full speed USB device using tegra-ehci and address 2
<6>[ 775.370394] usb 2-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 775.370448] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 775.370488] usb 2-1: Product: USB 2.0 10/100M Ethernet Adaptor
sh-4.1# dhcp
dhcpcd dhcprelay
sh-4.1# dhcpcd eth0
dhcpcd[3078]: version 5.2.10 starting
dhcpcd[3078]: eth0: interface not found or invalid
sh-4.1# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 22b8:2a70
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 0fe6:9700
sh-4.1# uname -r
2.6.36.4-rogue-1.4.3+
Hy clotai,
thx a lot for your advice, NOW it works GREAT. I send this with connected LAN cable and wifi and data connection off. THX really great
@ Kluczus
I think you have no dm9601 usb to lan adapter. Sorry.
Craxx
Send from my MZ601 with Tapatalk
kluczus said:
Hi,
I have also a problem with this module and rogue kernel
Dmesg
6>[ 774.845504] usb usb2: Product: Tegra EHCI Host Controller
<6>[ 774.845523] usb usb2: Manufacturer: Linux 2.6.36.4-rogue-1.4.3+ ehci_hcd
<6>[ 774.846072] usb usb2: SerialNumber: tegra-ehci.0
<6>[ 774.850240] hub 2-0:1.0: USB hub found
<6>[ 774.850288] hub 2-0:1.0: 1 port detected
<6>[ 775.325506] usb 2-1: new full speed USB device using tegra-ehci and address 2
<6>[ 775.370394] usb 2-1: New USB device found, idVendor=0fe6, idProduct=9700
<6>[ 775.370448] usb 2-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
<6>[ 775.370488] usb 2-1: Product: USB 2.0 10/100M Ethernet Adaptor
sh-4.1# dhcp
dhcpcd dhcprelay
sh-4.1# dhcpcd eth0
dhcpcd[3078]: version 5.2.10 starting
dhcpcd[3078]: eth0: interface not found or invalid
sh-4.1# lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 22b8:2a70
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 0fe6:9700
sh-4.1# uname -r
2.6.36.4-rogue-1.4.3+
Click to expand...
Click to collapse
if you are using 'modprobe dm9601' and not working,
use 'insmod /system/lib/modules/dm9691.ko'
Craxx said:
Hy clotai,
thx a lot for your advice, NOW it works GREAT. I send this with connected LAN cable and wifi and data connection off. THX really great
@ Kluczus
I think you have no dm9601 usb to lan adapter. Sorry.
Craxx
Send from my MZ601 with Tapatalk
Click to expand...
Click to collapse
Glad to help you
O, you have right, this is KY-QF9700 Is it possible to compile module for rogue kernel?
I have found something like this ...
kluczus said:
O, you have right, this is KY-QF9700 Is it possible to compile module for rogue kernel?
I have found something like this ...
Click to expand...
Click to collapse
please visit this url and see if it's working.
http://forum.xda-developers.com/showthread.php?t=1425178
You are my hero )))))))) It is working now
kluczus said:
You are my hero )))))))) It is working now
Click to expand...
Click to collapse
you are welcome.
Wow, this is AWESOME! So, I just flash these drivers from CWM? Also, how do I know if a USB/Ethernet adaptor will work with this?
Is it possible to run Linux without chroot? I got Archlinux up and running
Code:
[[email protected] ~]# hostname
galaxys
[[email protected] ~]# cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 663.76
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc08
CPU revision : 2
Hardware : aries
Revision : 0030
Serial : 313423849c8b00ec
[[email protected] ~]# uname -a
Linux galaxys 3.1.10_IcyGlitch_V14-B6_I9K-T959D #1 PREEMPT Sat Mar 24 18:00:37 CET 2012 armv7l ARMv7 Processor rev 2 (v7l) aries GNU/Linux
[[email protected] ~]# pacman -Qs pacman
local/pacman 4.0.2-1.1 (base)
A library-based package manager with dependency support
local/pacman-mirrorlist 20120204-1 (base)
Arch Linux ARM mirror list for use by pacman
[[email protected] ~]# cat /proc/cmdline
console=ttySAC2,115200 loglevel=4 androidboot.serialno=313423849C8B00EC bootmode=0
[[email protected] ~]#
... but it would be nice to boot into Archlinux instead of ICS. I haven't compiled kernels for the phone before - is the root filesystem path hardcoded in the compile? The only thing I can find is this:
Code:
[[email protected] ~]# zcat /proc/config.gz |grep -i cmdline
CONFIG_CMDLINE="console=ttyFIQ0,115200 init=/init"
Of course, I would probably have to repartition whatever is the root partition. Perhaps I could repartition the internal SD card, give the partition a label and use that for root.
Any pointers? Thanks,
Edit: http://forum.xda-developers.com/showthread.php?t=999097#12206727
Aha. This might be difficult.
Wondering if anyone has seen or done themselves, kali or pwn pad on the new Nexus 7...
br0k3nilluzion said:
Wondering if anyone has seen or done themselves, kali or pwn pad on the new Nexus 7...
Click to expand...
Click to collapse
I would like To know this too.
Take a look at the pwn pad forum itself.
binkybear is active in this topic...
--> http://w11.zetaboards.com/Pwnie_Express/topic/9102405/
--> http://w11.zetaboards.com/Pwnie_Express/topic/9172573/
What is Kali or pwn pad
Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
Kali is a pentesting OS. PwnPad is more or less the same - a pentesting framework.
Pwn Pad itself works fine - but we have still some problems with USB-WLAN Adapters. The dmesg show all informations about the Adapter,
but the wlan1 is not there It is a Kernel problem. May someone can help out ?
Code:
[ 585.854461] smb345_charger: [smb345_otg_status] otg function: on
[ 585.859008] msm_otg msm_otg: phy_reset: success
[ 585.968139] Host mode: Set DC level as 0x61 for deb.
[ 585.968475] msm_hsusb_host msm_hsusb_host: Qualcomm On-Chip EHCI Host Controller
[ 585.969024] msm_hsusb_host msm_hsusb_host: new USB bus registered, assigned bus number 2
[ 585.998199] msm_hsusb_host msm_hsusb_host: irq 132, io mem 0x12500000
[ 586.018188] msm_hsusb_host msm_hsusb_host: USB 2.0 started, EHCI 1.00
[ 586.018890] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 586.019317] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 586.019592] usb usb2: Product: Qualcomm On-Chip EHCI Host Controller
[ 586.020019] usb usb2: Manufacturer: Linux 3.4.0-g49a12ca ehci_hcd
[ 586.020233] usb usb2: SerialNumber: msm_hsusb_host
[ 586.028228] hub 2-0:1.0: USB hub found
[ 586.028533] hub 2-0:1.0: 1 port detected
[ 586.346893] usb 2-1: new high-speed USB device number 2 using msm_hsusb_host
[ 586.549926] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101
[ 586.550354] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 586.550567] usb 2-1: Product: USB 2.0 Hub
[ 586.556304] hub 2-1:1.0: USB hub found
[ 586.557586] hub 2-1:1.0: 4 ports detected
[ 586.579132] msm_otg msm_otg: chg_type = USB_SDP_CHARGER
[ 586.579559] smb345_charger: [usb_cable_type_detect] INOK=L
[ 586.579803] smb345_charger: [usb_cable_type_detect] Cable: SDP
[ 586.582733] smb345_charger: [smb345_vflt_setting] Set Float Volt, retval=ea setting=e8
[ 586.584167] ========================================================
[ 586.584594] bq27541_battery_callback usb_cable_state = 1
[ 586.584808] ========================================================
[ 586.585205] battery_callback cable_wake_lock 5 sec...
[ 586.585235]
[ 586.585845] elan-ktf3k 3-0010: Update power source to 1
[ 586.589111] bq27541_get_capacity = 51% ret= 54
[ 586.589660] The USB cable status = CHARGER_SDP
[ 586.590118] msm_otg msm_otg: Failed notifying 0 charger type to PMIC
[ 586.590362] vbus_otg is NULL.
[ 586.591674] bq27541_get_psp voltage_now= 3822000 uV
[ 586.593292] bq27541_get_psp temperature= 181 (0.1\xffffffa2XC)
[ 586.596984] bq27541_get_psp status: Not charging ret= 0x0101
[ 586.737426] request_suspend_state: wakeup (3->0) at 586731119653 (2013-10-30 16:14:36.752185830 UTC)
[ 586.737579] late_resume: call handlers
[ 586.749816] [ektf3k]:[elan] elan_ktf3k_ts_resume: enter
[ 586.752716] [ektf3k]:Get the power mode:8
[ 586.753601] mipi_dsi_panel_power+, on=1
[ 586.753906] [ektf3k]:[elan] dump repsponse: ff
[ 586.753906] [ektf3k]:[elan] elan_ktf3k_ts_resume: wake up tp failed! err = 15
[ 586.754394] [ektf3k]:[elan] dump repsponse: 58
[ 586.754394] late_resume: done
[ 586.754547] [ektf3k]:[elan] Get unknow packet {0xFF, 0xFF, 0xFF, 0xFF}
[ 586.826385] mipi_dsi_panel_power-
[ 586.832031] mipi_JDI_lcd_on+
[ 586.832031] mipi_JDI_lcd_on, JDI display on command+, command bl
[ 586.836486] usb 2-1.1: new high-speed USB device number 3 using msm_hsusb_host
[ 586.967224] usb 2-1.1: New USB device found, idVendor=0cf3, idProduct=9271
[ 586.967254] usb 2-1.1: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 586.967254] usb 2-1.1: Product: USB2.0 WLAN
[ 586.967254] usb 2-1.1: Manufacturer: ATHEROS
[ 586.967254] usb 2-1.1: SerialNumber: 12345
[ 586.976348] mipi_JDI_lcd_on, JDI display on command-
Code:
[email protected]:~# iwconfig
rev_rmnet1 no wireless extensions.
rmnet6 no wireless extensions.
rev_rmnet5 no wireless extensions.
rmnet1 no wireless extensions.
rmnet_usb2 no wireless extensions.
lo no wireless extensions.
rev_rmnet0 no wireless extensions.
rmnet5 no wireless extensions.
rev_rmnet4 no wireless extensions.
rmnet0 no wireless extensions.
rmnet_usb1 no wireless extensions.
rev_rmnet8 no wireless extensions.
rmnet4 no wireless extensions.
sit0 no wireless extensions.
dummy0 no wireless extensions.
rev_rmnet3 no wireless extensions.
wlan0 Qcom:802.11n ESSID:"LAN-NET" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 9C:C7:A6:85:72:D3
Bit Rate=65 Mb/s Tx-Power=16 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:DFAB-B26A-4C33-45C2-7B0E-6E55-6663-EE95-BEA8-9EED-5711-A961-83FB-FEDA-57AB-3E1A [3] Security mode:restricted
rmnet_usb0 no wireless extensions.
rev_rmnet7 no wireless extensions.
rmnet3 no wireless extensions.
rev_rmnet2 no wireless extensions.
rmnet7 no wireless extensions.
rev_rmnet6 no wireless extensions.
rmnet2 no wireless extensions.
rmnet_usb3 no wireless extensions.
p2p0 Qcom:802.11n ESSID:off/any Nickname:""
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=0 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:off
rmnet_smux0 no wireless extensions.
I have a galaxy s3 connected to centos 6. I want to access the cellular modem. I have installed the android development kit and rooted the samsung s3. I can get a root shell using 'adb shell'. I installed busybox for 'microcom' but I cant get the serial port to work.
[email protected]:/ # microcom -t 5000 -s 115200 /dev/ttyGS0
< just stalls till I type control-C>
[email protected]:/ #
[email protected]:/ # cat /proc/tty/drivers
/dev/tty /dev/tty 5 0 system:/dev/tty
/dev/console /dev/console 5 1 system:console
/dev/ptmx /dev/ptmx 5 2 system
/dev/vc/0 /dev/vc/0 4 0 system:vtmaster
rfcomm /dev/rfcomm 216 0-255 serial
g_serial /dev/ttyGS 238 0-3 serial
usbserial /dev/ttyUSB 188 0-253 serial
acm /dev/ttyACM 166 0-31 serial
msm_serial_hsl /dev/ttyHSL 244 0-2 serial
msm_serial_hs /dev/ttyHS 245 0-1 serial
pty_slave /dev/pts 136 0-1048575 pty:slave
pty_master /dev/ptm 128 0-1048575 pty:master
pty_slave /dev/ttyp 3 0-255 pty:slave
pty_master /dev/pty 2 0-255 pty:master
smd_tty_driver /dev/smd 252 0-36 serial
unknown /dev/tty 4 1-63 console
thanks,
Yile
Does anyone know the specs from HTC 10 USB type-C data cable?
Is it 3.1 compliant or just 2.0?
Does it have 56 kohm resistor?
Is it Host on one side (like on the USB A end or USB C end)?
I've bought a 3.1 gen-2 spec USB type-C cable and used the HTC 10 phone to connect to my laptop USB port:
in adb shell I have the following:
Code:
htc_pmeuhl:/ $ dmesg | grep 'Avail curr from USB'
dmesg | grep 'Avail curr from USB'
[78299.627895] c0 0 msm-dwc3 6a00000.ssusb: Avail curr from USB = 2
[78299.660068] c0 24752 msm-dwc3 6a00000.ssusb: Avail curr from USB = 0
[78736.025329] c0 0 msm-dwc3 6a00000.ssusb: Avail curr from USB = 500
[78745.978540] c0 21426 msm-dwc3 6a00000.ssusb: Avail curr from USB = 0
[78746.258901] c0 2058 msm-dwc3 6a00000.ssusb: Avail curr from USB = 900
[78792.233277] c0 0 msm-dwc3 6a00000.ssusb: Avail curr from USB = 0
[B][78792.490812] c0 30600 msm-dwc3 6a00000.ssusb: Avail curr from USB = 500[/B]
Now after enabling the Fast File Transfers on the phone (to use the USB 3.1 transfer file) the USB curr increases from 500 to 900
Code:
[B][78746.258901] c0 2058 msm-dwc3 6a00000.ssusb: Avail curr from USB = 900[/B]
Anyone know if this is ok?
The specs of the cable:
This cable is only suitable to connect a device with USB Type-C™ connector to a PC or
laptop if the PC functions as host.
Specification
• Connector:
SuperSpeed USB 10 Gbps (USB 3.1 Gen 2) Type-A male >
SuperSpeed USB 10 Gbps (USB 3.1 Gen 2) USB Type-C™ male
• Host = USB Type A; Device = USB Type-C™
• Cable gauge:
30 AWG data line
22 AWG power line
• Resistor: 56 kΩ
• Cable diameter: ca. 4.5 mm
• Data transfer rate up to SuperSpeed USB 10 Gbps
• Colour: black
• Length incl. connector: ca. 0.5 m
System requirements
• PC or laptop with a free USB Type-A port
• Device with USB Type-C™ port
Package content
• SuperSpeed USB 10 Gbps cable