List Info

Thread: FreeBSD 6.1 on the ThinkPad X60s




FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-09 19:06:34
Forgot to Reply-all...

-------- Original Message --------
Subject: Re: FreeBSD 6.1 on the ThinkPad X60s
Date: Tue, 09 May 2006 19:50:04 +0100
From: James O'Gorman <jamesnetinertia.co.uk>
To: Chris Howells <howellskde.org>
References: <4460DC22.6060803netinertia.co.uk>
<4460DF35.7010805kde.org>

Chris Howells wrote:
> James O'Gorman wrote:
> 
>> I just got my ThinkPad X60s (model 17045LG) and
thought I'd post my
>> results so people know what works and what
doesn't.
> 
> Thanks for the post; I'm currently running Linux on
mine, mainly due to
> the lack of wireless.

Does the wireless work under Linux then? I was thinking
about trying the
Ubuntu live CD to see.

>> * Dual-core CPU
> 
> Does CPU speed scaling work with both cores?

How do you check that? (This is my first non-Mac laptop...)

> Also, does sound work?

I've just got GNOME installed and I can't get esd to run
at all, so I'm
guessing not. I've tried kldloading every sound module
there is! Unless
it needs one that isn't built by default...

>> It only works with >6.0 though. I tried
installing 6.0-RELEASE and
>> sysinstall couldn't even see the hard disk.
6.1-RC2 had no problem
>> though.
> 
> I guess the SATA controller is quite new.

Looks that way.

>> Wireless does not, of course, work, as it's the
Intel 3945ABG chip.
>> Can't even get it working using if_ndis at the
moment :-(
> 
> Annoying. I might have a go myself. Have you got it
switched on with the
> switch underneath?

Definitely  I've
been flipping between Windows and FreeBSD and the
wireless is fine in XP.

>> Not sure about bluetooth at the moment as I've
never actually set it up
>> in FreeBSD before anyway, so I might play with
that.
> 
> The Bluetooth is simply attached to USB bus (universal
serial bus bus?),
> so it should work the same as pretty much any USB
bluetooth device.

I'll try and have a play with it later, but for now, the
light under the
screen is off for both wireless and Bluetooth...

James

_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-09 19:26:17
James O'Gorman wrote:

> Does the wireless work under Linux then? I was thinking
about trying the
> Ubuntu live CD to see.

There are drivers for Linux yes, from ipw3945.sf.net.
However they have 
only fairly recently been released so are not part of any
released 
version of Ubuntu yet (though they are part of the most
recent Dapper 
Drake beta)

>>> * Dual-core CPU
>> Does CPU speed scaling work with both cores?
> 
> How do you check that? (This is my first non-Mac
laptop...)

Load the cpufreq.ko module, either at the loader prompt, or
by adding

cpufreq_load="YES"

to /boot/loader.conf

(and then rebooting)

Then when the kernel boots you should see a message stating
whether the 
CPU has been recognised:

powernow0: <Cool`n'Quiet K8> on cpu0

... is the line from my AMD Sempron server.

If it is I guess you can try enabling powerd, something like

powerd_enable="YES"

in /etc/rc.conf

Followed by

/etc/rc.d/powerd start

Then the CPU frequency should be automatically reduced when
the load is 
low to reduce heat and power consumption.

Then something like this should give you an idea if it's
working:

[chrissauron ~]$ sysctl -a dev.cpu | grep freq
dev.cpu.0.freq: 1800
dev.cpu.0.freq_levels: 1800/59000 1000/21700

(hopefully you'd see an entry for the second core also)

> I've just got GNOME installed and I can't get esd to
run at all, so I'm
> guessing not. I've tried kldloading every sound module
there is! Unless
> it needs one that isn't built by default...

I'd probably expect it to use the snd_ich.ko driver.

> Definitely  I've
been flipping between Windows and FreeBSD and the
> wireless is fine in XP.

Fair enough. Worth checking 

> I'll try and have a play with it later, but for now,
the light under the
> screen is off for both wireless and Bluetooth...

OK. I am pleased that the wifi and Bluetooth light both work
under 
Linux, I hope the same with FreeBSD 
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-09 21:13:19
Chris Howells wrote:
> James O'Gorman wrote:
>>>> * Dual-core CPU
>>> Does CPU speed scaling work with both cores?
>>
>> How do you check that? (This is my first non-Mac
laptop...)
> 
> Load the cpufreq.ko module, either at the loader
prompt, or by adding
> 
[snip]
> 
> powernow0: <Cool`n'Quiet K8> on cpu0

I now get:

est0: <Enhanced SpeedStep Frequency Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1

I've enabled powerd too so I'll see if it does anything


> ... is the line from my AMD Sempron server.
> 
> If it is I guess you can try enabling powerd, something
like
> 
> powerd_enable="YES"
> 
> in /etc/rc.conf
> 
> Followed by
> 
> /etc/rc.d/powerd start
> 
> Then the CPU frequency should be automatically reduced
when the load is
> low to reduce heat and power consumption.
> 
> Then something like this should give you an idea if
it's working:
> 
> [chrissauron ~]$ sysctl -a dev.cpu | grep freq
> dev.cpu.0.freq: 1800
> dev.cpu.0.freq_levels: 1800/59000 1000/21700

I get:

> sysctl -a dev.cpu | grep freq
dev.cpu.0.freq: 125
dev.cpu.0.freq_levels: 1667/31000 1458/27125 1333/22000
1166/19250
1000/13000 875/11375 750/9750 625/8125 500/6500 375/4875
250/3250 125/1625

There is also:
dev.est.0.freq_settings: 1667/31000 1333/22000 1000/13000
dev.est.1.freq_settings: 1667/31000 1333/22000 1000/13000

Although the dev.cpu0.freq was at 1667 earlier, so I dunno
if powerd or
est has slowed it down or if it's just plain wrong! (This
is while
plugged into AC.)

> (hopefully you'd see an entry for the second core
also)

There are entries for dev.cpu.1, but no freq entries.

>> I've just got GNOME installed and I can't get esd
to run at all, so I'm
>> guessing not. I've tried kldloading every sound
module there is! Unless
>> it needs one that isn't built by default...
> 
> I'd probably expect it to use the snd_ich.ko driver.

Unfortunately not. I set snd_ich_load="YES" in
loader.conf, but when I
log into KDE, Arts just tells me that /dev/dsp doesn't
exist.

I tried setting hw.snd.maxautovchans to 4, just in case, but
no luck.

James
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-09 22:03:42
Quoting James O'Gorman <jamesnetinertia.co.uk>:


> Unfortunately not. I set snd_ich_load="YES"
in loader.conf, but when I
> log into KDE, Arts just tells me that /dev/dsp doesn't
exist.
>
> I tried setting hw.snd.maxautovchans to 4, just in
case, but no luck.


You can always post a
pciconv -lv
to the list.


cheers,
Rainer


------------------------------------------------------------
----
This message was sent using IMP, the Internet Messaging
Program.

_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-09 22:52:44
rainerultra-secure.de wrote:
> Quoting James O'Gorman <jamesnetinertia.co.uk>:
>> Unfortunately not. I set
snd_ich_load="YES" in loader.conf, but when I
>> log into KDE, Arts just tells me that /dev/dsp
doesn't exist.
>>
>> I tried setting hw.snd.maxautovchans to 4, just in
case, but no luck.
> 
> 
> You can always post a
> pciconv -lv
> to the list.

Here you go.

James
hostb0pci0:0:0:	class=0x060000 card=0x201717aa
chip=0x27a08086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = bridge
    subclass = HOST-PCI
none0pci0:2:0:	class=0x030000 card=0x201a17aa
chip=0x27a28086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = display
    subclass = VGA
none1pci0:2:1:	class=0x038000 card=0x201a17aa
chip=0x27a68086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = display
none2pci0:27:0:	class=0x040300 card=0x201017aa
chip=0x27d88086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) High Definition
Audio'
    class    = multimedia
pcib1pci0:28:0:	class=0x060400 card=0x00000040
chip=0x27d08086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root
Port'
    class    = bridge
    subclass = PCI-PCI
pcib2pci0:28:1:	class=0x060400 card=0x00000040
chip=0x27d28086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root
Port'
    class    = bridge
    subclass = PCI-PCI
pcib3pci0:28:2:	class=0x060400 card=0x00000040
chip=0x27d48086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root
Port'
    class    = bridge
    subclass = PCI-PCI
pcib4pci0:28:3:	class=0x060400 card=0x00000040
chip=0x27d68086 rev=0x02 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) PCI Express Root
Port'
    class    = bridge
    subclass = PCI-PCI
uhci0pci0:29:0:	class=0x0c0300 card=0x200a17aa
chip=0x27c88086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host
Controller'
    class    = serial bus
    subclass = USB
uhci1pci0:29:1:	class=0x0c0300 card=0x200a17aa
chip=0x27c98086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host
Controller'
    class    = serial bus
    subclass = USB
uhci2pci0:29:2:	class=0x0c0300 card=0x200a17aa
chip=0x27ca8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host
Controller'
    class    = serial bus
    subclass = USB
uhci3pci0:29:3:	class=0x0c0300 card=0x200a17aa
chip=0x27cb8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB Universal Host
Controller'
    class    = serial bus
    subclass = USB
ehci0pci0:29:7:	class=0x0c0320 card=0x200b17aa
chip=0x27cc8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) USB 2.0 Enhanced Host
Controller'
    class    = serial bus
    subclass = USB
pcib5pci0:30:0:	class=0x060401 card=0x00000050
chip=0x24488086 rev=0xe2 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub
Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0pci0:31:0:	class=0x060100 card=0x200917aa
chip=0x27b98086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GBM (ICH7-M) LPC Interface
Controller'
    class    = bridge
    subclass = PCI-ISA
atapci0pci0:31:1:	class=0x01018a card=0x200c17aa
chip=0x27df8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) Ultra ATA Storage
Controller'
    class    = mass storage
    subclass = ATA
atapci1pci0:31:2:	class=0x010601 card=0x200d17aa
chip=0x27c58086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801GB Mobile I/O Controller Hub SATA
cc=AHCI'
    class    = mass storage
none3pci0:31:3:	class=0x0c0500 card=0x200f17aa
chip=0x27da8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801G (ICH7 Family) SMBus Controller'
    class    = serial bus
    subclass = SMBus
em0pci2:0:0:	class=0x020000 card=0x207e17aa
chip=0x109a8086 rev=0x00 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = network
    subclass = ethernet
none4pci3:0:0:	class=0x028000 card=0x10118086
chip=0x42278086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    class    = network
cbb0pci21:0:0:	class=0x060700 card=0x201c17aa
chip=0x04761180 rev=0xb4 hdr=0x02
    vendor   = 'Ricoh Co Ltd'
    device   = 'RL5c476 CardBus Controller'
    class    = bridge
    subclass = PCI-CardBus
fwohci0pci21:0:1:	class=0x0c0010 card=0x201e17aa
chip=0x05521180 rev=0x09 hdr=0x00
    vendor   = 'Ricoh Co Ltd'
    device   = 'RL5c552 IEEE-1394 Controller'
    class    = serial bus
    subclass = FireWire
