Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old July 20th, 2007   #11
sheol
Just Give Me the Beans!
 
Join Date: Jun 2007
Location: Seattle
Beans: 32
Kubuntu 7.04 Feisty Fawn
Send a message via AIM to sheol
Re: Feisty Fawn on Thinkpad X61

THIS WORKS!

Okay I have figures out how to get the alsa drivers and patch them:
( this is from http://forums.fedoraforum.org/showthread.php?t=159516 )

download latest alsa tarball from here

download attached patch file

Code:
sudo tar jxvf alsa-driver-1.0.14.tar.bz2
sudo tar zxvf patch_analog.c.tar.gz
sudo cp ./patch_analog.c ./alsa-driver-1.0.14/alsa-kernel/pci/hda/
cd alsa-driver-1.0.14
sudo ./configure && sudo make
sudo make install
You need to edit some configs too:
Code:
sudo nano /etc/modprobe.d/alsa-base
go to bottom and add:
Code:
options snd-hda-intel model=thinkpad
Attached Files
File Type: gz patch_analog.c.tar.gz (15.9 KB, 385 views)

Last edited by sheol; July 21st, 2007 at 05:46 PM..
sheol is offline  
Old July 20th, 2007   #12
sheol
Just Give Me the Beans!
 
Join Date: Jun 2007
Location: Seattle
Beans: 32
Kubuntu 7.04 Feisty Fawn
Send a message via AIM to sheol
Re: Feisty Fawn on Thinkpad X61

I tried the above, at first it didn't work.
After doing it you need to do the following things:

run alsamixer in the command line and unmute everything by hitting "M"

make sure you are in the audio group by selecting Users and Groups in the system settings.

reboot.

If you still don't have sound make sure you have ALSA selected in your sound settings

Last edited by sheol; July 21st, 2007 at 05:49 PM..
sheol is offline  
Old July 20th, 2007   #13
drocko
5 Cups of Ubuntu
 
Join Date: Jul 2007
Location: Brooklyn, NY
Beans: 15
Ubuntu 5.10
Re: Feisty Fawn on Thinkpad X61

Hello,

I'm working on getting my X61 Tablet up and running and am having some similar issues as the rest of you it seems.

Currently I am working on getting the tablet operational. udev can see the tablet device but is not creating /dev entries for it. Here is what udev knows about the tablet:

Code:
 udevinfo -a -p /devices/acpi_system:00/device:00/PNP0A08:00/device:01/WACF008:00

looking at device '/devices/acpi_system:00/device:00/PNP0A08:00/device:01/WACF008:00':
    KERNEL=="WACF008:00"
    SUBSYSTEM=="acpi"
    DRIVER==""
    ATTR{hid}=="WACF008"
    ATTR{path}=="__SB_.PCI0.LPC_.DTR_"
I've tried to create udev rules to force it to make a /dev/ entry. Anyone have any leads on doing this?

Thanks
drocko is offline  
Old July 22nd, 2007   #14
sheol
Just Give Me the Beans!
 
Join Date: Jun 2007
Location: Seattle
Beans: 32
Kubuntu 7.04 Feisty Fawn
Send a message via AIM to sheol
Re: Feisty Fawn on Thinkpad X61

Okay, the main things are fixed.
The following are still problems:
The volume control on the laptop stop at 10%.

video card display quirkiness:
KDE load up screen gets cleared and then only changed parts redrawn
OpenGL applications can be seen through blocking windows

Working function keys:
func+f3 = display battery information
func+f4 = suspend
func+Pgup = keyboard light
func+ScrLk = maps keys to allow 10 key

Non-working Function keys:
func+f2 = no effect (should be lock screen?)
func+f5 = no effect (should be disable/enable wireless?)
func+f7 = no effect (should be ?)
func+f8 = no effect (should be ?)
func+f12 = no effect (should be hibernate ?)
func+home = no effect (should be brighten screen)
func+end = no effect (should be dim screen)
func+space = no effect (should be zoom ?)
func+sysrq = no effect (should be ?)
func+Pause = no effect (should be break)

if anyone has any ideas...
sheol is offline  
Old July 22nd, 2007   #15
drocko
5 Cups of Ubuntu
 
Join Date: Jul 2007
Location: Brooklyn, NY
Beans: 15
Ubuntu 5.10
Re: Feisty Fawn on Thinkpad X61

Quote:
Originally Posted by sheol View Post
THIS WORKS!

Okay I have figures out how to get the alsa drivers and patch them:

Code:
sudo tar jxvf alsa-driver-1.0.14.tar.bz2
sudo tar zxvf patch_analog.c.tar.gz
sudo cp ./patch_analog.c ./alsa-driver-1.0.14/alsa-kernel/pci/hda/
cd alsa-driver-1.0.14
sudo ./configure && sudo make
sudo make install
Great stuff! Thanks for this. Now i have sound! Note that you should not need to run configure or make with sudo. best practice is to run those as the regular user and only run make install as the super user.

I have discovered some more thinks about the tablet in the x61t and I am about to try some things to get that up and running correctly. I will post the results of my testing.
drocko is offline  
Old July 22nd, 2007   #16
drocko
5 Cups of Ubuntu
 
Join Date: Jul 2007
Location: Brooklyn, NY
Beans: 15
Ubuntu 5.10
Re: Feisty Fawn on Thinkpad X61

More from the X61t front... I have the tablet working! I'd say it's a bit of a hack and not for the squeamish. I'll work to get this submitted as a patch.

Here's the deal:

The X61t's tablet is a Wacom device that is connected via a serial connection. (Originally I thought it was USB, my bad). It won't work out of the box in Feisty because the device is too new. Here's what you can do to get it up and running:

1. Install wacom-tools and xserver-xorg-input-wacom
Code:
sudo apt-get install wacom-tools xserver-xorg-input-wacom
2. Install the kernel source for the kernel that you are running. I had upgraded to Gutsy's kernel 2.6.22 but this should work if you are on Feisty's as well.

3. Prepare to compile your own kernel. I used directions from this site.

4. You'll need to modify the source code for the 8250_pnp module:
Code:
vi /usr/src/linux/drivers/serial/8250_pnp.c
Look for this:
Code:
  /* Wacom tablets */
  { "WACF004",    0 },
  { "WACF005",    0 },
  {       "WACF006",              0       },
and add
Code:
  {       "WACF008",              0       },
right below it.

What this does is let the kernel know that the device you have is actually a Wacom tablet connected via serial and that the kernel should use the serial driver for it.

5. Compile and install the kernel. Follow the instructions on that webpage and you'll end up with a .deb package that will allow you to easily install and remove it in case there are problems.

6. While you wait for the kernel to compile you should modify init script for the Wacom xorg driver.

Code:
sudo vi /etc/init.d/xserver-xorg-input-wacom
Change line 16 to add WACf008*. make it look like this:
Code:
WACf008*|WACf006*|WACf005*|WACf004*)
This will make your tablet appear at /dev/input/wacom at boot.

