Chmouel Boudjnah wrote:
> Buchan Milne <[EMAIL PROTECTED]> writes:
> 
> 
>>So, can we have this in-kernel?:
>>http://prdownloads.sourceforge.net/tpctl/thinkpad_4.1.tar.gz?download
>>Then at least I could configure my serial ports (which I have) since I
>>don't have a docking port to play with ... (please don't take that out
>>of context now ...).
> 
> 
> where are kind of freeze for the kernel and new drivers but i may try.
> 

It doesn't touch anything else, and would only affect thinkpad users who
actually try and use it (modprobe thinkpad or use tpctl).

[root@bgmilne-thinkpad root]# lsmod |grep thinkpad
[root@bgmilne-thinkpad root]# tpctl --rs1 --rs2
resource state:                        ioaddr irq#   able? mode/power
   serial port 1:                       0x3f8 IRQ4  enable on
   serial port 2:                       0x0   IRQ0 disable
[root@bgmilne-thinkpad root]# lsmod |grep thinkpad
thinkpadpm              3384   0  (autoclean)
thinkpad                2536   0  (autoclean) [thinkpadpm superio]


My thinkpad has been running with it on 2.4.19-16mdk and now
2.4.19-24mdk, both with no problems. I haven't tried acpi on this
machine yet, but if you can integrate the thinkpad driver into the
kernel for rc1, I probably need to test the winbind setup anyway, and
will use the laptop, so can test the thinkpad driver and try acpi on it.

There is just the issue of perms to /dev/thinkpad/*, which I tried to
solve in this package with /etc/devfs/conf.d/thinkpad (doesn't work):

[bgmilne@bgmilne-thinkpad bgmilne]$ cat /etc/devfs/conf.d/thinkpad
REGISTER        ^thinkpad/.*$   PERMISSIONS     root.thinkpad   0664

but /etc/secuity/console.perms may be better (no need for specific
group)? Anyone wanting to change settings will need write permissions on
/dev/thinkpad/*.

Maybe:
<thinkpad>=/dev/thinkpad/*
<console> 0600 <thinkpad> 0600 root

Buchan

-- 
|--------------Another happy Mandrake Club member--------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to