none5pci21:0:2:	class=0x080500 card=0x201d17aa
chip=0x08221180 rev=0x18 hdr=0x00
    vendor   = 'Ricoh Co Ltd'
    device   = 'SD Bus Host Adapter'
    class    = base peripheral
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-10 08:01:40
James O'Gorman wrote:
> rainerultra-secure.de wrote:
>   
>> Quoting James O'Gorman <jamesnetinertia.co.uk>:
>>     
>>> Unfortunately not. I set
snd_ich_load="YES" in loader.conf, but when I
>>> log into KDE, Arts just tells me that /dev/dsp
doesn't exist.
>>>
>>> I tried setting hw.snd.maxautovchans to 4, just
in case, but no luck.
>>>       
>> You can always post a
>> pciconv -lv
>> to the list.
>>     
>
> Here you go.
>
> James
>   
>
------------------------------------------------------------
------------
>
> hostb0pci0:0:0:	class=0x060000 card=0x201717aa
chip=0x27a08086 rev=0x03 hdr=0x00
>     vendor   = 'Intel Corporation'
>     class    = bridge
>     subclass = HOST-PCI
> none0pci0:2:0:	class=0x030000 card=0x201a17aa
chip=0x27a28086 rev=0x03 hdr=0x00
>     vendor   = 'Intel Corporation'
>     class    = display
>     subclass = VGA
> none1pci0:2:1:	class=0x038000 card=0x201a17aa
chip=0x27a68086 rev=0x03 hdr=0x00
>     vendor   = 'Intel Corporation'
>     class    = display
> none2pci0:27:0:	class=0x040300 card=0x201017aa
chip=0x27d88086 rev=0x02 hdr=0x00
>     vendor   = 'Intel Corporation'
>     device   = '82801G (ICH7 Family) High Definition
Audio'
>     class    = multimedia
>   

http://www.freebsd
.org/cgi/man.cgi?query=snd_ich&sektion=4&manpath=Fre
eBSD+6.1-RELEASE

You would need to run CURRENT as it seems:
http://www.freebsd.org/cgi/man.cgi?query=snd_ich
&apropos=0&sektion=4&manpath=FreeBSD+7.0-current
&format=html

Or ask on freebsd-multimedia (I don't read that list -
maybe your 
problem is already solved somehow)
Search the archives, ICH7 is not that brand-new, so chances
are that 
people have come across this before.



cheers,
Rainer
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-10 12:29:18
Rainer Duffner wrote:
> James O'Gorman wrote:
>> rainerultra-secure.de wrote:
>>  
>>> Quoting James O'Gorman <jamesnetinertia.co.uk>:
>>>    
>>>> Unfortunately not. I set
snd_ich_load="YES" in loader.conf, but when I
>>>> log into KDE, Arts just tells me that
/dev/dsp doesn't exist.
>>>>
>>>> I tried setting hw.snd.maxautovchans to 4,
just in case, but no luck.
>>>>       
>>> You can always post a
>>> pciconv -lv
>>> to the list.
>>>     
>>
>> Here you go.
>>
>> James
>>  
>>
------------------------------------------------------------
------------
>>
>> none2pci0:27:0:    class=0x040300
card=0x201017aa chip=0x27d88086
>> rev=0x02 hdr=0x00
>>     vendor   = 'Intel Corporation'
>>     device   = '82801G (ICH7 Family) High
Definition Audio'
>>     class    = multimedia
>>   
> 
> http://www.freebsd
.org/cgi/man.cgi?query=snd_ich&sektion=4&manpath=Fre
eBSD+6.1-RELEASE
> 
> 
> You would need to run CURRENT as it seems:
> http://www.freebsd.org/cgi/man.cgi?query=snd_ich
&apropos=0&sektion=4&manpath=FreeBSD+7.0-current
&format=html

I tried hacking ich.c a bit last night, but still no joy.
Looking at
CVSWeb, most of the ICH7 changes were MFC to RELENG_6_1.

http://www
.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/ich.c.diff
?r1=1.53&r2=1.53.2.1&f=h

So I do actually have the ICH7 stuff available. I'll try
posting to
-multimedia to see if anyone knows.

James
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
FreeBSD 6.1 on the ThinkPad X60s
user name
2006-05-10 12:47:24
James O'Gorman wrote:
> I tried hacking ich.c a bit last night, but still no
joy. Looking at
> CVSWeb, most of the ICH7 changes were MFC to
RELENG_6_1.
> 
> http://www
.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/sound/pci/ich.c.diff
?r1=1.53&r2=1.53.2.1&f=h
> 
> So I do actually have the ICH7 stuff available. I'll
try posting to
> -multimedia to see if anyone knows.

Ah, I've just seen this thread on the -multimedia list:

http://lists.freebsd.org/pipermail/f
reebsd-multimedia/2006-March/003841.html

Looks like it won't work for now, due to it being a
High-Definition chip :-(

James

_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )