On Sat, Jan 02, 2016 at 01:12:36PM -0700, jd1008 wrote:
On 12/30/2015 12:13 PM, Jon LaBadie wrote:
>On Tue, Dec 29, 2015 at 07:17:43PM -0700, jd1008 wrote:
...
>>Android is 4.4.2 (nothing newer is available for my phone.
>>Developer option set. usb debugging enabled.
>>
>>yet, when I plug my phone to usb on laptop,
>>laptop does not mount anything, nor does any icon
>>appear on the panel as a result of plugging in.
>>Also, the phone does not pop up a screen asking me
>>to enable USB in data mode or any other mode.
>>
>On F22, my LG tablet connects using the mtp protocol.
>However, I had to add it to the udev rules configuration file.
>
>I copied /usr/lib/udev/rules.d/69-libmtp.rules to
>/etc/udev/rules.d and edited the copy. I found
>rules for tablets similar to my own and duplicated
>them but with an appropriate name and with the vendor
>and product id's I got from lsusb.
>
>HTH,
>Jon
Tried it.
Still, laptop does not detect phone.
Phone is set to query the user for connection protocol when
usb is plugged in to both phone and laptop.
Phone does not prompt me with that question.
The file /etc/udev/rules.d/69-libmtp.rules,
does not have an entry for my phone model
(LG G Flex D959).
For example, I see the entry:
# LG Electronics Inc. LG G Flex 2
ATTR{idVendor}=="1004", ATTR{idProduct}=="633e",
SYMLINK+="libmtp-%k",
ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
but my phone is the LG G Flex (Generation 1), model D959.
Would a new line like:
ATTR{idVendor}=="1004", ATTR{idProduct}=="d959",
SYMLINK+="libmtp-%k",
ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
correctly represent my phone in this rules file?
No, I said I got the numbers from lsusb.
Here is one line of lsusb output:
Bus 003 Device 002: ID 04a9:2206 Canon, Inc. CanoScan N650U/N656U
^^^^ ^^^^
| |
| Product ID
Vendor ID, likely 1004 for your LG vendor
jon
--
Jon H. LaBadie jonfu(a)jgcomp.com