Ι am sad :(

[Moved to Mobile Computing -- mod.]

Ηι. Ι just bought a Lenovo p400 touchscreen laptop just because my Acer laptop died. It is not new. I bought it from a girl and it has only a few hours of work :) I installed Xubuntu on it just because it can see everything (even the touchscreen!) but it is very unstable and slow, even with i7! From the first moment I wanted to put FreeBSD on it but this is the reason that I am sad.

It will never see the Chicony camera for Google Hangouts. Google Hangouts is not going to run on FreeBSD. I don't know if the multitouchpad will work. HDMI, Bluetooth and the card reader are also not going to work. The touchscreen is not going to work but this is the last I care about. It also is not going to support automount. Yes. It can support automount but not as Linux, that you put a camera on and here you are. All photos in front of you.

I don't know what to do. The only Linux distribution I love is Gentoo and I am so bored to configure the Linux kernel. It is just extremely huge. No. I mean it. It is bigger than an elephant and flags are more of a pain to choose from. In fact you must select them one by one! And there are two flags. System flags and portage flags and they are separated into these two sections!

If I could make the multitouchpad, brightness, camera and Bluetooth to work, I would be very happy. I know that it will see the Realtek LAN, Intel sound, Intel WiFi and HD 4000 graphics card. But this is half the laptop. The laptop has also USB3, a camera, a card reader, Bluetooth4, a touchscreen and brightness. Will I have any luck with all of them or should I just stay with the Xubuntu disaster? :(

PS: I feel very uncomfortable with Linux even when it just works. I just I don't feel to be myself. I love BSD. Not Linux. In some distributions ssh and NFS are not even part of the system! How can this be possible? I just don't like this.
 
It's sad that I know now that it is not going to work as I want. I don't care about the card reader (never used it). Maybe I don't care about Bluetooth. The only Bluetooth I have is my keyboard that never worked on FreeBSD but I don't need it on my laptop. But I care about HDMI because I stream movies from NAS and I see them on TV. Also I care about the camera and Google Hangouts because I speak with the mother of Angie. Finally I care about brightness because reducing the battery when it's low is important. Also. Another problem is that at my home for security reasons only specific IP's can connect to NAS. But when I am outside I must return to DHCP. And this could be easier with a GUI network manager which doesn't exist. And the real problem is that every laptop this day comes with HDMI, Bluetooth, a camera, a microphone etc. and FreeBSD should support them. Well I am going to try it. I have nothing to lose. I will post what is working, what is not and all help to make more things work will be appreciated :)
 
sk8harddiefast said:
I don't care about the card reader (never used it).
[snip]
and all help to make more things work will be appreciated :)
For what it's worth: although I remember that on older versions of FreeBSD one had to load a few kernel modules, nowadays card readers should just work out of the box. And it does so on my Acer laptop.
 
For what it's worth: although I remember that on older versions of FreeBSD one had to load a few kernel modules, nowadays card readers should just work out of the box. And it does so on my Acer laptop.
I want to believe that HDMI is going to work. Brightness and synaptics touchpad too. Bluetooth seems to be recognized on dmesg. Is any tutorial about FN keys and how can I make them work?
Ok. For now. The laptop compiles extremely fast. i7 four cores, eight threads, 6 MB cache. Iwin error 45. Something like that. I will see dmesg. But no luck with Intel Centrino WiFi for now.
Code:
re0 no carrier
Ok. That I fixed. I shutdown the laptop for a while and it just worked. Also in dmesg I see an error about USB3. And any idea how to enable sound? It's Intel.
 
We have some progress. The Intel HD 400 worked perfectly using x11-drivers/xf86-video-intel and multimedia/libva-intel-driver and with:
Code:
WITH_NEW_XORG=YES
WITH_KMS=YES
in /etc/make.conf.

Sound seems to work and FN Keys for sound too and with the sound animation. Sound has been enabled by adding
Code:
snd_ich="YES"
in /boot/loader.conf.

Now for brightness: in /boot/loader.conf I added these two lines:
Code:
acpi_ibm_load="YES"
acpi_video_load="YES"
Brightness works with FN keys but on every reboot it drops to 50%. How to tell to system that by default I want it 100%? Also there's no animation on brightness. I would like to have one :)

Also sysctl -a | grep temperature returns me eight cores (threads). Which of them are the real four cores? And I have 85 degrees Celcius compiling www/firefox. Isn't that very high? Is this the real temperature? Is this dangerous?

Battery and power statistics are recognized by x11/mate. Now I am going to work on making the Synaptics touchpad work.

I start thinking that FreeBSD is the best choice. At least for now. By the way, I feel to be home running FreeBSD. I know exactly what I am doing :) I am not googling, hoping, searching and praying to God.
 
Ok. I am going to remove it :)
I also have some other questions. My WiFi is an Intel Centrino N2230. Is FreeBSD supporting this chipset? I also have from my previous laptop an Intel WiFi 5100 card which I know is supported but I don't want to change the WiFi card because it is a big pain. I must remove the keyboard, remove all screws, remove the dvd-drive, remove the bottom case. So is it possible to make the Intel Centrino WiFi card work somehow now or in the near future (I have no problem to wait some months) or must I disassemble the whole laptop and change to the other WiFi card?

According to this: https://wiki.freebsd.org/dev/iwn%284%29 the chipset is supported but why isn't it auto loaded?
 
My WiFi is an Intel. Not a Realtek. The Realtek is my Ethernet card.

Also now I realized that in dmesg I get this:
Code:
hdacc0: <Realtek ALC269 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC269 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC269 (Analog 2.0+HP/2.0)> at nid 20,21 and 24 on hdaa0
pcm1: <Realtek ALC269 (Internal Analog Mic)> at nid 18 on hdaa0
hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Panther Point (HDMI/DP 8ch)> at nid 5 on hdaa1
So what do I need to enable sound and the microphone?
Code:
snd_ich
snd_hda
or something else? I am confused.
 
Yes, I know. What I meant is that, since Intel WiFi cards also require firmware, it may be possible that they also require the user to explicitly agree to the license.
 
So I must write:
Code:
legal.realtek.license_ack=1
legal.intel.license_ack=1
Is this right or is the second line not needed?

Also, any help with my sound?
 
The first line is certainly not needed and I'm not sure about the second one, since it may be slighly different. E.g.
Code:
legal.intel_iwn.license_ack=1
Check for yourself what you need. It may also be that you don't need it at all.
 
