You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tried to use the driver in FreeBSD13-RC5, got panic with error 17:
make_dev_sv: bad si_name (error 17, si_name=lcd5110)
So i tried to replace make_dev with make_dev_p passing flags MAKEDEV_WAITOK and MAKEDEV_CHECKNAME.
The driver loads but it seems to attempt to create it multiple times:
lcd51100: <Nokia 5110 LCD> at cs 0 node 0 on spibus=0
and extra entries:
lcd51101: <Nokia 5110 LCD> at cs 0 node 0 on spibus=0
device_attach: lcd51101 attach returned 17
lcd51101: <Nokia 5110 LCD> at cs 1 node 0 on spibus=0
device_attach: lcd51101 attach returned 17
The bakclight is turned on but nothing appears on the screen. (checked connections twice, i used the same gpio pins defined in the .h file on a Rpi B+ board). But if i test spi0_clk and spi0_mosi with an oscilloscope something seems to come out when i run:
echo "string" > /dev/lcd5110
Finally on kldunload the backlight turns off but then the kernel panics with
Fatal kernel mode data abort: 'Translation fault (L2)' on read
follows a register dump.
I have created node lcd5110@0 under soc/spi using dts overlay method.
ofwdump -r /soc/ shows it in the right place.
Any suggestion?
The text was updated successfully, but these errors were encountered:
Hello,
tried to use the driver in FreeBSD13-RC5, got panic with error 17:
make_dev_sv: bad si_name (error 17, si_name=lcd5110)
So i tried to replace make_dev with make_dev_p passing flags MAKEDEV_WAITOK and MAKEDEV_CHECKNAME.
The driver loads but it seems to attempt to create it multiple times:
lcd51100: <Nokia 5110 LCD> at cs 0 node 0 on spibus=0
and extra entries:
lcd51101: <Nokia 5110 LCD> at cs 0 node 0 on spibus=0
device_attach: lcd51101 attach returned 17
lcd51101: <Nokia 5110 LCD> at cs 1 node 0 on spibus=0
device_attach: lcd51101 attach returned 17
The bakclight is turned on but nothing appears on the screen. (checked connections twice, i used the same gpio pins defined in the .h file on a Rpi B+ board). But if i test spi0_clk and spi0_mosi with an oscilloscope something seems to come out when i run:
echo "string" > /dev/lcd5110
Finally on kldunload the backlight turns off but then the kernel panics with
Fatal kernel mode data abort: 'Translation fault (L2)' on read
follows a register dump.
I have created node lcd5110@0 under soc/spi using dts overlay method.
ofwdump -r /soc/ shows it in the right place.
Any suggestion?
The text was updated successfully, but these errors were encountered: