LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   HTC Desire S vs HTC Desire C - USB Android tethering problem (http://www.linuxquestions.org/questions/showthread.php?t=4175435966)

wakatana 11-06-2012 05:37 PM

HTC Desire S vs HTC Desire C - USB Android tethering problem
 
HTC Desire S vs HTC Desire C - USB Android tethering problem

Hi gurus,
I have problem with android usb tethering (usb0 interface). I tried two phones HTC Desire C and HTC Desire S. With Desire C everything works as expected, usb0 automatically goes up and gains IP address and tethering is working (output bellow)

HTC Desire C:
Code:

Nov  6 23:32:36 HP-PC kernel: [ 8858.599122] usb 2-1: new high-speed USB device number 24 using ehci_hcd
Nov  6 23:32:36 HP-PC kernel: [ 8858.714582] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0ff9
Nov  6 23:32:36 HP-PC kernel: [ 8858.714593] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Nov  6 23:32:36 HP-PC kernel: [ 8858.714601] usb 2-1: Product: Android Phone
Nov  6 23:32:36 HP-PC kernel: [ 8858.714607] usb 2-1: Manufacturer: HTC
Nov  6 23:32:36 HP-PC kernel: [ 8858.714613] usb 2-1: SerialNumber: SH28LW501667
Nov  6 23:32:36 HP-PC kernel: [ 8858.718716] scsi16 : usb-storage 2-1:1.0
Nov  6 23:32:36 HP-PC mtp-probe: checking bus 2, device 24: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Nov  6 23:32:36 HP-PC mtp-probe: bus: 2, device: 24 was not an MTP device
Nov  6 23:32:37 HP-PC kernel: [ 8859.721079] scsi 16:0:0:0: Direct-Access    HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:37 HP-PC kernel: [ 8859.721654] scsi 16:0:0:1: Direct-Access    HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:37 HP-PC kernel: [ 8859.722277] scsi 16:0:0:2: CD-ROM            HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:37 HP-PC kernel: [ 8859.723863] sd 16:0:0:0: Attached scsi generic sg2 type 0
Nov  6 23:32:37 HP-PC kernel: [ 8859.724311] sd 16:0:0:1: Attached scsi generic sg3 type 0
Nov  6 23:32:37 HP-PC kernel: [ 8859.730737] sr1: scsi-1 drive
Nov  6 23:32:37 HP-PC kernel: [ 8859.731271] sr 16:0:0:2: Attached scsi generic sg4 type 5
Nov  6 23:32:37 HP-PC kernel: [ 8859.733615] sd 16:0:0:0: [sdb] Attached SCSI removable disk
Nov  6 23:32:37 HP-PC kernel: [ 8859.734259] sd 16:0:0:1: [sdc] Attached SCSI removable disk
Nov  6 23:32:52 HP-PC kernel: [ 8875.041562] usb 2-1: USB disconnect, device number 24
Nov  6 23:32:53 HP-PC kernel: [ 8875.408119] usb 2-1: new high-speed USB device number 25 using ehci_hcd
Nov  6 23:32:53 HP-PC kernel: [ 8875.523775] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0cf5
Nov  6 23:32:53 HP-PC kernel: [ 8875.523786] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Nov  6 23:32:53 HP-PC kernel: [ 8875.523794] usb 2-1: Product: Android Phone
Nov  6 23:32:53 HP-PC kernel: [ 8875.523800] usb 2-1: Manufacturer: HTC
Nov  6 23:32:53 HP-PC kernel: [ 8875.523806] usb 2-1: SerialNumber: SH28LW501667
Nov  6 23:32:53 HP-PC kernel: [ 8875.527356] scsi17 : usb-storage 2-1:1.0
Nov  6 23:32:53 HP-PC mtp-probe: checking bus 2, device 25: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Nov  6 23:32:53 HP-PC mtp-probe: bus: 2, device: 25 was not an MTP device
Nov  6 23:32:54 HP-PC kernel: [ 8876.532756] scsi 17:0:0:0: Direct-Access    HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:54 HP-PC kernel: [ 8876.534111] scsi 17:0:0:1: Direct-Access    HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:54 HP-PC kernel: [ 8876.535444] scsi 17:0:0:2: CD-ROM            HTC      Android Phone    0000 PQ: 0 ANSI: 2
Nov  6 23:32:54 HP-PC kernel: [ 8876.536156] sd 17:0:0:0: Attached scsi generic sg2 type 0
Nov  6 23:32:54 HP-PC kernel: [ 8876.536395] sd 17:0:0:1: Attached scsi generic sg3 type 0
Nov  6 23:32:54 HP-PC kernel: [ 8876.557557] sr1: scsi-1 drive
Nov  6 23:32:54 HP-PC kernel: [ 8876.557797] sr 17:0:0:2: Attached scsi generic sg4 type 5
Nov  6 23:32:54 HP-PC kernel: [ 8876.563288] sd 17:0:0:1: [sdc] Attached SCSI removable disk
Nov  6 23:32:54 HP-PC kernel: [ 8876.597050] sd 17:0:0:0: [sdb] Attached SCSI removable disk
Nov  6 23:33:09 HP-PC kernel: [ 8891.384194] usb 2-1: USB disconnect, device number 25
Nov  6 23:33:09 HP-PC kernel: [ 8892.055141] usb 2-1: new high-speed USB device number 26 using ehci_hcd
Nov  6 23:33:09 HP-PC kernel: [ 8892.170830] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0ff8
Nov  6 23:33:09 HP-PC kernel: [ 8892.170841] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
Nov  6 23:33:09 HP-PC kernel: [ 8892.170848] usb 2-1: Product: Android Phone
Nov  6 23:33:09 HP-PC kernel: [ 8892.170855] usb 2-1: Manufacturer: HTC
Nov  6 23:33:09 HP-PC kernel: [ 8892.170861] usb 2-1: SerialNumber: SH28LW501667
Nov  6 23:33:09 HP-PC kernel: [ 8892.173527] cdc_ether 2-1:1.0: usb0: register 'cdc_ether' at usb-0000:00:1d.7-1, CDC Ethernet Device, e2:59:0b:e7:4d:e7
Nov  6 23:33:09 HP-PC mtp-probe: checking bus 2, device 26: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Nov  6 23:33:09 HP-PC mtp-probe: bus: 2, device: 26 was not an MTP device
Nov  6 23:33:09 HP-PC NetworkManager[977]: <warn> failed to allocate link cache: (-12) Netlink Error (errno = Operation not supported)
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): carrier is OFF
Nov  6 23:33:09 HP-PC NetworkManager[977]: <error> [1352241189.870136] [nm-device-ethernet.c:456] real_update_permanent_hw_address(): (usb0): unable to read permanent MAC address (error 0)
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): new Ethernet device (driver: 'cdc_ether' ifindex: 14)
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): exported as /org/freedesktop/NetworkManager/Devices/10
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): now managed
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): bringing up device.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): carrier now ON (device state 20)
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): preparing device.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): deactivating device (reason 'managed') [2]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Auto-activating connection 'Wired connection 1'.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) starting connection 'Wired connection 1'
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) scheduled...
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) started...
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) scheduled...
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 1 of 5 (Device Prepare) complete.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) starting...
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): device state change: prepare -> config (reason 'none') [40 50 0]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) successful.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) scheduled.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 2 of 5 (Device Configure) complete.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) started...
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): device state change: config -> ip-config (reason 'none') [50 70 0]
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> dhclient started with pid 5597
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Beginning IP6 addrconf.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 3 of 5 (IP Configure Start) complete.
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): carrier now OFF (device state 70, deferring action for 4 seconds)
Nov  6 23:33:09 HP-PC dhclient[5597]: Internet Systems Consortium DHCP Client 4.2.4-P2
Nov  6 23:33:09 HP-PC dhclient[5597]: Copyright 2004-2012 Internet Systems Consortium.
Nov  6 23:33:09 HP-PC dhclient[5597]: All rights reserved.
Nov  6 23:33:09 HP-PC dhclient[5597]: For info, please visit https://www.isc.org/software/dhcp/
Nov  6 23:33:09 HP-PC dhclient[5597]:
Nov  6 23:33:09 HP-PC NetworkManager[977]: <info> (usb0): DHCPv4 state changed nbi -> preinit
Nov  6 23:33:09 HP-PC dhclient[5597]: Listening on LPF/usb0/e2:59:0b:e7:4d:e7
Nov  6 23:33:09 HP-PC dhclient[5597]: Sending on  LPF/usb0/e2:59:0b:e7:4d:e7
Nov  6 23:33:09 HP-PC dhclient[5597]: Sending on  Socket/fallback
Nov  6 23:33:09 HP-PC dhclient[5597]: DHCPREQUEST on usb0 to 255.255.255.255 port 67
Nov  6 23:33:10 HP-PC NetworkManager[977]: <info> (usb0): carrier now ON (device state 70)
Nov  6 23:33:11 HP-PC avahi-daemon[990]: Registering new address record for fe80::e059:bff:fee7:4de7 on usb0.*.
Nov  6 23:33:13 HP-PC dhclient[5597]: DHCPREQUEST on usb0 to 255.255.255.255 port 67
Nov  6 23:33:13 HP-PC dhclient[5597]: DHCPNAK from 192.168.42.129
Nov  6 23:33:13 HP-PC NetworkManager[977]: <info> (usb0): DHCPv4 state changed preinit -> expire
Nov  6 23:33:13 HP-PC dhclient[5597]: DHCPDISCOVER on usb0 to 255.255.255.255 port 67 interval 5
Nov  6 23:33:13 HP-PC NetworkManager[977]: <info> (usb0): DHCPv4 state changed expire -> preinit
Nov  6 23:33:16 HP-PC dhclient[5597]: DHCPREQUEST on usb0 to 255.255.255.255 port 67
Nov  6 23:33:16 HP-PC dhclient[5597]: DHCPOFFER from 192.168.42.129
Nov  6 23:33:16 HP-PC dhclient[5597]: DHCPACK from 192.168.42.129
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info> (usb0): DHCPv4 state changed preinit -> bound
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info>  address 192.168.42.215
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info>  prefix 24 (255.255.255.0)
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info>  gateway 192.168.42.129
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info>  hostname 'HP-PC'
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info>  nameserver '192.168.42.129'
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Nov  6 23:33:16 HP-PC dhclient[5597]: bound to 192.168.42.215 -- renewal in 1589 seconds.
Nov  6 23:33:16 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 5 of 5 (IPv4 Commit) started...
Nov  6 23:33:16 HP-PC avahi-daemon[990]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.42.215.
Nov  6 23:33:16 HP-PC avahi-daemon[990]: New relevant interface usb0.IPv4 for mDNS.
Nov  6 23:33:16 HP-PC avahi-daemon[990]: Registering new address record for 192.168.42.215 on usb0.IPv4.
Nov  6 23:33:17 HP-PC NetworkManager[977]: <info> Policy set 'domacnost2' (wlan0) as default for IPv4 routing and DNS.
Nov  6 23:33:17 HP-PC NetworkManager[977]: <info> (usb0): device state change: ip-config -> activated (reason 'none') [70 100 0]
Nov  6 23:33:17 HP-PC NetworkManager[977]: <info> Policy set 'Wired connection 1' (usb0) as default for IPv4 routing and DNS.
Nov  6 23:33:17 HP-PC NetworkManager[977]: <info> Activation (usb0) successful, device activated.
Nov  6 23:33:17 HP-PC dbus[1018]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov  6 23:33:17 HP-PC dbus-daemon[1018]: dbus[1018]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov  6 23:33:17 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 5 of 5 (IPv4 Commit) complete.
Nov  6 23:33:17 HP-PC dbus-daemon[1018]: dbus[1018]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov  6 23:33:17 HP-PC dbus[1018]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov  6 23:33:17 HP-PC dbus-daemon[1018]: Starting iscsi (via systemctl):  [  OK  ]
Nov  6 23:33:17 HP-PC dbus-daemon[1018]: Mounting other filesystems:  [  OK  ]
Nov  6 23:33:29 HP-PC NetworkManager[977]: <info> (usb0): IP6 addrconf timed out or failed.
Nov  6 23:33:29 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Nov  6 23:33:29 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Nov  6 23:33:29 HP-PC NetworkManager[977]: <info> Activation (usb0) Stage 4 of 5 (IPv6 Configure Timeout) complete.

Nov  6 23:34:52 HP-PC kernel: [ 8994.884377] usb 2-1: USB disconnect, device number 26
Nov  6 23:34:52 HP-PC kernel: [ 8994.886682] cdc_ether 2-1:1.0: usb0: unregister 'cdc_ether' usb-0000:00:1d.7-1, CDC Ethernet Device
Nov  6 23:34:52 HP-PC avahi-daemon[990]: Interface usb0.IPv4 no longer relevant for mDNS.
Nov  6 23:34:52 HP-PC avahi-daemon[990]: Leaving mDNS multicast group on interface usb0.IPv4 with address 192.168.42.215.
Nov  6 23:34:52 HP-PC dhclient[5597]: receive_packet failed on usb0: Network is down
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): carrier now OFF (device state 100, deferring action for 4 seconds)
Nov  6 23:34:52 HP-PC avahi-daemon[990]: Withdrawing address record for fe80::e059:bff:fee7:4de7 on usb0.
Nov  6 23:34:52 HP-PC avahi-daemon[990]: Withdrawing address record for 192.168.42.215 on usb0.
Nov  6 23:34:52 HP-PC avahi-daemon[990]: Withdrawing workstation service for usb0.
Nov  6 23:34:52 HP-PC lldpad[1204]: netlink: 20 bytes leftover after parsing attributes.
Nov  6 23:34:52 HP-PC lldpad[1204]: netlink: 20 bytes leftover after parsing attributes.
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): now unmanaged
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): device state change: activated -> unmanaged (reason 'removed') [100 10 36]
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): deactivating device (reason 'removed') [36]
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): canceled DHCP transaction, DHCP client pid 5597
Nov  6 23:34:52 HP-PC NetworkManager[977]: <warn> (14) failed to find interface name for index
Nov  6 23:34:52 HP-PC NetworkManager[977]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
Nov  6 23:34:52 HP-PC NetworkManager[977]: <warn> (14) failed to find interface name for index
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> Policy set 'domacnost2' (wlan0) as default for IPv4 routing and DNS.
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> Policy set 'domacnost2' (wlan0) as default for IPv4 routing and DNS.
Nov  6 23:34:52 HP-PC NetworkManager[977]: <info> (usb0): cleaning up...
Nov  6 23:34:52 HP-PC NetworkManager[977]: <warn> (14) failed to find interface name for index
Nov  6 23:34:52 HP-PC NetworkManager[977]: (nm-system.c:685):nm_system_iface_get_flags: runtime check failed: (iface != NULL)
Nov  6 23:34:52 HP-PC NetworkManager[977]: <error> [1352241292.900407] [nm-system.c:687] nm_system_iface_get_flags(): (unknown): failed to get interface link object
Nov  6 23:34:52 HP-PC dbus-daemon[1018]: dbus[1018]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov  6 23:34:52 HP-PC dbus[1018]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov  6 23:34:53 HP-PC dbus[1018]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov  6 23:34:53 HP-PC dbus-daemon[1018]: dbus[1018]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'


