• Debian 12 + Garmin GPS issue

    From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Sat Jun 15 08:56:16 2024
    From Newsgroup: alt.os.linux.debian

    In summer I use to copy track data from my Garmin GPSMap60 to
    my computer. Late last year I bought a new computer and installed
    Debian 12. Now I find I can't make it 'talk' to the GPS.

    I start the GPS and connect to the computer via USB. dmesg and
    lsusb output looks normal to me. I still have the old computer
    running Debian 10 to compare with.

    The GPS display at first shows the icon indicating it is connected.
    After some five seconds there is a beep and the icon goes away and
    data transfer does not work.

    I also have an oldish laptop (Lenovo EX230) running Debian 12. I get
    the exact same behaviour with this computer. Using the old Debian 10
    computer data transfer works just fine so I have a work-around.

    As far as I can see I have all relevant MTP packages installed. I have
    tried booting with different kernels. No luck so far.

    So far internet search has not produced any break-throughs. https://wiki.openstreetmap.org/wiki/USB_Garmin_on_GNU/Linux
    is the best hit so far but making sure my system complies with
    the advice here does not help.

    Any ideas?

    TIA

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From mm0fmf@none@invalid.com to alt.os.linux.debian on Sun Jun 16 16:05:35 2024
    From Newsgroup: alt.os.linux.debian

    On 15/06/2024 09:56, Martin Sch||||n wrote:
    In summer I use to copy track data from my Garmin GPSMap60 to
    my computer. Late last year I bought a new computer and installed
    Debian 12. Now I find I can't make it 'talk' to the GPS.

    I start the GPS and connect to the computer via USB. dmesg and
    lsusb output looks normal to me. I still have the old computer
    running Debian 10 to compare with.


    [SNIP]

    Any ideas?

    TIA

    /Martin


    The USB port is going into powersave. My Debian laptops do it after 2 secs.

    This fixes the issue:

    echo -1 > /sys/module/usbcore/parameters/autosuspend

    I could probably figure out how to disable autosuspend on boot but the
    above fixes the problem when it occurs.

    It was a complete bitch to find out why this was happening.

    Andy
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Mon Jun 17 07:57:34 2024
    From Newsgroup: alt.os.linux.debian

    Den 2024-06-16 skrev mm0fmf <none@invalid.com>:
    On 15/06/2024 09:56, Martin Sch||||n wrote:
    In summer I use to copy track data from my Garmin GPSMap60 to
    my computer. Late last year I bought a new computer and installed
    Debian 12. Now I find I can't make it 'talk' to the GPS.

    I start the GPS and connect to the computer via USB. dmesg and
    lsusb output looks normal to me. I still have the old computer
    running Debian 10 to compare with.


    [SNIP]

    Any ideas?

    TIA

    /Martin


    The USB port is going into powersave. My Debian laptops do it after 2 secs.

    This fixes the issue:

    echo -1 > /sys/module/usbcore/parameters/autosuspend

    I could probably figure out how to disable autosuspend on boot but the
    above fixes the problem when it occurs.

    It was a complete bitch to find out why this was happening.

    Andy

    Thanks Andy, this looks like a possibility although I don't understand
    why it does not affect my SanDisk ClipJam which is charged through USB
    while I transfer podcast files to it.

    Anyway, I have tested your command both as stated and with sudo but I am
    denied access to that file regardless and the issue remains.

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From mm0fmf@none@invalid.com to alt.os.linux.debian on Mon Jun 17 19:42:33 2024
    From Newsgroup: alt.os.linux.debian

    On 17/06/2024 08:57, Martin Sch||||n wrote:
    Den 2024-06-16 skrev mm0fmf <none@invalid.com>:
    On 15/06/2024 09:56, Martin Sch||||n wrote:
    In summer I use to copy track data from my Garmin GPSMap60 to
    my computer. Late last year I bought a new computer and installed
    Debian 12. Now I find I can't make it 'talk' to the GPS.

    I start the GPS and connect to the computer via USB. dmesg and
    lsusb output looks normal to me. I still have the old computer
    running Debian 10 to compare with.


    [SNIP]

    Any ideas?

    TIA

    /Martin


    The USB port is going into powersave. My Debian laptops do it after 2 secs. >>
    This fixes the issue:

    echo -1 > /sys/module/usbcore/parameters/autosuspend

    I could probably figure out how to disable autosuspend on boot but the
    above fixes the problem when it occurs.

    It was a complete bitch to find out why this was happening.

    Andy

    Thanks Andy, this looks like a possibility although I don't understand
    why it does not affect my SanDisk ClipJam which is charged through USB
    while I transfer podcast files to it.

    Anyway, I have tested your command both as stated and with sudo but I am denied access to that file regardless and the issue remains.

    /Martin

    It doesn't work with sudo for me. Do sudo -s to get a root shell then
    issue the command.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=@martin.schoon@gmail.com to alt.os.linux.debian on Mon Jun 17 21:23:32 2024
    From Newsgroup: alt.os.linux.debian

    Den 2024-06-17 skrev mm0fmf <none@invalid.com>:
    On 17/06/2024 08:57, Martin Sch||||n wrote:
    Den 2024-06-16 skrev mm0fmf <none@invalid.com>:
    On 15/06/2024 09:56, Martin Sch||||n wrote:
    In summer I use to copy track data from my Garmin GPSMap60 to
    my computer. Late last year I bought a new computer and installed
    Debian 12. Now I find I can't make it 'talk' to the GPS.

    I start the GPS and connect to the computer via USB. dmesg and
    lsusb output looks normal to me. I still have the old computer
    running Debian 10 to compare with.


    [SNIP]

    Any ideas?

    TIA

    /Martin


    The USB port is going into powersave. My Debian laptops do it after 2 secs. >>>
    This fixes the issue:

    echo -1 > /sys/module/usbcore/parameters/autosuspend

    I could probably figure out how to disable autosuspend on boot but the
    above fixes the problem when it occurs.

    It was a complete bitch to find out why this was happening.

    Andy

    Thanks Andy, this looks like a possibility although I don't understand
    why it does not affect my SanDisk ClipJam which is charged through USB
    while I transfer podcast files to it.

    Anyway, I have tested your command both as stated and with sudo but I am
    denied access to that file regardless and the issue remains.

    /Martin

    It doesn't work with sudo for me. Do sudo -s to get a root shell then
    issue the command.

    Yes, some more internet search gave me that information. The command I
    use (and it solves my problem) looks like this:

    sudo sh -c 'echo -1 > /sys/module/usbcore/parameters/autosuspend'

    /Martin
    --- Synchronet 3.21d-Linux NewsLink 1.2