Jump to content

blindpet

Members
  • Posts

    49
  • Joined

  • Last visited

Posts posted by blindpet

  1. Building some more custom banana Pi images with the Igor repo. Tried to install plex and it seems to succeed but when finalizing the image these errors occur

     

    0 upgraded, 1 newly installed, 0 to remove and 21 not upgraded.Need to get 109 MB of archives.After this operation, 0 B of additional disk space will be used.Get:1 http://dev2day.de/pms/wheezy/main plexmediaserver armhf 0.9.12.3.1173-937aac3-1~wheezy [109 MB]Fetched 109 MB in 1min 9s (1,567 kB/s)                                         Selecting previously unselected package plexmediaserver.(Reading database ... 39625 files and directories currently installed.)Unpacking plexmediaserver (from .../plexmediaserver_0.9.12.3.1173-937aac3-1~wheezy_armhf.deb) ...Setting up plexmediaserver (0.9.12.3.1173-937aac3-1~wheezy) ...update-rc.d: using dependency based boot sequencingPlex Media Server is not running (no process found)...Starting Plex Media Server: done[ ok ] Writing boot loader[ ok ] Shrink partition and image to real size with 10% free spaceresize2fs 1.42.9 (4-Feb-2014)The containing partition (or device) is only 306944 (4k) blocks.You requested a new size of 315392 blocks./home/htpcguides/BananaPI-Debian/lib/common.sh: line 385: *4096/1024: syntax error: operand expected (error token is "*4096/1024")[ ok ] Runtime 18 min 
    I can still write the image but it won't let me change the password via SSH and just boots me instead. Any ideas?
  2. I tried lot of things to make my usb tuner working on this kernel, but after unsuccess I loaded 3.4.1XX kernel. After that Mythtv on my BananaPi recorded first tv show/movie and still working from the 20 of March this year.

    Any specific kernel parameters you used to make it work?

     

    Ideally I would like modular SATA PMP support and DVB, not have different images for both, hopefully it's possible. Igor, any ideas, do you want the test unit?

  3. Hello,

     

    I'm a neewbee an Linux and bananaPI.

    Actually, i uses an debian wheezy image of Igor's (Bananapi_Debian_2.8_wheezy_3.4.107) with openmediavault and one sata drive.

     

    I would like add an sata multiplier on my BananaPI.

    I find this tuto : http://www.htpcguides.com/rebuild-bananian-kernel-with-sata-port-multiplier-support/

     

    I don't know if this procedure works an the debian image of Igor's ? please confirme me

     

    I think the line " git clone https://github.com/Bananian/linux-bananapi.git--depth 1 " isn't good ?

    For modular PMP support you need to use mainline 3.19.7 (4.0 may work but I haven't tested)

  4. After installing the drivers I do get this but I can't use it in any dvb app I try. The overall procedure I used was exactly the same as what is working on the Raspberry Pi with Minibian.

    [  243.265567] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [  243.416735] usb 1-1: New USB device found, idVendor=2013, idProduct=025f
    [  243.416754] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
    [  243.416765] usb 1-1: Product: PCTV 292e
    [  243.416774] usb 1-1: Manufacturer: PCTV
    [  243.416783] usb 1-1: SerialNumber: 0011443350
  5. I tried to rebuild the Banana Pi image with kernel 3.19.7 adding the configuration from here to the next config before rebuilding. I get a lot of prompts and I said m for modular or Y for yes to each of them.

     

    The tuner still isn't showing up in Tvheadend. I can donate some BTC so you have a test unit to help get this working.

  6. I just wanted to confirm using your Banana Pi build script, I changed kernel to 3.19.7 and branch to next, modular PMP was enabled by default.

     

    It was as simple as adding options ahci-sunxi enable_pmp=1 to /etc/modprobe.d/ahci-sunxi.conf

     

    root@bananapi:~# blkid
    /dev/mmcblk0p1: UUID="a73fb24c-de15-4a1f-a4fe-b6436f8d98f3" TYPE="ext4"
    /dev/sda1: LABEL="SP PHD U3" UUID="190D-153C" TYPE="vfat"
    /dev/sdb1: LABEL="SP PHD U3" UUID="1917-2940" TYPE="vfat"
    /dev/sdc1: LABEL="SP PHD U3" UUID="19E3-1C09" TYPE="vfat"
    /dev/sdd1: LABEL="SP PHD U3" UUID="1911-0E2F" TYPE="vfat"
     

    Will release an image later with some media server tools installed :)

    The next step will be to have dvb support added

  7. I think this is the relevant section

     

    # Multimedia core support
    #
    CONFIG_MEDIA_CAMERA_SUPPORT=y
    CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
    CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
    CONFIG_MEDIA_RADIO_SUPPORT=y
    # CONFIG_MEDIA_SDR_SUPPORT is not set
    CONFIG_MEDIA_RC_SUPPORT=y
    CONFIG_MEDIA_CONTROLLER=y
    CONFIG_VIDEO_DEV=m
    # CONFIG_VIDEO_V4L2_SUBDEV_API is not set
    CONFIG_VIDEO_V4L2=m
    # CONFIG_VIDEO_ADV_DEBUG is not set
    # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
    CONFIG_VIDEO_TUNER=m
    CONFIG_VIDEOBUF_GEN=m
    CONFIG_VIDEOBUF_VMALLOC=m
    CONFIG_VIDEOBUF_DVB=m
    CONFIG_VIDEOBUF2_CORE=m
    CONFIG_VIDEOBUF2_MEMOPS=m
    CONFIG_VIDEOBUF2_VMALLOC=m
    CONFIG_DVB_CORE=m
    CONFIG_DVB_NET=y
    CONFIG_TTPCI_EEPROM=m
    CONFIG_DVB_MAX_ADAPTERS=8
    # CONFIG_DVB_DYNAMIC_MINORS is not set
    
    #
    # Analog TV USB devices
    #
    CONFIG_VIDEO_PVRUSB2=m
    CONFIG_VIDEO_PVRUSB2_SYSFS=y
    CONFIG_VIDEO_PVRUSB2_DVB=y
    # CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
    CONFIG_VIDEO_HDPVR=m
    CONFIG_VIDEO_TLG2300=m
    CONFIG_VIDEO_USBVISION=m
    CONFIG_VIDEO_STK1160_COMMON=m
    CONFIG_VIDEO_STK1160_AC97=y
    CONFIG_VIDEO_STK1160=m
    CONFIG_VIDEO_GO7007=m
    CONFIG_VIDEO_GO7007_USB=m
    CONFIG_VIDEO_GO7007_LOADER=m
    CONFIG_VIDEO_GO7007_USB_S2250_BOARD=m
    #
    # Analog/digital TV USB devices
    #
    CONFIG_VIDEO_AU0828=m
    CONFIG_VIDEO_AU0828_V4L2=y
    CONFIG_VIDEO_AU0828_RC=y
    CONFIG_VIDEO_CX231XX=m
    CONFIG_VIDEO_CX231XX_RC=y
    CONFIG_VIDEO_CX231XX_ALSA=m
    CONFIG_VIDEO_CX231XX_DVB=m
    CONFIG_VIDEO_TM6000=m
    CONFIG_VIDEO_TM6000_ALSA=m
    CONFIG_VIDEO_TM6000_DVB=m
    
    
    #
    # Digital TV USB devices
    #
    CONFIG_DVB_USB=m
    # CONFIG_DVB_USB_DEBUG is not set
    CONFIG_DVB_USB_A800=m
    CONFIG_DVB_USB_DIBUSB_MB=m
    CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y
    CONFIG_DVB_USB_DIBUSB_MC=m
    CONFIG_DVB_USB_DIB0700=m
    CONFIG_DVB_USB_UMT_010=m
    CONFIG_DVB_USB_CXUSB=m
    CONFIG_DVB_USB_M920X=m
    CONFIG_DVB_USB_DIGITV=m
    CONFIG_DVB_USB_VP7045=m
    CONFIG_DVB_USB_VP702X=m
    CONFIG_DVB_USB_GP8PSK=m
    CONFIG_DVB_USB_NOVA_T_USB2=m
    CONFIG_DVB_USB_TTUSB2=m
    CONFIG_DVB_USB_DTT200U=m
    CONFIG_DVB_USB_OPERA1=m
    CONFIG_DVB_USB_AF9005=m
    CONFIG_DVB_USB_AF9005_REMOTE=m
    CONFIG_DVB_USB_PCTV452E=m
    CONFIG_DVB_USB_DW2102=m
    CONFIG_DVB_USB_CINERGY_T2=m
    CONFIG_DVB_USB_DTV5100=m
    CONFIG_DVB_USB_FRIIO=m
    CONFIG_DVB_USB_AZ6027=m
    CONFIG_DVB_USB_TECHNISAT_USB2=m
    CONFIG_DVB_USB_V2=m
    CONFIG_DVB_USB_AF9015=m
    CONFIG_DVB_USB_AF9035=m
    CONFIG_DVB_USB_ANYSEE=m
    CONFIG_DVB_USB_AU6610=m
    CONFIG_DVB_USB_AZ6007=m
    CONFIG_DVB_USB_CE6230=m
    CONFIG_DVB_USB_EC168=m
    CONFIG_DVB_USB_GL861=m
    CONFIG_DVB_USB_LME2510=m
    CONFIG_DVB_USB_MXL111SF=m
    CONFIG_DVB_USB_RTL28XXU=m
    CONFIG_DVB_USB_DVBSKY=m
    CONFIG_SMS_USB_DRV=m
    CONFIG_DVB_B2C2_FLEXCOP_USB=m
    # CONFIG_DVB_B2C2_FLEXCOP_USB_DEBUG is not set
    CONFIG_DVB_AS102=m
    
     

     

  8. That is the one I use, very cheap and guaranteed to work. You need at least mainline 3.19.3 kernel I think. You may be able to find it cheaper on AliExpress but they don't take PayPal.

  9. For the headers I need this is an example output of success on Minibian (uses Raspbian kernel AFAIK)

    [89543.478524] usb 1-1.4: Product: PCTV 292e
    [89543.483508] usb 1-1.4: Manufacturer: PCTV
    [89543.487647] usb 1-1.4: SerialNumber: 0011443350
    [89543.514239] media: Linux media interface: v0.10
    [89543.536748] Linux video capture interface: v2.00
    [89543.557306] em28xx: New device PCTV PCTV 292e @ 480 Mbps (2013:025f, interface 0, class 0)
    [89543.565942] em28xx: DVB interface 0 found: isoc
    [89543.570852] em28xx: chip ID is em28178
    [89545.571235] em28178 #0: EEPROM ID = 26 00 01 00, EEPROM hash = 0x4b0ffc04
    [89545.578244] em28178 #0: EEPROM info:
    [89545.581911] em28178 #0:      microcode start address = 0x0004, boot configuration = 0x01
    [89545.598224] em28178 #0:      AC97 audio (5 sample rates)
    [89545.603364] em28178 #0:      500mA max power
    [89545.607392] em28178 #0:      Table at offset 0x27, strings=0x146a, 0x1888, 0x0a7e
    [89545.614932] em28178 #0: Identified as PCTV tripleStick (292e) (card=94)
    [89545.621718] em28178 #0: dvb set to isoc mode.
    [89545.626537] usbcore: registered new interface driver em28xx
    [89545.652057] em28178 #0: Binding DVB extension
    [89545.676980] i2c i2c-1: Added multiplexed i2c bus 2
    [89545.683496] si2168 1-0064: Silicon Labs Si2168 successfully attached
    [89545.701833] si2157 2-0060: Silicon Labs Si2157/Si2158 successfully attached
    [89545.710717] DVB: registering new adapter (em28178 #0)
    [89545.717955] usb 1-1.4: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...
    [89545.730716] em28178 #0: DVB extension successfully initialized
    [89545.738686] em28xx: Registered (Em28xx dvb Extension) extension
    [89545.760909] em28178 #0: Registering input extension
    [89545.802667] Registered IR keymap rc-pinnacle-pctv-hd
    [89545.809794] input: em28xx IR (em28178 #0) as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/rc/rc0/input0
    [89545.823224] rc0: em28xx IR (em28178 #0) as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/rc/rc0
    [89545.835855] em28178 #0: Input extension successfully initalized
    [89545.843783] em28xx: Registered (Em28xx Input Extension) extension

    On your Banana Pi 3.4.107 image I get no such output in dmesg only 

     usb 2-1: new high-speed USB device number 3 using sw-ehci

    I even install the firmware manually like I did for the Raspberry Pi and it didn't help.

    Trying to install firmware-linux-nonfree I get a broken pipe error despite being able to install tvheadend

     Unpacking firmware-linux-nonfree (from .../firmware-linux-nonfree_0.36+wheezy.1_all.deb) ...dpkg: error processing /var/cache/apt/archives/firmware-linux-nonfree_0.36+wheezy.1_all.deb (--unpack):
     trying to overwrite '/lib/firmware/mts_gsm.fw', which is also in package linux-firmware-image-3.4.107-bananapi 2.8
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/firmware-linux-nonfree_0.36+wheezy.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
  10. Thanks Igor, my understanding from tkaiser on the lemaker forums was this added modular support when using your build scripts

     

    lib/config/linux-sunxi-next.config

    Change CONFIG_AHCI_SUNXI=y to

    CONFIG_AHCI_SUNXI=m

     

    After build is complete, when booting for first time

    nano /etc/modprobe.d/ahci-sunxi.conf

    Add this line, save and reboot, to deactivate just remove the line below too

    options ahci-sunxi enable_pmp=1

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines