dvb_unregister_frontend hanging on fepriv->dvbdev->users when called from smsdvb_unregister_client

2010-12-08 Thread Richard Zidlicky
Hi, I am trying to figure out why the smsxxx MiniStick isn't unregistered correctly when I pull out the stick while kaffeine is playing. It gets as far as calling smsdvb_unregister_client dvb_unregister_frontend where it hangs at if (fepriv->dvbdev->users < -1) wait_eve

DSR-0112 keymap file for v4l-utils/ir-keytable

2010-12-01 Thread Richard Zidlicky
Hi, attached the file so people can use the remote with other receivers as well. Richard scancode 0x1d00 = KEY_0 (0x0b) scancode 0x1d01 = KEY_1 (0x02) scancode 0x1d02 = KEY_2 (0x03) scancode 0x1d03 = KEY_3 (0x04) scancode 0x1d04 = KEY_4 (0x05) scancode 0x1d05 = KEY_5 (0x06) scancode 0x1d06 = KEY_

[PATCH] keycodes for DSR-0112 remote bundled with Haupauge MiniStick

2010-12-01 Thread Richard Zidlicky
Hi, Patch against kernel.org kernel, hope it applies cleanly everywhere. Add kycodes for DSR-0112 remote that comes together with Haupauge MiniStick http://lirc.sourceforge.net/remotes/hauppauge/DSR-0112.jpg Signed-off-by: Richard Zidlicky --- linux-2.6.36/drivers/media/IR/keymaps/rc-rc5

Re: New TV713X Remote Control ‏

2010-11-30 Thread Richard Zidlicky
On Tue, Nov 30, 2010 at 01:53:12PM +0100, Miguel Ángel Fernández wrote: should have looked closer before answering.. > [  374.444695] input: i2c IR (KNC One) as /devices/virtual/input/input6 > [  374.472666] ir-kbd-i2c: i2c IR (KNC One) detected at i2c-0/0-0030/ir0 > [saa7133[0]] in this case

Re: New TV713X Remote Control ‏

2010-11-30 Thread Richard Zidlicky
On Tue, Nov 30, 2010 at 01:53:12PM +0100, Miguel Ángel Fernández wrote: >   > And, what is more. Only when the module is loaded, if I push some buttons of > the remote I have this > output in dmesg: > [  450.228029] i2c IR (KNC One): unknown key: key=0x03 raw=0x03 down=1 > [  450.288526] i2c IR (

Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

2010-11-26 Thread Richard Zidlicky
On Fri, Nov 26, 2010 at 04:23:49PM -0200, Mauro Carvalho Chehab wrote: > Em 15-11-2010 20:57, Richard Zidlicky escreveu: > What are the keycodes used on your remote? I don't see why not add them to > the > Hauppauge keytable. agree, adding them to the table seems like the

Re: Thoughts about suspending DVB C PCI device transparently

2010-11-20 Thread Richard Zidlicky
Hi, found this old email when searching for suspend issues, seems like a good idea. Just wondering - how many eg dvb drivers are there with working suspend/hibernate (all buses, not just PCI)? Me thinks only a small fraction, the rest will crash unless blacklisted by pm-utils? Would it be wort

BUG: sleeping function called from invalid context at...mm/fault.c:1074

2010-11-18 Thread Richard Zidlicky
Hi, got this pretty confusing BUG, probably triggered by drivers/media/dvb/siano. I had femon & kaffeine running in parallel. In kaffeine output stopped so I did quit kaffeine, unplugged the DVB stick and reconnected: Nov 18 15:00:05 localhost kernel: [116557.045363] usb 5-5: USB disconnect,

Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

2010-11-15 Thread Richard Zidlicky
On Mon, Nov 15, 2010 at 04:59:24PM -0500, Andy Walls wrote: > On Mon, 2010-11-15 at 16:09 +0100, Richard Zidlicky wrote: > > On Mon, Nov 15, 2010 at 07:35:06AM -0500, Andy Walls wrote: > > > On Mon, 2010-11-15 at 12:27 +0100, Richard Zidlicky wrote: > > > > > htt

Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

2010-11-15 Thread Richard Zidlicky
On Mon, Nov 15, 2010 at 07:35:06AM -0500, Andy Walls wrote: > On Mon, 2010-11-15 at 12:27 +0100, Richard Zidlicky wrote: > http://git.linuxtv.org/v4l-utils.git?a=tree;f=utils/keytable;h=e599a8b5288517fc7fe58d96f44f28030b04afbc;hb=HEAD thanks, that should do the trick. In additio

Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

2010-11-15 Thread Richard Zidlicky
On Mon, Nov 15, 2010 at 01:55:00PM +0200, Anca Emanuel wrote: > On Mon, Nov 15, 2010 at 1:27 PM, Richard Zidlicky wrote: > > Hi, > > > What is the way to achieve the effect without recompiling the kernel - is > > there any? > > On Ubuntu kernel list Chao Zhang ask

Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]

2010-11-15 Thread Richard Zidlicky
Hi, for some users (thats at least one user in Italy and me) the following is required: --- linux-2.6.36/drivers/media/dvb/siano/sms-cards.c.rz 2010-11-15 11:16:56.0 +0100 +++ linux-2.6.36/drivers/media/dvb/siano/sms-cards.c2010-11-15 11:54:25.0 +0100 @@ -17,6 +17,9 @@ *

Re: HVR900H : IR Remote Control

2010-11-15 Thread Richard Zidlicky
On Sun, Nov 14, 2010 at 08:22:44PM +0100, Massis Sirapian wrote: > Thanks Stefan. I've checked the /drivers/media/IR/keymaps of the kernel > source directory, but nothing seems to fit my remote, which is a > DSR-0012 : http://lirc.sourceforge.net/remotes/hauppauge/DSR-0112.jpg. FYI, this remo

Re: [PATCH] dvb: siano: free spinlock before schedule()

2010-08-24 Thread Richard Zidlicky
On Tue, Aug 24, 2010 at 09:52:36AM -0300, Mauro Carvalho Chehab wrote: > Em 08-08-2010 13:10, Richard Zidlicky escreveu: > > On Wed, Jul 28, 2010 at 12:24:39AM +0200, Jiri Slaby wrote: > > > > sorry for seeing this so late, was flooded with email lately. > > > &

Re: [PATCH] dvb: siano: free spinlock before schedule()

2010-08-08 Thread Richard Zidlicky
On Wed, Jul 28, 2010 at 12:24:39AM +0200, Jiri Slaby wrote: sorry for seeing this so late, was flooded with email lately. > There is a better fix (which fixes the potential NULL dereference): > http://lkml.org/lkml/2010/6/7/175 > Richard, could you address the comments there and resend? I am ru

Re: [PATCH 3/6] V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick

2010-08-04 Thread Richard Zidlicky
Hi, not much success.. no key events appear in userspace, not sure if the hardware receives anything. Tried both 4 and 9 ports which does not seem to make any difference. lshal does list the IR port, as it did with the siano specific code. Could be my fault, I have cherrypicked patches and appl

Re: [PATCH 3/6] V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick

2010-08-03 Thread Richard Zidlicky
On Tue, Aug 03, 2010 at 10:32:15AM -0300, Mauro Carvalho Chehab wrote: > The model number is on a label at the back of the stick (at least, mine have > it). ah.. I was wondering whichever magical tool you are using. So here is my number: 55009 LF Rev A1F7 > Btw, you don't need to use lirc if a

Re: [PATCH 3/6] V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick

2010-08-03 Thread Richard Zidlicky
Hi, > Em 02-08-2010 04:27, Richard Zidlicky escreveu: > > On Sun, Aug 01, 2010 at 05:17:18PM -0300, Mauro Carvalho Chehab wrote: > >> Add the proper gpio port for WinTV MiniStick, with the information provided > >> by Michael. > >> > >> Thanks-

Re: [PATCH 3/6] V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick

2010-08-02 Thread Richard Zidlicky
On Sun, Aug 01, 2010 at 05:17:18PM -0300, Mauro Carvalho Chehab wrote: > Add the proper gpio port for WinTV MiniStick, with the information provided > by Michael. > > Thanks-to: Michael Krufky > Signed-off-by: Mauro Carvalho Chehab > > diff --git a/drivers/media/dvb/siano/sms-cards.c > b/drive

Re: Trouble getting DVB-T working with Portuguese transmissions

2010-06-19 Thread Richard Zidlicky
On Fri, Jun 18, 2010 at 02:28:38PM +0100, Pedro Côrte-Real wrote: > On Thu, Jun 17, 2010 at 9:00 PM, Richard Zidlicky wrote: > > berr is supposed to be the bit error rate. The values displayed here appear > > to be > > bogus - then again I am not familiar with this parti

Re: Trouble getting DVB-T working with Portuguese transmissions

2010-06-17 Thread Richard Zidlicky
On Thu, Jun 17, 2010 at 10:03:16AM +0100, Pedro Côrte-Real wrote: > On Wed, Jun 16, 2010 at 9:57 PM, Richard Zidlicky wrote: > > On Wed, Jun 16, 2010 at 11:43:09AM +0100, Pedro Côrte-Real wrote: > > > >> status  C Y  | signal  66% | snr   0% | ber 2097151 | unc 0 | > &

Re: Trouble getting DVB-T working with Portuguese transmissions

2010-06-16 Thread Richard Zidlicky
On Wed, Jun 16, 2010 at 11:43:09AM +0100, Pedro Côrte-Real wrote: > status C Y | signal 66% | snr 0% | ber 2097151 | unc 0 | > status SC YL | signal 65% | snr 0% | ber 2097151 | unc 0 | FE_HAS_LOCK > status SC YL | signal 65% | snr 0% | ber 2097151 | unc 0 | FE_HAS_LOCK > status SC YL |

[PATCH] support for Hauppauge WinTV MiniStic IR remote

2010-06-15 Thread Richard Zidlicky
Hi, I have guessed which gpio line to use and activated the ir-remote receiver. The keymap seems to work fairly well with the supplied DSR-0112 remote, mostly tested it with xev as I do not have a working lircd on this computer. The patch is against 2.6.34. Richard Jun 15 16:46:27 localhost ker

Re: [PATCH 2.6.34] schedule inside spin_lock_irqsave

2010-06-07 Thread Richard Zidlicky
On Sun, Jun 06, 2010 at 07:51:56PM +0200, Jiri Slaby wrote: > On 06/06/2010 02:43 PM, Richard Zidlicky wrote: > > Hi, > > > > I have done a minimaly invasive patch for the stable 2.6.34 kernel and > > stress-tested > > it for many hours, definitely seems to

[PATCH 2.6.34] schedule inside spin_lock_irqsave

2010-06-06 Thread Richard Zidlicky
Hi, I have done a minimaly invasive patch for the stable 2.6.34 kernel and stress-tested it for many hours, definitely seems to improve the behaviour. I have left out your beautification suggestion for now, want to do more playing with other aspects of the driver. There still seem to be issues

Re: schedule inside spin_lock_irqsave?

2010-06-01 Thread Richard Zidlicky
On Sun, May 30, 2010 at 05:24:38PM +0200, Jiri Slaby wrote: Hi, > > came across following snippet of code > > (2.6.34:drivers/media/dvb/siano/smscoreapi.c) and ... ... ... > This should be > wait_event(&coredev->buffer_mng_waitq, cb = get_entry()); > with get_entry like: > struct smscore_buff

remote control for idVendor=2040, idProduct=5500 Siano MDTV

2010-04-09 Thread Richard Zidlicky
Hi, I am using this stick with a 2.6.33.2 kernel kernel.org) and kaffeine. Works nicely so far but the infrared remote does not work. I am quite happy to apply pacthes or experimental dirvers - are there any? Is there any documentation that woud allow me to write the code? Apr 8 15:05:23 loca