Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #269413 > unrolled thread
| Started by | manjunathreddy boreddy <manjunathreddyboreddy@gmail.com> |
|---|---|
| First post | 2024-05-17 06:20 +0200 |
| Last post | 2024-05-17 08:00 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.user
GPIO manjunathreddy boreddy <manjunathreddyboreddy@gmail.com> - 2024-05-17 06:20 +0200
Re: GPIO Felix Miata <mrmazda@earthlink.net> - 2024-05-17 06:40 +0200
Re: GPIO didier gaumet <didier.gaumet@gmail.com> - 2024-05-17 07:40 +0200
Re: GPIO didier gaumet <didier.gaumet@gmail.com> - 2024-05-17 08:00 +0200
| From | manjunathreddy boreddy <manjunathreddyboreddy@gmail.com> |
|---|---|
| Date | 2024-05-17 06:20 +0200 |
| Subject | GPIO |
| Message-ID | <IEXex-dSxJ-3@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hello
I am using debian 12 bookworm i am unable to export gpio pins
by using echo 0 > /sys/class/gpio/export i am getting bash: echo : write
error earlier it was working fine when i re installed debian package i am
unable to export them. I am using intel i686 7600u processor.and kernel
version is 6.1.0-18-686-pae.can anyone help me in solving this issue.
Thanks&Regards,
B.Manjunath Reddy.
[toc] | [next] | [standalone]
| From | Felix Miata <mrmazda@earthlink.net> |
|---|---|
| Date | 2024-05-17 06:40 +0200 |
| Message-ID | <IEXxU-dSJE-7@gated-at.bofh.it> |
| In reply to | #269413 |
manjunathreddy boreddy composed on 2024-05-17 09:46 (UTC+0530): > I am using intel i686 7600u processor. Exactly what does that mean? The only 7600u processor I see on intel.com is this x86_64 much like two of mine, both using amd64 Bookworm, not i686: <https://ark.intel.com/content/www/us/en/ark/products/97466/intel-core-i7-7600u-processor-4m-cache-up-to-3-90-ghz.html> -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
[toc] | [prev] | [next] | [standalone]
| From | didier gaumet <didier.gaumet@gmail.com> |
|---|---|
| Date | 2024-05-17 07:40 +0200 |
| Message-ID | <IEYtX-dTjK-1@gated-at.bofh.it> |
| In reply to | #269413 |
Le 17/05/2024 à 06:16, manjunathreddy boreddy a écrit : > Hello > I am using debian 12 bookworm i am unable to export gpio > pins by using echo 0 > /sys/class/gpio/export i am getting bash: echo : > write error earlier it was working fine when i re installed debian > package i am unable to export them. I am using intel i686 7600u > processor.and kernel version is 6.1.0-18-686-pae.can anyone help me in > solving this issue. > > Thanks&Regards, > B.Manjunath Reddy. Hello, From what I understand, accessing GPIO thru /sys/class/gpio* is deprecated and thus discouraged. GPIO is to be accessed thru /dev/gpio*. gpiod (interactive use) and libgpiod (programming use) Debian packages can be useful here. linux kernel documentation, GPIO section: https://www.kernel.org/doc/html/latest/driver-api/gpio/index.html list of gpio related Debian packages: https://www.kernel.org/doc/html/latest/driver-api/gpio/index.html
[toc] | [prev] | [next] | [standalone]
| From | didier gaumet <didier.gaumet@gmail.com> |
|---|---|
| Date | 2024-05-17 08:00 +0200 |
| Message-ID | <IEYNj-dTqU-9@gated-at.bofh.it> |
| In reply to | #269415 |
by private mail manjunathreddy boreddy wrote: > I am unable to access under /dev/gpio*. Please post to the debian user mailing list rather than to me :-) I do not myself use GPIO devices so I am not able to offer a truely sensible advice but I would begin with what the gpiodetect command (gpiod package) tells here is an introduction to GPIO access from bash: https://developer.technexion.com/docs/using-gpio-from-a-linux-shell
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web