Opened 3 years ago

Closed 19 months ago

#17747 closed bug (not reproducible)

[USB tethering] LG E411 not working

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).

Attachments (2)

USB_1004-61fe_Haiku.txt (5.7 KB ) - added by bipolar 3 years ago.
USB_1004-61fe_Linux.txt (8.8 KB ) - added by bipolar 3 years ago.

Download all attachments as: .zip

Change History (9)

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?

in reply to:  1 comment:2 by bipolar, 3 years ago

Replying to pulkomandy:

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

I only mentioned that CDROM because of the line:

KERN: usb error hub 32: new device on a port that is already in use

made me think that perhaps something goes wrong while "switching modes" (some device not being properly closed?), but... no idea, really.

comment:3 by korli, 3 years ago

maybe try on a usb3 port.

comment:4 by pulkomandy, 3 years ago

The "port that is already in use" message is normal and expected in that situation. The listusb output you attached shows us that the phone switched to the communications mode, so everything seems fine on that side.

in reply to:  3 comment:5 by bipolar, 3 years ago

Replying to korli:

maybe try on a usb3 port.

Sadly, I won't be able to. All the hardware I have access to is rather ancient and USB 2.0 at best :-/ ("newest" is an Atom N450 based netbook from 2012, next one a 2010 Athlon II X2 based desktop).

Replying to pulkomandy:

The "port that is already in use" message is normal and expected in that situation.

Thanks for the explanation! Maybe that message could be reworded to that effect? Low prio, I know :-)

As usual.... thanks for your work guys. Much appreciated!

comment:6 by bipolar, 19 months ago

My beloved tiny LG E411 finally kicked the bucket some months ago. Good bye old friend, sniff.

Guess this ticket should be closed? (somehow I doubt anyone else would have a working one to test at this point).

comment:7 by waddlesplash, 19 months ago

Resolution: not reproducible
Status: newclosed

Oh well! We can reopen if someone else does.

Note: See TracTickets for help on using tickets.