notro / rpi-firmware

Deprecated: Raspberry Pi kernel and firmware with support for FBTFT
Other
94 stars 32 forks source link

is there a version working with octopi ? #5

Closed N1c3 closed 9 years ago

N1c3 commented 10 years ago

would be verry nice if there is a way to get pri display working on my raspberrypib+ with octopi image

notro commented 10 years ago

What's a pri display?

N1c3 commented 10 years ago

sorry it's a typeing error, RPI Display is ment, exactly a Watterot 2.8" Touch-Display (http://www.watterott.com/de/RPi-Display-B-Plus) ! Firmware is octopi (http://docstech.net/OctoPiMirror/2014-06-20-wheezy-octopi-0.9.0.zip)

N1c3 commented 10 years ago

none of the existing brunches is working.... display stays black in every way i tride...

notro commented 10 years ago

display stays black in every way i tride

Black without backlight? If you have backlight: con2fbmap 1 1

Have you verified that the display is working with the image that Watterott provides?

If it does, use the BRANCH=builtin kernel and add to end of line in /boot/cmdline.txt:

fbtft_device.name=rpi-display fbtft_device.rotate=270 fbtft_device.debug=0 fbtft_device.verbose=0 fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo

map:10 tells the framebuffer console to use /dev/fb1

N1c3 commented 10 years ago

display stays black without backlight... when i use the image provided by watterot it's working perfectly but i can't use octopi for rc my 3d printer, what's the main process is my pi is used for !

guysoft commented 10 years ago

I have started to work on an OctoPi support for PiTFT with @awatterott

N1c3 commented 10 years ago

@guysoft great :) i am looking forward 4 it

awatterott commented 10 years ago

The kernel with built-in FBTFT drivers is working with OctoPi. Installation: $ sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=builtin rpi-update Replace /boot/cmdline.txt with https://github.com/watterott/RPi-Display/raw/master/docu/cmdline_8bit.txt

N1c3 commented 10 years ago

@awatterott Thx it's working

guysoft commented 10 years ago

Works here, pushed a branch to OctoPi, but there is a lot of work https://github.com/guysoft/OctoPi/tree/rpi-display

guysoft commented 10 years ago

@LowVideo @awatterott Can you get startx to work with some kind of window with this setting? Because I can't get it to display anything that is not a blank screen with a cursor

N1c3 commented 10 years ago

@guysoft also can't startx but i have a very dirty workaround: install fbcp adde 2 lines to etc/modules

ads7846_device model=7846 cs=1 gpio_pendown=25 speed=2000000 keep_vref_on=1 swap_xy=1 y_max=3900 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y$ DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axis Inversion' 1 1

use shellskript startX fbcp & DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axis Inversion' 1 1 DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axis Inversion' 0 1

N1c3 commented 10 years ago

@guysoft still looking fortward for octoprint Support :) are you still continuing this ?

guysoft commented 10 years ago

@LowVideo I am, I would like to get OctoPiPanel working. you can take a look here: https://github.com/jonaslorander/OctoPiPanel/issues/3

N1c3 commented 10 years ago

@guysoft I will take a look at... heve you merged the repos and pushed your changes to OctoPi/rpi-display ?

N1c3 commented 10 years ago

@awatterott @guysoft

where can i find input from the buttons sw1 sw2 sw3 on the right side of the display ?

want to use it for controlling display brightness or something like that...

awatterott commented 10 years ago

@LowVideo The buttons on the Display for the RPi B+ are connected to GPIO17, GPIO27 and GPIO22. Further infos: https://github.com/watterott/RPi-Display/blob/master/docu/FAQ.md#how-are-the-tactile-switches-connected-on-the-rpi-display-for-raspberry-pi-model-b

notro commented 9 years ago

Closing issue since there has been no activity for more than 2 months. Reopen if needed.

guysoft commented 9 years ago

Also if anyone wants to know: since version 0.10.0 of OctoPi the answer is now 'yes' since mainline OctoPi supports the screen.