Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trouble seeing iphone7 on my debian install

Need help with peripherals or devices?
Message
Author
User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#21 Post by phenest »

The only log files that spring to mind are dmesg.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#22 Post by dcihon »

I see this in my dmesg file but I don't know how to make sense of it. Too technical for me.

Code: Select all

[    1.284697] ACPI: bus type USB registered
[    1.284721] usbcore: registered new interface driver usbfs
[    1.284731] usbcore: registered new interface driver hub
[    1.284749] [drm] Initialized
[    1.284750] usbcore: registered new device driver usb
[    1.284779] SCSI subsystem initialized
[    1.290883] AVX2 version of gcm_enc/dec engaged.
[    1.290884] AES CTR mode by8 optimization enabled
[    1.290972] libata version 3.00 loaded.
[    1.291057] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.291061] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    1.292205] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00109810
[    1.292214] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    1.292333] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.292334] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.292335] usb usb1: Product: xHCI Host Controller
[    1.292336] usb usb1: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd
[    1.292336] usb usb1: SerialNumber: 0000:00:14.0
[    1.292441] hub 1-0:1.0: USB hub found
[    1.292528] hub 1-0:1.0: 10 ports detected
[    1.293993] r8169 0000:02:00.0 eth0: RTL8168h/8111h at 0xffffad6180039000, 48:4d:7e:9f:4d:2f, XID 14100880 IRQ 125
[    1.293994] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    1.298259] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    1.298261] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    1.298288] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.298289] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.298290] usb usb2: Product: xHCI Host Controller
[    1.298291] usb usb2: Manufacturer: Linux 4.9.0-2-amd64 xhci-hcd
[    1.298292] usb usb2: SerialNumber: 0000:00:14.0
[    1.298404] hub 2-0:1.0: USB hub found
[    1.298411] hub 2-0:1.0: 4 ports detected
[    1.300767] ahci 0000:00:17.0: version 3.0
[    1.301036] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 4 ports 6 Gbps 0xf impl SATA mode
[    1.301037] ahci 0000:00:17.0: flags: 64bit ncq sntf led clo only pio slum part ems deso sadm sds apst 

Code: Select all

[    1.769172] usb 1-1: New USB device found, idVendor=05ac, idProduct=12a8
[    1.769175] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.769177] usb 1-1: Product: iPhone
[    1.769178] usb 1-1: Manufacturer: Apple Inc.
[    1.769180] usb 1-1: SerialNumber: b8b17f6af48e208ef78e1e31fd5a6dbe923ab3cf

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#23 Post by phenest »

See if anything in this is helpful:
https://unix.stackexchange.com/question ... -uefi-bios
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#24 Post by phenest »

I don't think any BIOS settings are wrong, otherwise you'd have the problem in Windows. What I would try is kernel boot parameters, e.g:

Code: Select all

iommu=soft
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#25 Post by dcihon »

We must be reading the same articles.
I tried those things and it didn't work either so I turned them off:

Code: Select all

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
# GRUB_CMDLINE_LINUX="iommu=soft"
GRUB_CMDLINE_LINUX="acpi=force irqpoll"
GRUB_TERMINAL_INPUT="at_keyboard"
I will tun it back on since it doesn't hurt to have it on.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#26 Post by phenest »

Code: Select all

iommu=pt
Maybe?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#27 Post by dcihon »

No that didn't work.
I am wondering if it could be a systemd thing?
When I am watching the terminal after grub starts (it goes by so fast) wish I could step through it a line at a time.
It says something about systemd hotplug I think and then the battery charge indicator on the phone goes off.
Does this help at all with somewhere different to look?
Thanks for hanging in there with me on this.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#28 Post by phenest »

You need to setup systemd journal. Then you check the systemd logs.

Read here if you need to set it up: http://forums.debian.net/viewtopic.php? ... al#p641172
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#29 Post by dcihon »

As part of getting journal logs to get created I had to install systemd-sysv
and guess what. Not only do I have logs but the iPhone is seen now.
I got the error:
Unable to mount Documents on Dcihon iPhone
Unhandled Lockdown error (-3)

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#30 Post by phenest »

ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#31 Post by dcihon »

It does pair:

Code: Select all

SUCCESS: Unpaired with device b8b17f6af48e208ef78e1e31fd5a6dbe923ab3cf
SUCCESS: Paired with device b8b17f6af48e208ef78e1e31fd5a6dbe923ab3cf
after a couple of attempts and trusting the iPhone
However when I click on the folder in caja the Unable to mount Documents error still comes up.
Going off to do some more research.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#32 Post by phenest »

Does it charge ok now?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#33 Post by dcihon »

Yes charging ok now since I installed that systemd package

I did this and am getting a little farther.

Code: Select all

sudo chmod 777 /var/lib/lockdown
I now see iPhone in caja but nothing is in the folder.
Documents folder still throwing that error.
I am going to install some media player.
Not sure which one works best with an iPhone.
Any suggestions?

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#34 Post by phenest »

Have you got libmtp installed?
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Trouble seeing iphone7 on my debian install

#35 Post by stevepusser »

Apple goes to great lengths with each new version to make it difficult to access their hardware with anything but their own software. This has been going on for years...you might find people that have figured out how to do it for the iPhone 7 on other Linux forums and bring it over to Debian.

I think the library in Stretch that might get you started is libimobiledevice6. But maybe Apple has broken that with the 7 and you need to get a newer version. The search engines await you.

Library hint: install Synaptic and apt-xapian-index, and search for "iphone"
MX Linux packager and developer

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: Trouble seeing iphone7 on my debian install

#36 Post by dcihon »

Guys you have been very helpful and I have gotten a lot farther than I would have on my own.
As far as libmtp I have this:

Code: Select all

cihonm@cihonm:~$ apt policy libmtp*
libmtp8:
  Installed: (none)
  Candidate: (none)
  Version table:
libmtp9:
  Installed: 1.1.13-1
  Candidate: 1.1.13-1
  Version table:
 *** 1.1.13-1 500
        500 http://ftp.us.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp-runtime:
  Installed: 1.1.13-1
  Candidate: 1.1.13-1
  Version table:
 *** 1.1.13-1 500
        500 http://ftp.us.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
As far as libimoblile6 I have this:

Code: Select all

cihonm@cihonm:~$ apt policy libimobiledevice6
libimobiledevice6:
  Installed: 1.2.0+dfsg-3.1
  Candidate: 1.2.0+dfsg-3.1
  Version table:
 *** 1.2.0+dfsg-3.1 500
        500 http://ftp.us.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
I already had Synaptic and use that often to find package and install them.
I didn't know what apt-xapian-index was. I will research it.
As I get things working I will post them here.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Trouble seeing iphone7 on my debian install

#37 Post by stevepusser »

At least in Jessie, installing apt-xapian-index will cause Synaptic to show a new "quick filter" search box that comes in handy.
MX Linux packager and developer

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Trouble seeing iphone7 on my debian install

#38 Post by phenest »

I'm afraid I'm out of ideas.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D

Post Reply