Hi,
funktioniert bei jemandem das USB-Tethering?
Bei mir will es mit CM10-Froyo einfach nicht hinhauen.
@chillje: Vielleicht kannst du damit ja etwas anfangen:
Code:
$ lsusb -vv
Bus 002 Device 019: ID 22b8:428c Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x22b8 Motorola PCS
idProduct 0x428c
bcdDevice 2.16
iManufacturer 1 Motorola
iProduct 2 A953
iSerial 3 016071491701F008
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 55
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 4 Motorola Config 50
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 9 Motorola MSD Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 66
bInterfaceProtocol 1
iInterface 10 Motorola ADB Interface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0000
(Bus Powered)
Mir fällt auf, dass der Stein gar nicht als Netzwerkinferface registriert wird.
Und hier noch die Ausgabe von Logcat:
Code:
D/MotUsbService( 2618): onReceive(), received intent:com.android.internal.usb.request_reconfigure
D/MotUsbService( 2618): Got reconfiguration request (functions rndis permanent false adb true)
D/MotUsbService( 2618): handleUsbEvent(), Received event: 7, current state: 2
D/UsbSettings( 2618): USB mode (UI) : 5
D/MotUsbService( 2618): deviceEnumPreAction()
D/UsbSettings( 2618): USB mode (UI) : 5
D/MotUsbService( 2618): handleUsbEvent(), Received event: 6, current state: 3
D/UsbSettings( 2618): USB mode (UI) : 5
D/UsbListener( 2618): received usb mode change command from UI: usb_mode_rndis_adb
D/UsbListener( 2618): Writing command usb_mode_rndis_adb to usbd
I/usbd ( 2115): main(): Read and handle a pending message from the App
I/usbd ( 2115): usbd_socket_event(): recieved usb_mode_rndis_adb
I/usbd ( 2115): usbd_socket_event(): Matched new usb mode = 18 , current mode = 16
I/usbd ( 2115): usbd_set_usb_mode(): new_mode: rndis_adb
D/UsbListener( 2618): handleEvent: usb_mode_rndis:ok
D/MotUsbService( 2618): handleUsbEvent(), Received event: 2, current state: 1
D/UsbSettings( 2618): USB mode (UI) : 5
D/UsbSettings( 2618): USB mode (PC) : 3
D/MotUsbService( 2618): showConnectedToast(USB Networking)
D/UsbSettings( 2618): USB mode (PC) : 3
I/NotificationService( 2442): cancelToast pkg=com.motorola.usb callback=android.app.ITransientNotification$Stub$Proxy@40e27238
W/NotificationService( 2442): Toast already cancelled. pkg=com.motorola.usb callback=android.app.ITransientNotification$Stub$Proxy@40e27238
D/MotUsbService( 2618): setUsbConnectionNotificationVisibility()
D/UsbSettings( 2618): USB mode (PC) : 3
D/MotUsbService( 2618): enableInternalDataConnectivity(): true
D/UsbSettings( 2618): USB mode (PC) : 3
D/SizeAdaptiveLayout( 2518): com.android.internal.widget.SizeAdaptiveLayout@40f4f668child view android.widget.FrameLayout@40f569c8 measured out of bounds at 95px clamped to 96px
I/StorageNotification( 2518): UMS connection changed to false (media state mounted)
E/Tethering( 2442): unable start or stop USB tethering
Ich habe versucht sfcs Änderungen aus CM9 nachzuvollziehen, allerdings scheint sein github nicht gerade aktuell zu sein. :/
Gruß, tst87