Results 1 to 10 of 10

Thread: Not able to get ipad-charge package

  1. #1

    Question Not able to get ipad-charge package

    Hello. SUSE was my first real Linux distro almost 10 years back. After a long time (after SUSE 9.3) I am coming back to openSUSE Tumbleweed now (after 13.2). First the horrible fonts rendering and unavailability of SMPlayer from the default repos warded me off but now I have installed Infinality with OS X rendering and Packman apparently finally got updated to the new Tumbleweed so I'm sort of sitting pretty (I hope this continues).

    Now I need the ipad-charge package to enable my iPad to be properly charged from Linux. (See https://github.com/mkorenkov/ipad_charge and http://www.webupd8.org/2014/02/quick...r-ipad-in.html). So I found this OBS repo: https://build.opensuse.org/package/s...Su/ipad-charge. On the right side the build results say that for Tumbleweed the build succeeded but if I click on Download Package on the top it says No data for home:MargueriteSu / ipad-charge. Not sure what to do. Please advise.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Not able to get ipad-charge package

    Hi
    It's present here;
    http://download.opensuse.org/reposit...SE_Tumbleweed/

    Never worried about a package, just plug it in to a usb port and it charges.....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: Not able to get ipad-charge package

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It's present here;
    http://download.opensuse.org/reposit...SE_Tumbleweed/
    Never worried about a package, just plug it in to a usb port and it charges.....
    Hi thanks for the link. I installed the RPM from there but still the requisite charging is not happening. I don't know what is your config that enables automatic charging. For me even after installing the package, running ipad_charge from a terminal gives the following error: ipad_charge: no such device or an error occured

    but dmesg shows:

    Code:
    [ 4060.291296] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
    [ 4060.380357] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=12ab
    [ 4060.380368] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4060.380373] usb 1-1.2: Product: iPad
    [ 4060.380376] usb 1-1.2: Manufacturer: Apple Inc.
    [ 4060.380380] usb 1-1.2: SerialNumber: 254613b381c2e5b143c9015b124c2e2a2516628a
    [ 4135.853536] usb 1-1.2: USB disconnect, device number 4
    [ 4138.668128] usb 1-1.2: new high-speed USB device number 5 using ehci-pci
    [ 4138.757719] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=12ab
    [ 4138.757730] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4138.757735] usb 1-1.2: Product: iPad
    [ 4138.757739] usb 1-1.2: Manufacturer: Apple Inc.
    [ 4138.757743] usb 1-1.2: SerialNumber: 254613b381c2e5b143c9015b124c2e2a2516628a
    [ 4148.698795] usb 1-1.2: USB disconnect, device number 5
    [ 4151.061366] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
    [ 4151.151080] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=12ab
    [ 4151.151114] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4151.151120] usb 1-1.2: Product: iPad
    [ 4151.151124] usb 1-1.2: Manufacturer: Apple Inc.
    [ 4151.151128] usb 1-1.2: SerialNumber: 254613b381c2e5b143c9015b124c2e2a2516628a
    Should this query be moved to the hardware section or what?

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Not able to get ipad-charge package

    Hi
    You need to add your device to the udev rule in /etc/udev/rules.d/95-ipad_charge.rules;

    Code:
    device", ACTION=="add", BUS=="usb", SYSFS{idVendor}=="05ac", SYSFS{idProduct}=="12ab", RUN+="/usr/bin/ipad_charge"
    Then run (as root user) udevadm trigger then plug the device in and see how it goes....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5

    Default Re: Not able to get ipad-charge package

    Quote Originally Posted by malcolmlewis View Post
    Hi
    You need to add your device to the udev rule in /etc/udev/rules.d/95-ipad_charge.rules;
    Code:
    device", ACTION=="add", BUS=="usb", SYSFS{idVendor}=="05ac", SYSFS{idProduct}=="12ab", RUN+="/usr/bin/ipad_charge"
    Then run (as root user) udevadm trigger then plug the device in and see how it goes....
    I added the following line (yours seemed somewhat truncated compared to the existing entries):
    Code:
    ENV{DEVTYPE}=="usb_device", ACTION=="add", BUS=="usb", SYSFS{idVendor}=="05ac", SYSFS{idProduct}=="12ab", RUN+="/usr/bin/ipad_charge"
    Did sudo udevadm trigger, no effect. Even rebooted. No effect. dmesg gives (just like before IIUC):
    Code:
    [11897.784137] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
    [11897.872750] usb 1-1.2: New USB device found, idVendor=05ac, idProduct=12ab
    [11897.872755] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [11897.872757] usb 1-1.2: Product: iPad
    [11897.872759] usb 1-1.2: Manufacturer: Apple Inc.
    [11897.872760] usb 1-1.2: SerialNumber: 254613b381c2e5b143c9015b124c2e2a2516628a

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Not able to get ipad-charge package

    On Wed 03 Dec 2014 03:26:01 PM CST, jamadagni wrote:


    malcolmlewis;2679974 Wrote:
    > Hi
    > You need to add your device to the udev rule in
    > /etc/udev/rules.d/95-ipad_charge.rules;
    > >

    Code:
    --------------------
    > >

    > device", ACTION=="add", BUS=="usb", SYSFS{idVendor}=="05ac",

    SYSFS{idProduct}=="12ab", RUN+="/usr/bin/ipad_charge" >
    --------------------
    > >

    > Then run (as root user) udevadm trigger then plug the device in and
    > see how it goes....


    I added the following line (yours seemed somewhat truncated compared to
    the existing entries):

    Code:
    --------------------

    ENV{DEVTYPE}=="usb_device", ACTION=="add", BUS=="usb",
    SYSFS{idVendor}=="05ac", SYSFS{idProduct}=="12ab",
    RUN+="/usr/bin/ipad_charge" --------------------

    Did *sudo udevadm trigger*, no effect. Even rebooted. No effect. *dmesg*
    gives (just like before IIUC):

    Code:
    --------------------

    [11897.784137] usb 1-1.2: new high-speed USB device number 4 using
    ehci-pci [11897.872750] usb 1-1.2: New USB device found, idVendor=05ac,
    idProduct=12ab [11897.872755] usb 1-1.2: New USB device strings: Mfr=1,
    Product=2, SerialNumber=3 [11897.872757] usb 1-1.2: Product: iPad
    [11897.872759] usb 1-1.2: Manufacturer: Apple Inc.
    [11897.872760] usb 1-1.2: SerialNumber:
    254613b381c2e5b143c9015b124c2e2a2516628a
    --------------------


    Hi
    Ok, can you move the rules file to /usr/lib/udev/rules.d/ and then
    udevadm trigger (as root user [su -] not sudo please).

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  7. #7

    Default Re: Not able to get ipad-charge package

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Ok, can you move the rules file to /usr/lib/udev/rules.d/ and then
    udevadm trigger (as root user [su -] not sudo please).
    Thanks for the hand-holding, but there was no fruit here also.

    What did finally help me was to compile the latest git head from https://github.com/mkorenkov/ipad_charge and install (it's just the binary plus a .rules file) -- apparently the repo version I was trying was from 2011 and out of date in many ways. (Lots of git commits since then.) And my iPad is an Air so probably the old software didn't support the newer hardware...

    Thanks for the help, anyhow.

    If anyone could package the latest for the official repo (I'm using Tumbleweed) it would be great and probably help lots of other people too!

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Not able to get ipad-charge package

    On Wed 03 Dec 2014 05:26:01 PM CST, jamadagni wrote:


    malcolmlewis;2680501 Wrote:
    > Hi
    > Ok, can you move the rules file to /usr/lib/udev/rules.d/ and then
    > udevadm trigger (as root user [su -] not sudo please).
    >


    Thanks for the hand-holding, but there was no fruit here also.

    What did finally help me was to compile the latest git head from
    https://github.com/mkorenkov/ipad_charge and install (it's just the
    binary plus a .rules file) -- apparently the repo version I was trying
    was from 2011 and out of date in many ways. (Lots of git commits since
    then.) And my iPad is an Air so probably the old software didn't support
    the newer hardware...

    Thanks for the help, anyhow.

    If anyone could package the latest for the official repo (I'm using
    Tumbleweed) it would be great and probably help lots of other people
    too!


    Hi
    Please test
    https://build.opensuse.org/package/s...NG/ipad_charge

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.28-4-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  9. #9

    Default Re: Not able to get ipad-charge package

    Quote Originally Posted by malcolmlewis View Post
    Working fine. Thankees! Please upload this to the main openSUSE repos too! (I presume you have write access.)

    BTW it seems you have put the .rules file under /usr/lib/udev/rules.d/ rather than /etc/udev/rules.d/. Is there a particular reason or is it just the "SuSE" way of doing things?

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,488
    Blog Entries
    15

    Default Re: Not able to get ipad-charge package

    Quote Originally Posted by jamadagni View Post
    Working fine. Thankees! Please upload this to the main openSUSE repos too! (I presume you have write access.)

    BTW it seems you have put the .rules file under /usr/lib/udev/rules.d/ rather than /etc/udev/rules.d/. Is there a particular reason or is it just the "SuSE" way of doing things?
    Hi
    They way it works is home repo -> devel repo -> submit to factory -> in next release, I will possibly push it to the utilities repo for the moment. Yes, it's a SUSE thing for the lib directory
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •