Home of the Squeezebox™ & Transporter® network music players.
Page 119 of 120 FirstFirst ... 1969109117118119120 LastLast
Results 1,181 to 1,190 of 1192
  1. #1181
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,832
    Here's how to use winSCP with root access.

    Code:
    Click [New Session] tab
    Select Site
    Click [Edit]
    Click [Advanced Site Settings]
    Select Environment > SCP/Shell
    Edit Shell: sudo -s
    Click [OK]
    Click [Save]
    Click [Login]
    There is no root password. You log in as tc and:
    use sudo before each command, or
    $ sudo -s to get s shell as root, or
    $ sudo chown tc:staff ~/.jivelite

  2. #1182
    Senior Member
    Join Date
    Apr 2007
    Posts
    246
    Thanks, Greg. I made the change you suggested. Unfortunately, I'm getting the same error.

    Name:  winscp-sudo.jpg
Views: 277
Size:  50.8 KB

    WinSCP log
    Code:
    . 2020-05-24 10:15:06.222 Creating directory "TestFolder".
    . 2020-05-24 10:15:06.222 Canonifying: "TestFolder"
    . 2020-05-24 10:15:06.222 Getting real path for '/home/tc/.jivelite/userpath/applets/TestFolder'
    > 2020-05-24 10:15:06.222 Type: SSH_FXP_REALPATH, Size: 55, Number: 1808
    > 2020-05-24 10:15:06.222 10,00,00,07,10,00,00,00,2E,2F,68,6F,6D,65,2F,74,63,2F,2E,6A,69,76,65,6C,69,
    > 2020-05-24 10:15:06.222 74,65,2F,75,73,65,72,70,61,74,68,2F,61,70,70,6C,65,74,73,2F,54,65,73,74,46,
    > 2020-05-24 10:15:06.222 6F,6C,64,65,72,
    . 2020-05-24 10:15:06.222 Sent 59 bytes
    . 2020-05-24 10:15:06.222 There are 0 bytes remaining in the send buffer
    . 2020-05-24 10:15:06.222 Looking for network events
    . 2020-05-24 10:15:06.234 Timeout waiting for network events
    . 2020-05-24 10:15:06.234 Read 4 bytes (24 pending)
    . 2020-05-24 10:15:06.234 Read 24 bytes (0 pending)
    < 2020-05-24 10:15:06.234 Type: SSH_FXP_STATUS, Size: 24, Number: 1284
    < 2020-05-24 10:15:06.234 65,00,00,05,04,00,00,00,00,00,00,00,07,53,75,63,63,65,73,73,00,00,00,00,
    . 2020-05-24 10:15:06.234 Discarding reserved response
    . 2020-05-24 10:15:06.234 Waiting for another 4 bytes
    . 2020-05-24 10:15:06.234 Looking for incoming data
    . 2020-05-24 10:15:06.235 Looking for network events
    . 2020-05-24 10:15:06.240 Detected network event
    . 2020-05-24 10:15:06.240 Enumerating network events for socket 1824
    . 2020-05-24 10:15:06.240 Enumerated 1 network events making 1 cumulative events for socket 1824
    . 2020-05-24 10:15:06.240 Handling network read event on socket 1824 with error 0
    . 2020-05-24 10:15:06.240 Waiting for another 4 bytes
    . 2020-05-24 10:15:06.240 Looking for incoming data
    . 2020-05-24 10:15:06.240 Looking for network events
    . 2020-05-24 10:15:06.240 Received 117 bytes
    . 2020-05-24 10:15:06.240 Timeout waiting for network events
    . 2020-05-24 10:15:06.240 Read 4 bytes (113 pending)
    . 2020-05-24 10:15:06.240 Read 113 bytes (0 pending)
    < 2020-05-24 10:15:06.240 Type: SSH_FXP_NAME, Size: 113, Number: 1808
    < 2020-05-24 10:15:06.240 68,00,00,07,10,00,00,00,01,00,00,00,2E,2F,68,6F,6D,65,2F,74,63,2F,2E,6A,69,
    < 2020-05-24 10:15:06.240 76,65,6C,69,74,65,2F,75,73,65,72,70,61,74,68,2F,61,70,70,6C,65,74,73,2F,54,
    < 2020-05-24 10:15:06.240 65,73,74,46,6F,6C,64,65,72,00,00,00,2E,2F,68,6F,6D,65,2F,74,63,2F,2E,6A,69,
    < 2020-05-24 10:15:06.240 76,65,6C,69,74,65,2F,75,73,65,72,70,61,74,68,2F,61,70,70,6C,65,74,73,2F,54,
    < 2020-05-24 10:15:06.240 65,73,74,46,6F,6C,64,65,72,00,00,00,00,
    . 2020-05-24 10:15:06.240 Real path is '/home/tc/.jivelite/userpath/applets/TestFolder'
    . 2020-05-24 10:15:06.240 Canonified: "/home/tc/.jivelite/userpath/applets/TestFolder"
    > 2020-05-24 10:15:06.240 Type: SSH_FXP_MKDIR, Size: 59, Number: 1550
    > 2020-05-24 10:15:06.240 0E,00,00,06,0E,00,00,00,2E,2F,68,6F,6D,65,2F,74,63,2F,2E,6A,69,76,65,6C,69,
    > 2020-05-24 10:15:06.240 74,65,2F,75,73,65,72,70,61,74,68,2F,61,70,70,6C,65,74,73,2F,54,65,73,74,46,
    > 2020-05-24 10:15:06.240 6F,6C,64,65,72,00,00,00,00,
    . 2020-05-24 10:15:06.241 Sent 63 bytes
    . 2020-05-24 10:15:06.241 There are 0 bytes remaining in the send buffer
    . 2020-05-24 10:15:06.241 Looking for network events
    . 2020-05-24 10:15:06.241 Timeout waiting for network events
    . 2020-05-24 10:15:06.241 Waiting for another 4 bytes
    . 2020-05-24 10:15:06.241 Looking for incoming data
    . 2020-05-24 10:15:06.241 Looking for network events
    . 2020-05-24 10:15:06.245 Detected network event
    . 2020-05-24 10:15:06.245 Enumerating network events for socket 1824
    . 2020-05-24 10:15:06.245 Enumerated 1 network events making 1 cumulative events for socket 1824
    . 2020-05-24 10:15:06.245 Handling network read event on socket 1824 with error 0
    . 2020-05-24 10:15:06.245 Waiting for another 4 bytes
    . 2020-05-24 10:15:06.245 Looking for incoming data
    . 2020-05-24 10:15:06.245 Looking for network events
    . 2020-05-24 10:15:06.245 Received 38 bytes
    . 2020-05-24 10:15:06.245 Timeout waiting for network events
    . 2020-05-24 10:15:06.245 Read 4 bytes (34 pending)
    . 2020-05-24 10:15:06.245 Read 34 bytes (0 pending)
    < 2020-05-24 10:15:06.245 Type: SSH_FXP_STATUS, Size: 34, Number: 1550
    < 2020-05-24 10:15:06.245 65,00,00,06,0E,00,00,00,03,00,00,00,11,50,65,72,6D,69,73,73,69,6F,6E,20,64,
    < 2020-05-24 10:15:06.245 65,6E,69,65,64,00,00,00,00,
    < 2020-05-24 10:15:06.245 Status code: 3, Message: 1550, Server: Permission denied, Language:  
    . 2020-05-24 10:15:06.245 Asking user:
    . 2020-05-24 10:15:06.245 Error creating folder 'TestFolder'. ("Permission denied.
    . 2020-05-24 10:15:06.245 Error code: 3
    . 2020-05-24 10:15:06.245 Error message from server: Permission denied")

  3. #1183
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,832
    Type "sudo -s" not "sudo su -s".

    Name:  winscp-sudo.png
Views: 261
Size:  15.1 KB
    Last edited by Greg Erskine; 2020-05-24 at 13:59.

  4. #1184
    Senior Member
    Join Date
    Apr 2007
    Posts
    246
    That worked, especially after I changed from using SFTP to SCP. Thanks!

  5. #1185
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,287

    OSMC Kodi remote question...

    RPI 3B+ running piCorePlayer v6.0.0 | www v0005 | linux 4.19.105-pcpCore_v7 | piCore v10.3pCP | Squeezelite v1.9.6-1206-pCP 7" touch screen and HiFi Berry DAC+

    I bought one of these remotes and just for grins tried it on the above player. Without doing anything several of the buttons worked. Play and forward, vol up and down, power, home, return.

    I then tried it on a RPI3B with the same software, but a Boss DAC and no screen. The remote did nothing.

    I admit I know nothing about how any of this works, but it seems odd that one works half way and the other does nothing.

    The long and short of it is I'm trying to get some sort of basic remote to work on the RPI3B for in my car and don't know where to even start. If anyone has gotten one of these remotes to work I would greatly appreciate some info.

    If anyone can point me in a direction to get me started, I would also appreciate that. Currently I'm using my phone to control the player, but the phone constantly drops connection with the pi and in order to use the access point in the pi I have to turn off the 3G on the phone.

    Thanks,

    Howard

  6. #1186
    Quote Originally Posted by Howard Passman View Post
    RPI 3B+ running piCorePlayer v6.0.0 | www v0005 | linux 4.19.105-pcpCore_v7 | piCore v10.3pCP | Squeezelite v1.9.6-1206-pCP 7" touch screen and HiFi Berry DAC+

    ...
    The long and short of it is I'm trying to get some sort of basic remote to work on the RPI3B for in my car and don't know where to even start. If anyone has gotten one of these remotes to work I would greatly appreciate some info.

    If anyone can point me in a direction to get me started, I would also appreciate that.
    See this thread: https://forums.slimdevices.com/showt...piCorePlayer-5

    All you need to do is connect a TSOP4838 (super easy: direct connections to Pi pins for Ground, 3.3V, and a GPIO) then use the pCP web UI to install keytables support and set the GPIO pin setting if you're not using the default (GPIO 25? 27?). To allow your remote to turn the Pi "on" when it's "off", in Jivelite you might need to go to Settings > piCorePlayer a
    nd enable the checkbox. That's it. Note: these are "GPIO" pin numbers, not Pi pin numbers, e.g. GPIO 27 is on pin 13 of a 3b: https://pinout.xyz/pinout/pin13_gpio27

    (Note: that's for getting a real Squeezebox remote working; I don't know about Kodi codes.)
    owner of the stuff at https://tuxreborn.netlify.app/
    (which used to reside at www.tux.org/~peterw/)
    Note: The best way to reach me is email or PM, as I don't spend much time on the forums.
    Free plugins: AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial
    FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher
    SettingsManager SleepFade StatusFirst SyncOptions VolumeLock

  7. #1187
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,287

    Thanks Peter....

    Thanks Peter. That's what I have on my player downstairs and it works great. However it uses infrared and the one in my car isn't really in a spot where an infrared remote can hit it.

    Also, not that it matters, but I really don't understand why the one with the 7" screen will work somewhat and the other will not. Pretty much the exact same set up.

    Thanks,

    Howard




    Quote Originally Posted by peterw View Post
    See this thread: https://forums.slimdevices.com/showt...piCorePlayer-5

    All you need to do is connect a TSOP4838 (super easy: direct connections to Pi pins for Ground, 3.3V, and a GPIO) then use the pCP web UI to install keytables support and set the GPIO pin setting if you're not using the default (GPIO 25? 27?). To allow your remote to turn the Pi "on" when it's "off", in Jivelite you might need to go to Settings > piCorePlayer a
    nd enable the checkbox. That's it. Note: these are "GPIO" pin numbers, not Pi pin numbers, e.g. GPIO 27 is on pin 13 of a 3b: https://pinout.xyz/pinout/pin13_gpio27

    (Note: that's for getting a real Squeezebox remote working; I don't know about Kodi codes.)

  8. #1188
    Senior Member Greg Erskine's Avatar
    Join Date
    Sep 2006
    Location
    Sydney, Australia
    Posts
    1,832
    I think IR works via squeezelite or jivelite not directly with LMS.

  9. #1189
    Senior Member
    Join Date
    Apr 2008
    Posts
    1,287
    HI Greg,

    I figured it worked through Jivelite. I don't think this remote works through IR though. It's got a dongle and works like an MS keyboard.

    I have Jivelite running on both RPI's and only the one with the screen has any remote functionality. I also made sure it wasn't picking up a IR signal from the remote.

    The phone would work great except Android checks to see if there is WiFi internet connection and if not, it drops the WiFi signal.

    I would love to get some sort of remote working in the car that doesn't depend on a touch screen or IR.

    Thanks.

    Howard


    Quote Originally Posted by Greg Erskine View Post
    I think IR works via squeezelite or jivelite not directly with LMS.

  10. #1190
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,497
    Quote Originally Posted by Jeff07971 View Post
    Sorry to take so long, I thought I found an inconsistency due to having one pCP with Touchscreen and one with HDMI out as they behave differently before and after the mod !

    Basically it seems if you have a touchscreen you need to enable "Enable Power Button when Off" for the remote to work correctly.
    If you have HDMI you need to enable the "Enable Power Button when Off" AND perform the mod to get SS's to work correctly.

    Hope this helps !

    Jeff
    Thanks for testing this Jeff and sorry it's taken sooo long for me to get back to you.

    AFAICT the ScreenSaver applet changes also works with the "have a touchscreen you need to enable Enable Power Button when Off for the remote to work correctly" case, therefore I've applied the change and activated the "Enable Power Button when Off" option by default. HDMI screen and remote users, you will need to clear the check box in the piCorePlayer settings so the power button turns the screen back on but should just work for rpi 7" touchscreen users.

    The pcp-jivelite extension in the repository now includes the changes.

    Don't forget to delete the modified ScreenSaver applet folder in /home/tc/.jivelite/userpath/applets if you installed it and backup your config before updating jivelite.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

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
  •