Search:  
Gentoo Wiki

Asus_F3JC

This article is still a Stub. You can help Gentoo-Wiki by expanding it.


Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article


Contents

What works and what doesn't

Code: lspci
 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03)
 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
 01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 110M / GeForce Go 7300 (rev a1)
 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168 (rev 01)
 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
 06:01.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
 06:01.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
 06:01.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
 06:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)

Audio: Works
Video: Works with dri/glx enabled
USB: Works
Keyboard hotkeys: Works with acpi4asus package
Wifi: Works but not very well
Ethernet controller: Works
FireWire: Never tried
PCMCIA: Never tried
SDcard reader: Works (with MMC block device driver compiled in your kernel look for /dev/mmcblk0)
Bluetooth: Works (must be enabled via ACPI)
Webcam: Works (Syntek driver from svn repository)
Integrated modem: Never tried
CD/DVD: Working with DVD cause large CPU load - DMA doesn't works. Run kernel with hdc=noprobe libata.atapi_enabled=1 and fix symlinks

Audio

Some users report that emerging alsa-drivers version 1.0.13 is enough to get sound working while some people only get their sound working with 1.0.14r1 drivers from Alsa website


The portage method
Firstly edit your make.conf

File: /etc/make.conf
ALSA_CARDS="hda-intel"


Then follow this ALSA/Install guide (jump to the alsa-driver section)


The "omfg I made it by myself" method
Download the lastest driver, libs and utilities from Alsa website

Code: Installing drivers from alsa-project.org
# ls # We should install driver, libs and utility (the order matters)
alsa-driver-1.0.14rc1.tar.bz2  alsa-lib-1.0.14rc1.tar.bz2  alsa-utils-1.0.14rc1.tar.bz2
# tar xjf alsa-driver-1.0.14rc1.tar.bz2 
# cd alsa-driver-1.0.14rc1
# ./configure --with-cards=hda-intel --with-sequencer=yes && make && make install 
# cd ..
# tar xjf alsa-lib-1.0.14rc1.tar.bz2 
# cd alsa-lib-1.0.14rc1
# ./configure --with-cards=hda-intel --with-sequencer=yes && make && make install 
# cd ..
# tar xjf alsa-utils-1.0.14rc1.tar.bz2 
# cd alsa-utils-1.0.14rc1
# ./configure --with-cards=hda-intel --with-sequencer=yes && make && make install 
# cd ..
# modprobe snd-hda-intel snd-pcm-oss snd-mixer-oss snd-seq-oss


You should get automatic loading of those modules:

File: /etc/modules.autoload.d/kernel-2.6
# ALSA
snd-hda-intel 
snd-pcm-oss
snd-mixer-oss
snd-seq-oss


Note: Some users get trouble when setting up alsamixer: Even if the sound was working, they weren't able to change the master volume. Image:F3JC-alsamixer.png
A solution could be to change the volume via the PCM value or by changing the volume directly into the player.


You can also configure your ~/.asoundrc

File: ~/.asoundrc
pcm.hda-intel-hw {
        type hw
        card 0
}

pcm.hda-intel {
        type dmix
        ipc_key 1234
        ipc_perm 0660
        slave {
                pcm "hw:0,0"
                channels 2
                period_size 1024
                buffer_size 4096
                rate 44100
                period_time 0
        }
        bindings {
                0 0
                1 1
        }
}

ctl.hda-intel-hw {
        type hw
        card 0
}

Video

Just follow this guide or the official one

USB

Add the support in your kernel:

Linux Kernel Configuration: USB support
Device Drivers  --->
 USB support  --->
  <*> Support for Host-side USB
  [*]   USB device filesystem
  <*>   EHCI HCD (USB 2.0) support
  <*>   OHCI HCD support
  <*>   UHCI HCD (most Intel and VIA) support
  <*>   USB Printer support
  <*> USB Mass Storage support
  <*> USB Human Interface Device (full HID) support
  [*]   HID input layer support
  [*] USB Monitor


