LIRC module not being created [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

LIRC module not being created [Solved]

Postby pajamabama » Tue Jul 22, 2008 6:52

The 'lirc_mceusb2' module for my remote control receiver is not being built by portage for some reason. I have

Code: Select all
/etc/make.conf:
...
LIRC_DEVICES="... mceusb2 ..."

then run
Code: Select all
emerge lirc


but there is no module produced. Any ideas why?

This worked in SL 3.4. Now it's failing in 3.5.
Last edited by pajamabama on Fri Jul 25, 2008 21:13, edited 1 time in total.
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
User avatar
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

edit sabayonlinux.org's make.conf [SOLVED]

Postby pajamabama » Wed Jul 23, 2008 7:04

I'm trying to build the 'mceusb2' remote control driver for my laptop. In the past I've accomplished this by adding that string to /etc/make.conf LIRC_DEVICES

/etc/make.conf
Code: Select all
...
LIRC_DEVICES="audio audio_alsa mceusb2"
...

then 'emerge lirc'.

Unfortunately, this seems to not be working now, and I'm thinking it's some kind of issue with entropy (perhaps?). The emerge completes but there's no mceusb2 module built. Anyway, so I try to use equo to install. But it doesn't build the module either. When I show the make.conf associated with the 'sabayonlinux.org' repository, it doesn't have the right LIRC_DEVICES line.

So I guess I have two questions, one, how do I edit the make.conf so that equo will know to build the correct device? And two, can anyone suggest why emerge is not creating it?
Last edited by pajamabama on Fri Jul 25, 2008 21:12, edited 1 time in total.
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
User avatar
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: edit sabayonlinux.org's make.conf

Postby wolfden » Wed Jul 23, 2008 7:29

merging topics here

you can request changes to make.conf
viewtopic.php?f=76&t=13891
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: edit sabayonlinux.org's make.conf

Postby pajamabama » Wed Jul 23, 2008 8:16

FOLLOWUP:
it seems that the module is being built in

/lib/modules/2.6.25-sabayon/misc/lirc_mceusb2.ko

rather than

/lib/modules/2.6.25-sabayon-r1/misc/lirc_mceusb2.ko

which is apparently where modprobe is looking for it. Does anyone know what this means? Thanks.

PS.
I've added a request to include the mceusb2 module in entropy. Thanks for that too.
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
User avatar
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: edit sabayonlinux.org's make.conf

Postby sjieke » Wed Jul 23, 2008 8:39

Is your /usr/src/linux symlink pointing to the correct kernel source files?
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: edit sabayonlinux.org's make.conf

Postby pajamabama » Thu Jul 24, 2008 2:50

It's pointing to /usr/src/rpm. Is that right?

Code: Select all
Oberon ~ # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 3 2008-07-23 00:08 /usr/src/linux -> rpm


There are linux sources in there too, they're just not being referenced.

Code: Select all
Oberon ~ # ls /usr/src/
config  linux  linux-2.6.25-sabayon  linux-2.6.25-sabayon-r1  rpm
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
User avatar
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: edit sabayonlinux.org's make.conf

Postby deadfool » Thu Jul 24, 2008 4:12

did you tell it -N for new USE flags?
User avatar
deadfool
Growing Hen
 
Posts: 124
Joined: Thu Mar 27, 2008 3:56

Re: edit sabayonlinux.org's make.conf

Postby sjieke » Thu Jul 24, 2008 8:44

Maybe rpm is also a symlink, you could check it using
Code: Select all
ls -l /usr/src/rpm


With the command
Code: Select all
eselect kernel list
you can list all available kernel sources.
With the command
Code: Select all
eselect kernel set X
(X is the number found in the previous command) you can set the sources to the kernel you use. This will update the /usr/src/linux symlink.

Before changing the symlink I would try deadfool's suggestion and emerge using the -N option
Code: Select all
emerge -avN lirc

The options specified in the command above stand for:
  • a: ask if you want to install
  • v: verbose mode, this lists the use flags that will be disabled and enabled for this build
  • N: use new USE-flags specified in make.conf
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: edit sabayonlinux.org's make.conf [SOLVED]

Postby pajamabama » Fri Jul 25, 2008 21:11

I have no idea what /usr/src/rpm is. I certainly didn't set up my kernel that way. But 'eselect show' even said that was where my kernel sources were. And that's just not true, there's some stuff in there, but not kernel sources as far as I can see. As far as I can see it has nothing in it but a few hidden text files, all named '.keep_app-arch_rpm-0'. No idea what that is.

So I used eselect to change my kernel source to /usr/src/linux-2.6.25-sabayon-r1. Then emerge put the module in the right place. Ran 'depmod -a' and all is well. Happy remoting.

Thanks! :D :D :D
HP dv6000t
SabayonLinux 5.5 - x86_64

www.pedorro.com
User avatar
pajamabama
Growing Hen
 
Posts: 161
Joined: Sun Jan 07, 2007 22:05
Location: In another time's forgotten space.

Re: LIRC module not being created [Solved]

Postby sjieke » Sat Jul 26, 2008 20:13

I'm glad everything is ok now.

That rpm folder is indeed very strange. I looked on my machine and it is also present there, no idea what it is for but it is there :?:
But my symlink points to the correct sources. Maybe someone does now what the meaning is for that rpm folder...
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest