Rockbox

Tasklist

FS#2694 - Iriver: remote hold is on, when remote isn't plugged in. NEW

Attached to Project: Rockbox
Opened by Stephan Wezel (thewolfwillcome) - Saturday, 24 September 2005, 13:46 GMT
Last edited by Jens Arnold (amiconn) - Thursday, 24 November 2005, 22:37 GMT
Task Type Patches
Category
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

ok now i have reworked my patch and now it adds the
remote_connected() function (your suggestion
rasher/bacon_boy) and adds this function for the test
if remote_hold is on to the wps-tag %mr

Currently i have added the function in button.[c,h],
because i didn't see currently a better place for this
function.

I have open a new bug-report, because the other one
from me was submitted as anonymouse and so i can't add
the new patch to the other bugreport
This task depends upon

Closed by  Jens Arnold (amiconn)
Thursday, 24 November 2005, 22:37 GMT
Reason for closing:  Fixed
Comment by Stephan Wezel (thewolfwillcome) - Saturday, 24 September 2005, 14:06 GMT

This sollution isn't the 100% right solution, because if the
remote is only half plugged in (no buttons and the lcd are
working) the GPIO_READ Bit, which indicates that the remote
is plugged in, switch to 0(remote is plugged in).

A better solution would be when it were possible to check if
a remote_command e.g. remote_backlight_on/off() is correctly
accepted/executed by the remote.

I have tried to find out if it is possible, but if the
remote isn't plugged in a "command" send through GPIO_OUT is
simple echoed to GPIO_READ.
Comment by Stephan Wezel (thewolfwillcome) - Saturday, 24 September 2005, 16:37 GMT

This sollution isn't the 100% right solution, because if the
remote is only half plugged in (no buttons and the lcd are
working) the GPIO_READ Bit, which indicates that the remote
is plugged in, switch to 0(remote is plugged in).

A better solution would be when it were possible to check if
a remote_command e.g. remote_backlight_on/off() is correctly
accepted/executed by the remote.

I have tried to find out if it is possible, but if the
remote isn't plugged in a "command" send through GPIO_OUT is
simple echoed to GPIO_READ.
Comment by Stephan Wezel (thewolfwillcome) - Wednesday, 23 November 2005, 06:45 GMT

updated to latest cvs

this solution works if the remote isn't plugged in.
But if the remote-plug is half plugged in then the
remote-hold is shown regardless if the remote-hold is
switched on or not.
But for this there is currently no solution because we can't
determine if a remote-command was executed or not.

Loading...