Re: [beagleboard] ULCD7 Not working on Ubuntu

2014-07-11 Thread ozkannn01
Hi again,

Just let you know about a quick solution on this issue. 

Try to use request_irq() instead of request_threaded_irq(), this solves the 
issue and you will get the irq function called when press the screen. 
However, you need to modify the remaining part of driver file to handle 
press sequences in a proper way.  

Regards,
Ozgur.

On Thursday, July 10, 2014 3:47:24 PM UTC+1, ozka...@gmail.com wrote:


 Hi,

 I have been trying to enable TSC2007 (ULCD) in Kernel 3.7.10-x13 (Robert 
 Nelson) but having an error in tsc2007.c as follows:
  tsc2007: probe of 2-0049 failed with error -22 

 After investigated further discovered that the root of error message seems 
 in /kernel/irq/manage.c in request_threaded_irq function as 
 !irq_settings_can_request. Since this call returns an error, the driver 
 probe returns with the failure.

 Any reply or guidance will be greatly appreciated.

 Regards,
 Ozkan.



 On Saturday, April 6, 2013 10:06:56 PM UTC+1, RobertCNelson wrote:

 On Sat, Apr 6, 2013 at 3:36 PM,  wil...@airinet.com wrote: 
  Good afternoon everyone, I hope everyone is well! 
  
  I have a Beagleboard setup that I am trying to get a touchscreen 
 working on. 
  Here's a list of our hardware: 
  
  ULCD7 (Circuit Co) 
  Beagleboard xM 
  Running Ubuntu 12.10 
  
  -- 
  root@WallController:~# uname -a 
  Linux WallController 3.7.10-x10 #1 SMP Thu Mar 28 13:45:57 UTC 2013 
 armv7l 
  armv7l armv7l GNU/Linux 
  -- 
  
  The kernel Command Line indicates that it is detecting bbtoys-ulcd as 
  buddy2: 
  
  -- 
  [0.00] Kernel command line: console=ttyO2,115200n8 vram= 
  omapfb.mode=dvi:800x480MR-16@60 omapdss.def_disp=dvi 
 root=/dev/mmcblk0p2 ro 
  rootfstype=ext4 rootwait fixrtc buddy=spidev buddy2=bbtoys-ulcd 
 camera=none 
  wl12xx_clk= 
  -- 
  
  I've confirmed that there IS support for the ULCD7 in the linux kernel 
  (tsc2007). I can even see the driver try to initialize the ULCD7 
  
  -- 
  root@WallController:~# dmesg | grep tsc 
  [0.126098] Beagle expansionboard: initializing touchscreen: tsc2007 
  [   26.450286] tsc2007 2-0048: irq 0 busy? 
  [   26.454467] tsc2007: probe of 2-0048 failed with error -22 

 Maybe try bumping the i2c speed down from 400 to 200... 

 This is the patch in the v3.7.x branch that enables the screen and 
 touch controller.. 


 https://github.com/RobertCNelson/stable-kernel/blob/v3.7.x/patches/omap_beagle_expansion/0005-Beagle-expansion-add-CircuitCo-ulcd-Support.patch
  

 Note, it looks like v3.9-rcX is doing the same thing.. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ULCD7 Not working on Ubuntu

2014-07-11 Thread ozkannn01
Hi again,

Just let you know about a quick solution on this issue. 

Try to use request_irq() instead of request_threaded_irq(), this solves the 
issue and you will get the irq function called when press the screen. 
However, you need to modify the remaining part of driver file to handle 
press sequences in a proper way.  


On Thursday, July 10, 2014 3:47:24 PM UTC+1, ozka...@gmail.com wrote:


 Hi,

 I have been trying to enable TSC2007 (ULCD) in Kernel 3.7.10-x13 (Robert 
 Nelson) but having an error in tsc2007.c as follows:
  tsc2007: probe of 2-0049 failed with error -22 

 After investigated further discovered that the root of error message seems 
 in /kernel/irq/manage.c in request_threaded_irq function as 
 !irq_settings_can_request. Since this call returns an error, the driver 
 probe returns with the failure.

 Any reply or guidance will be greatly appreciated.

 Regards,
 Ozkan.



 On Saturday, April 6, 2013 10:06:56 PM UTC+1, RobertCNelson wrote:

 On Sat, Apr 6, 2013 at 3:36 PM,  wil...@airinet.com wrote: 
  Good afternoon everyone, I hope everyone is well! 
  
  I have a Beagleboard setup that I am trying to get a touchscreen 
 working on. 
  Here's a list of our hardware: 
  
  ULCD7 (Circuit Co) 
  Beagleboard xM 
  Running Ubuntu 12.10 
  
  -- 
  root@WallController:~# uname -a 
  Linux WallController 3.7.10-x10 #1 SMP Thu Mar 28 13:45:57 UTC 2013 
 armv7l 
  armv7l armv7l GNU/Linux 
  -- 
  
  The kernel Command Line indicates that it is detecting bbtoys-ulcd as 
  buddy2: 
  
  -- 
  [0.00] Kernel command line: console=ttyO2,115200n8 vram= 
  omapfb.mode=dvi:800x480MR-16@60 omapdss.def_disp=dvi 
 root=/dev/mmcblk0p2 ro 
  rootfstype=ext4 rootwait fixrtc buddy=spidev buddy2=bbtoys-ulcd 
 camera=none 
  wl12xx_clk= 
  -- 
  
  I've confirmed that there IS support for the ULCD7 in the linux kernel 
  (tsc2007). I can even see the driver try to initialize the ULCD7 
  
  -- 
  root@WallController:~# dmesg | grep tsc 
  [0.126098] Beagle expansionboard: initializing touchscreen: tsc2007 
  [   26.450286] tsc2007 2-0048: irq 0 busy? 
  [   26.454467] tsc2007: probe of 2-0048 failed with error -22 

 Maybe try bumping the i2c speed down from 400 to 200... 

 This is the patch in the v3.7.x branch that enables the screen and 
 touch controller.. 


 https://github.com/RobertCNelson/stable-kernel/blob/v3.7.x/patches/omap_beagle_expansion/0005-Beagle-expansion-add-CircuitCo-ulcd-Support.patch
  

 Note, it looks like v3.9-rcX is doing the same thing.. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] ULCD7 Not working on Ubuntu

2014-07-10 Thread ozkannn01

Hi,

I have been trying to enable TSC2007 (ULCD) in Kernel 3.7.10-x13 (Robert 
Nelson) but having an error in tsc2007.c as follows:
 tsc2007: probe of 2-0049 failed with error -22 

After investigated further discovered that the root of error message seems 
in /kernel/irq/manage.c in request_threaded_irq function as 
!irq_settings_can_request. Since this call returns an error, the driver 
probe returns with the failure.

Any reply or guidance will be greatly appreciated.

Regards,
Ozkan.



On Saturday, April 6, 2013 10:06:56 PM UTC+1, RobertCNelson wrote:

 On Sat, Apr 6, 2013 at 3:36 PM,  wil...@airinet.com javascript: 
 wrote: 
  Good afternoon everyone, I hope everyone is well! 
  
  I have a Beagleboard setup that I am trying to get a touchscreen working 
 on. 
  Here's a list of our hardware: 
  
  ULCD7 (Circuit Co) 
  Beagleboard xM 
  Running Ubuntu 12.10 
  
  -- 
  root@WallController:~# uname -a 
  Linux WallController 3.7.10-x10 #1 SMP Thu Mar 28 13:45:57 UTC 2013 
 armv7l 
  armv7l armv7l GNU/Linux 
  -- 
  
  The kernel Command Line indicates that it is detecting bbtoys-ulcd as 
  buddy2: 
  
  -- 
  [0.00] Kernel command line: console=ttyO2,115200n8 vram= 
  omapfb.mode=dvi:800x480MR-16@60 omapdss.def_disp=dvi root=/dev/mmcblk0p2 
 ro 
  rootfstype=ext4 rootwait fixrtc buddy=spidev buddy2=bbtoys-ulcd 
 camera=none 
  wl12xx_clk= 
  -- 
  
  I've confirmed that there IS support for the ULCD7 in the linux kernel 
  (tsc2007). I can even see the driver try to initialize the ULCD7 
  
  -- 
  root@WallController:~# dmesg | grep tsc 
  [0.126098] Beagle expansionboard: initializing touchscreen: tsc2007 
  [   26.450286] tsc2007 2-0048: irq 0 busy? 
  [   26.454467] tsc2007: probe of 2-0048 failed with error -22 

 Maybe try bumping the i2c speed down from 400 to 200... 

 This is the patch in the v3.7.x branch that enables the screen and 
 touch controller.. 


 https://github.com/RobertCNelson/stable-kernel/blob/v3.7.x/patches/omap_beagle_expansion/0005-Beagle-expansion-add-CircuitCo-ulcd-Support.patch
  

 Note, it looks like v3.9-rcX is doing the same thing.. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.