@Sebastien Bacher of course, thanks for your response.

My default locale is:

$ echo $LANG
en_GB.UTF-8

And here's the output of lshw with C locale:

$ LANG=C sudo lshw -c memory
  [... info about CPU cache and firmware removed ...]
  *-memory
       description: System Memory
       physical id: c
       slot: System board or motherboard
       size: 12GiB
     *-bank:0
          description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
          product: ACR16D3LS1KNG/8G
          vendor: Kingston
          physical id: 0
          serial: 16392411
          slot: ChannelA-DIMM0
          size: 8GiB
          width: 64 bits
          clock: 1600MHz (0.6ns)
     *-bank:1
          description: [empty]
          physical id: 1
          slot: ChannelA-DIMM1
     *-bank:2
          description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
          product: HMT451S6BFR8A-PB
          vendor: SK Hynix
          physical id: 2
          serial: 37441113
          slot: ChannelB-DIMM0
          size: 4GiB
          width: 64 bits
          clock: 1600MHz (0.6ns)
     *-bank:3
          description: [empty]
          physical id: 3
          slot: ChannelB-DIMM1
  *-memory UNCLAIMED
       description: Memory controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 1f.2
       bus info: pci@0000:00:1f.2
       version: 21
       width: 32 bits
       clock: 33MHz (30.3ns)
       capabilities: bus_master
       configuration: latency=0
       resources: memory:a4224000-a4227fff

This time the output is correct. You should add a check and fall back to
the untranslated C locale output instead of the generic Launchpad
translation string.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1597886

Title:
  Strange Launchpad data appears on empty memory banks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1597886/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to