Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: HD-PVR Problems 10.04 (not making /dev/videoX)

  1. #1
    Join Date
    Oct 2010
    Beans
    9

    HD-PVR Problems 10.04 (not making /dev/videoX)

    So Box history.
    Started as a Mythbuntu 8.04 box, and have upgraded it to where it is now, 10.04.
    Code:
    uname -a 
    Linux matxmyth 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 0:26:08 UTC 2010 i686 GNU/Linux
    Have HD Homerun recording with no problems to the box for 2 years now. Purchased a HD-PVR, and have encountered problems getting it to work. Installed it in windows, did the driver/firmware update from the support page. Made sure it works in windows for my sanity test.

    However in mythbuntu, it just doesn't work. if I modprobe the driver, it loads, but never makes a /dev/videoX device.

    When I do modprobe the driver I get this:
    Code:
    Oct  7 00:17:31 matxmyth kernel: [  230.201682] usbcore: registered new interface driver hdpvr
    and nothing after that.
    lsusb:
    Code:
    lsusb
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 046d:c512 Logitech, Inc. LX-700 Cordless Desktop Receiver
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 2040:4903 Hauppauge
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    I've downloaded and recompilied v4l-dvb modules to no avail. I've tried different USB ports, power cycling the hd-pvr, rebooting, and just nothing seems to work. I don't see anything in dmesg, /var/log/messages,syslog,kernel that gives me any idea about what the problem is.

    the Hauppage_HD_PVR is listed in /var/log/udev if that matters.

    I'm not sure why its not working, and could use any assistance is determining whats going on.

    Thanks!

  2. #2
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,815
    Distro
    Ubuntu

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    Hmmm odd issue.

    Bus 001 Device 002: ID 2040:4903 Hauppauge
    thats the device.

    run this command to make sure the driver is installed
    Code:
    locate cx88-dvb.ko |grep `uname -r`
    try a test using

    cat /dev/video1 > test.ts
    just give it a try once If it works reboot and startinstalling it in Myth

    Otherwise go back to the windows machine and reinstall the drivers once again.
    Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

  3. #3
    Join Date
    Oct 2010
    Beans
    9

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    found the correct cx88 file. Reloaded the driver (HcwDriverInstall.exe) in windows
    Here is the message log when I power cycle the hd-pvr while its connected

    Code:
    Oct  7 12:49:11 matxmyth kernel: [  124.448985] usb 1-4: USB disconnect, address 3
    Oct  7 12:49:17 matxmyth kernel: [  130.640044] usb 4-1: new full speed USB device using ohci_hcd and address 2
    Oct  7 12:49:18 matxmyth kernel: [  131.264031] usb 4-1: new full speed USB device using ohci_hcd and address 3
    Oct  7 12:49:20 matxmyth kernel: [  133.792044] usb 1-4: new high speed USB device using ehci_hcd and address 5
    Oct  7 12:49:20 matxmyth kernel: [  133.952443] usb 1-4: configuration #1 chosen from 1 choice
    Oct  7 12:51:03 matxmyth kernel: [  236.915304] usbcore: registered new interface driver hdpvr
    on bootup, the hdpvr module is not being loaded. The Last line shows up after I modprobe hdpvr. Nothing goes after that.

    there is no /dev/video0 or /dev/video1 to capture from. Just gives me a no such file/directory.






    Quote Originally Posted by LowSky View Post
    Hmmm odd issue.

    Bus 001 Device 002: ID 2040:4903 Hauppauge
    thats the device.

    run this command to make sure the driver is installed
    Code:
    locate cx88-dvb.ko |grep `uname -r`
    try a test using

    cat /dev/video1 > test.ts
    just give it a try once If it works reboot and startinstalling it in Myth

    Otherwise go back to the windows machine and reinstall the drivers once again.

  4. #4
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,815
    Distro
    Ubuntu

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    run this command

    Code:
    dmesg | grep hdpvr
    you should see something similar to this.

    Code:
    john@jpc-desktop:~$  dmesg | grep hdpvr
    [    5.657199] hdpvr 1-5:1.0: untested firmware version 0x15, the driver might not work
    [    5.970462] hdpvr 1-5:1.0: device now attached to video0
    [    5.970496] usbcore: registered new interface driver hdpvr
    if not the device isn't loading correctly.
    Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

  5. #5
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,815
    Distro
    Ubuntu

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    ok I might have found something
    http://forums.gentoo.org/viewtopic-t...d491f346979bb3
    http://mythtv.org/pipermail/mythtv-u...ry/281462.html


    what is the output of

    Code:
    modinfo hdpvr
    if it comes up empty you might need to edit the hdpvr driver to include your model

    you might have to modify the driver to add your model of the hdpvr so it works
    look for
    Code:
    4903
    like in this

    Code:
    alias:          usb:v2040p4903d*dc*dsc*dp*ic*isc*ip*
    if you dont see it you will have to modify the driver.
    I noticed my version of the driver doesn't use it. but i'm using the Ubuntu kernel driver and not the v4l driver


    Your model might be so new its not included in the kernel yet. sorry to break the news to you. but a simple modification could fix it.
    Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

  6. #6
    Join Date
    Oct 2010
    Beans
    9

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    Code:
    dmesg | grep hdpvr
    [  236.915304] usbcore: registered new interface driver hdpvr
    Hmm, heres modinfo and lsusb again

    Code:
    paul@matxmyth:/var/cache/apt/archives$ dmesg | grep hdpvr
    [  236.915304] usbcore: registered new interface driver hdpvr
    paul@matxmyth:/var/cache/apt/archives$ modinfo hdpvr
    filename:       /lib/modules/2.6.32-25-generic/kernel/drivers/media/video/hdpvr/hdpvr.ko
    description:    Hauppauge HD PVR driver
    author:         Janne Grunau
    license:        GPL
    srcversion:     B42A1796FAC59BB0C93FE94
    alias:          usb:v2040p4982d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2040p4902d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2040p4901d*dc*dsc*dp*ic*isc*ip*
    alias:          usb:v2040p4900d*dc*dsc*dp*ic*isc*ip*
    depends:        videodev,v4l2-common
    vermagic:       2.6.32-25-generic SMP mod_unload modversions 586
    parm:           video_nr:video device number (-1=Auto) (array of int)
    parm:           hdpvr_debug:enable debugging output (int)
    parm:           default_video_input:default video input: 0=Component / 1=S-Video / 2=Composite (uint)
    parm:           default_audio_input:default audio input: 0=RCA back / 1=RCA front / 2=S/PDIF (uint)
    parm:           boost_audio:boost the audio signal (bool)
    paul@matxmyth:/var/cache/apt/archives$ lsusb
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 046d:c512 Logitech, Inc. LX-700 Cordless Desktop Receiver
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 005: ID 2040:4903 Hauppauge
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Looks like I have 4903 and the driver only has 4902

    Great find there!!

    Thats a huge point in the right direction thats for sure.

    So I need to modify the v4l-dvb driver and add in another alias, then recompile I take it.

  7. #7
    Join Date
    Oct 2010
    Beans
    9

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    I found the alises in the hdpvr-mod.c file. Added 4903 and am recompiling.
    I'll let you know how it goes...
    Last edited by Jynxter; October 7th, 2010 at 09:10 PM. Reason: fix typo

  8. #8
    Join Date
    Oct 2010
    Beans
    9

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    Have to modify these two files to add a new Model Device to the code.

    ./v4l-dvb/linux/drivers/media/video/hdpvr/hdpvr.h
    I added ID4
    Code:
    /* Define these values to match your devices */
    #define HD_PVR_VENDOR_ID        0x2040
    #define HD_PVR_PRODUCT_ID       0x4900
    #define HD_PVR_PRODUCT_ID1      0x4901
    #define HD_PVR_PRODUCT_ID2      0x4902
    #define HD_PVR_PRODUCT_ID3      0x4982
    #define HD_PVR_PRODUCT_ID4      0x4903
    ./v4l-dvb/linux/drivers/media/video/hdpvr/hdpvr-core.c
    Added ID4 here too.
    Code:
    /* table of devices that work with this driver */
    static struct usb_device_id hdpvr_table[] = {
            { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID) },
            { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID1) },
            { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID2) },
            { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID3) },
            { USB_DEVICE(HD_PVR_VENDOR_ID, HD_PVR_PRODUCT_ID4) },
            { }                                     /* Terminating entry */
    };
    make clean
    sudo make install
    sudo reboot

    dmesg | grep hdpvr:
    Code:
    paul@matxmyth:~$ dmesg | grep hdpvr
    [   12.788568] hdpvr 1-4:1.0: untested firmware version 0x15, the driver might not work
    [   13.100908] hdpvr 1-4:1.0: device now attached to video0
    [   13.100937] usbcore: registered new interface driver hdpvr
    Now to wait an hour to get home to start testing it out..

  9. #9
    Join Date
    Oct 2010
    Beans
    9

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    After the recompile, everything is working in myth!

    Lowsky, thanks for your help, that was an awesome find, and one more thing to add to the list of troubleshooting for myself with linux hardware.

  10. #10
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,815
    Distro
    Ubuntu

    Re: HD-PVR Problems 10.04 (not making /dev/videoX)

    Your welcome Jynxter, it was really an important find. I'm betting this might effect many new users if the driver is not properly updated in the kernel.

    It also reminded me I should update my HDPVR's firmware.
    Last night I lay in bed looking up at the stars in the sky and I thought to myself, where the heck is the ceiling.

Page 1 of 7 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •