[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: imac kernel compilation



You should recompile with CONFIG_MAC_ADBKEYCODES=n

If you run 2.2.19-pmac kernel, just append="keyboard_sends_linux_keycodes=1"
to /etc/yaboot.conf

Cheers,

Laurent

PS: check the mailing list archive, as this subject is a classic for the
past 2-3 weeks.


> From: Joe Paxton <joepa@1st.net>
> Date: Sat, 22 Sep 2001 17:43:28 -0500
> To: debian-powerpc@lists.debian.org
> Subject: imac kernel compilation
> Resent-From: debian-powerpc@lists.debian.org
> 
> hello list,
> 
> i'm attempting to re-compile the kernel on my 2nd gen imac (lime,
> 266mHz)...but having little luck. i am using kernel-package from woody
> (though most of the software i'm running is from potato)...the major
> problem is that when i reboot after installing kernel, keyboard seems to
> be remapped in strange way. several sources have pointed me to new input
> layer...though i've had difficulty to this point comprehending exactly
> what it is that i need to do differently.
> 
> currently running kernel-2.2.18pre21...trying to update to
> kernel-2.2.19-2 (want to get a webcam, specifically logitech quickcam
> express - not even sure if that will work...but it's worth a try).
> 
> i would appreciate any recommendations, my .config for the kernel that
> i'm trying to compile is attached.
> 
> thanks,
> joe
> 
> #
> # Automatically generated by make menuconfig: don't edit
> #
> 
> #
> # Platform support
> #
> CONFIG_PPC=y
> CONFIG_6xx=y
> # CONFIG_8xx is not set
> CONFIG_PMAC=y
> # CONFIG_PREP is not set
> # CONFIG_CHRP is not set
> # CONFIG_ALL_PPC is not set
> # CONFIG_APUS is not set
> # CONFIG_GEMINI is not set
> # CONFIG_MBX is not set
> # CONFIG_SMP is not set
> # CONFIG_ALTIVEC is not set
> CONFIG_MACH_SPECIFIC=y
> CONFIG_POWERMAC=y
> 
> #
> # General setup
> #
> CONFIG_EXPERIMENTAL=y
> CONFIG_MODULES=y
> # CONFIG_MODVERSIONS is not set
> CONFIG_KMOD=y
> CONFIG_PCI=y
> # CONFIG_PCI_QUIRKS is not set
> CONFIG_PCI_OLD_PROC=y
> CONFIG_NET=y
> CONFIG_SYSCTL=y
> CONFIG_SYSVIPC=y
> # CONFIG_BSD_PROCESS_ACCT is not set
> CONFIG_BINFMT_ELF=y
> CONFIG_KERNEL_ELF=y
> CONFIG_BINFMT_MISC=y
> # CONFIG_BINFMT_JAVA is not set
> # CONFIG_PARPORT is not set
> # CONFIG_VGA_CONSOLE is not set
> CONFIG_FB=y
> # CONFIG_PMAC_PBOOK is not set
> CONFIG_PROC_DEVICETREE=y
> # CONFIG_TOTALMP is not set
> # CONFIG_BOOTX_TEXT is not set
> # CONFIG_MOTOROLA_HOTSWAP is not set
> 
> #
> # Plug and Play support
> #
> # CONFIG_PNP is not set
> 
> #
> # Block devices
> #
> # CONFIG_BLK_DEV_FD is not set
> CONFIG_BLK_DEV_IDE=y
> # CONFIG_BLK_DEV_HD_IDE is not set
> CONFIG_BLK_DEV_IDEDISK=y
> CONFIG_BLK_DEV_IDECD=y
> # CONFIG_BLK_DEV_IDETAPE is not set
> CONFIG_BLK_DEV_IDEFLOPPY=y
> CONFIG_BLK_DEV_IDESCSI=y
> # CONFIG_BLK_DEV_CMD640 is not set
> # CONFIG_BLK_DEV_RZ1000 is not set
> CONFIG_BLK_DEV_IDEPCI=y
> CONFIG_BLK_DEV_IDEDMA=y
> # CONFIG_BLK_DEV_OFFBOARD is not set
> CONFIG_IDEDMA_AUTO=y
> # CONFIG_BLK_DEV_OPTI621 is not set
> # CONFIG_BLK_DEV_ALI15X3 is not set
> # CONFIG_BLK_DEV_TRM290 is not set
> # CONFIG_BLK_DEV_NS87415 is not set
> # CONFIG_BLK_DEV_VIA82C586 is not set
> CONFIG_BLK_DEV_CMD646=y
> # CONFIG_BLK_DEV_CS5530 is not set
> # CONFIG_BLK_DEV_SL82C105 is not set
> CONFIG_BLK_DEV_IDE_PMAC=y
> CONFIG_BLK_DEV_IDEDMA_PMAC=y
> CONFIG_BLK_DEV_IDEDMA=y
> CONFIG_PMAC_IDEDMA_AUTO=y
> # CONFIG_IDE_CHIPSETS is not set
> CONFIG_BLK_DEV_LOOP=y
> # CONFIG_BLK_DEV_NBD is not set
> # CONFIG_BLK_DEV_MD is not set
> CONFIG_BLK_DEV_RAM=y
> CONFIG_BLK_DEV_RAM_SIZE=4096
> CONFIG_BLK_DEV_INITRD=y
> # CONFIG_BLK_DEV_XD is not set
> # CONFIG_BLK_DEV_DAC960 is not set
> CONFIG_PARIDE_PARPORT=y
> # CONFIG_PARIDE is not set
> # CONFIG_BLK_CPQ_DA is not set
> # CONFIG_BLK_CPQ_CISS_DA is not set
> # CONFIG_BLK_DEV_HD is not set
> 
> #
> # Networking options
> #
> CONFIG_PACKET=y
> CONFIG_NETLINK=y
> # CONFIG_RTNETLINK is not set
> # CONFIG_NETLINK_DEV is not set
> # CONFIG_FIREWALL is not set
> # CONFIG_FILTER is not set
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> # CONFIG_IP_ADVANCED_ROUTER is not set
> # CONFIG_IP_PNP is not set
> # CONFIG_IP_ROUTER is not set
> # CONFIG_NET_IPIP is not set
> # CONFIG_NET_IPGRE is not set
> # CONFIG_IP_MROUTE is not set
> CONFIG_IP_ALIAS=y
> # CONFIG_SYN_COOKIES is not set
> CONFIG_INET_RARP=y
> CONFIG_SKB_LARGE=y
> # CONFIG_IPV6 is not set
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> # CONFIG_X25 is not set
> # CONFIG_LAPB is not set
> # CONFIG_BRIDGE is not set
> # CONFIG_NET_DIVERT is not set
> # CONFIG_LLC is not set
> # CONFIG_ECONET is not set
> # CONFIG_WAN_ROUTER is not set
> # CONFIG_NET_FASTROUTE is not set
> # CONFIG_NET_HW_FLOWCONTROL is not set
> # CONFIG_CPU_IS_SLOW is not set
> 
> #
> # QoS and/or fair queueing
> #
> # CONFIG_NET_SCHED is not set
> 
> #
> # SCSI support
> #
> # CONFIG_SCSI is not set
> 
> #
> # Network device support
> #
> CONFIG_NETDEVICES=y
> 
> #
> # ARCnet devices
> #
> # CONFIG_ARCNET is not set
> # CONFIG_DUMMY is not set
> # CONFIG_BONDING is not set
> # CONFIG_EQUALIZER is not set
> # CONFIG_ETHERTAP is not set
> # CONFIG_NET_SB1000 is not set
> 
> #
> # Ethernet (10 or 100Mbit)
> #
> CONFIG_NET_ETHERNET=y
> # CONFIG_MACE is not set
> CONFIG_BMAC=y
> # CONFIG_GMAC is not set
> # CONFIG_NCR885E is not set
> # CONFIG_NET_VENDOR_3COM is not set
> # CONFIG_LANCE is not set
> # CONFIG_NET_VENDOR_SMC is not set
> # CONFIG_NET_VENDOR_RACAL is not set
> # CONFIG_RTL8139 is not set
> # CONFIG_RTL8139TOO is not set
> # CONFIG_NET_ISA is not set
> # CONFIG_NET_EISA is not set
> # CONFIG_NET_POCKET is not set
> 
> #
> # Ethernet (1000 Mbit)
> #
> # CONFIG_ACENIC is not set
> # CONFIG_HAMACHI is not set
> # CONFIG_YELLOWFIN is not set
> # CONFIG_SK98LIN is not set
> # CONFIG_FDDI is not set
> # CONFIG_HIPPI is not set
> CONFIG_PPP=y
> # CONFIG_SLIP is not set
> # CONFIG_NET_RADIO is not set
> 
> #
> # Token ring devices
> #
> # CONFIG_TR is not set
> # CONFIG_NET_FC is not set
> # CONFIG_RCPCI is not set
> # CONFIG_SHAPER is not set
> 
> #
> # Wan interfaces
> #
> # CONFIG_HOSTESS_SV11 is not set
> # CONFIG_COSA is not set
> # CONFIG_SEALEVEL_4021 is not set
> # CONFIG_SYNCLINK_SYNCPPP is not set
> # CONFIG_LANMEDIA is not set
> # CONFIG_COMX is not set
> # CONFIG_HDLC is not set
> # CONFIG_DLCI is not set
> # CONFIG_XPEED is not set
> # CONFIG_SBNI is not set
> 
> #
> # Amateur Radio support
> #
> # CONFIG_HAMRADIO is not set
> 
> #
> # IrDA (infrared) support
> #
> # CONFIG_IRDA is not set
> 
> #
> # ISDN subsystem
> #
> # CONFIG_ISDN is not set
> 
> #
> # Old CD-ROM drivers (not SCSI, not IDE)
> #
> # CONFIG_CD_NO_IDESCSI is not set
> 
> #
> # Console drivers
> #
> CONFIG_DUMMY_CONSOLE=y
> # CONFIG_FB_PM2 is not set
> CONFIG_FB_ATY=y
> CONFIG_FB_OF=y
> # CONFIG_FB_CONTROL is not set
> # CONFIG_FB_PLATINUM is not set
> # CONFIG_FB_VALKYRIE is not set
> # CONFIG_FB_IMSTT is not set
> # CONFIG_FB_CT65550 is not set
> # CONFIG_FB_S3TRIO is not set
> # CONFIG_FB_COMPAT_XPMAC is not set
> # CONFIG_FB_MATROX is not set
> # CONFIG_FB_ATY128 is not set
> # CONFIG_FB_VIRTUAL is not set
> # CONFIG_FBCON_ADVANCED is not set
> CONFIG_FBCON_CFB8=y
> CONFIG_FBCON_CFB16=y
> CONFIG_FBCON_CFB24=y
> CONFIG_FBCON_CFB32=y
> # CONFIG_FBCON_FONTWIDTH8_ONLY is not set
> CONFIG_FBCON_FONTS=y
> # CONFIG_FONT_8x8 is not set
> CONFIG_FONT_8x16=y
> # CONFIG_FONT_SUN8x16 is not set
> # CONFIG_FONT_SUN12x22 is not set
> # CONFIG_FONT_6x11 is not set
> # CONFIG_FONT_PEARL_8x8 is not set
> # CONFIG_FONT_ACORN_8x8 is not set
> 
> #
> # Character devices
> #
> CONFIG_VT=y
> CONFIG_VT_CONSOLE=y
> # CONFIG_SERIAL is not set
> # CONFIG_SERIAL_EXTENDED is not set
> # CONFIG_SERIAL_NONSTANDARD is not set
> CONFIG_UNIX98_PTYS=y
> CONFIG_UNIX98_PTY_COUNT=256
> # CONFIG_MOUSE is not set
> 
> #
> # Joysticks
> #
> # CONFIG_JOYSTICK is not set
> # CONFIG_QIC02_TAPE is not set
> # CONFIG_WATCHDOG is not set
> CONFIG_NVRAM=y
> # CONFIG_RTC is not set
> # CONFIG_INTEL_RNG is not set
> # CONFIG_AGP is not set
> # CONFIG_DRM is not set
> 
> #
> # Video For Linux
> #
> CONFIG_VIDEO_DEV=y
> # CONFIG_RADIO_RTRACK is not set
> # CONFIG_RADIO_RTRACK2 is not set
> # CONFIG_RADIO_AZTECH is not set
> # CONFIG_RADIO_CADET is not set
> # CONFIG_RADIO_GEMTEK is not set
> # CONFIG_RADIO_MAESTRO is not set
> # CONFIG_RADIO_MIROPCM20 is not set
> # CONFIG_RADIO_TRUST is not set
> # CONFIG_VIDEO_BT848 is not set
> # CONFIG_VIDEO_CPIA is not set
> # CONFIG_VIDEO_PMS is not set
> # CONFIG_VIDEO_PLANB is not set
> # CONFIG_VIDEO_SAA5249 is not set
> # CONFIG_RADIO_SF16FMI is not set
> # CONFIG_RADIO_TYPHOON is not set
> # CONFIG_RADIO_ZOLTRIX is not set
> # CONFIG_VIDEO_ZORAN is not set
> # CONFIG_VIDEO_BUZ is not set
> # CONFIG_DTLK is not set
> 
> #
> # Ftape, the floppy tape device driver
> #
> # CONFIG_FTAPE is not set
> 
> #
> # USB support
> #
> CONFIG_USB=y
> # CONFIG_USB_DEBUG is not set
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_BANDWIDTH=y
> # CONFIG_USB_UHCI is not set
> # CONFIG_USB_UHCI_ALT is not set
> CONFIG_USB_OHCI=y
> CONFIG_USB_AUDIO=y
> # CONFIG_USB_BLUETOOTH is not set
> # CONFIG_USB_STORAGE is not set
> # CONFIG_USB_ACM is not set
> # CONFIG_USB_PRINTER is not set
> CONFIG_USB_HID=y
> CONFIG_INPUT_KEYBDEV=y
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> # CONFIG_INPUT_JOYDEV is not set
> # CONFIG_USB_WMFORCE is not set
> # CONFIG_USB_WACOM is not set
> CONFIG_INPUT_EVDEV=y
> # CONFIG_USB_DC2XX is not set
> # CONFIG_USB_MDC800 is not set
> # CONFIG_USB_SCANNER is not set
> # CONFIG_USB_MICROTEK is not set
> # CONFIG_USB_IBMCAM is not set
> # CONFIG_USB_OV511 is not set
> # CONFIG_USB_DSBR is not set
> # CONFIG_USB_DABUSB is not set
> # CONFIG_USB_KAWETH is not set
> # CONFIG_USB_PLUSB is not set
> # CONFIG_USB_PEGASUS is not set
> 
> #
> # USB Serial Converter support
> #
> # CONFIG_USB_SERIAL is not set
> # CONFIG_USB_RIO500 is not set
> 
> #
> # Mac device drivers
> #
> CONFIG_INPUT_ADBHID=y
> CONFIG_INPUT_KEYBDEV=y
> CONFIG_INPUT_MOUSEDEV=y
> CONFIG_MAC_HID=y
> CONFIG_MAC_ADBKEYCODES=y
> # CONFIG_MAC_EMUMOUSEBTN is not set
> # CONFIG_PPC_RTC is not set
> # CONFIG_MAC_FLOPPY is not set
> # CONFIG_MAC_SERIAL is not set
> 
> #
> # Sound
> #
> CONFIG_SOUND=y
> CONFIG_DMASOUND=y
> # CONFIG_SOUND_CMPCI is not set
> # CONFIG_SOUND_CS4281 is not set
> # CONFIG_SOUND_FUSION is not set
> # CONFIG_SOUND_EMU10K1 is not set
> # CONFIG_SOUND_ES1370 is not set
> # CONFIG_SOUND_ES1371 is not set
> # CONFIG_SOUND_MAESTRO is not set
> # CONFIG_SOUND_MAESTRO3 is not set
> # CONFIG_SOUND_ESSSOLO1 is not set
> # CONFIG_SOUND_ICH is not set
> # CONFIG_SOUND_SONICVIBES is not set
> # CONFIG_SOUND_TRIDENT is not set
> # CONFIG_SOUND_MSNDCLAS is not set
> # CONFIG_SOUND_MSNDPIN is not set
> # CONFIG_SOUND_VIA82CXXX is not set
> # CONFIG_SOUND_OSS is not set
> 
> #
> # Filesystems
> #
> # CONFIG_QUOTA is not set
> CONFIG_AUTOFS_FS=y
> # CONFIG_ADFS_FS is not set
> # CONFIG_AFFS_FS is not set
> CONFIG_HFS_FS=y
> # CONFIG_FAT_FS is not set
> # CONFIG_MSDOS_FS is not set
> # CONFIG_UMSDOS_FS is not set
> # CONFIG_VFAT_FS is not set
> CONFIG_ISO9660_FS=y
> CONFIG_JOLIET=y
> # CONFIG_MINIX_FS is not set
> # CONFIG_NTFS_FS is not set
> # CONFIG_HPFS_FS is not set
> CONFIG_PROC_FS=y
> CONFIG_DEVPTS_FS=y
> # CONFIG_QNX4FS_FS is not set
> # CONFIG_ROMFS_FS is not set
> CONFIG_EXT2_FS=y
> # CONFIG_SYSV_FS is not set
> # CONFIG_UFS_FS is not set
> # CONFIG_EFS_FS is not set
> 
> #
> # Network File Systems
> #
> # CONFIG_CODA_FS is not set
> # CONFIG_NFS_FS is not set
> # CONFIG_NFSD is not set
> # CONFIG_SUNRPC is not set
> # CONFIG_LOCKD is not set
> # CONFIG_SMB_FS is not set
> # CONFIG_NCP_FS is not set
> 
> #
> # Partition Types
> #
> # CONFIG_BSD_DISKLABEL is not set
> CONFIG_MAC_PARTITION=y
> # CONFIG_MINIX_SUBPARTITION is not set
> # CONFIG_SMD_DISKLABEL is not set
> # CONFIG_SOLARIS_X86_PARTITION is not set
> # CONFIG_UNIXWARE_DISKLABEL is not set
> CONFIG_NLS=y
> 
> #
> # Native Language Support
> #
> CONFIG_NLS_DEFAULT="cp437"
> CONFIG_NLS_CODEPAGE_437=y
> # CONFIG_NLS_CODEPAGE_737 is not set
> # CONFIG_NLS_CODEPAGE_775 is not set
> # CONFIG_NLS_CODEPAGE_850 is not set
> # CONFIG_NLS_CODEPAGE_852 is not set
> # CONFIG_NLS_CODEPAGE_855 is not set
> # CONFIG_NLS_CODEPAGE_857 is not set
> # CONFIG_NLS_CODEPAGE_860 is not set
> # CONFIG_NLS_CODEPAGE_861 is not set
> # CONFIG_NLS_CODEPAGE_862 is not set
> # CONFIG_NLS_CODEPAGE_863 is not set
> # CONFIG_NLS_CODEPAGE_864 is not set
> # CONFIG_NLS_CODEPAGE_865 is not set
> # CONFIG_NLS_CODEPAGE_866 is not set
> # CONFIG_NLS_CODEPAGE_869 is not set
> # CONFIG_NLS_CODEPAGE_874 is not set
> # CONFIG_NLS_CODEPAGE_932 is not set
> # CONFIG_NLS_CODEPAGE_936 is not set
> # CONFIG_NLS_CODEPAGE_949 is not set
> # CONFIG_NLS_CODEPAGE_950 is not set
> # CONFIG_NLS_ISO8859_1 is not set
> # CONFIG_NLS_ISO8859_2 is not set
> # CONFIG_NLS_ISO8859_3 is not set
> # CONFIG_NLS_ISO8859_4 is not set
> # CONFIG_NLS_ISO8859_5 is not set
> # CONFIG_NLS_ISO8859_6 is not set
> # CONFIG_NLS_ISO8859_7 is not set
> # CONFIG_NLS_ISO8859_8 is not set
> # CONFIG_NLS_ISO8859_9 is not set
> # CONFIG_NLS_ISO8859_14 is not set
> CONFIG_NLS_ISO8859_15=y
> # CONFIG_NLS_KOI8_R is not set
> # CONFIG_NLS_KOI8_RU is not set
> 
> #
> # Kernel hacking
> #
> # CONFIG_MAGIC_SYSRQ is not set
> # CONFIG_KGDB is not set
> # CONFIG_XMON is not set
> 



Reply to: