Yadda za a magance matsalar PiCamera akan Fedora da Rasberi Pi

Pi Kamara don Rasberi Pi

Da yawa daga cikinku suna amfani da Raspbian ko Noobs don gudanar da Rasberi Pi da kayan haɗin haɗi. Koyaya ƙarin masu amfani suna neman wasu hanyoyin. Kyawawan zaɓi masu kyau amma ba a yin su da Gidajen Rasberi Pi kuma tare da wannan koyaushe akwai matsala tsakanin abubuwan Rasberi Pi da Fedora.

Matsalar duk wannan tana sama da duk gaskiyar cewa ba a gina kernel na Fedora ko wasu abubuwan rarraba don Rasberi Pi amma don dandamali na ARM, wanda ke ba da wasu matsaloli kuma wasu fayiloli ko aikin na'urar sun ɓace.

Masu amfani da yawa sun sami matsala tsakanin PiCam ɗin su da Fedora ɗin su, don haka ba za su iya samun wannan ɓangaren Rasberi Pi don aiki ba duk da cewa sauran software suna aiki daidai. Wannan yana da sauƙin gyara kuma baya haɗa da canza tsarin aiki.

Ba a gina Fedora don dandamali na Rasberi Pi ko kayan haɗi kamar PiCamera ba

Don warware wannan, dole ne mu fara buɗe tashar mota mu gwada gudu rubutun Python ./take_photo.py, a karshen dakin karatun da ke bada kuskure zai bayyana, a wannan yanayin ana kiransa libmmal.so. Wannan ɗakin karatun yana cikin tsarin aiki na Fedora amma wasu shirye-shirye ko aikace-aikace basa iya samun damar wurin wannan ɗakin karatun. Don magance wannan matsalar, kawai rubuta layuka masu zuwa:

echo “/opt/vc/lib/”>/etc/ld.so.conf.d/rpi.conf
ldconfig

Umurnin farko yana haifar da fayil ɗin daidai da ɗakin karatu don ƙirƙirar shi a wani wuri fiye da idan sauran shirye-shiryen zasu iya samin sa. Kuma umarni na biyu abin da yake yi shi ne yi gargaɗi ga duk software cewa wannan wuri ya riga ya kasance kuma don amfani da shi. Don haka yanzu idan muka sake rubuta rubutun PiCámara zamu iya sa kyamarar tayi aiki ba tare da wata matsala ba kuma komai a cikin Fedora, madadin ban sha'awa ne ga Raspbian, duk da cewa da yawa basa son hakan.

Source - Tonet 666P


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.