7. Check /etc/X11/xorg.conf to make sure that all the tablet devices are looking for the tablet at /dev/input/wacom.

8. Reboot and use the tablet!

I'm not sure if this is totally complete so if someone else gets a chance to try this let me know what kinds of problems they run into.

Now that I've got that up and running I'm going to move to creating scripts for xrandr (hey, it's a tablet), sleep and hibernate, getting more of the Thinkpad buttons working, getting the Cingular (AT&T now?) WWAN adaptor up and running, and testing bluetooth.

I'll report in soon... Good luck everyone!
drocko is offline  
Old July 22nd, 2007   #17
walrus_t
5 Cups of Ubuntu
 
Join Date: Oct 2006
My beans are hidden!
Re: Feisty Fawn on Thinkpad X61

I get "C compiler cannot create executables" when i try your method. Any help please? Thanks!
walrus_t is offline  
Old July 22nd, 2007   #18
walrus_t
5 Cups of Ubuntu
 
Join Date: Oct 2006
My beans are hidden!
Re: Feisty Fawn on Thinkpad X61

I get "C compiler cannot create executables" when i try your method (exactly when i type "sudo ./configure"). Any help please? Thanks!
walrus_t is offline  
Old July 22nd, 2007   #19
drocko
5 Cups of Ubuntu
 
Join Date: Jul 2007
Location: Brooklyn, NY
Beans: 15
Ubuntu 5.10
Re: Feisty Fawn on Thinkpad X61

Quote:
Originally Posted by walrus_t View Post
I get "C compiler cannot create executables" when i try your method (exactly when i type "sudo ./configure"). Any help please? Thanks!
walrus_t,

Sounds like you have a problem with your system. Check to see if compilers are installed by running this command:

Code:
dpkg --list | grep gcc
you should see something like:
Code:
ii  gcc                                        4.1.2-1ubuntu1                         The GNU C compiler
ii  gcc-3.3-base                               3.3.6-15ubuntu1                        The GNU Compiler Collection (base package)
ii  gcc-4.1                                    4.1.2-0ubuntu4                         The GNU C compiler
ii  gcc-4.1-base                               4.1.2-0ubuntu4                         The GNU Compiler Collection (base package)
ii  libgcc1                                    4.1.2-0ubuntu4                         GCC support library
If you do not then there is possibly a bigger problem. This is on a fresh install of Feisty? You are on an X61?
drocko is offline  
Old July 22nd, 2007   #20
walrus_t
5 Cups of Ubuntu
 
Join Date: Oct 2006
My beans are hidden!
Re: Feisty Fawn on Thinkpad X61

I'm on X61s, and yes, i can see the lines you're talking about.
Here is the exact output i get:

$ sudo ./configure && sudo make
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

File is attached below Thanks again for any help (and sorry if these are stupid questions: i'm quite noob )
Attached Files
File Type: gz config.log.tar.gz (3.5 KB, 67 views)

Last edited by walrus_t; July 22nd, 2007 at 06:34 PM..
walrus_t is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:20 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry