Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -en ~ $ cat /etc/modules
- # /etc/modules: kernel modules to load at boot time.
- #
- # This file contains the names of kernel modules that should be loaded
- # at boot time, one per line. Lines beginning with "#" are ignored.
- snd-bcm2835
- i2c-dev
- spi-bcm2708
- flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3
- fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:25,dc:24
- ads7846_device model=7846 cs=1 gpio_pendown=17 keep_vref_on=1 swap_xy=0 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900
- -------------------------------------------------
- If i sudo the commands they will work
- sudo modprobe flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0x11,-2,250,-1,0x3A,0x55,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x00,0x00,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0x36,0x28,-1,0x11,-1,0x29,-3
- sudo modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=16000000 gpios=reset:25,dc:24
- -----
- dmesg, i cut away the beginning:
- [ 2.025835] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
- [ 2.043269] devtmpfs: mounted
- [ 2.047029] Freeing unused kernel memory: 400K (80786000 - 807ea000)
- [ 2.114880] usb 1-1: new high-speed USB device number 2 using dwc_otg
- [ 2.121646] Indeed it is in host mode hprt0 = 00001101
- [ 2.325157] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
- [ 2.331922] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
- [ 2.340030] hub 1-1:1.0: USB hub found
- [ 2.343983] hub 1-1:1.0: 5 ports detected
- [ 2.368837] random: systemd urandom read with 43 bits of entropy available
- [ 2.381270] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
- [ 2.395387] systemd[1]: Detected architecture 'arm'.
- [ 2.543793] NET: Registered protocol family 10
- [ 2.550188] systemd[1]: Inserted module 'ipv6'
- [ 2.566112] systemd[1]: Set hostname to <raspberrypi>.
- [ 2.625095] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
- [ 2.735223] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
- [ 2.742172] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
- [ 2.752635] smsc95xx v1.0.4
- [ 2.819060] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:db:85:71
- [ 3.212217] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
- [ 3.220504] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
- [ 3.228282] systemd[1]: Expecting device dev-ttyAMA0.device...
- [ 3.234797] systemd[1]: Starting Remote File Systems (Pre).
- [ 3.240790] systemd[1]: Reached target Remote File Systems (Pre).
- [ 3.247207] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
- [ 3.257016] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
- [ 3.266621] systemd[1]: Starting Encrypted Volumes.
- [ 3.271887] systemd[1]: Reached target Encrypted Volumes.
- [ 3.277433] systemd[1]: Starting Swap.
- [ 3.281536] systemd[1]: Reached target Swap.
- [ 3.285958] systemd[1]: Expecting device dev-mmcblk0p1.device...
- [ 3.292312] systemd[1]: Starting Root Slice.
- [ 3.297088] systemd[1]: Created slice Root Slice.
- [ 3.301906] systemd[1]: Starting User and Session Slice.
- [ 3.307891] systemd[1]: Created slice User and Session Slice.
- [ 3.313755] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
- [ 3.321083] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
- [ 3.328205] systemd[1]: Starting Delayed Shutdown Socket.
- [ 3.334137] systemd[1]: Listening on Delayed Shutdown Socket.
- [ 3.340034] systemd[1]: Starting Journal Socket (/dev/log).
- [ 3.346240] systemd[1]: Listening on Journal Socket (/dev/log).
- [ 3.352313] systemd[1]: Starting udev Control Socket.
- [ 3.357928] systemd[1]: Listening on udev Control Socket.
- [ 3.363468] systemd[1]: Starting udev Kernel Socket.
- [ 3.368930] systemd[1]: Listening on udev Kernel Socket.
- [ 3.374384] systemd[1]: Starting Journal Socket.
- [ 3.379591] systemd[1]: Listening on Journal Socket.
- [ 3.384779] systemd[1]: Starting System Slice.
- [ 3.389857] systemd[1]: Created slice System Slice.
- [ 3.394975] systemd[1]: Starting File System Check on Root Device...
- [ 3.405054] systemd[1]: Starting system-systemd\x2dfsck.slice.
- [ 3.412040] systemd[1]: Created slice system-systemd\x2dfsck.slice.
- [ 3.418643] systemd[1]: Starting system-getty.slice.
- [ 3.424651] systemd[1]: Created slice system-getty.slice.
- [ 3.430328] systemd[1]: Starting system-serial\x2dgetty.slice.
- [ 3.437182] systemd[1]: Created slice system-serial\x2dgetty.slice.
- [ 3.443777] systemd[1]: Starting Increase datagram queue length...
- [ 3.454384] systemd[1]: Starting Restore / save the current clock...
- [ 3.475011] systemd[1]: Mounting POSIX Message Queue File System...
- [ 3.485156] systemd[1]: Mounted Huge Pages File System.
- [ 3.491268] systemd[1]: Mounting Debug File System...
- [ 3.525418] systemd[1]: Started Set Up Additional Binary Formats.
- [ 3.569115] systemd[1]: Starting Load Kernel Modules...
- [ 3.578930] systemd[1]: Starting udev Coldplug all Devices...
- [ 3.589474] systemd[1]: Starting Create list of required static device nodes for the current kernel...
- [ 3.603697] systemd[1]: Starting Slices.
- [ 3.608289] systemd[1]: Reached target Slices.
- [ 3.617155] systemd[1]: Mounted Debug File System.
- [ 3.622840] systemd[1]: Mounted POSIX Message Queue File System.
- [ 3.631047] systemd[1]: Started Increase datagram queue length.
- [ 3.660145] fuse init (API version 7.23)
- [ 3.683116] systemd[1]: Started Restore / save the current clock.
- [ 3.693026] systemd[1]: Started Create list of required static device nodes for the current kernel.
- [ 3.725474] systemd[1]: Time has been changed
- [ 3.746409] systemd[1]: Started File System Check on Root Device.
- [ 3.760431] i2c /dev entries driver
- [ 3.770378] bcm2708_spi 3f204000.spi: DMA channel 2 at address 0xf3007200 with irq 77
- [ 3.778457] bcm2708_spi 3f204000.spi: DMA channel 4 at address 0xf3007400 with irq 20
- [ 3.794934] systemd[1]: Started udev Coldplug all Devices.
- [ 3.800657] ads7846 spi0.1: touchscreen, irq 497
- [ 3.806189] input: ADS7846 Touchscreen as /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
- [ 3.816846] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
- [ 3.823853] bcm2708_spi 3f204000.spi: SPI Controller running in dma mode
- [ 3.841026] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
- [ 3.852899] systemd[1]: Failed to start Load Kernel Modules.
- [ 3.859007] systemd[1]: Unit systemd-modules-load.service entered failed state.
- [ 3.973862] systemd[1]: Starting Apply Kernel Variables...
- [ 3.984189] systemd[1]: Mounting Configuration File System...
- [ 3.994009] systemd[1]: Mounting FUSE Control File System...
- [ 4.004939] systemd[1]: Starting Create Static Device Nodes in /dev...
- [ 4.017723] systemd[1]: Starting Syslog Socket.
- [ 4.018903] systemd[1]: Listening on Syslog Socket.
- [ 4.019164] systemd[1]: Starting Journal Service...
- [ 4.024662] systemd[1]: Started Journal Service.
- [ 4.187287] systemd-udevd[117]: starting version 215
- [ 4.718744] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
- [ 4.905418] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
- [ 5.179755] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
- [ 5.180074] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
- [ 5.353826] random: nonblocking pool is initialized
- [ 5.540500] systemd-journald[115]: Received request to flush runtime journal from PID 1
- [ 6.488245] cfg80211: Calling CRDA to update world regulatory domain
- [ 6.799312] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 6.800493] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
- [ 7.275697] Adding 102396k swap on /var/swap. Priority:-1 extents:5 across:573436k SSFS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement