Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mouse button emulation in newer kernels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Sun Sep 11, 2005 2:02 pm    Post subject: mouse button emulation in newer kernels Reply with quote

Excuse me, I must be very thick here, but or the life of me I can't seem to find the CONFIG_MAC_EMUMOUSBTN in kernels 2.6.12 and 2.6.13, so I can't get emulation to work. What am I missing? Has it been replaced by something else? Thanks!
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Sun Sep 11, 2005 2:36 pm    Post subject: Reply with quote

Code:
  | Symbol: MAC_EMUMOUSEBTN [=y]                                                      │
  │ Prompt: Support for mouse button 2+3 emulation                                    │
  │   Defined at drivers/macintosh/Kconfig:158                                        │
  │   Depends on: (PPC || MAC) && INPUT_ADBHID                                        │
  │   Location:                                                                       │
  │     -> Device Drivers                                                             │
  │       -> Macintosh device drivers                                                 │
  │         -> Support for ADB input devices (keyboard, mice, ...) (INPUT_ADBHID [=y] │


also, type '/' in make manuconfig for search.
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Sun Sep 11, 2005 2:54 pm    Post subject: Reply with quote

Yes, that's exactly what I'm missing. I deleted my old .config just to be sure and started from scratch, and there's only three items in this section:

Code:
#
# Macintosh device drivers
#
CONFIG_ADB_PMU=y
CONFIG_PMAC_SMU=y
CONFIG_THERM_PM72=y



And that's it. I grepped for INPUT_ADBHID, but that didn't turn up anything. Does this option depend on any other option further up the list?
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Sun Sep 11, 2005 4:27 pm    Post subject: Reply with quote

Code:
grep PPC /usr/src/linux/.config

_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Sun Sep 11, 2005 8:23 pm    Post subject: Reply with quote

Code:
grep PPC /usr/src/linux/.config

# CONFIG_PPC_ISERIES is not set
CONFIG_PPC_MULTIPLATFORM=y
CONFIG_PPC_PSERIES=y
CONFIG_PPC_BPA=y
CONFIG_PPC_PMAC=y
CONFIG_PPC_MAPLE=y
CONFIG_PPC=y
CONFIG_PPC64=y
CONFIG_PPC_OF=y
CONFIG_PPC_SPLPAR=y
CONFIG_PPC_PMAC64=y
CONFIG_PPC_RTAS=y
# CONFIG_PPCDBG is not set

What gives?
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Sep 13, 2005 10:15 am    Post subject: Reply with quote

OK, further research seems to show that CONFIG_INPUT_ADBHID (which enables the three button emulation) is only present in ppc, not in ppc64, at least in kernel 2.6.12 and 2.6.13 as downloaded by portage. I'll download a vanilla kernel and see what I get there.
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Sep 13, 2005 10:59 am    Post subject: Reply with quote

Still more information: I have checked on earlier versions, and the last kernel that still had ADBHID as an option for ppc64 is 2.6.11. Looks like a bug to me, where could I report that? At bugs.gentoo.org?
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Tue Sep 13, 2005 12:02 pm    Post subject: Reply with quote

I don't think its a gentoo related bug. What kernel-sources do you use?
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
pindar
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 220

PostPosted: Tue Sep 13, 2005 12:15 pm    Post subject: Reply with quote

blue.sca wrote:
I don't think its a gentoo related bug. What kernel-sources do you use?

No, it isn't. I checked on 2.6.12-gentoo-r9 and 2.6.13-gentoo as well as on the archives at kernel.org.
Back to top
View user's profile Send private message
blue.sca
l33t
l33t


Joined: 28 Aug 2003
Posts: 680
Location: Mainz, Germany

PostPosted: Tue Sep 13, 2005 12:47 pm    Post subject: Reply with quote

I'm sorry, I can't help you. I just don't know why there's no option for the ADBHID in ppc64. If you don't find anything, send out a mail to Benjamin Herrenschmidt, he's the main kernel maintainer for the ppc branch.
_________________
geek by nature, linux by choice
i want my avatar back... thank you
:wq
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum