public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] tethering an htc incredible
Date: Mon, 20 Jun 2011 11:46:51 -0400	[thread overview]
Message-ID: <yu9y60wwln8.fsf@nyu.edu> (raw)
In-Reply-To: <BANLkTint1Gr+f-HxmVNx25waANJAd3QKuA@mail.gmail.com> (Matthew Finkel's message of "Sun, 19 Jun 2011 12:15:07 -0400")


I should first add that I have verizon and that I have not contacted
them.  I am willing to contact them and pay a monthly fee if necessary
for the times I am away from normal wifi access (basically two weeks
on a NH island).

I should also add that in all my attempts I have never had
ifconfig report a usb0 entry (or any usbN) and have never had
a /dev/usb0 (or usbN).

Thank you all for your help.  

On Sun, Jun 19 2011, Matthew Finkel wrote:

> Yea, I have the Nexus S, and it's pretty much as close to plug-n-play as
> I've found on linux...
> These are the steps I take in order to get usb tethering to work:
> 1) Plug the phone into the computer via usb cable
> 2) From the Setting->Wireless & netwoks submenu I enable USB Tethering

I do not see a "tethering" option.  I do see "3G mobile hotspot" and "3G
modbile hotspot settings".  These seem to relate to having the phone act
as a wireless access point.  This requires contacting verizon, but does
not seem to be the option in question since it is for wireless access
not usb access.

I do see mobile broadband connect.  When I select it, it does show
that the USB connection has been changed to mobile broadband connect.
But nothing extra appears in dmesg.  I have previously set this option
permanently on the phone for testing (rather than changing to it after
plugging in the usb cable) also with no success.  This is the reason I
feel that I must have some kernel option missing.  I do have the ones
suggested in a forum post (now they are built in, I also tried as
modules).

CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_CDC_EEM=y
CONFIG_USB_ARMLINUX=y
CONFIG_USB_ACM=y
CONFIG_USB_WDM=y

> 3) I wait until the device settles (just monitor dmesg)

There are no changes to dmesg output after I enable mobile connect

> 4) After it's ready, ifconfig will show an available but non-configured
> device (usb0 in my case)
> 5) I run "dhclient usb0" and once it pulls an IP, I'm up and running.
>
>
> When you plug in your phone to tether it, do you see any error messages in
> the logs?

When I plug in the phone dmesg gives

[ 1825.633094] usb usb1: usb auto-resume
[ 1825.633100] ehci_hcd 0000:00:1a.0: resume root hub
[ 1825.653000] hub 1-0:1.0: hub_resume
[ 1825.653018] hub 1-0:1.0: port 1: status 0507 change 0000
[ 1825.653043] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
[ 1825.653048] usb 1-1: usb auto-resume
[ 1825.679038] ehci_hcd 0000:00:1a.0: GetStatus port:1 status 001005 0  ACK POWER sig=se0 PE CONNECT
[ 1825.689895] usb 1-1: finish resume
[ 1825.690167] hub 1-1:1.0: hub_resume
[ 1825.690920] ehci_hcd 0000:00:1a.0: reused qh ffff880225c15080 schedule
[ 1825.690929] usb 1-1: link qh256-0001/ffff880225c15080 start 1 [1/0 us]
[ 1825.691112] hub 1-1:1.0: state 7 ports 6 chg 0000 evt 0000
[ 1828.278413] hub 1-1:1.0: hub_suspend
[ 1828.278428] usb 1-1: unlink qh256-0001/ffff880225c15080 start 1 [1/0 us]
[ 1828.278674] usb 1-1: usb auto-suspend
[ 1830.284525] hub 1-0:1.0: hub_suspend
[ 1830.284535] usb usb1: bus auto-suspend
[ 1830.284537] ehci_hcd 0000:00:1a.0: suspend root hub
[ 1841.081945] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 1841.148575] ISOFS: changing to secondary root
[ 6992.873688] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
[20763.850372] hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0004
[20763.850599] hub 2-1:1.0: port 2, status 0101, change 0001, 12 Mb/s
[20763.953937] hub 2-1:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
[20763.964882] hub 2-1:1.0: port 2 not reset yet, waiting 10ms
[20764.026740] usb 2-1.2: new high speed USB device number 7 using ehci_hcd
[20764.038696] hub 2-1:1.0: port 2 not reset yet, waiting 10ms
[20764.119521] usb 2-1.2: default language 0x0409
[20764.125501] usb 2-1.2: udev 7, busnum 2, minor = 134
[20764.125507] usb 2-1.2: New USB device found, idVendor=0bb4, idProduct=0ff9
[20764.125512] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[20764.125516] usb 2-1.2: Product: Android Phone
[20764.125520] usb 2-1.2: Manufacturer: HTC
[20764.125523] usb 2-1.2: SerialNumber: HT05THJ06550
[20764.125645] usb 2-1.2: usb_probe_device
[20764.125648] usb 2-1.2: configuration #1 chosen from 1 choice
[20764.126855] usb 2-1.2: adding 2-1.2:1.0 (config #1, interface 0)
[20764.126919] usb-storage 2-1.2:1.0: usb_probe_interface
[20764.126923] usb-storage 2-1.2:1.0: usb_probe_interface - got id
[20764.126974] scsi6 : usb-storage 2-1.2:1.0
[20764.127048] drivers/usb/core/inode.c: creating file '007'
[20765.127160] scsi 6:0:0:0: Direct-Access     HTC      Android Phone    0100 PQ: 0 ANSI: 2
[20765.127352] sd 6:0:0:0: Attached scsi generic sg2 type 0
[20765.133013] sd 6:0:0:0: [sdb] Attached SCSI removable disk




  reply	other threads:[~2011-06-20 16:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 14:38 [gentoo-user] tethering an htc incredible Allan Gottlieb
2011-06-16 14:49 ` Paul Hartman
2011-06-16 18:11   ` Allan Gottlieb
2011-06-16 21:31   ` Allan Gottlieb
2011-06-16 22:00 ` Mick
2011-06-16 22:13   ` Allan Gottlieb
2011-06-17  5:32     ` Mick
2011-06-17 10:52       ` Allan Gottlieb
2011-06-17 11:13         ` Mick
2011-06-17 14:20           ` Allan Gottlieb
2011-06-17 16:29             ` David Abbott
2011-06-18 15:06               ` Allan Gottlieb
2011-06-18 17:53                 ` David Abbott
2011-06-19 10:25                   ` Allan Gottlieb
2011-06-19 10:40                     ` Indi
2011-06-19 16:15                       ` Matthew Finkel
2011-06-20 15:46                         ` Allan Gottlieb [this message]
     [not found]                           ` <4DFFA6D7.6020701@gmail.com>
2011-06-20 20:10                             ` Sebastian Beßler
2011-06-20 23:02                               ` Stroller
2011-06-21  0:16                                 ` Allan Gottlieb
2011-06-21  1:23                                   ` Stroller
2011-06-21  1:34                                     ` Stroller
2011-06-21  3:49                                       ` Allan Gottlieb
2011-06-21  3:43                                     ` Allan Gottlieb
2011-06-21  5:54                                       ` Al

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9y60wwln8.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox