LinuxMCE Forums
General => Installation issues => Topic started by: cleardata on March 22, 2009, 08:11:38 pm
-
Hello,
I have been trying for 3 days to install LinuxMCE from verious methods. Bottomline is after following every thread and help article on how to get past the AV/Wizards "Unable to start X" error message, I am now locking up upon a normal boot process. I hear the down trending tones and the screen goes black and states "No Signal" when I was getting the "Unable to start X" message I was able to press the power button and the machine would gracefully shutdown. Now it will not even do that. I thought I might have made progress and was trying to follow the notes for BlackScreen problems and pressing the 1-4 keys on the keyboard to select my output. I'm using the DVI port on the card to a 42" LCD monitor.
I can reboot and select the recovery mode to follow any instructions that someone is willing to post. I would really like to use this software.
Thanks
-
Take a look at this post. You might have to get the new ATI drivers and there is a FAQ as well dealing with ATI cards.
http://forum.linuxmce.org/index.php?topic=5364.0
-UNi
-
Hello,
I have been trying for 3 days to install LinuxMCE from verious methods. Bottomline is after following every thread and help article on how to get past the AV/Wizards "Unable to start X" error message, I am now locking up upon a normal boot process. I hear the down trending tones and the screen goes black and states "No Signal" when I was getting the "Unable to start X" message I was able to press the power button and the machine would gracefully shutdown. Now it will not even do that. I thought I might have made progress and was trying to follow the notes for BlackScreen problems and pressing the 1-4 keys on the keyboard to select my output. I'm using the DVI port on the card to a 42" LCD monitor.
I can reboot and select the recovery mode to follow any instructions that someone is willing to post. I would really like to use this software.
Thanks
Hi,
There are plenty of threads here and pages on the Wiki that will help get an ATI card working (with limitations)... however if this is your first experience of LinuxMCE my suggestion would be to buy yourself a supported nVidia card and avoid all the hassle.
All the best
Andrew
-
Ok, I'm open to purchasing an nVidia card to avoid all the hassle, and beleive me, I have read about every thread I can search for.
First question... What do you consider the best working nVidia card for LinuxMCE?
Second. Before I run out and buy one. Have you had any experience with ATI cards? If I could get this to work, then I could save a little money...
I'm willing to post anything you might ask for as far as Xorg.conf settings, fglrx stuff etc.. Right now, when I type fglrxinfo it says "Error: unable to open display (null)" So I gotta think I'm doing something wrong in my xorg.conf file...
I'm also unable to connnect to the machine with ssh remotely so I can copy and past values from the file in here. It asks me for a username and password. when I provide username root and the password that I set when the box was being installed it fails with bad password. Any Ideas on this so I can get you the values from my Xorg.conf file?
-
Uni, I have followed most of the FAQs out there, I just think I'm doing something incorrectly etc... would love for someone to ask me troubleshooting questions and allow me to post the results... after three days, My head is swimming with all the things I have tried, and think I need to get back to the Basics, whatever those are.. :)
-
Avoid the hassles, go and buy an nVidia card, they have far better support in LMCE. You do not need a high end card. 6200-7300 chipsets are just fine... 8xxx series cards will ultimately provide hardware acceleration, but again, not necessary at this point.
Read the Display Drivers wiki on how to install the latest nVidia drivers, once the card is installed. The only other thing to think about is disabling in BIOS your onboard chipset if this is possible. If it is not, you can work around it quite easily at the command line.... come back then if you have this issue, and we can provide instructions for that.
-
Ok, I'll do that.
-
Ok, I'm open to purchasing an nVidia card to avoid all the hassle, and beleive me, I have read about every thread I can search for.
First question... What do you consider the best working nVidia card for LinuxMCE?
Second. Before I run out and buy one. Have you had any experience with ATI cards? If I could get this to work, then I could save a little money...
I'm willing to post anything you might ask for as far as Xorg.conf settings, fglrx stuff etc.. Right now, when I type fglrxinfo it says "Error: unable to open display (null)" So I gotta think I'm doing something wrong in my xorg.conf file...
I'm also unable to connnect to the machine with ssh remotely so I can copy and past values from the file in here. It asks me for a username and password. when I provide username root and the password that I set when the box was being installed it fails with bad password. Any Ideas on this so I can get you the values from my Xorg.conf file?
I'd look at the nVidia 9300 or 9400 cards now as the marginal premium you'll pay over earlier cards is worth paying now that full hardware acceleration is just around the corner...
All the best
Andrew
-
Well I have purchased the Nvidia Geforce 8400 GS and it is working Great.
Thanks for the help.
Next Item to setup that I'm having troublewith is teh Pinnacle MCE remote Kit that I had purchased. one of the main reasons I went with this is because I saw a post where someone got it working. But I can't..
Anyone care to help on that?
-
Well I have purchased the Nvidia Geforce 8400 GS and it is working Great.
Thanks for the help.
Next Item to setup that I'm having troublewith is teh Pinnacle MCE remote Kit that I had purchased. one of the main reasons I went with this is because I saw a post where someone got it working. But I can't..
Anyone care to help on that?
Glad your up and running :-)
Whats the Pinnacle SKU or model No.? if its MCE/Vista compatible its probably just the usb vendor ID that is not getting recognised.
Andrew
-
Yes, it is the MCE/Vista compatible.
My first guess is to try and get the IR receiver to be recognized. How do I go about that?
-
Yes, it is the MCE/Vista compatible.
My first guess is to try and get the IR receiver to be recognized. How do I go about that?
If you tell me the model no./SKU of the IR Receiver then I can probably help you ;-)
Andrew
-
I couldn't find a SKU or model number for it. But here is the link to it on Newegg.. does that help?
http://www.newegg.com/Product/Product.aspx?Item=N82E16815144019
-
I couldn't find a SKU or model number for it. But here is the link to it on Newegg.. does that help?
http://www.newegg.com/Product/Product.aspx?Item=N82E16815144019
Can you ssh into your Core or open a local terminal session and type;
lsusb -v <return>
Post the output you get from the lsusb command here in this thread.
Andrew
-
Here it is...
Bus 003 Device 002: ID 2304:0225 Pinnacle Systems, Inc. [hex]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x2304 Pinnacle Systems, Inc. [hex]
idProduct 0x0225
bcdDevice 0.01
iManufacturer 1 Pinnacle Systems
iProduct 2 PCTV Remote USB
iSerial 5 7FFFFFFFFFFFFFFF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 StandardConfiguration
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 4 StandardInterface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Bus 003 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0103 power enable connect
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
Bus 004 Device 002: ID 152d:2329
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x152d
idProduct 0x2329
bcdDevice 1.00
iManufacturer 1 JMicron
iProduct 2 USB to ATA/ATAPI Bridge
iSerial 5 DCA9920644FF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 USB Mass Storage
bmAttributes 0xc0
Self Powered
MaxPower 2mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 6 MSC Bulk-Only Transfer
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Connection timed out
Device Status: 0x0001
Self Powered
Bus 004 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.22-14-generic ehci_hcd
iProduct 2 EHCI Host Controller
iSerial 1 0000:00:1d.7
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 6
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0503 highspeed power enable connect
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
Bus 001 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0 Full speed hub
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3 Linux 2.6.22-14-generic uhci_hcd
iProduct 2 UHCI Host Controller
iSerial 1 0000:00:1d.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 255
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 2
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 1 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Device Status: 0x0003
Self Powered
Remote Wakeup Enabled
-
Here it is...
Bus 003 Device 002: ID 2304:0225 Pinnacle Systems, Inc. [hex]
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x2304 Pinnacle Systems, Inc. [hex]
idProduct 0x0225
bcdDevice 0.01
iManufacturer 1 Pinnacle Systems
iProduct 2 PCTV Remote USB
iSerial 5 7FFFFFFFFFFFFFFF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 StandardConfiguration
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 4 StandardInterface
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Hi again,
Now armed with the info above we can add the Vendor/Product ID to the mce_usb device template on your Core and after a reload router it should be detected properly;
Got to Web Admin -> Advanced -> Configuration -> Device Templates
In the ID field to the left of the 'Go' button type the ID of the mce_usb2 template - 1862 and then click the 'Go' button. A new window will open to display the parameters of the Device Template. Scroll down to the section called 'Plug-n-Play' and find the last empty entry in that section - this where you will add the details of your MCE Transceiver. Add the following values to the fields for your MCE Transceiver;
From = 0
T0 = 0
PnP Protocol = Xap
Parms = 175|pci
Now add the Vendor/Prod ID data from the output of your lsusb command for the Pinnacle to the 'Vendor Model ID' field;
Vendor Model ID = 23040225 (**Notice you do not need the colon**)
Then in the 'Comment' field enter some text to identify the Transceiver;
Comment = MCE I/R receiver (Pinnacle)
Now lastly click save at the bottom of the page and then do a reload router. Now plug your Pinnacle transceiver into a usb port and it should get detected (you will see the detection and setup scripts run and be announced in the top left hand corner of the Orbiters screen... when everything has been setup you will see a message on screen confirming this and asking if you want to reload the router. Please click the reload button... and your Pinnacle transceiver should be working fine.
You can also see a short Wiki page I have added on doing the above here http://wiki.linuxmce.org/index.php/Adding_a_New_MCE_Compatible_Transceiver (http://wiki.linuxmce.org/index.php/Adding_a_New_MCE_Compatible_Transceiver)
All the best
Andrew
-
Ok, I saw the receiver become detected! thank you! how do I configure the buttons on the remote?
I would have responded sooner, but didn't notice that there was two pages to the post. :)
-
Ok, I saw the receiver become detected! thank you! how do I configure the buttons on the remote?
I would have responded sooner, but didn't notice that there was two pages to the post. :)
Firstly in the Orbiter you should now have control... please test each button on the remote in the Orbiter to make sure it functions correctlt ie select Media -> Videos and choose a ripped DVD and play it etc etc.
List all buttons that do not respond here... and then we can see what to do about them (you should have all buttons working)
Andrew
-
No buttons work... All I seen was that the IR receiver was detected. When I rebooted the machine later last night I saw that it had a progress bar starting the IR device, then it came to a black window with white lettering saying that the device did not start correctly and then clicked ok. So I'm assuming the IR receiver didn't start correctly.
But following the directions you gave me did produce the little blue windows in the upper left saying it was detected earlier.
-
No buttons work... All I seen was that the IR receiver was detected. When I rebooted the machine later last night I saw that it had a progress bar starting the IR device, then it came to a black window with white lettering saying that the device did not start correctly and then clicked ok. So I'm assuming the IR receiver didn't start correctly.
But following the directions you gave me did produce the little blue windows in the upper left saying it was detected earlier.
I have extended the wiki article to include a partially complete section on how to resolve Transceivers that still do not respond;
http://wiki.linuxmce.org/index.php/Adding_a_New_MCE_Compatible_Transceiver
Andrew
ps url above fixed now ;-)
-
When I clicked your link, it brought me to a page in the wiki that said "(There is currently no text in this page)"
-
not that obscure! just the 'r' missing off the end, a quick search would have found it easily enough :)
http://wiki.linuxmce.org/index.php/Adding_a_New_MCE_Compatible_Transceiver
-
Yes, I found it. been working on what you put in there.
I wasn't getting a return from the command modinfo lirc_mceusb2 | grep 2304
So I listed everything with the command:
modinfo lirc_mceusb2
Here is the output I get:
filename: /lib/modules/2.6.22-14-generic/misc/lirc_mceusb2.ko
license: GPL
author: Daniel Melander <lirc@rajidae.se>, Martin Blatter <mart
in_a_blatter@yahoo.com>
description: Philips eHome USB IR Transciever and Microsoft MCE 2005
Remote Control driver for LIRC
srcversion: 950BFB2ED63537EC11F7309
alias: usb:v147ApE015d*dc*dsc*dp*ic*isc*ip*
alias: usb:v045Ep00A0d*dc*dsc*dp*ic*isc*ip*
alias: usb:v043Ep9803d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1509p9242d*dc*dsc*dp*ic*isc*ip*
alias: usb:v195Dp7002d*dc*dsc*dp*ic*isc*ip*
alias: usb:v179Dp0010d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1784p0008d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1784p0006d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1784p0001d*dc*dsc*dp*ic*isc*ip*
alias: usb:v03EEp2501d*dc*dsc*dp*ic*isc*ip*
alias: usb:v107Bp3009d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1308pC001d*dc*dsc*dp*ic*isc*ip*
alias: usb:v1460p9150d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0609p0334d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0609p0322d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0609p031Dd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0471p060Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0471p0815d*dc*dsc*dp*ic*isc*ip*
depends: usbcore
vermagic: 2.6.22-14-generic SMP mod_unload 586
parm: debug:Debug enabled or not (bool)
I didn't see anything listed with my vendor code so should I go back and delete the device and try adding it again?
-
Sorry, just re-read your post on the Wiki and I guess I will have to recompile and add that vendor code in there. Am I correct?
-
Correct. If the product or vendor ID you got from lsusb was "2304" as you mentioned in your post, then what modinfo is telling you is that that module (lirc_mceusb2), which is the driver, does not recognise that USB device as a device that it is able to drive, thus it doesn't load up to drive it and nothing will happen.
You can download the source code, edit the appropriate file to add a new "alias" line that has that product/vendor ID, then recompile and copy the new binary over the old (after backing it up of course!). Then modprobe it into the kernel (ie load the module).
You can find similar instructions on doing this for a PCI device here ... http://wiki.linuxmce.org/index.php/R8168
Obviously, you can't follow that article precisely, nor use that patch. You will have to infer from it, and manually edit the .c file using nano or joe, as a text file to add the new alias line.
-
Ok, understood. I did a little digging and found this... do you think it would work for the version of Kubuntu that LinuxMCE 710 DVD loads?
http://ubuntuforums.org/showpost.php?p=3983591&postcount=29
-
Its a patch to that module, but there's nothing inside that patch that implies it will do anything helpful in your case. It only appears to be adding the Pinacle vendor and product IDs, not yours. But the principle is the same.
-
I'm still looking for the correct procedure to modifying the source and rebuilding the project of LIRC for this version of Kubuntu. If anyone has suggestions on how to do this, I'm all ears (or eyes)...
-
I'm still looking for the correct procedure to modifying the source and rebuilding the project of LIRC for this version of Kubuntu. If anyone has suggestions on how to do this, I'm all ears (or eyes)...
Hi again... I've just extended the Wiki article to include some additional info on the compiling the new lirc_mceusb2 driver.
Hope this helps you.
All the best
Andrew
-
Ok, so I have followed your instructions and I have modified the .c file to include the line for my remote. I am looking at the INSTALL file for instructions on how to build and install the modified code. it runs the configure routine and brings me to an ASCII style screen and asks me to select a driver. I scroll down to USB and then inside there I don't have an option for my remote or the mceusb2 driver. What selection should I choose?
-
Ok, so I have followed your instructions and I have modified the .c file to include the line for my remote. I am looking at the INSTALL file for instructions on how to build and install the modified code. it runs the configure routine and brings me to an ASCII style screen and asks me to select a driver. I scroll down to USB and then inside there I don't have an option for my remote or the mceusb2 driver. What selection should I choose?
There is an option for selecting an MCE Remote/Receiver in the configure utility after you select USB. Use the down-arrow key until you see it and then select it.
Andrew
-
correct, the choices are:
a - q
the last 2 have:
p Windows Media Center Remotes (old version, MicroSoft USB ID)
q Windows Media Center Remotes (new version, Philips et al.)
I was thinking there should have been a selection based on my vendor that I added to the .c file... And because there isn't maybe I didn't compile it correctly?
-
correct, the choices are:
a - q
the last 2 have:
p Windows Media Center Remotes (old version, MicroSoft USB ID)
q Windows Media Center Remotes (new version, Philips et al.)
I was thinking there should have been a selection based on my vendor that I added to the .c file... And because there isn't maybe I didn't compile it correctly?
Dont forget that your vendor is manufacturing and MCE compatible remote that is designed to work as a replacement/alternative to the MS branded equivalent. You should choose the 'new version, Philips' option.
Andrew
-
First I just want to say thanks for all your help.
So I chose the option you specified and it began the build. However at the end it gave a few errors when trying to "touch" files. Now, something I have had problems with is knowing what the real root password is. I chose a password during install for the LinuxMCE user but I was never prompted for a root password. Is it that I wasn't able to compile as root? I did put the "sudo" command in front of the setup command that was outlined in the INSTALL document. Here is the output I received after choosing the options in the ASCII window.
setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking vga.h usability... no
checking vga.h presence... no
checking for vga.h... no
checking for X... no
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /lib/modules/2.6.22-14-generic/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking iguanaIR.h usability... no
checking iguanaIR.h presence... no
checking for iguanaIR.h... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/lirc_atiusb/Makefile
config.status: creating drivers/lirc_bt829/Makefile
config.status: creating drivers/lirc_cmdir/Makefile
config.status: creating drivers/lirc_dev/Makefile
config.status: creating drivers/lirc_gpio/Makefile
config.status: creating drivers/lirc_i2c/Makefile
config.status: creating drivers/lirc_igorplugusb/Makefile
config.status: creating drivers/lirc_ttusbir/Makefile
config.status: creating drivers/lirc_imon/Makefile
config.status: creating drivers/lirc_it87/Makefile
config.status: creating drivers/lirc_mceusb/Makefile
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: creating drivers/lirc_parallel/Makefile
config.status: creating drivers/lirc_sasem/Makefile
config.status: creating drivers/lirc_serial/Makefile
config.status: creating drivers/lirc_sir/Makefile
config.status: creating drivers/lirc_streamzap/Makefile
config.status: creating daemons/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers
make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers'
Making install in lirc_dev
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
cd ../.. && \
/bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile
/usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
touch: cannot touch `./drivers/lirc_gpio/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_it87/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_mceusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_igorplugusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_sasem/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_parallel/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_bt829/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_imon/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_ttusbir/Makefile.in': Permission denied
touch: cannot touch `./drivers/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_atiusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_streamzap/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_serial/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_i2c/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_dev/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_sir/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_mceusb2/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_cmdir/Makefile.in': Permission denied
touch: cannot touch `./tools/Makefile.in': Permission denied
touch: cannot touch `./Makefile.in': Permission denied
touch: cannot touch `./doc/Makefile.in': Permission denied
touch: cannot touch `./doc/man/Makefile.in': Permission denied
touch: cannot touch `./daemons/Makefile.in': Permission denied
mv Makefile Makefile.automake
mv: cannot move `Makefile' to `Makefile.automake': Permission denied
make[2]: *** [lirc_dev.o] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers'
make: *** [install-recursive] Error 1
-
First I just want to say thanks for all your help.
So I chose the option you specified and it began the build. However at the end it gave a few errors when trying to "touch" files. Now, something I have had problems with is knowing what the real root password is. I chose a password during install for the LinuxMCE user but I was never prompted for a root password. Is it that I wasn't able to compile as root? I did put the "sudo" command in front of the setup command that was outlined in the INSTALL document. Here is the output I received after choosing the options in the ASCII window.
setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking vga.h usability... no
checking vga.h presence... no
checking for vga.h... no
checking for X... no
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /lib/modules/2.6.22-14-generic/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking iguanaIR.h usability... no
checking iguanaIR.h presence... no
checking for iguanaIR.h... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/lirc_atiusb/Makefile
config.status: creating drivers/lirc_bt829/Makefile
config.status: creating drivers/lirc_cmdir/Makefile
config.status: creating drivers/lirc_dev/Makefile
config.status: creating drivers/lirc_gpio/Makefile
config.status: creating drivers/lirc_i2c/Makefile
config.status: creating drivers/lirc_igorplugusb/Makefile
config.status: creating drivers/lirc_ttusbir/Makefile
config.status: creating drivers/lirc_imon/Makefile
config.status: creating drivers/lirc_it87/Makefile
config.status: creating drivers/lirc_mceusb/Makefile
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: creating drivers/lirc_parallel/Makefile
config.status: creating drivers/lirc_sasem/Makefile
config.status: creating drivers/lirc_serial/Makefile
config.status: creating drivers/lirc_sir/Makefile
config.status: creating drivers/lirc_streamzap/Makefile
config.status: creating daemons/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers
make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers'
Making install in lirc_dev
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
cd ../.. && \
/bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile
/usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
touch: cannot touch `./drivers/lirc_gpio/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_it87/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_mceusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_igorplugusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_sasem/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_parallel/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_bt829/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_imon/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_ttusbir/Makefile.in': Permission denied
touch: cannot touch `./drivers/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_atiusb/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_streamzap/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_serial/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_i2c/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_dev/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_sir/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_mceusb2/Makefile.in': Permission denied
touch: cannot touch `./drivers/lirc_cmdir/Makefile.in': Permission denied
touch: cannot touch `./tools/Makefile.in': Permission denied
touch: cannot touch `./Makefile.in': Permission denied
touch: cannot touch `./doc/Makefile.in': Permission denied
touch: cannot touch `./doc/man/Makefile.in': Permission denied
touch: cannot touch `./daemons/Makefile.in': Permission denied
mv Makefile Makefile.automake
mv: cannot move `Makefile' to `Makefile.automake': Permission denied
make[2]: *** [lirc_dev.o] Error 1
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers'
make: *** [install-recursive] Error 1
Before starting the whole procedure I would suggest you sudo yourself;
sudo su - <return>
After typing the above line and hitting 'return' enter the password you created when installing your system from the LinuxMCE DVD. Now you should be able to do 'make install' etc.
Andrew
-
Thanks..
I got a bit different output this time. But still ended in error... here is my output:
Thoughts?
setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking vga.h usability... no
checking vga.h presence... no
checking for vga.h... no
checking for X... no
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /lib/modules/2.6.22-14-generic/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking iguanaIR.h usability... no
checking iguanaIR.h presence... no
checking for iguanaIR.h... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/lirc_atiusb/Makefile
config.status: creating drivers/lirc_bt829/Makefile
config.status: creating drivers/lirc_cmdir/Makefile
config.status: creating drivers/lirc_dev/Makefile
config.status: creating drivers/lirc_gpio/Makefile
config.status: creating drivers/lirc_i2c/Makefile
config.status: creating drivers/lirc_igorplugusb/Makefile
config.status: creating drivers/lirc_ttusbir/Makefile
config.status: creating drivers/lirc_imon/Makefile
config.status: creating drivers/lirc_it87/Makefile
config.status: creating drivers/lirc_mceusb/Makefile
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: creating drivers/lirc_parallel/Makefile
config.status: creating drivers/lirc_sasem/Makefile
config.status: creating drivers/lirc_serial/Makefile
config.status: creating drivers/lirc_sir/Makefile
config.status: creating drivers/lirc_streamzap/Makefile
config.status: creating daemons/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers
make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers'
Making install in lirc_dev
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
cd ../.. && \
/bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile
/usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd ../.. && /bin/sh ./config.status drivers/lirc_dev/Makefile depfiles
config.status: creating drivers/lirc_dev/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions
rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.c
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.22-14-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.22-14-generic/Module.symvers -I /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -w
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.c
ld -m elf_i386 -m elf_i386 -r -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.ko /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
mv Makefile.automake Makefile
make[3]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
test -e /dev/lirc || (/bin/sh ../../mkinstalldirs /dev && /bin/mknod /dev/lirc c 61 0)
/bin/sh ../../mkinstalldirs /lib/modules/2.6.22-14-generic/misc
/usr/bin/install -c -m 644 lirc_dev.ko /lib/modules/2.6.22-14-generic/misc/lirc_dev.ko
/sbin/depmod -a
make[3]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
Making install in lirc_mceusb2
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
cd ../.. && /bin/sh ./config.status drivers/lirc_mceusb2/Makefile depfiles
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 modules \
KBUILD_VERBOSE=1
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions
rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c
/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function)
make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1
make[3]: *** [_module_/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[2]: *** [lirc_mceusb2.o] Error 2
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers'
make: *** [install-recursive] Error 1
-
Thanks..
I got a bit different output this time. But still ended in error... here is my output:
Thoughts?
setup.sh written by Karsten Scheibler, 1999-JUN-28
If you have problems or questions please consult the mailing list
<http://lists.sourceforge.net/mailman/listinfo/lirc-list>
Configuration: .setup.config, executable shell script: configure.sh
Starting the generated shell script which will call configure with the right
parameters...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for mknod... /bin/mknod
checking for mkfifo... /usr/bin/mkfifo
checking for depmod... /sbin/depmod
checking for libusb-config... no
checking whether ln -s works... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkfifo... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for snprintf... yes
checking for strsep... yes
checking for vsyslog... yes
checking for daemon... yes
checking for forkpty... no
checking for forkpty in -lutil... yes
checking vga.h usability... no
checking vga.h presence... no
checking for vga.h... no
checking for X... no
checking for getopt_long... yes
checking for mktemp... yes
checking for Linux kernel sources... /lib/modules/2.6.22-14-generic/build/
checking for which drivers can be installed on this system...
checking for caraca_init in -lcaraca_client... no
checking iguanaIR.h usability... no
checking iguanaIR.h presence... no
checking for iguanaIR.h... no
checking for ir_strerror in -lirman... no
checking for ir_strerror in -lirman_sw... no
checking portaudio.h usability... no
checking portaudio.h presence... no
checking for portaudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking scsi/sg.h usability... yes
checking scsi/sg.h presence... yes
checking for scsi/sg.h... yes
checking linux/input.h usability... yes
checking linux/input.h presence... yes
checking for linux/input.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating drivers/Makefile
config.status: creating drivers/lirc_atiusb/Makefile
config.status: creating drivers/lirc_bt829/Makefile
config.status: creating drivers/lirc_cmdir/Makefile
config.status: creating drivers/lirc_dev/Makefile
config.status: creating drivers/lirc_gpio/Makefile
config.status: creating drivers/lirc_i2c/Makefile
config.status: creating drivers/lirc_igorplugusb/Makefile
config.status: creating drivers/lirc_ttusbir/Makefile
config.status: creating drivers/lirc_imon/Makefile
config.status: creating drivers/lirc_it87/Makefile
config.status: creating drivers/lirc_mceusb/Makefile
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: creating drivers/lirc_parallel/Makefile
config.status: creating drivers/lirc_sasem/Makefile
config.status: creating drivers/lirc_serial/Makefile
config.status: creating drivers/lirc_sir/Makefile
config.status: creating drivers/lirc_streamzap/Makefile
config.status: creating daemons/Makefile
config.status: creating tools/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
You will have to use the lirc_mceusb2 kernel module.
Now enter 'make' and 'make install' to compile and install the package.
Making install in drivers
make[1]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers'
Making install in lirc_dev
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
cd ../.. && \
/bin/sh /usr/src/lirc-0.8.2+lmce/missing --run automake-1.6 --gnu drivers/lirc_dev/Makefile
/usr/src/lirc-0.8.2+lmce/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd ../.. && /bin/sh ./config.status drivers/lirc_dev/Makefile depfiles
config.status: creating drivers/lirc_dev/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions
rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.c
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.22-14-generic/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.22-14-generic/Module.symvers -I /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/Module.symvers -w
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/.lirc_dev.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev.mod)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -DMODULE -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.c
ld -m elf_i386 -m elf_i386 -r -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.ko /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_dev/lirc_dev.mod.o
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
mv Makefile.automake Makefile
make[3]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
test -e /dev/lirc || (/bin/sh ../../mkinstalldirs /dev && /bin/mknod /dev/lirc c 61 0)
/bin/sh ../../mkinstalldirs /lib/modules/2.6.22-14-generic/misc
/usr/bin/install -c -m 644 lirc_dev.ko /lib/modules/2.6.22-14-generic/misc/lirc_dev.ko
/sbin/depmod -a
make[3]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_dev'
Making install in lirc_mceusb2
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
cd ../.. && /bin/sh ./config.status drivers/lirc_mceusb2/Makefile depfiles
config.status: creating drivers/lirc_mceusb2/Makefile
config.status: executing depfiles commands
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
make[2]: Entering directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.22-14-generic/build/ SUBDIRS=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2 modules \
KBUILD_VERBOSE=1
make[3]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions
rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c
/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function)
make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1
make[3]: *** [_module_/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[2]: *** [lirc_mceusb2.o] Error 2
make[2]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/lirc-0.8.2+lmce/drivers'
make: *** [install-recursive] Error 1
Looks like you have an error in the changes you made to the lirc_mceusb2.c file;
mkdir -p /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions
rm -f /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2
gcc -m32 -Wp,-MD,/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.lirc_mceusb2.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/../.. -I/lib/modules/2.6.22-14-generic/build//include/ -I/lib/modules/2.6.22-14-generic/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_mceusb2)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_mceusb2)" -c -o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/.tmp_lirc_mceusb2.o /usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c
/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.c:140: error: ‘VENDOR_PINNACLE’ undeclared here (not in a function)
make[4]: *** [/usr/src/lirc-0.8.2+lmce/drivers/lirc_mceusb2/lirc_mceusb2.o] Error 1
See the error;
error: ‘VENDOR_PINNACLE’ undeclared here (not in a function)
Andrew
-
Shoot! I didn't see that... I'll have to check it out. Thanks for pointing it out for me.
-
Ok, this time it built correctly. How can I check that it is installed correctly? it looked like it was installing... Is there a test I can run to determine this?
-
Ok, this time it built correctly. How can I check that it is installed correctly? it looked like it was installing... Is there a test I can run to determine this?
Well...the best test is to see if your Tranceiver now works! It should do. Reboot and give it a try.
Andrew
-
Did that, and it didn't work. It detects it. But still comes up with the message that a device did not start correctly. I followed all the original instructions as well. Any thoughts?
-
Did that, and it didn't work. It detects it. But still comes up with the message that a device did not start correctly. I followed all the original instructions as well. Any thoughts?
Nope...apart from wait until we have this in a future release.
Andrew
-
Ok, thanks. I really appreciate all the help you have provided me. I think I will look through all the compatible Remotes and purchase one.
-
Ok, thanks. I really appreciate all the help you have provided me. I think I will look through all the compatible Remotes and purchase one.
Either get an USBUIRT Transceiver or a MS Microsoft Tranceiver...your exisitng remote will definitely work with any of these.
Andrew
-
Good news! It is FIXED!!! Suggestion for the Wiki...
Edit the lirc_mceusb2.c file again...
Add the following to the #Define section
#define VENDOR_PINNACLE 0x2304
go down through the file and look for
case 0x8F:
Add the following above it
case 0x90:
rebuild and it should work.
-
Thank you for finding this out and taking the time to make it work.
Would you please send a patch to the upstream maintainers, so that everyone can benefit from this, including us when we package this for release so that this fix will not have to be manually applied?
-Thom
-
Thank you for finding this out and taking the time to make it work.
Would you please send a patch to the upstream maintainers, so that everyone can benefit from this, including us when we package this for release so that this fix will not have to be manually applied?
-Thom
I'll be happy to. I'm new to linux as of 4 months ago. Always have been a windows guy. So how do you send a patch to the Upstream maintainers? Is it enough that I provide the lirc_mceusb2.c?
Let me know and I'll provide anything you like.
-
it's not for me, it's for the lirc people.
http://www.lirc.org/developers.html
Send a mail to them, asking what format they would prefer their patch in.
-Thom
-
Ok, thanks