Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 49
  1. #11
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,516
    Nope, for an OS under 20mb, you get the bare minimum. piCorePlayer is based on tiny core. You can read about the concept here.

    http://tinycorelinux.net/book.html
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #12
    Senior Member
    Join Date
    Feb 2013
    Posts
    114
    Oh, I understand (and applause) the concept.
    I used linux distribution fitting on single floppy disk in the past, tiny core has WAY more stuff preinstalled.

    PiCorePlayer is very well designed - all running in memory, super fast boot, most everything works out of the box. Genius.

    But it is still a pain in the rear when you try to alter the bare content, particularly in the world of using internet for everything.


    Thanks for the support, it is really appreciated.
    Last edited by Marsupial; 2019-12-23 at 20:07.

  3. #13
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,516
    OK, been a while since I did this out of tree....I had started scripts similar to how dkms works....never finished them though. Hopefully this works

    These were built for the 6.0.0 beta kernels...... the beta is really for the pi4, everything else should be mostly okay.

    https://dl.dropboxusercontent.com/s/...-rtl8188fu.zip


    ssh into your device. then type

    ceo
    wget https://dl.dropboxusercontent.com/s/...-rtl8188fu.zip
    unzip pcp6-rtl8188fu.zip
    rm pcp6-rtl8188fu.zip
    cd ..
    echo "pcp-rtl8188fu-KERNEL.tcz" >> onboot.lst

    Then reboot and see what happens.
    Last edited by paul-; 2019-12-23 at 20:34.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #14
    Senior Member
    Join Date
    Feb 2013
    Posts
    114
    Hey, that looks a lot easier than what I was trying to do!!

    But, alas I think it doesn't work. Well, I think it worked, but isn't the good firmware...

    when I enable the wifi and pcp does its thing, here's what I get

    Code:
    [ INFO ] Loading wifi firmware extensions...
    [ OK ] Atheros firmware loaded.
    [ OK ] Broadcom USB firmware loaded.
    [ OK ] Ralink firmware loaded.
    [ OK ] Realtek firmware loaded.
    [ OK ] RPi Broadcom firmware loaded.
    [ OK ] Done.
    but in the scan section, I keep getting this
    Code:
    Wifi MAC: is missing - insert wifi adapter and [Save] to connect.
    so I guess the Ralink and Realtek firmwares aren't the ones I am looking for..?


    Code:
    Scanning......
    
    No wifi devices found!
    
    Possible error:
    
    1. USB wifi adapter missing - insert adapter and [Reboot].
    2. Wifi firmware and/or drivers missing - [Reboot] required.

    out of curiosity, how does echo "pcp-rtl8188fu-KERNEL.tcz" >> onboot.lst achieve something, if there's no pcp-rtl8188fu-KERNEL.tcz file?

  5. #15
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,516
    The word kernel gets substituted for the actual kernel running......that way you donĺt need to edit the onboot or .dep files when the kernel changes.

    Cau you run some debug from command line. Does the module load? Take a look at dmesg, and lsmod.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  6. #16
    Senior Member
    Join Date
    Feb 2013
    Posts
    114
    I think we see that the USB device Realtek 802.11n is indeed trying to boot up, this is what I get in dmesg:

    Code:
    tc@TestPlayer:~$ dmesg | grep -i usb
    [    0.000000] Kernel command line: coherent_pool=1M bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000  host=TestPlayer nodhcp tz=EST5EDT,M3.2.0,M11.1.0 dwc_otg.fiq_fsm_mask=0xF dwc_otg.lpm_enable=0 console=tty1 root=/dev/ram0 elevator=deadline rootwait quiet nortc loglevel=3 noembed smsc95xx.turbo_mode=N noswap consoleblank=0 waitusb=2
    [    0.138870] usbcore: registered new interface driver usbfs
    [    0.138970] usbcore: registered new interface driver hub
    [    0.139194] usbcore: registered new device driver usb
    [    1.032312] usbcore: registered new interface driver smsc95xx
    [    1.060407] dwc_otg 20980000.usb: base=(ptrval)
    [    1.462802] dwc_otg 20980000.usb: DWC OTG Controller
    [    1.462899] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
    [    1.462973] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
    [    1.463534] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [    1.463554] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    1.463565] usb usb1: Product: DWC OTG Controller
    [    1.463576] usb usb1: Manufacturer: Linux 4.19.40-pcpCore dwc_otg_hcd
    [    1.463586] usb usb1: SerialNumber: 20980000.usb
    [    1.464678] hub 1-0:1.0: USB hub found
    [    1.466408] usbcore: registered new interface driver usb-storage
    [    1.471411] usbcore: registered new interface driver usbhid
    [    1.471420] usbhid: USB HID core driver
    [    2.003613] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [    2.324443] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
    [    2.324489] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.325804] hub 1-1:1.0: USB hub found
    [    2.643615] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [    2.774147] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
    [    2.774169] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    2.874681] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:7e:cd:be
    [    2.973616] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
    [    3.105155] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=f179, bcdDevice= 0.00
    [    3.105178] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    3.105189] usb 1-1.3: Product: 802.11n
    [    3.105200] usb 1-1.3: Manufacturer: Realtek
    [    3.105213] usb 1-1.3: SerialNumber: 00E0262E5ADC

    I tried to reboot a few times and always get the same "mac address missing" error in the wifi section in piCorePlayer's web interface.

    now, something that I find strange - but is likely only due to the fact this is a chinese product using chinese characters, but when I turn wifi on and off, I get something like this:

    Code:
    Stopping WiFi on wlan0...
    wlan0 already stopped...
    [ INFO ] Unloading wifi extensions...
    [ OK ] Done.
    [ INFO ] Unloading wifi firmware extensions...
    [ OK ] Done.
    [ INFO ] Backing up files to /mnt/mmcblk0p2/tce/mydata.tgz/-\|/-\|/-\|/-\|/-\|/-
    (the unicode characters show up as spaces in the web interface but are indeed something else)


    here is what I get with lsmod

    Code:
    tc@TestPlayer:~$ lsmod
    Module                  Size  Used by
    spidev                  7743  0
    snd_soc_bcm2835_i2s     7984  0
    regmap_mmio             4650  1 snd_soc_bcm2835_i2s
    snd_soc_core          180144  1 snd_soc_bcm2835_i2s
    snd_compress           10623  1 snd_soc_core
    snd_pcm_dmaengine       5777  1 snd_soc_core
    snd_bcm2835            16871  1
    snd_pcm                92826  5 snd_pcm_dmaengine,snd_soc_bcm2835_i2s,snd_bcm2835,snd_soc_core
    snd_timer              23404  1 snd_pcm
    spi_bcm2835             7927  0
    snd                    63037  6 snd_compress,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
    fixed                   3304  0
    squashfs               33494  40
    sch_fq_codel           10684  2
    lz4                     2870  1
    lz4_compress           55956  1 lz4
    zram                   16610  1
    zsmalloc               15797  1 zram
    i2c_bcm2835             6701  0

    and LSUSB
    Code:
    tc@TestPlayer:~$ lsusb
    Bus 001 Device 001: ID 1d6b:0002
    Bus 001 Device 004: ID 0bda:f179
    Bus 001 Device 003: ID 0424:ec00
    Bus 001 Device 002: ID 0424:9514

    interesting fact, if I remove the USB dongle while the pi is running, it freezes.
    Now if I boot without it, and insert it later, the dmesg command shows it sees the dongle (same data as higher in this post)

    --

    not quite sure what other debug you'd suggest me to do?
    Last edited by Marsupial; 2019-12-26 at 09:38.

  7. #17
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,516
    The module is not getting loaded, and there is nothing in dmesg showing failure. You did download, unzip and add to onboot?

    What is the output of

    tce-load -i pcp-rtl8188fu-4.19.80-pcpCore.tcz

    and then

    modinfo rtl8188fu

    and finally

    sudo modprobe rtl8188fu
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  8. #18
    Senior Member
    Join Date
    Feb 2013
    Posts
    114
    Quote Originally Posted by paul- View Post
    The module is not getting loaded, and there is nothing in dmesg showing failure. You did download, unzip and add to onboot?
    Yes, the unzip worked and it was added like you suggested in the earlier post.

    Code:
    tc@TestPlayer:/mnt/mmcblk0p2/tce/optional$ ls pcp-rtl8188fu*
    pcp-rtl8188fu-4.19.80-pcpCore.tcz
    pcp-rtl8188fu-4.19.80-pcpCore.tcz.info
    pcp-rtl8188fu-4.19.80-pcpCore.tcz.list
    pcp-rtl8188fu-4.19.80-pcpCore.tcz.md5.txt
    but (see below) I think something went wrong as it doesn't find the module.

    Quote Originally Posted by paul- View Post
    What is the output of

    tce-load -i pcp-rtl8188fu-4.19.80-pcpCore.tcz
    tc@TestPlayer:~$ tce-load -i pcp-rtl8188fu-4.19.80-pcpCore.tcz
    pcp-rtl8188fu-4.19.80-pcpCore.tcz: OK

    Quote Originally Posted by paul- View Post
    and then

    modinfo rtl8188fu
    tc@TestPlayer:~$ modinfo rtl8188fu
    modinfo: ERROR: Module rtl8188fu not found.

    Quote Originally Posted by paul- View Post
    and finally

    sudo modprobe rtl8188fu
    tc@TestPlayer:~$ sudo modprobe rtl8188fu
    modprobe: FATAL: Module rtl8188fu not found in directory /lib/modules/4.19.40-pcpCore



    ... seems like there are there module files missing? did I miss a step somewhere?
    Last edited by Marsupial; 2019-12-26 at 10:51.

  9. #19
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,516
    Quote Originally Posted by Marsupial View Post
    tc@TestPlayer:~$ tce-load -i pcp-rtl8188fu-4.19.80-pcpCore.tcz
    pcp-rtl8188fu-4.19.80-pcpCore.tcz: OK
    This tells me that you did not add pcp-rtl8188fu-KERNEL.tcz to /mnt/mmcblk0p2/tce/onboot.lst. Or you are not running pCP 6.0.0 beta 7 on a armv6 board

    You never specifically told me which rpi board you were using, but you referenced an armv6 kernel, so I assumed.


    When you loaded the driver package manually with tce-load, I forgot to tell you to run "sudo depmod -a" before running the moduled commands.......so the kernel knows about the new module. This gets handled automatically during boot.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #20
    Senior Member
    Join Date
    Feb 2013
    Posts
    114
    Just to be sure I did this correctly:
    Code:
    tc@TestPlayer:~$ more /mnt/mmcblk0p2/tce/onboot.lst
    pcp.tcz
    pcp-jivelite.tcz
    VU_Meter_Logitech_Black.tcz
    pcp-rtl8188fu-KERNEL.tcz

    now I added depmod, no real changes.
    Code:
    tc@TestPlayer:~$ tce-load -i pcp-rtl8188fu-4.19.80-pcpCore.tcz
    pcp-rtl8188fu-4.19.80-pcpCore.tcz: OK
    tc@TestPlayer:~$ sudo depmod -a
    tc@TestPlayer:~$ modinfo rtl8188fu
    modinfo: ERROR: Module rtl8188fu not found.
    tc@TestPlayer:~$ sudo modprobe rtl8188fu
    modprobe: FATAL: Module rtl8188fu not found in directory /lib/modules/4.19.40-pcpCore
    rebooted and tested again, I still get a no wifi MAC in the Wifi information box.

    Code:
    Wifi MAC: is missing - insert wifi adapter and [Save] to connect.


    You are right, I did not mention anywhere in this thread that I am trying to run this on a first gen raspberry pi 1B - piCorePlayer runs super well on them and it makes a good use for those older boards (plus, my rasp2 and rasp3 are already in use in the house as players)

    What does that means in terms of what to do to get the driver working?

Posting Permissions

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