[pista@HP-PC ~]$ ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1812 (1.7 KiB)  TX bytes:1812 (1.7 KiB)

p3p1      Link encap:Ethernet  HWaddr 00:1A:4B:76:8A:B3 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:18

usb0      Link encap:Ethernet  HWaddr E2:59:0B:E7:4D:E7 
          inet addr:192.168.42.215  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::e059:bff:fee7:4de7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2137 (2.0 KiB)  TX bytes:13676 (13.3 KiB)

wlan0    Link encap:Ethernet  HWaddr 00:1C:BF:2F:9D:E1 
          inet addr:192.168.1.77  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:bfff:fe2f:9de1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:184571 errors:0 dropped:0 overruns:0 frame:0
          TX packets:103126 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:262045584 (249.9 MiB)  TX bytes:11968276 (11.4 MiB)


But if I am connecting Desire S (which used to work) usb0 interface is still down which means that IP addr. cannot be asigned to this interface and finnaly not working usb tethering (output bellow)

HTC Desire S:
Code:

Nov  6 23:36:15 HP-PC kernel: [ 9077.614124] usb 2-1: new high-speed USB device number 27 using ehci_hcd
Nov  6 23:36:15 HP-PC kernel: [ 9077.739259] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0cab
Nov  6 23:36:15 HP-PC kernel: [ 9077.739271] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov  6 23:36:15 HP-PC kernel: [ 9077.739278] usb 2-1: Product: Android Phone
Nov  6 23:36:15 HP-PC kernel: [ 9077.739285] usb 2-1: Manufacturer: HTC
Nov  6 23:36:15 HP-PC kernel: [ 9077.739291] usb 2-1: SerialNumber: SH149TJ03604
Nov  6 23:36:15 HP-PC kernel: [ 9077.741738] scsi18 : usb-storage 2-1:1.0
Nov  6 23:36:15 HP-PC mtp-probe: checking bus 2, device 27: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Nov  6 23:36:15 HP-PC mtp-probe: bus: 2, device: 27 was not an MTP device
Nov  6 23:36:16 HP-PC kernel: [ 9078.747200] scsi 18:0:0:0: Direct-Access    HTC      Android Phone    0100 PQ: 0 ANSI: 2
Nov  6 23:36:16 HP-PC kernel: [ 9078.748374] sd 18:0:0:0: Attached scsi generic sg2 type 0
Nov  6 23:36:16 HP-PC kernel: [ 9078.754161] sd 18:0:0:0: [sdb] Attached SCSI removable disk
Nov  6 23:36:31 HP-PC kernel: [ 9093.726941] usb 2-1: USB disconnect, device number 27
Nov  6 23:36:31 HP-PC kernel: [ 9094.118082] usb 2-1: new high-speed USB device number 28 using ehci_hcd
Nov  6 23:36:31 HP-PC kernel: [ 9094.246182] usb 2-1: New USB device found, idVendor=0bb4, idProduct=0ff8
Nov  6 23:36:31 HP-PC kernel: [ 9094.246194] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov  6 23:36:31 HP-PC kernel: [ 9094.246201] usb 2-1: Product: Android Phone
Nov  6 23:36:31 HP-PC kernel: [ 9094.246208] usb 2-1: Manufacturer: HTC
Nov  6 23:36:31 HP-PC kernel: [ 9094.246214] usb 2-1: SerialNumber: SH149TJ03604
Nov  6 23:36:31 HP-PC kernel: [ 9094.252616] cdc_ether 2-1:1.0: usb0: register 'cdc_ether' at usb-0000:00:1d.7-1, CDC Ethernet Device, 0b:16:21:2c:37:42
Nov  6 23:36:31 HP-PC mtp-probe: checking bus 2, device 28: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-1"
Nov  6 23:36:31 HP-PC mtp-probe: bus: 2, device: 28 was not an MTP device
Nov  6 23:36:31 HP-PC NetworkManager[977]: <warn> failed to allocate link cache: (-12) Netlink Error (errno = Operation not supported)
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): carrier is OFF
Nov  6 23:36:31 HP-PC NetworkManager[977]: <error> [1352241391.965867] [nm-device-ethernet.c:456] real_update_permanent_hw_address(): (usb0): unable to read permanent MAC address (error 0)
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): new Ethernet device (driver: 'cdc_ether' ifindex: 15)
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): exported as /org/freedesktop/NetworkManager/Devices/11
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): now managed
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): bringing up device.
Nov  6 23:36:31 HP-PC NetworkManager[977]: <info> (usb0): deactivating device (reason 'managed') [2]

Also tried to reload usbnet module but no luck.
Code:

[pista@HP-PC rules.d]$ sudo ifconfig usb0 up
SIOCSIFFLAGS: Cannot assign requested address
[pista@HP-PC rules.d]$ sudo modprobe -fr usbnet
FATAL: Module usbnet is in use.
[pista@HP-PC rules.d]$

Configuration
Code:

[pista@HP-PC rules.d]$ uname -a
Linux HP-PC 3.6.2-1.fc16.x86_64 #1 SMP Wed Oct 17 05:30:01 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[pista@HP-PC rules.d]$ lsb_release -d
Description:        Fedora release 16 (Verne)
[pista@HP-PC rules.d]$

What could be wrong ? Many thanks

onebuck 11-09-2012 08:30 AM

Moderator Response
 
Hi,

You would have a better chance of getting help at our sister: Android Forum

You would need to join Android Forum then post your query there.
Unfortunately I cannot move threads to Android Forum at this point.


All times are GMT -5. The time now is 09:56 AM.