www.8devices.com
View unanswered posts | View active topics It is currently 13 May 2024, 00:28



Reply to topic  [ 1 post ] 
 gpioctrl results in kernel warning. 
Author Message

Joined: 14 Mar 2012, 21:27
Posts: 4
I have been playing around with the gpio pins and get warnings on the console from the kernel.

The mmio 0x10000060 is set to 0x17 to set spi port to gpio and the shared uart to uart+gpio.
I get this for gpio 5,6,11,12,13,14. But not for gpio 3 and 4.
All ports work as they should, set and clear gives the right result.

Anyone got any sugestions?
The firmware is homebrewed from the lastest checkout.

- - 8-< - -
root@OpenWrt:/# gpioctl dirout 14
using gpio pin 1[181693.070000] ------------[ cut here ]------------
[181693.070000] WARNING: at drivers/gpio/gpiolib.c:99 0x8010be74()
[181693.070000] autorequest GPIO-14
[181693.070000] Modules linked in: spidev uvcvideo btusb hci_uart hidp bnep rfcomm bluetooth gspca_zc3xx gspca_vc032x gspca_tv8532 gspca_t613 gspca_sunplus gspca_stv06xx gspca_stk014 gspca_sq905c gspca_sq905 gspca_spca561 gspca_spca508 gspca_spca506 gspca_spca505 gspca_spca501 gspca_spca500 gspca_sonixj gspca_sonixb gspca_pac7311 gspca_pac207 gspca_ov534 gspca_ov519 gspca_mr97310a gspca_mars gspca_m5602 gspca_finepix gspca_etoms gspca_conex pwc gspca_main cpia2 pl2303 ftdi_sio hid v4l2_common videodev usb_storage sierra_net sierra usbserial usbnet rtc_pcf8563 rtc_pcf2123 evdev i2c_gpio i2c_algo_bit dwc_otg pcf857x pca953x i2c_dev i2c_core nop_usb_xceiv nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack sd_mod pppoe pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables gpio_dev tun ppp_async ppp_generic slhc vfat fat cifs rtc_core rt2800usb rt2800pci rt2800lib rt2500usb rt2x00usb rt2x00soc rt2x00pci rt2x00lib nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 mac80211 usbcore scsi_mod nls_base crc16 crc_itu_t crc_ccitt eeprom_93cx6 cfg80211 compat lib80211_crypt_tkip lib80211_crypt_ccmp lib80211_crypt_wep lib80211 md5 md4 hmac arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi leds_gpio input_core
[181693.070000] Call Trace:[<801c9fd0>] 0x801c9fd0
[181693.070000] [<801c9fd0>] 0x801c9fd0
[181693.070000] [<80014350>] 0x80014350
[181693.070000] [<8010be74>] 0x8010be74
[181693.070000] [<80014404>] 0x80014404
[181693.070000] [<80118614>] 0x80118614
[181693.070000] [<8010be74>] 0x8010be74
[181693.070000] [<8010c090>] 0x8010c090
[181693.070000] [<80081984>] 0x80081984
[181693.070000] [<80072674>] 0x80072674
[181693.070000] [<80081a28>] 0x80081a28
[181693.070000] [<80008984>] 0x80008984
[181693.070000]
[181693.070000] ---[ end trace 6ad1d9b4ba82bb19 ]---
4
root@OpenWrt:/# gpioctl set 14
using gpio pin 14
root@OpenWrt:/# gpioctl clear 14
using gpio pin 14
root@OpenWrt:/#
- - >-8 - -


20 Mar 2012, 19:36
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.