Bug#932845: TS-219 RTC issue with Debian Buster

2019-07-26 Thread Alexandre Belloni
On 26/07/2019 11:27:11+0200, Oliver Hartkopp wrote:
> Hello Uwe,
> 
> On 26.07.19 09:27, Uwe Kleine-König wrote:
> > Hello Alexandre,
> > 
> > On Thu, Jul 25, 2019 at 04:31:49PM +0200, Oliver Hartkopp wrote:
> > > On 24.07.19 09:07, Uwe Kleine-König wrote:
> > > > On Tue, Jul 23, 2019 at 10:28:18PM +0200, Oliver Hartkopp wrote:
> > > > > I'm running a TS-119P+ and a TS-219P II Qnap NAS with Debian Buster.
> > > > > Both are now running a linux-image-4.19.0-5-marvell kernel.
> > > > > 
> > > > > But since my update from Linux 4.9 (Stretch) to Linux 4.19 (Buster) 
> > > > > the
> > > > > hardware clock of both boxes refuse to work.
> > > > > 
> > > > > After some digging in kernel sources and re-installing Linux 4.9 on my
> > > > > Buster setup it turns out, that a change in the kernel config causes 
> > > > > the
> > > > > problem:
> > > > > 
> > > > > 4.19.0-5-marvell -> CONFIG_RTC_DRV_S35390A=m   (fails)
> > > > > 
> > > > > 4.9.0-4-marvell -> CONFIG_RTC_DRV_S35390A=y(works)
> > > > > 
> > > > > See details and solving process at:
> > > > > 
> > > > > https://marc.info/?l=linux-arm-kernel=156390875629259=2
> > > > > 
> > > > > Can you please revert the Kernel config parts for the RTC in a way 
> > > > > that the
> > > > > RTC drivers are built into the marvell-arch kernel again instead of 
> > > > > building
> > > > > them as modules?
> > > > 
> > > > They were switched to modules because the kernel image got too big to
> > > > fit into the flash storage of some machines. I assume when we switch to
> > > > built-in again the resulting problem is the bigger one.
> > > 
> > > I don't know which is the bigger problem here.
> > > 
> > > When the rtc driver is built as module it can not be operated with the
> > > hwclock tool from the util-linux package due to the missing rtc UIE 
> > > support.
> > > 
> > > You finally have no hardware clock on these machines and must wait for ntp
> > > to shift time and date (my system always starts in February until ntp 
> > > fixes
> > > the time).
> > 
> > For me it's obvious what is the bigger problem. Either you don't have
> > the correct time until ntp fixes it up for you, or others cannot install
> > a kernel update and so run a vulnerable OS.
> 
> That what I've written, NTP fixes the time for me. I have no problem with
> updating my kernels - in fact I was even able to flash an older kernel to
> figure out this rtc issue :-)
> 
> > > Maybe this problem is only relevant for the S35390A and PCF8563 chip which
> > > both lack the UIE support needed by hwclock. Both have only alarm triggers
> > > in a minute accuracy according to the driver source code.
> > 
> > AFAIK the rtc framework should then emulate this event somehow.
> 
> I don't think so. When the rtc chip is not able to trigger an event with a
> one second resolution - how can you emulate that?
> 

CONFIG_RTC_INTF_DEV_UIE_EMUL emulates it by polling the RTC.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



Bug#854854: qcontrol: reboot/poweroff

2017-04-03 Thread Alexandre Belloni
Hi,

On 16/03/2017 at 09:45:07 +0100, Uwe Kleine-König wrote:
> Back then I prepared a backport to jessie (which still sits in a topic
> branch in the debian-kernel repo[2]) but it seems I forgot to merge it into
> the jessie kernel.
> 
> I wonder if the better fix would be to fix this in linux-stable instead.
> What do you think?
> 

I agree that this should be backported to any stable kernel that is used
by a distribution. I can ack the patch if you send one to stable@


-- 
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



Bug#348611: xlibs: dead_circumflex and dead_diaeresis doesn't work as expected with fr layout

2006-01-18 Thread Alexandre Belloni
On Wed, Jan 18, 2006 at 09:40:24AM +0100, Denis Barbier wrote :
 It works for me.
 Can you please run xev as described in
   /usr/share/doc/x11-common/FAQ.xhtml#backspacekey
 and tell us what is displayed when you press this key?
 

In xev, it seems to work as expected :

KeyPress event, serial 27, synthetic NO, window 0x161,
root 0x11a, subw 0x162, time 36633004, (67,29), root:(891,49),
state 0x0, keycode 34 (keysym 0xfe52, dead_circumflex), same_screen
YES,
XLookupString gives 1 bytes: (5e) ^
XmbLookupString gives 0 bytes: 
XFilterEvent returns: True

KeyPress event, serial 30, synthetic NO, window 0x161,
root 0x11a, subw 0x162, time 36633558, (67,29), root:(891,49),
state 0x0, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x161,
root 0x11a, subw 0x162, time 36634170, (67,29), root:(891,49),
state 0x1, keycode 34 (keysym 0xfe57, dead_diaeresis), same_screen
YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: True

By the way, the keys works as expected in Firefox but not in aterm...

Hope it helps.

-- 
Alexandre Belloni


signature.asc
Description: Digital signature


Bug#348611: xlibs: dead_circumflex and dead_diaeresis doesn't work as expected with fr layout

