[ltp] CD speed support in tp_smapi

Eric Van Buggenhaut linux-thinkpad@linux-thinkpad.org
Wed, 7 Dec 2005 20:42:23 +0100


On Wed, Dec 07, 2005 at 04:22:47AM +0200, Shem Multinymous wrote:
> Hi,
> 
> A new release of tp_smapi is available, adding
> /sys/devices/platform/smapi/cdrom_speed to set/get the CD drive speed
> level (0=slow, 1=medium, 2=fast). It seems that no other speed
> settings work.

If anyone can help, I don't get this entry in 

atto:/usr/src[0]# ls /sys/devices/platform/
hdaps  i2c-9191  i8042  power  serial8250

Why doesn't smapi dir show up ?

also i can't get tpctl to give me all info i'd like:

atto:/usr/src[0]# tpctl --ib
tpctl: SMAPI BIOS error 0x86 ("function is not supported") -- exiting.

Here's the list of loaded modules:

Module                  Size  Used by
rtcmosram               2948  0 
smapi                   3716  0 
thinkpad                5508  2 rtcmosram,smapi
ipt_MASQUERADE          2816  1 
iptable_nat             6788  1 
ip_nat                 16180  2 ipt_MASQUERADE,iptable_nat
ip_conntrack           42896  3 ipt_MASQUERADE,iptable_nat,ip_nat
ip_tables              20736  2 ipt_MASQUERADE,iptable_nat
evdev                   7808  2 
wacom                  13696  0 
vmnet                  29476  8 
parport_pc             38596  0 
parport                35272  1 parport_pc
vmmon                 177260  0 
rfcomm                 37660  1 
l2cap                  24324  5 rfcomm
bluetooth              44932  4 rfcomm,l2cap
nsc_ircc               19132  0 
irda                  191036  1 nsc_ircc
ipw2200                71208  0 
ieee80211              46568  0 
ieee80211_crypt         5380  1 ieee80211
snd_intel8x0           31328  4 
snd_ac97_codec         96764  1 snd_intel8x0
snd_ac97_bus            2048  1 snd_ac97_codec
snd_pcm_oss            59424  0 
snd_mixer_oss          19328  5 snd_pcm_oss
snd_pcm                94984  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              24068  1 snd_pcm
snd                    53348  6 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               8288  5 snd
snd_page_alloc          9224  2 snd_intel8x0,snd_pcm
ehci_hcd               46984  0 
intel_agp              21276  1 
nvram                   8328  2 
i2c_i801                7948  0 
radeon                107264  0 
drm                    67860  1 radeon
usb_storage            33412  0 
scsi_mod              120552  1 usb_storage
uhci_hcd               32908  0 
usbcore               129024  5 wacom,ehci_hcd,usb_storage,uhci_hcd
ibm_acpi               24192  0 


-- 
Eric VAN BUGGENHAUT
Eric.VanBuggenhaut@AdValvas.be