LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2023, 09:52 AM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,241

Rep: Reputation: 288Reputation: 288Reputation: 288
Can't mount 'smart'phone


When I try to mount the 'smart'phone with jmtpfs as myself I get:
Quote:

Device 0 (VID=1bbb and PID=0168) is a Alcatel 6030a.
Android device detected, assigning default bug flags
fuse: failed to access mountpoint /home/RandomTroll/Android: Transport endpoint is not connected
When I try to mount it as root I get:
Quote:

Device 0 (VID=1bbb and PID=0168) is a Alcatel 6030a.
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
mount: /root/Android: wrong fs type, bad option, bad superblock on jmtpfs, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
It works as a 'smart'phone (I have no phone service.) but I can't communicate with it.
Does anyone know what I can do? I don't know of any utilities to work with the file system. I've tried all 3 USB ports, all 4 cables.

I loaded a new kernel-firmware package - could that be a problem?
 
Old 06-30-2023, 10:02 AM   #2
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 6,166

Rep: Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946Reputation: 2946
You have provided little or no information about the hardware, the software, or the sequence of events.

What distribution are you using?
What kind of phone are you using?
What versions of Linux kernel, and Android are involved?
Why are you using JMPTFS and what version are you using?
Did this ever work before? IF so, what did you do between then it worked and when it failed?
 
Old 06-30-2023, 11:23 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,411
Blog Entries: 7

Rep: Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954Reputation: 1954
General info:
https://wiki.archlinux.org/title/Lis...evice_managers

Best/simplest thing I have ever used for mtp device.
https://github.com/phatina/simple-mtpfs

You may have that in your repo, or user repository.
 
Old 06-30-2023, 11:59 AM   #4
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,241

Original Poster
Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by wpeckham View Post
What kind of phone are you using?
Slackware, as my profile reveals.

Quote:
Originally Posted by wpeckham View Post
What versions of Linux kernel, and Android are involved?
6.4, 8.1.0

Quote:
Originally Posted by wpeckham View Post
Why are you using JMPTFS and what version are you using?
It was the first of a few different tools that I could make work. .5 . I downloaded current source, get the same result.

Quote:
Originally Posted by wpeckham View Post
Did this ever work before?
It has for a couple of years until today. I last used it 3 days ago.


Quote:
Originally Posted by wpeckham View Post
IF so, what did you do between then it worked and when it failed?
A new kernel-firmware package. Unfortunately I deleted the old. I don't know that that matters.

Quote:
Originally Posted by teckk View Post
Best/simplest thing I have ever used for mtp device.
https://github.com/phatina/simple-mtpfs
You may have that in your repo, or user repository.
Slackware lacks it. I downloaded the source. I get the same result.

I found the libmtp tools. They all seem to work. jmtpfs relies on them, which would seem to make this a software problem. The libmtp tools don't mount the device, are less convenient.

It may be a problem with fuse; jmtpfs and simple-mtpfs use fuse; libmtp tools don't.

Last edited by RandomTroll; 06-30-2023 at 12:10 PM. Reason: Figured something new out.
 
Old 07-02-2023, 09:57 AM   #5
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 2,241

Original Poster
Rep: Reputation: 288Reputation: 288Reputation: 288
It started working this morning after I upgraded the current batch of new Slackware packages. I don't see why any would be relevant to this problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart problem adding new channel in Smart-beta google01103 SUSE / openSUSE 1 11-21-2006 07:17 AM
Not so smart with "Smart". Morbid SUSE / openSUSE 2 11-06-2006 01:34 PM
How smart is SMART? ionmich SUSE / openSUSE 6 08-25-2006 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration