Jump to content

How to configure Kernel to activate extra options/modules


Recommended Posts

Hi Igor!

 

I am sorry for so many questions, but I just can't seem to find the solution for my question.

 

I need to activate (install) the Philips SAA7111/3/4/5 video decoders module, that is located in Device Drivers -> Multimedia Support -> Encoders, decoders, sensors and other helper chips . (when running menuconfig)

 

Usually, this is done by downloading a new kernel, then running the menuconfig and going to Drivers/Multimedia Support and unselect "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)" and a new list of "Encoders, decoders, sensors and other helper chips ." appears. And there i select Philips SAA7111/3/4/5 video decoders module by pressing Y. After this I save the .config and compile the kernel and install it and reboot.

 

I tried this on banana pi and it compiled without errors but I could not boot it. The image of the kernel, in /boot folder somehow needed to be linked to the zImage, which I could not do (I have read about the u-boot and could not figure out how to use it) and ultimately I decided to install the new Debian Wheezy 4.1.2 from your website.

 

In a previous post you told me that in order to upgrade kernel, I need to follow the instructions from https://github.com/igorpecovnik/lib/blob/next/documentation/general-faq.md#how-to-update-kernel

 

I did that, and tried to install the same kernel, 4.1.2 but it offered me no way of configuring it.

 

Because the whole point of compiling new kernel is to add the Philips SAA7111/3/4/5 video decoders module, that is present by default in the kernel but it is not included/activated by default.

 

So how can I do this? How can activate the Philips SAA7111/3/4/5 video decoders module ?

 

Thank you very much in advance and sorry for so many questions.

Link to comment
Share on other sites

Thank you very much!

 

But I would still like to know how to configure the Kernel on a Banana pi, for future use. Just in case I may need it sometime.

 

I am configuring and compiling the kernel directly on my banana pi, not on a cross compiler.

 

Here is what I found (based on http://www.lemaker.org/thread-2657-1-1.html)

 

  1. apt-get install git build-essential libncurses5-dev u-boot-tools uboot-mkimage
  2. cd ~
  3. git clone https://github.com/Bananian/linux-bananapi.git--depth 1 ( Can I use this instead? wget http://mirror.igorpecovnik.com/Bananapi_Debian_3.2_wheezy_4.1.2.zip After I unzip it, it is in file format RAW. How can I unpack that file to get access to regular files?)
  4. cd linux-bananapi
  5. make sun7i_defconfig ( this is something new. I never did this in my previous kernel compilation jobs)
  6. make menuconfig
  7. make -j2 uImage modules (here a user is reporting that he is getting an error when trying to compile an image from your website  http://www.lemaker.org/forum.php?mod=viewthread&tid=2657&page=2#pid66107)
  8. make modules_install
  9. mount /dev/mmcblk0p1 /boot
  10. cp arch/arm/boot/uImage /boot
  11. reboot

I have read on that forum that I need to continue until step 8 and then to do the following steps:

  1. wget http://mirror.igorpecovnik.com/u-boot/linux-u-boot-4.1.2-bananapi_3.2_armhf.deb
  2. dpkg -i linux-u-boot-4.1.2-bananapi_3.2_armhf.deb
  3. reboot

Is this true? I mean if I run these commands from my banana pi will it allow me to configure the kernel and will it install and boot?

 

If possible, can you please tell me by steps how to do it? I am sure other users will also benefit from this.

 

Thanks!

Link to comment
Share on other sites

It's much simpler and faster to add this functionality than teach you step by step how to do it ... even if it's written clearly enough for average Linux user. But problems might occur and this bring more questions.

 

Read forum / FAQ and you'll get much needed info. It's simple but you need to invest some time.

 

Download this image and burn to SD (wait until it's uploaded)

http://mirror.igorpecovnik.com/Bananapi_Debian_3.3_wheezy_4.1.3.zip

 

I added support for Philips SAA7111/3/4/5 video decoders

 

You need to use my image for easy update. For rest read FAQ. Some manual work is needed. I never try to compile kernel on device because it's way to slow. I don't know if my tool works without any fixes but in any case you need to download a proper Linux source.

 

And I hope you know limitations of kernels 3.4 vs 4.x ? BTW: most important things are documented on my blog, sunxi wiki, ...

Link to comment
Share on other sites

I have installed the kernel 4.1.3 but it shows some errors. When I just start (using putty), I get some errors:

 

login as: user1
user1@192.168.100.4's password:

 ____                                  ____ ___
| __ )  __ _ _ __   __ _ _ __   __ _  |  _ \_ _|
|  _ \ / _` | '_ \ / _` | '_ \ / _` | | |_) | |
| |_) | (_| | | | | (_| | | | | (_| | |  __/| |
|____/ \__,_|_| |_|\__,_|_| |_|\__,_| |_|  |___|


Last login: Tue Jul 28 14:58:01 2015 from 192.168.100.2
-bash: i2cset: command not found
-bash: i2cget: command not found
-bash: &0x20: syntax error: operand expected (error token is "&0x20")

Load: 0.47, 0.12, 0.04 - Board: 34.9°C - Memory: 978Mb

 

and when I do lsusb, there used to be my easycap somagic usb board in here, but now it does not show.

Could this be caused by kernel or maybe my board is not working good anymore because of the heat?

user1@bananapi:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 

But it should have displayed as so:

Bus XXX Device XXX: ID 1c88:0007 Somagic, Inc. 

This was how it was displaying the previous times when I run lsusb.

Link to comment
Share on other sites

Here is my dmesg

 

user1@bananapi:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.3-bananapi (root@kitchen) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #2 SMP Tue Jul 28 10:03:20 CEST 2015
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c09e9d00, node_mem_map eeef8000
[    0.000000]   Normal zone: 1710 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 67584 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 12 pages/cpu @eeec7000 s17472 r8192 d23488 u49152
[    0.000000] pcpu-alloc: s17472 r8192 d23488 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
[    0.000000] Kernel command line: console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1027888K/1048576K available (7582K kernel code, 290K rwdata, 1932K rodata, 316K init, 288K bss, 20688K reserved, 0K cma-reserved, 270336K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0952e34   (9516 kB)
[    0.000000]       .init : 0xc0953000 - 0xc09a2000   ( 316 kB)
[    0.000000]       .data : 0xc09a2000 - 0xc09eaa60   ( 291 kB)
[    0.000000]        .bss : 0xc09ed000 - 0xc0a35094   ( 289 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000347] clocksource timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000510] clocksource hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000705] Console: colour dummy device 80x30
[    0.000842] console [tty1] enabled
[    0.000866] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000881] pid_max: default: 32768 minimum: 301
[    0.001006] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001018] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001726] Initializing cgroup subsys blkio
[    0.001754] Initializing cgroup subsys memory
[    0.001792] Initializing cgroup subsys devices
[    0.001806] Initializing cgroup subsys freezer
[    0.001821] Initializing cgroup subsys net_cls
[    0.001833] Initializing cgroup subsys perf_event
[    0.001858] CPU: Testing write buffer coherency: ok
[    0.002197] /cpus/cpu@0 missing clock-frequency property
[    0.002215] /cpus/cpu@1 missing clock-frequency property
[    0.002227] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002289] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.004074] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004162] Brought up 2 CPUs
[    0.004182] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.004190] CPU: All CPU(s) started in HYP mode.
[    0.004194] CPU: Virtualization extensions available.
[    0.004917] devtmpfs: initialized
[    0.012311] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.012682] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012987] xor: measuring software checksum speed
[    0.109981]    arm4regs  :  1261.600 MB/sec
[    0.210039]    8regs     :   778.400 MB/sec
[    0.310101]    32regs    :   799.200 MB/sec
[    0.310109] xor: using function: arm4regs (1261.600 MB/sec)
[    0.310246] pinctrl core: initialized pinctrl subsystem
[    0.311379] NET: Registered protocol family 16
[    0.311971] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.340171] cpuidle: using governor ladder
[    0.364237] cpuidle: using governor menu
[    0.370344] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.370359] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.540480] raid6: int32x1  gen()   138 MB/s
[    0.710692] raid6: int32x1  xor()   111 MB/s
[    0.880863] raid6: int32x2  gen()   185 MB/s
[    1.051040] raid6: int32x2  xor()   120 MB/s
[    1.221161] raid6: int32x4  gen()   197 MB/s
[    1.391137] raid6: int32x4  xor()   122 MB/s
[    1.561410] raid6: int32x8  gen()   179 MB/s
[    1.731538] raid6: int32x8  xor()   116 MB/s
[    1.731546] raid6: using algorithm int32x4 gen() 197 MB/s
[    1.731553] raid6: .... xor() 122 MB/s, rmw enabled
[    1.731559] raid6: using intx1 recovery algorithm
[    1.731860] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    1.731908] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    1.732649] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    1.733176] SCSI subsystem initialized
[    1.733491] libata version 3.00 loaded.
[    1.733834] usbcore: registered new interface driver usbfs
[    1.733901] usbcore: registered new interface driver hub
[    1.733974] usbcore: registered new device driver usb
[    1.734108] Linux video capture interface: v2.00
[    1.734193] pps_core: LinuxPPS API ver. 1 registered
[    1.734201] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.734228] PTP clock support registered
[    1.735811] cfg80211: Calling CRDA to update world regulatory domain
[    1.736383] Switched to clocksource arch_sys_counter
[    1.746866] NET: Registered protocol family 2
[    1.747621] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.747713] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.747840] TCP: Hash tables configured (established 8192 bind 8192)
[    1.747930] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.747993] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.748309] NET: Registered protocol family 1
[    1.748738] RPC: Registered named UNIX socket transport module.
[    1.748752] RPC: Registered udp transport module.
[    1.748759] RPC: Registered tcp transport module.
[    1.748765] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.749630] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    1.749686] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.750915] futex hash table entries: 512 (order: 3, 32768 bytes)
[    1.762151] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.763839] NFS: Registering the id_resolver key type
[    1.763909] Key type id_resolver registered
[    1.763916] Key type id_legacy registered
[    1.764664] Key type cifs.idmap registered
[    1.764963] fuse init (API version 7.23)
[    1.765828] JFS: nTxBlock = 8030, nTxLock = 64243
[    1.775929] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.780116] bounce: pool size: 64 pages
[    1.780227] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    1.780391] io scheduler noop registered
[    1.780407] io scheduler deadline registered
[    1.780463] io scheduler cfq registered (default)
[    1.783521] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    1.842044] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    1.865413] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 41, base_baud = 1500000) is a U6_16550A
[    1.888841] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 42, base_baud = 1500000) is a U6_16550A
[    1.912148] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 43, base_baud = 1500000) is a U6_16550A
[    1.919406] loop: module loaded
[    1.920072] Loading iSCSI transport class v2.0-870.
[    1.986453] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    1.986506] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[    1.986539] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.986557] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[    1.987617] scsi host0: ahci-sunxi
[    1.988012] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 30
[    1.989326] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    1.992001] tun: Universal TUN/TAP device driver, 1.6
[    1.992016] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.993216] PPP generic driver version 2.4.2
[    1.993484] PPP BSD Compression module registered
[    1.993501] PPP Deflate Compression module registered
[    1.993528] PPP MPPE Compression module registered
[    1.993550] NET: Registered protocol family 24
[    1.993601] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.993617] ehci-platform: EHCI generic platform driver
[    1.993969] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.994007] ohci-platform: OHCI generic platform driver
[    1.994373] usbcore: registered new interface driver usb-storage
[    1.994393] ftdi_elan: driver ftdi-elan
[    1.994858] usbcore: registered new interface driver ftdi-elan
[    1.995882] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    1.995899] sunxi-rtc 1c20d00.rtc: RTC enabled
[    1.996008] i2c /dev entries driver
[    1.997042] axp20x 0-0034: AXP20x variant AXP209 found
[    2.004592] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    2.004768] axp20x-regulator axp20x-regulator: regulators node not found
[    2.007303] axp20x 0-0034: AXP20X driver loaded
[    2.008390] usbcore: registered new interface driver dvb_usb_dvbsky
[    2.009483] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.010180] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    2.010629] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    2.046626] sunxi-mmc 1c0f000.mmc: base:0xf057a000 irq:27
[    2.047424] ledtrig-cpu: registered to indicate activity on CPUs
[    2.047722] usbcore: registered new interface driver usbhid
[    2.047731] usbhid: USB HID core driver
[    2.048649] ipip: IPv4 over IPv4 tunneling driver
[    2.049520] Initializing XFRM netlink socket
[    2.050448] NET: Registered protocol family 10
[    2.051923] NET: Registered protocol family 17
[    2.051986] NET: Registered protocol family 15
[    2.052078] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.052159] 8021q: 802.1Q VLAN Support v1.8
[    2.052224] Key type dns_resolver registered
[    2.062870] cpu cpu0: running cpufreq without cooling device: -38
[    2.062937] Registering SWP/SWPB emulation handler
[    2.066161] Btrfs loaded
[    2.067825] Key type encrypted registered
[    2.093607] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.096033] mmc0: new high speed SDHC card at address 1234
[    2.096614] mmcblk0: mmc0:1234 SA08G 7.21 GiB
[    2.098176]  mmcblk0: p1
[    2.176517] stmmaceth 1c50000.ethernet: no reset control found
[    2.176535]  Ring mode enabled
[    2.176543]  No HW DMA feature register supported
[    2.176550]  Normal descriptors
[    2.176555]  TX Checksum insertion supported
[    2.181212] libphy: stmmac: probed
[    2.181232] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    2.181240] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    2.181653] ehci-platform 1c14000.usb: EHCI Host Controller
[    2.181694] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    2.181869] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000
[    2.196396] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    2.196693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.196705] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.196715] usb usb1: Product: EHCI Host Controller
[    2.196724] usb usb1: Manufacturer: Linux 4.1.3-bananapi ehci_hcd
[    2.196733] usb usb1: SerialNumber: 1c14000.usb
[    2.197511] hub 1-0:1.0: USB hub found
[    2.197576] hub 1-0:1.0: 1 port detected
[    2.198359] ehci-platform 1c1c000.usb: EHCI Host Controller
[    2.198399] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    2.198540] ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
[    2.216421] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    2.216708] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    2.216721] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.216730] usb usb2: Product: EHCI Host Controller
[    2.216739] usb usb2: Manufacturer: Linux 4.1.3-bananapi ehci_hcd
[    2.216748] usb usb2: SerialNumber: 1c1c000.usb
[    2.217437] hub 2-0:1.0: USB hub found
[    2.217501] hub 2-0:1.0: 1 port detected
[    2.218212] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    2.218249] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    2.218396] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400
[    2.280650] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    2.280665] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.280675] usb usb3: Product: Generic Platform OHCI controller
[    2.280684] usb usb3: Manufacturer: Linux 4.1.3-bananapi ohci_hcd
[    2.280693] usb usb3: SerialNumber: 1c14400.usb
[    2.281386] hub 3-0:1.0: USB hub found
[    2.281453] hub 3-0:1.0: 1 port detected
[    2.282172] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    2.282211] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    2.282357] ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
[    2.336496] ata1: SATA link down (SStatus 0 SControl 300)
[    2.341108] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.341146] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.341174] usb usb4: Product: Generic Platform OHCI controller
[    2.341201] usb usb4: Manufacturer: Linux 4.1.3-bananapi ohci_hcd
[    2.341227] usb usb4: SerialNumber: 1c1c400.usb
[    2.343052] hub 4-0:1.0: USB hub found
[    2.343214] hub 4-0:1.0: 1 port detected
[    2.344507] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)
[    2.355846] vcc5v0: disabling
[    2.355890] vcc3v0: disabling
[    2.379803] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    2.379939] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    2.381211] devtmpfs: mounted
[    2.382229] Freeing unused kernel memory: 316K (c0953000 - c09a2000)
[    2.876665] usb 4-1: new full-speed USB device number 2 using ohci-platform
[    3.056571] usb 4-1: device descriptor read/64, error -62
[    3.346618] usb 4-1: device descriptor read/64, error -62
[    3.454102] udevd[206]: starting version 175
[    3.636615] usb 4-1: new full-speed USB device number 3 using ohci-platform
[    3.816636] usb 4-1: device descriptor read/64, error -62
[    4.004741] evbug: Connected device: input0 (axp20x-pek at m1kbd/input2)
[    4.109899] usb 4-1: device descriptor read/64, error -62
[    4.396691] usb 4-1: new full-speed USB device number 4 using ohci-platform
[    4.816438] usb 4-1: device not accepting address 4, error -62
[    4.896420] cfg80211: Calling CRDA to update world regulatory domain
[    4.996534] usb 4-1: new full-speed USB device number 5 using ohci-platform
[    5.059729] cfg80211: World regulatory domain updated:
[    5.059779] cfg80211:  DFS Master region: unset
[    5.059797] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    5.059828] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    5.059855] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    5.059880] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    5.059906] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[    5.059933] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    5.059959] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    5.059985] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    5.060010] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    5.416493] usb 4-1: device not accepting address 5, error -62
[    5.416725] usb usb4-port1: unable to enumerate USB device
[    6.828176] EXT4-fs (mmcblk0p1): re-mounted. Opts: data=writeback,commit=600,errors=remount-ro
[    9.206139] Adding 262140k swap on /var/swap.  Priority:-1 extents:3 across:360444k SS
[   11.484197] random: dd urandom read with 21 bits of entropy available
[   12.957609]  RX IPC Checksum Offload disabled
[   12.957641]  No MAC Management Counters available
[   17.946838] stmmaceth 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   25.244896] Bluetooth: Core ver 2.20
[   25.245022] NET: Registered protocol family 31
[   25.245031] Bluetooth: HCI device and connection manager initialized
[   25.245058] Bluetooth: HCI socket layer initialized
[   25.245073] Bluetooth: L2CAP socket layer initialized
[   25.245110] Bluetooth: SCO socket layer initialized
[   25.297026] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.297046] Bluetooth: BNEP filters: protocol multicast
[   25.297070] Bluetooth: BNEP socket layer initialized
[   25.311362] Bluetooth: RFCOMM TTY layer initialized
[   25.311414] Bluetooth: RFCOMM socket layer initialized
[   25.311447] Bluetooth: RFCOMM ver 1.11
[   37.177263] usb 4-1: new full-speed USB device number 6 using ohci-platform
[   37.357290] usb 4-1: device descriptor read/64, error -62
[   37.647281] usb 4-1: device descriptor read/64, error -62
[   37.937306] usb 4-1: new full-speed USB device number 7 using ohci-platform
[   38.117317] usb 4-1: device descriptor read/64, error -62
[   38.407346] usb 4-1: device descriptor read/64, error -62
[   38.697361] usb 4-1: new full-speed USB device number 8 using ohci-platform
[   39.117348] usb 4-1: device not accepting address 8, error -62
[   39.297461] usb 4-1: new full-speed USB device number 9 using ohci-platform
[   39.717386] usb 4-1: device not accepting address 9, error -62
[   39.717494] usb usb4-port1: unable to enumerate USB device
[   40.007465] usb 4-1: new full-speed USB device number 10 using ohci-platform
[   40.187473] usb 4-1: device descriptor read/64, error -62
[   40.477501] usb 4-1: device descriptor read/64, error -62
[   40.767510] usb 4-1: new full-speed USB device number 11 using ohci-platform
[   40.947525] usb 4-1: device descriptor read/64, error -62
[   41.237570] usb 4-1: device descriptor read/64, error -62
[   41.527567] usb 4-1: new full-speed USB device number 12 using ohci-platform
[   41.947558] usb 4-1: device not accepting address 12, error -62
[   42.127614] usb 4-1: new full-speed USB device number 13 using ohci-platform
[   42.547625] usb 4-1: device not accepting address 13, error -62
[   42.547750] usb usb4-port1: unable to enumerate USB device
[   46.942386] random: nonblocking pool is initialized
user1@bananapi:~$
 

Link to comment
Share on other sites

Ignore errors, you are running DEV version. Not related.

 

Try loading the driver with:

 

modprobe  saa711x

 

Are you running PRO Banana with Wifi or normal one?

 

What you got under lsmod

 

If you want to tweak kernel more I suggest you to establish DEV environment like suggested before.

Link to comment
Share on other sites

Hi!

I loaded the driver with modprobe  saa711x and it loads good.

I am running banana pi without wifi.

 

When I run lsmod I get:

user1@bananapi:/lib/modules/4.1.3-bananapi/kernel/drivers/media/usb/smi2021$ lsmod
Module                  Size  Used by
saa7115                13484  0
bnep                    9624  2
rfcomm                 30019  0
bluetooth             290036  10 bnep,rfcomm
brcmfmac              155048  0
brcmutil                4725  1 brcmfmac
evbug                   1484  0
evdev                   9340  0
sun4i_ts                3722  0
 

 

I think I will install linux on my x86 pc and will try the DEV environment.

 

Thanks!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines