IBM ThinkPad T21 CS4280 driver not working

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

IBM ThinkPad T21 CS4280 driver not working

Postby rapochmara » Tue Aug 05, 2008 8:41 pm

I have a ThinkPad T21 with a CS4614 sound chip. The driver that OSS 4.01016 uses is the CS4280. I get errors such as driver failed to attach. I have tried changing the clk bit to 1 to wake up the device no such luck, I have changed the Interrupt priorities number to various other available irqs. If I change the interrupt priorities i get the error CS4280 does not support high level interrupts. I cannot figure this out. Please Help
rapochmara
New Member
 
Posts: 1
Joined: Tue Aug 05, 2008 8:31 pm

Postby dev » Wed Aug 06, 2008 5:59 am

there's is a problem with the BIOS and the code that origially worked in OSS 3.9 had to be commented out :

1774#if 0
1775 if (cs461x_clkrun_fix)
1776 while ((osdev = (pci_find_class (0x680 << 8, osdev))))
1777
1778 {
1779 unsigned char pp;
1780 unsigned int port, control;
1781 unsigned short vendor, device;
1782
1783 pci_read_config_word (osdev, PCI_VENDOR_ID, &vendor);
1784 pci_read_config_word (osdev, PCI_DEVICE_ID, &device);
1785
1786 if (vendor != 0x8086 || device != 0x7113)
1787 continue;
1788
1789 pci_read_config_byte (osdev, 0x41, &pp);
1790 port = pp << 8;
1791 control = INW (devc->osdev, port + 0x10);
1792 OUTW (devc->osdev, control | 0x2000, port + 0x10);
1793 oss_udelay (100);
1794 OUTW (devc->osdev, control & ~0x2000, port + 0x10);
1795 }
1796#endif


Someone needs to fix this code - unfortunately we don't have any TP21s inhouse.



regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA


Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest

cron