Modify

Opened 9 years ago

Closed 8 years ago

#3467 closed defect (duplicate)

adm5120 gpio-buttons is broken!

Reported by: gorec Owned by: juhosg
Priority: normal Milestone:
Component: packages Version:
Keywords: Cc:

Description

Probably I have not understood, but most likely it does not work.
in boot process:

gpio-buttons driver version 0.1.1

i think it's loaded ok

in loaded modules list it's appear:
root@OpenWrt:/# lsmod
Module Size Used by Not tainted
w1_therm 1984 0
w1_smem 480 0
w1_ds2760 1680 0
w1_ds2433 1440 0
gpio_buttons 2080 0
input_polldev 1584 1 gpio_buttons
leds_gpio 1344 0
leds_adm5120 1088 0
wire 14688 4 w1_therm,w1_smem,w1_ds2760,w1_ds2433
ledtrig_morse 2080 0
ledtrig_adm5120_switch 1376 0
input_core 18160 2 gpio_buttons,input_polldev
nf_nat_tftp 448 0
nf_conntrack_tftp 2448 1 nf_nat_tftp
nf_nat_irc 928 0
nf_conntrack_irc 2768 1 nf_nat_irc
nf_nat_ftp 1440 0
nf_conntrack_ftp 5120 1 nf_nat_ftp
ppp_mppe 5456 0
ppp_async 7392 0
ppp_generic 21280 2 ppp_mppe,ppp_async
slhc 5344 1 ppp_generic
crc_ccitt 992 1 ppp_async
sha1_generic 1504 0
arc4 832 0
deflate 1568 0
ecb 1408 0
cbc 2464 0
blkcipher 4048 2 ecb,cbc
crypto_hash 992 0
cryptomgr 1568 0
crypto_algapi 7776 7 sha1_generic,arc4,deflate,ecb,cbc,blkcipher,cryptomgr

but i can't read state from button:

root@OpenWrt:/# cat /sys/module/gpio_buttons/initstate
live

Attachments (0)

Change History (5)

comment:1 Changed 9 years ago by florian

Which ADM5120-based device are you using ?

comment:2 Changed 9 years ago by gorec

i use PLANET xrt-401d - it's same edimax br6104k.
also does not appeare gpio file in /dev and when i try use gpioctl they don't work :-(

comment:3 Changed 9 years ago by gorec

root@OpenWrt:/# cat /proc/cpuinfo
system type             : Edimax BR-6104K/6104KP
processor               : 0
cpu model               : MIPS 4Kc V0.11
BogoMIPS                : 173.56
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes
ASEs implemented        :
shadow register sets    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

root@OpenWrt:/# lsmod
Module                  Size  Used by    Not tainted
w1_therm                1984  0
w1_smem                  480  0
w1_ds2760               1680  0
w1_ds2433               1440  0
gpio_buttons            2080  0
input_polldev           1584  1 gpio_buttons
leds_gpio               1344  0
leds_adm5120            1088  0
wire                   14688  4 w1_therm,w1_smem,w1_ds2760,w1_ds2433
ledtrig_morse           2080  0
ledtrig_adm5120_switch     1376  0
input_core             18160  2 gpio_buttons,input_polldev
...

comment:4 Changed 8 years ago by juhosg

  • Owner changed from developers to juhosg
  • Status changed from new to assigned

comment:5 Changed 8 years ago by juhosg

  • Resolution set to duplicate
  • Status changed from assigned to closed

Dupe, see #3522.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.