Re: [gentoo-user] advice on a new laptop

2017-02-15 Thread Stefano Crocco
On Saturday, 4 February 2017 12:20:06 CET Stefano Crocco wrote:
> On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> Thanks to everyone who answered. I've ordered the laptop and it should
> arrive next week. I'll let you know how it goes.
> 
> Stefano

All right. The laptop has arrived last Thursday (with memory expanded to 8GB) 
and, after a bit of work during the week-end I succeeded in installing a fully 
working ~amd64 Gentoo on it, with everything I need working perfectly (as far 
as I can tell). Unless some something unexpected come out in the future, I'm 
quite happy with this laptop.

In case anybody is interested, here are some details on what works and what 
doesn't or I haven't tested. I'll also include a copy of my .config if someone 
finds it useful (it may contain unneeded stuff, but it works).

What works:
* video card: works flawlessly with Plasma 5 and the default effects enabled. 
I had some trouble in finding out which firmware and use flags enabled. In the 
end, I enabled the i965 and intel VIDEO_CARDS and everything seems to work (I 
didn't try anything graphics intensive, however)
* wireless: this is the first wireless card which worked without problems from 
the installation medium: I created a wpa_supplicant.conf file with the network 
settings, run /etc/init.d/wpa_supplicant restart and the connection was there. 
After that, I only needed to find out the correct driver and firmware and 
insert them in the kernel
* touchpad: this gave me some problems because I couldn't find out the correct 
options to insert in the kernel. However, after a lot of attempts, checking 
everything related to 12C which seemed even remotely connected with a 
touchpad, it started working. Most likely, currently my kernel contains some 
unneeded options, but I don't have the time to find out which they are
* sound card: this too required a bit of work because I didn't know which 
codec I should use. At last, trying everyone, I found out the correct one was 
SND_HDA_CODEC_HDMI
* suspend and hibernate: both work correctly (regarding hibernate, I have set 
up a swap partition of 16GB: I don't know whether it's too much, but as I have 
space to spare, I don't care)

What doesn't work so well:
* bluetooth: the adapter is recognized. However, following the instructions in 
the Gentoo wiki [1] I couldn't connect with my smartphone: everything went 
well up to the "connect" command, then I got a "can't connect" error. I tried 
doing the same from Bluedevil (the KDE bluetooth manager), with the same 
result: however, I could send files between laptop and smartphone. I don't 
know whether this behavior is expected with such a device, since I almost 
never use bluetooth.

What I haven't tested:
* card reader
* wireless display. 

One of the issues which worried me more was setting up correctly an UEFI 
system. I don't have much experience with such systems so, among the various 
options I found online, I chose Refind as it seemed the easiest one. I 
proceeded this way:
* from the UEFI screen, I disabled Secure Boot and UEFI boot (I wasn't sure 
the Gentoo installation stick would boot from UEFI)
* I booted from the Gentoo installation stick and setup everything according 
to the installation handbook, except for the Grub2 part. According to the 
Refind instructions [2], I enabled the EFI stub in the kernel
* I copied the kernel to the usual /boot partition (with ext2 filesystem; 
ext3, ext4 or other filesystems supported by Refind would have worked as well)
* from Windows, I installed Refind [3], following to the letter the 
instructions given in [4]. Here, the author warns about issues with Windows 
10, but, luckily, I didn't have any
* I installed the kernel in the boot partition as usual
* I created a custom stanza in refind.conf, as described in [5] (I could have 
done without it if I had given the kernel a standard name, instead of 
linux-4.9.9). The custom stanza is simply:
  menuentry 

Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Saturday, 4 February 2017 09:10:22 CET Daniel Frey wrote:
> On 02/02/2017 12:28 AM, Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> If they have it in store you can ask if you can boot linux on a USB-key.
> I asked my local store and they let me try it on the display model. Your
> mileage may vary though.
> 
> Dan

A good suggestion which didn't occur to me. Unfortunately, they didn't have 
any in store so I couldn't have asked them in any case.

Stefano



Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Daniel Frey
On 02/02/2017 12:28 AM, Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
> so, how did it go? A Google search only lead me to a page hinting it should 
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar 
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano
> 
> 

If they have it in store you can ask if you can boot linux on a USB-key.
I asked my local store and they let me try it on the display model. Your
mileage may vary though.

Dan





Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread taii...@gmx.com

On 02/04/2017 06:20 AM, Stefano Crocco wrote:


On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:

Hello to everyone,
I need to buy a new laptop and I'd like some advice. Currently, I'm thinking
of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If
so, how did it go? A Google search only lead me to a page hinting it should
work with linux, but didn't give any detail.

Alternatively, which other model would you suggest with similar
specifications? The ASUS UX310UA-GL547T has the following characteristics:

Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
RAM: 4 GB DDR4
Max RAM: 16 GB
Video Card: Intel® HD Graphics 620
Video OUT: HDMI
Hard Disk: 500 GB SATA 5400 rpm
Wireless: WiFi 802.11n (a/c)
Intel® Wireless Display (WiDi)
Bluetooth: Bluetooth 4.1
USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
Card Reader: SD/MMC
Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg

The price should be less than 800€/$.

Thanks in advance

Stefano


Thanks to everyone who answered. I've ordered the laptop and it should arrive
next week. I'll let you know how it goes.

Stefano
I am a little bit late but for future reference there are no wireless ac 
devices that have libre firmware, they all require blobs so do the USB 3 
ports on that laptop.

The intel wi-fi chips will never be freed either.

4GB RAM and a crappy 5.4K 500gb drive was pathetic - in 2010.

The best laptop choice is the lenovo G505S, which supports (real) 
coreboot, 16gb ram and is pre-AMD PSP (amds version of ME).




Re: [gentoo-user] advice on a new laptop

2017-02-04 Thread Stefano Crocco
On Thursday, 2 February 2017 09:28:05 CET Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If
> so, how did it go? A Google search only lead me to a page hinting it should
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano


Thanks to everyone who answered. I've ordered the laptop and it should arrive 
next week. I'll let you know how it goes.

Stefano



Re: [gentoo-user] advice on a new laptop

2017-02-03 Thread Holger Wünsche
Hello,

I got the Asus UX310UA-FC089T with an i7-6500U wich seems to be almost
the same (given your specs, at least IO-seems the same), except the cpu
(mine is the previous generation). I have Gentoo running on it and would
say it is mostly functional.

I can boot with efi-manager/UEFI as bootloader and have no problems
using it as my daily driver. BUT I don't have configured any acpi-events
like brightness up/down or lid closed (mostly because I don't need them
that much and I had other stuff to do). For some of them I know they can
work, since I ran a Fedora 24 live-CD and at least brightness and
keyboard-backlighting worked, as well as the sound keys (tried Fedora 25
for like 10 minutes and they didn't seem to work there, might be wrong
on that).
I remember having trouble installing Gentoo on it, especially with the
trackpad, but I somehow got it working (as mentioned before Fedora 24
worked like a charm).
Sometimes the trackpad doesn't get recognised after boot, but it is very
rare and I usually don't notice, since most work is done in the
terminal. The Trackpad is if I remeber correctly connected via i2c.

Even if not everything works perfect out of the box, I think all
problems are solvable, the brightness and keyboard-lighting are both
adjustable with a script. If you need help with anything, or
want some more information on my laptop (to find differences or hints on
stuff you might not find) feel free to ask me. I'd like to help ;]


Regards,

Holger Wünsche


On Thu, Feb 02, 2017 at 09:28:05AM +0100, Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
> so, how did it go? A Google search only lead me to a page hinting it should 
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar 
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano
> 
> 


signature.asc
Description: Digital signature


Re: [gentoo-user] advice on a new laptop

2017-02-03 Thread Mick
On Friday 03 Feb 2017 17:01:04 Stanislav Ch. Nikolov wrote:
> On 02/02/2017 10:28 AM, Stefano Crocco wrote:
> > Hello to everyone,
> > I need to buy a new laptop and I'd like some advice. Currently, I'm
> > thinking of buying an ASUS UX310UA-GL547T. Has anyone tried running
> > Gentoo on it? If so, how did it go? A Google search only lead me to a
> > page hinting it should work with linux, but didn't give any detail.
> > 
> > Alternatively, which other model would you suggest with similar
> > specifications? The ASUS UX310UA-GL547T has the following characteristics:
> > 
> > Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> > CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> > RAM: 4 GB DDR4
> > Max RAM: 16 GB
> > Video Card: Intel® HD Graphics 620
> > Video OUT: HDMI
> > Hard Disk: 500 GB SATA 5400 rpm
> > Wireless: WiFi 802.11n (a/c)
> > Intel® Wireless Display (WiDi)
> > Bluetooth: Bluetooth 4.1
> > USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> > Card Reader: SD/MMC
> > Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> > 
> > The price should be less than 800€/$.
> > 
> > Thanks in advance
> > 
> > Stefano
> 
> bump

I don't have experience of this particular hardware, but the CPU and video 
card should work fine with Gentoo.  The WiFi card and audio are also likely to 
work, although you may need to fish around for the right drivers (lspci and 
lshw outputs should help your research).

WiDi (like Miracast) may or may not be able to work yet, although there are a 
couple of software projects looking into it:

https://01.org/wds

https://github.com/albfan/miraclecast

HTH
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] advice on a new laptop

2017-02-03 Thread Stanislav Ch. Nikolov
On 02/02/2017 10:28 AM, Stefano Crocco wrote:
> Hello to everyone,
> I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
> of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
> so, how did it go? A Google search only lead me to a page hinting it should 
> work with linux, but didn't give any detail.
> 
> Alternatively, which other model would you suggest with similar 
> specifications? The ASUS UX310UA-GL547T has the following characteristics:
> 
> Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
> CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
> RAM: 4 GB DDR4
> Max RAM: 16 GB
> Video Card: Intel® HD Graphics 620
> Video OUT: HDMI
> Hard Disk: 500 GB SATA 5400 rpm
> Wireless: WiFi 802.11n (a/c)
> Intel® Wireless Display (WiDi)
> Bluetooth: Bluetooth 4.1
> USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
> Card Reader: SD/MMC
> Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg
> 
> The price should be less than 800€/$.
> 
> Thanks in advance
> 
> Stefano
> 
bump




signature.asc
Description: OpenPGP digital signature


[gentoo-user] advice on a new laptop

2017-02-02 Thread Stefano Crocco
Hello to everyone,
I need to buy a new laptop and I'd like some advice. Currently, I'm thinking 
of buying an ASUS UX310UA-GL547T. Has anyone tried running Gentoo on it? If 
so, how did it go? A Google search only lead me to a page hinting it should 
work with linux, but didn't give any detail.

Alternatively, which other model would you suggest with similar 
specifications? The ASUS UX310UA-GL547T has the following characteristics:

Screen: 13.3" - 1920x1080 Pixel - Full HD, LED, No Glare
CPU: Intel® CoreTM i3-7100U (2.4 GHZ)
RAM: 4 GB DDR4
Max RAM: 16 GB
Video Card: Intel® HD Graphics 620
Video OUT: HDMI
Hard Disk: 500 GB SATA 5400 rpm
Wireless: WiFi 802.11n (a/c)
Intel® Wireless Display (WiDi)
Bluetooth: Bluetooth 4.1
USB slots: 2x USB 2.0 - 1x USB 3.0 - 1x USB 3.1
Card Reader: SD/MMC
Size and weight: 32.3x22.3x1.84~1.90 cm / 1.45 Kg

The price should be less than 800€/$.

Thanks in advance

Stefano