2006-01-17 Thread Alexandre Belloni
Package: xlibs
Version: 6.9.0.dfsg.1-4
Severity: important


Hi,

Since xorg 6.9.0, dead_circumflex is no more a dead key (i.e pressing ^
then e will print ^e instead of ê) and dead_diaeresis doesn't work
anymore.

This bug seems to be a lot like #347690 but with the fr layout.

here are somme more info :

$ xprop -root | grep XKB
_XKB_RULES_NAMES(STRING) = xorg, pc105, fr, , 

From xorg.conf:
Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout fr
EndSection

-- 
Alexandre Belloni

-- Package-specific info:
Keyboard-related contents of X.Org X server log file
/var/log/Xorg.0.log:
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default
(**) |--Screen Default (0)
(**) |   |--Monitor i8600
(**) |   |--Device GeforceFX
(**) |--Input Device Generic Keyboard
(**) Option XkbRules xorg
(**) XKB: rules: xorg
(**) Option XkbModel pc105
(**) XKB: model: pc105
(**) Option XkbLayout fr
(**) XKB: layout: fr
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Mouse1
(**) |--Input Device MSIntellimouse
(**) FontPath set to 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/Type1
(==) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
--
(II) LoadModule: nvidia
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.8178
Module class: XFree86 Video Driver
(II) LoadModule: keyboard
(II) Loading /usr/X11R6/lib/modules/input/keyboard_drv.so
(II) Module keyboard: vendor=X.Org Foundation
compiled for 6.9.0, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: synaptics
(II) Reloading /usr/X11R6/lib/modules/input/synaptics_drv.o
--
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
--
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Generic Keyboard: Core Keyboard
(**) Option Protocol standard
(**) Generic Keyboard: Protocol: standard
(**) Option AutoRepeat 500 30
(**) Option XkbRules xorg
(**) Generic Keyboard: XkbRules: xorg
(**) Option XkbModel pc105
(**) Generic Keyboard: XkbModel: pc105
(**) Option XkbLayout fr
(**) Generic Keyboard: XkbLayout: fr
(**) Option CustomKeycodes off
(**) Generic Keyboard: CustomKeycodes disabled
(II) Synaptics touchpad driver version 0.14.4 (1404)
(--) Mouse1 auto-dev sets device to /dev/input/event2
(**) Option Device /dev/input/event2
(**) Option SHMConfig on
(**) Option LeftEdge 200
--
(**) Option ZAxisMapping 4 5
(**) MSIntellimouse: ZAxisMapping: buttons 4 and 5
(**) MSIntellimouse: Buttons: 9
(II) XINPUT: Adding extended input device MSIntellimouse (type: MOUSE)
(II) XINPUT: Adding extended input device Mouse1 (type: MOUSE)
(II) XINPUT: Adding extended input device Generic Keyboard (type: KEYBOARD)
(II) XINPUT: Adding extended input device NVIDIA Event Handler (type: Other)
(II) XINPUT: Adding extended input device NVIDIA Kernel Input Handler (type: 
Other)
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called

X.Org X server log files on system:
-rw-r--r-- 1 root root 35989 Jan 18 01:40 /var/log/Xorg.0.log

Compiled XKB description for X server :0.0:
xkb_keymap {
xkb_keycodes xfree86+aliases(azerty) {
minimum = 8;
maximum = 255;
 ESC = 9;
AE01 = 10;
AE02 = 11;
AE03 = 12;
AE04 = 13;
AE05 = 14;
AE06 = 15;
AE07 = 16;
AE08 = 17;
AE09 = 18;
AE10 = 19;
AE11 = 20;
AE12 = 21;
BKSP = 22;
 TAB = 23;
AD01 = 24;
AD02 = 25;
AD03 = 26;
AD04 = 27;
AD05 = 28;
AD06 = 29;
AD07 = 30;
AD08 = 31;
AD09 = 32;
AD10 = 33;
AD11 = 34;
AD12 = 35;
RTRN = 36;
LCTL = 37;
AC01 = 38;
AC02 = 39;
AC03 = 40;
AC04 = 41;
AC05 = 42;
AC06 = 43;
AC07 = 44;
AC08 = 45;
AC09 = 46;
AC10 = 47;
AC11 = 48;
TLDE = 49;
LFSH = 50;
BKSL = 51;
AB01 = 52;
AB02 = 53;
AB03 = 54;
AB04 = 55;
AB05 = 56;
AB06 = 57;
AB07 = 58;
AB08 = 59;
AB09 = 60;
AB10 = 61;
RTSH = 62;
KPMU = 63;
LALT

Bug#304246: ncmpc: doesn't work when not specifying password

2005-04-11 Thread Alexandre Belloni
Package: ncmpc
Version: 0.11.1-3
Severity: normal


ncmpc won't run if you don't specify any password :
$ ncmpc
error [18]: ACK [EMAIL PROTECTED] {password} wrong number of arguments for 
password

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.6azael
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ncmpc depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libglib2.0-02.6.4-1  The GLib library of C routines
ii  libncurses5 5.4-4Shared libraries for terminal hand

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#304246: ncmpc: forgot to change my address

2005-04-11 Thread Alexandre Belloni
Package: ncmpc
Version: 0.11.1-3
Followup-For: Bug #304246

reportbug used my old address, please use this one to contact me :

alexandre.belloni _AT_ piout.net

sorry for the trouble.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]