Git Product home page Git Product logo

Comments (2)

zwri avatar zwri commented on May 3, 2024

Hi, I'm unable to reproduce this bug. I attached, detached, then re-attached my iPhone3GS to my Ubuntu 12.04 desktop and saw the expected re-attach messages:

on_attach 4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7 5
on_detach 4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7 5
on_attach 4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7 6
on_detach 4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7 6

I think you might have a usb or usbmuxd problem. Here are some tests:

If I run udevadm monitor --udev, I get:

monitor will print the received events for:
UDEV - the event which udev sends out after rule processing

UDEV  [5013703.395058] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4 (usb)
UDEV  [5013703.397551] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0 (usb)
UDEV  [5013703.397829] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0 (usb)
UDEV  [5013703.397998] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.2 (usb)
UDEV  [5013703.398399] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.1 (usb)
UDEV  [5013703.398468] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.0 (usb)

UDEV  [5013705.905297] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.0 (usb)
UDEV  [5013705.905521] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.1 (usb)
UDEV  [5013705.905698] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.2 (usb)
UDEV  [5013705.908040] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4 (usb)

UDEV  [5013709.524898] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4 (usb)
UDEV  [5013709.527574] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0 (usb)
UDEV  [5013709.527765] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.1 (usb)
UDEV  [5013709.527882] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.2 (usb)
UDEV  [5013709.527924] remove   /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:1.0 (usb)
UDEV  [5013709.527955] add      /devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4:4.0 (usb)

Lastly, if I run python usbmuxd.py (link: usbmuxd.py), I get:

Waiting for devices...
Devices:

Devices:
<MuxDevice: ID 14 ProdID 0x12a0 Serial '4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7' Location 0x10025>

Devices:

Devices:
<MuxDevice: ID 15 ProdID 0x12a0 Serial '4ea8dd11e8c4fbc1a2deadbeefa0fd3bbbb268c7' Location 0x10026>

from ios-webkit-debug-proxy.

bucktaiwan avatar bucktaiwan commented on May 3, 2024

wrightt,
Thanks for reply.
Things are bit wired. If I plug in two iPhone 3GS, then, I could detach and re-attach either one of them over and over again. But, if in the first place, I only attach one iPhone 3GS, then, re-attach same iPhone won't work for me. Maybe, it is usbmxd or kernel thing does not work well.
I run udevadm monitor --udev, there is print-out on terminal screen during plug-in and unplug-in usb cable, like what you demo.
Before I figure out problem, I will use idevice_id -l to detect if any idevice plug in.
Thanks for your time again.

from ios-webkit-debug-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.