Ok. I am going to check this :) But I want to fix the sound first, witch which is basic! This is my $ dmesg | more:
Code:
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014
    root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz (2195.06-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x306a9  Family = 0x6  Model = 0x3a  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x7fbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
  Standard Extended Features=0x281<GSFSBASE,SMEP,ENHMOVSB>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8119889920 (7743 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <LENOVO CB-01   >
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 SMT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0 <Version 2.0> irqs 0-23 on motherboard
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
acpi0: <LENOVO CB-01> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x3000-0x303f mem 0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
agp0: <IvyBridge mobile GT2 IG> on vgapci0
agp0: aperture size is 256M, detected 65532k stolen memory
acpi_video0: <ACPI video extension> on vgapci0
vgapci0: Boot video device
xhci0: <Intel Panther Point USB 3.0 controller> mem 0xd0600000-0xd060ffff at device 20.0 on pci0
usbus0: waiting for BIOS to give up control
xhci0: 32 byte context size.
xhci0: Port routing mask set to 0xffffffff
usbus0 on xhci0
pci0: <simple comms> at device 22.0 (no driver attached)
ehci0: <Intel Panther Point USB 2.0 controller> mem 0xd0619000-0xd06193ff irq 16 at device 26.0 on pci0
usbus1: waiting for BIOS to give up control
usbus1: timed out waiting for BIOS
usbus1: EHCI version 1.0
usbus1 on ehci0
hdac0: <Intel Panther Point HDA Controller> mem 0xd0610000-0xd0613fff irq 22 at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
re0: <RealTek 810xE PCIe 10/100baseTX> port 0x2000-0x20ff mem 0xd0404000-0xd0404fff,0xd0400000-0xd0403fff irq 16 at device 0.0 on pci1
re0: Using 1 MSI-X message
re0: ASPM disabled
re0: Chip rev. 0x40800000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
rlphy0: <RTL8201E 10/100 media interface> PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
re0: Ethernet address: 20:89:84:36:3b:36
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.1 on pci0
pci2: <ACPI PCI bus> on pcib2
iwn0: <Intel Centrino Wireless-N 2230> mem 0xd0500000-0xd0501fff irq 17 at device 0.0 on pci2
iwn0: adapter type 12 not supported
iwn0: could not attach device, error 45
device_attach: iwn0 attach returned 45
ehci1: <Intel Panther Point USB 2.0 controller> mem 0xd0618000-0xd06183ff irq 23 at device 29.0 on pci0
usbus2: waiting for BIOS to give up control
usbus2: timed out waiting for BIOS
usbus2: EHCI version 1.0
usbus2 on ehci1
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel Panther Point AHCI SATA controller> port 0x3088-0x308f,0x3094-0x3097,0x3080-0x3087,0x3090-0x3093,0x3060-0x307f mem 0xd0617000-0xd06177ff irq 19 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahciem0: <AHCI enclosure management bridge> on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
coretemp0: <CPU On-Die Thermal Sensors> on cpu0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
coretemp1: <CPU On-Die Thermal Sensors> on cpu1
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
coretemp2: <CPU On-Die Thermal Sensors> on cpu2
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
coretemp3: <CPU On-Die Thermal Sensors> on cpu3
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
coretemp4: <CPU On-Die Thermal Sensors> on cpu4
est4: <Enhanced SpeedStep Frequency Control> on cpu4
p4tcc4: <CPU Frequency Thermal Control> on cpu4
coretemp5: <CPU On-Die Thermal Sensors> on cpu5
est5: <Enhanced SpeedStep Frequency Control> on cpu5
p4tcc5: <CPU Frequency Thermal Control> on cpu5
coretemp6: <CPU On-Die Thermal Sensors> on cpu6
est6: <Enhanced SpeedStep Frequency Control> on cpu6
p4tcc6: <CPU Frequency Thermal Control> on cpu6
coretemp7: <CPU On-Die Thermal Sensors> on cpu7
est7: <Enhanced SpeedStep Frequency Control> on cpu7
p4tcc7: <CPU Frequency Thermal Control> on cpu7
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
hdacc0: <Realtek ALC269 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC269 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC269 (Analog 2.0+HP/2.0)> at nid 20,21 and 24 on hdaa0
pcm1: <Realtek ALC269 (Internal Analog Mic)> at nid 18 on hdaa0
hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Panther Point (HDMI/DP 8ch)> at nid 5 on hdaa1
random: unblocking device.
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
ugen2.1: <Intel> at usbus2
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen1.1: <Intel> at usbus1
uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <0x8086> at usbus0
uhub2: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ada0 at ahcich1 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD3200BEKT-00PVMT0 01.01A01> ATA-8 SATA 2.x device
ada0: Serial Number WD-WX61A92N7736
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ses0 at ahciem0 bus 0 scbus2 target 0 lun 0
ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
ses0: SEMB SES Device
cd0 at ahcich2 bus 0 scbus1 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GU70N DE01> Removable CD-ROM SCSI-0 device 
cd0: Serial Number M45CATB0842
cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed
Netvsc initializing... SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #4 Launched!
SMP: AP CPU #5 Launched!
Timecounter "TSC-low" frequency 1097532288 Hz quality 1000
Root mount waiting for: usbus2 usbus1 usbus0
uhub2: 8 ports with 8 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
ugen0.2: <Microsoft> at usbus0
Root mount waiting for: usbus2 usbus1 usbus0
ugen1.2: <vendor 0x8087> at usbus1
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus1
ugen2.2: <vendor 0x8087> at usbus2
uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus2
Root mount waiting for: usbus2 usbus1 usbus0
uhub3: 6 ports with 6 removable, self powered
uhub4: 6 ports with 6 removable, self powered
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_TIMEOUT
ugen1.3: <vendor 0x8087> at usbus1
Root mount waiting for: usbus1 usbus0
usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 2, addr 2 (ignored)
ugen0.3: <vendor 0x06cb> at usbus0
ugen1.4: <Generic> at usbus1
ugen0.4: <Vimicro Corp.> at usbus0
Trying to mount root from zfs:zroot/ROOT/default []...
ums0: <Microsoft Microsoft Basic Optical Mouse, class 0/0, rev 1.10/1.04, addr 1> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ubt0: <vendor 0x8087 product 0x07da, class 224/1, rev 2.00/78.69, addr 3> on usbus1
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()
Can you tell me what sound card I have, Intel or Realtek? And what option do I need? I am confused :(
 
Yes, but: I don't know if it works on HD or on basic AC'97. Also I tried with
Code:
snd_hda_load="YES"
and YouTube just starts to stuck. I returned to
Code:
snd_ich_load="YES"
and it continues to stack. All this behavior seems like audio is not working right. And I don't understand if my audio is Intel or Realtek and what module I must load. Over there I see both of them!
 
Try
Code:
snd_driver_load="YES"
This will load all drivers. Then you can unload them one by one, to see which one you need.
 
Your WiFi chipset has support in -CURRENT last time I checked, which was admittedly a few months ago and it is not supported in -RELEASE at this time. See iwn(). I don't know the status of it off hand. Your sound card is a Realtek integrated sound card according to your dmesg() output and is supported by the snd_hda() driver.
 
Thank you :) Well, I start believing that I will make FreeBSD run smoothly on my laptop :) The last two months I've been running a lot of Linux distributions on Angie's computer. I made Angie leave Windows and start learning open source OSes :) So I realized that I cannot run another OS. (Only Mac as exception.) I just cannot. I learned FreeBSD and in fact Linux is a mess. You install NFS because is not by default? And how to start it if it doesn't exist in /etc/init.d? But still mount NFS disks from /etc/fstab one minute after the computer booted :pP FreeBSD is more accurate. The service exist in the kernel. You load it here, you start-stop it here, you mount it here. This is the right way.
 
Back
Top