Opened 3 years ago

Last modified 18 months ago

#17747 closed bug

[USB tethering] LG E411 not working — at Version 1

Reported by: bipolar Owned by: mmlr
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/usb_ecm Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86-64

Description (last modified by pulkomandy)

Seing the inclusion of the new usb_rndis driver, I've attempted to use the two (rather old) Android 4.1 smartphones I have access to.

This ticket is for the one that under Linux works as a USB CDC EMC/AMC device.

An LG L1 II (E411, Android 4.1): Under Linux it works for USB tethering using the cdc_ether driver (I blacklist the cdc_acm driver, because otherwise it treats it as a 3G modem).

Under Haiku, it doesn't seems to work (no device appears under /dev/net/usb_ecm/).

Of note: when connected via USB, this phone presents it self as a CD-ROM device (that's how it tries to install its Windows drivers) until I hit "Skip installer" in a dialog that appears on the phone, and "OK" on a dialog asking if I'm sure I want to enable USB tethering. It does that everytime you plug it in (annoying and unavoidable).

I mention this because it might be part of the problem, as the syslog shows something like this after plug it in, and doing the "skip" and "ok" on the relevant dialogs on the phone:

KERN: usb hub 32: port 2: new device connected
KERN: usb_disk: device reports a lun count of 1
KERN: usb_disk: vendor_identification    "LGE     "
KERN: usb_disk: product_identification   "CDROM storage   "
KERN: usb_disk: product_revision_level   "0000"
KERN: usb_disk: got device name "LGE CDROM storage 0000": No error
KERN: intel: pm_identify_partition(102, 23: 0, 35166208, 512)
KERN: btrfs [5966016256:  1804] invalid superblock!
KERN: [34mexfat:[0m invalid superblock!
KERN: [34mext2:[0m invalid superblock!
KERN: identify(102, 0xffffffffa67fb738)
KERN: found primary descriptor
KERN:   iso9660_primary_descriptor:
KERN:     volume descriptor type: 1 (primary)
KERN:     standard identifier:    CD001 (valid)
KERN:     version:                1
KERN:     identifier:             'LGE Mobile                      '
KERN:     size:                   17171
KERN:     set size:               1
KERN:     sequence number:        1
KERN:     logical block size:     2048
KERN:     path table size:        24
KERN:     set identifier:                                     
KERN:     root directory record:
KERN:       length:               34
KERN:       location:             28
KERN:       data length:          2048
KERN:       volume space:         1
KERN: iso9660_info::set_string(0xffffffffa67fb738 ('<NULL>'), 'LGE Mobile                      ', 10)
KERN: ntfs: error: identify_partition: boot signature doesn't match
KERN: usb_disk: unhandled ioctl 10102
KERN: dos_std_ops()
Last message repeated 1 time
KERN: usb hub 32: port 2: new device connected
KERN: usb error hub 32: new device on a port that is already in use
KERN: usb error ehci 6: qtd (0xfb5aa00) error: 0x801a0d40
KERN: usb_ecm: failed to read mac address

I'm attaching the output of listusb -v /dev/bus/usb/6/2 under Haiku hrev55112, and sudo lsusb -v -d 1004:61fe under Linux, just in case (plus `lsmod | grep usbnet).

On both cases is with USB tethering already enabled (and working in case of Linux).

Change History (3)

by bipolar, 3 years ago

Attachment: USB_1004-61fe_Haiku.txt added

by bipolar, 3 years ago

Attachment: USB_1004-61fe_Linux.txt added

comment:1 by pulkomandy, 3 years ago

Component: DriversDrivers/Network/usb_ecm
Description: modified (diff)
Keywords: usb tethering removed
Owner: changed from nobody to mmlr
KERN: usb_ecm: failed to read mac address

The ECM driver detects the device but does not manage to use it, it seems. The "cdrom" should not be a problem then?

Note: See TracTickets for help on using tickets.