Note: Those are the default values for a 2.6.19-r1 kernel, usb works perfectly with that.

WiFi

See this guide.

Ethernet

You must set one of the network device to be compiled as a module in order to have the folder to host the driver module.

Linux Kernel Configuration: Kernel options for ethernet controller
Device Drivers  --->
 Network device support  --->
  [*] Dummy net driver support
  Ethernet (10 or 100Mbit) --->
   <M>   nForce Ethernet support


Then get the r1000 driver from realtek website and install it:

Code: Installation of RTL8168 driver
# wget ftp://202.65.194.212/cn/nic/r1000_v1.05.tgz
# tar xvzf r1000_v1.05.tgz 
r1000_v1.05/
r1000_v1.05/release_note.txt
r1000_v1.05/README
r1000_v1.05/src/
r1000_v1.05/src/Makefile_linux24x
r1000_v1.05/src/r1000_ioctl.c
r1000_v1.05/src/r1000.h
r1000_v1.05/src/Makefile
r1000_v1.05/src/r1000_n.c
r1000_v1.05/Makefile
# cd r1000_v1.05
# make clean modules
# make install
# depmod -a
# modprobe r1000


You should also load this module at startup:

File: /etc/modules.autoload.d/kernel-2.6
r1000 # RTL8168
Linux Kernel Configuration: Kernel options for ethernet controller
Device Drivers  --->
 Network device support  --->
  [*] Dummy net driver support
  Ethernet (10 or 100Mbit) --->
   <M>   nForce Ethernet support

Webcam

Webcam works-for-me (Asus F3jc-ap103) so I guess for you will also :-) At first look for your webcam usbid:

Code: lsusb
Bus 002 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 004 Device 002: ID 0b05:1712 ASUSTek Computer, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 046d:c019 Logitech, Inc.
Bus 001 Device 004: ID 05e1:0501 Syntek Semiconductor Co., Ltd
Bus 001 Device 001: ID 0000:0000

Homepage of syntek experimental driver is http://syntekdriver.sourceforge.net, and if your usbid of a webcam is different please consult there. Anyway, they already mention at last 174f:a311, 174f:a821 and 05E1:0501 usbids so if you got one this is your lucky day.

At first you need to compile in videodev in your kernel, preferably in module format:

Linux Kernel Configuration: Kernel 2.6.19-gentoo-r4
Device drivers  --->
  Multimedia devices --->
     <M> Video For Linux
     [ ] Enable Video For Linux API 1 (DEPRECATED)
     [*]   Enable Video For Linux API 1 compatible Layer
         Video Capture Adapters  --->
         Radio Adapters  --->
         Digital Video Broadcasting Devices  --->
     < > DABUSB driver

Under Video Capture Adapters and DVB I have checked almost all available drivers but it is your personal choice and you may wish to do not include any of them. Compile as always.

If you already have it compiled, it is the time to insert it into running kernel:

# modprobe videodev

Then check svn repository using the following command (you need to have permissions to write below the directory you are in):

# svn co https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver syntekdriver

Dig into directory containing sources and compile it:

# cd syntekdriver/trunk/driver && make 

If you fail with: "ctags - command not found" please emerge dev-util/ctags and link as following:

# ln -s /usr/bin/exuberant-ctags /usr/bin/ctags

Issue make and prey... If you are ok, insert the module:

# modprobe.static stk11xx.ko

Now emerge camorama:

# emerge -av media-video/camorama

Assuming all went ok, you can now fire up four favourite console app in xwindow system and type:

$ camorama -D -R --width=640 --height=480

or:

$ camorama -D --width=640 --height=480

Enjoy! Please also consider reading docs from repository as I may have missed something important for you :-)

http://bugs.gentoo.org/show_bug.cgi?id=178946 here i found the working ebuild for the webcam :)

Links

Retrieved from "http://www.gentoo-wiki.info/Asus_F3JC"

Last modified: Tue, 09 Sep 2008 01:22:00 +0000 Hits: 10,146