Author Topic: Help... ATI Radeon HD 2400 - Machine Freezes  (Read 21946 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #15 on: March 28, 2009, 07:00:18 pm »
Here it is...

Code: [Select]
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

All the best

Andrew


« Last Edit: March 28, 2009, 07:36:37 pm by totallymaxed »
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #16 on: March 30, 2009, 05:57:58 am »
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.  :)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #17 on: March 30, 2009, 01:24:57 pm »
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
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #18 on: March 30, 2009, 10:51:48 pm »
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. 


totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #19 on: March 31, 2009, 01:13:26 am »
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 ;-)
« Last Edit: March 31, 2009, 10:17:38 am by totallymaxed »
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #20 on: March 31, 2009, 06:14:52 am »
When I clicked your link, it brought me to a page in the wiki that said "(There is currently no text in this page)"


colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #21 on: March 31, 2009, 06:56:07 am »
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

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #22 on: March 31, 2009, 07:11:49 am »
Yes, I found it.  been working on what you put in there. 

I wasn't getting a return from the command
Code: [Select]
modinfo lirc_mceusb2 | grep 2304
So I listed everything with the command:
Code: [Select]
modinfo lirc_mceusb2
Here is the output I get:
Code: [Select]
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?
« Last Edit: March 31, 2009, 07:14:16 am by cleardata »

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #23 on: March 31, 2009, 07:15:52 am »
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?

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #24 on: March 31, 2009, 07:20:49 am »
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.

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #25 on: March 31, 2009, 07:32:11 am »
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

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #26 on: March 31, 2009, 08:12:10 am »
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.

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #27 on: April 01, 2009, 12:42:11 pm »
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)... 

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #28 on: April 01, 2009, 02:19:47 pm »
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
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

cleardata

  • Regular Poster
  • **
  • Posts: 35
    • View Profile
Re: Help... ATI Radeon HD 2400 - Machine Freezes
« Reply #29 on: April 02, 2009, 04:42:42 am »
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?