[linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues

Alistair M tlli at hotmail.com
Sun Jul 13 04:33:07 CEST 2008


Hello Antti,

I finally managed to try the driver on another amd machine, and the problem does not exist (ie. the number I press on the remote continuously appearing on the screen).
Now when I press a button on the remote it only appears once on a text edit screen, or terminal, which is good.

I have noticed that when I use the channel up/down button, it doesn't work. Volume up/down does work, and the channel numbers work also. 
Is there anything I can do to map other buttons also if I need?

Thanks Antti.
Alistair.


> Date: Fri, 4 Jul 2008 23:26:53 +0300
> From: crope at iki.fi
> To: tlli at hotmail.com
> Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues
> 
> you should put it like this around line 875 (af9015_properties.rc_query 
> = NULL; )
> 
> 
> 			/* leaves A-Link DTU(m) */
> 			break;
> 		}
> 	}
> 
> 	af9015_properties.rc_query = NULL;
> 
> 	/* TS mode - one or two receivers */
> 	req.addr = AF9015_EEPROM_TS_MODE;
> 	ret = af9015_rw_udev(udev, &req);
> 	if (ret)
> 		goto exit;
> 
> 
> 
> 
> Alistair M wrote:
> > Hi Antii,
> > 
> > I changed line 1295 of file 
> > /var/tmp/af9015-new/linux/drivers/media/dvb/dvb-usb/af9015.c to show:
> > 
> >  .rc_query         = NULL,
> > 
> > and i get the following error when i run make:
> > 
> > /var/tmp/af9015-new/v4l/af9015.c:1295:3: error: invalid preprocessing 
> > directive #.
> > make[3]: *** [/var/tmp/af9015-new/v4l/af9015.o] Error 1
> > make[2]: *** [_module_/var/tmp/af9015-new/v4l] Error 2
> > make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/var/tmp/af9015-new/v4l'
> > make: *** [all] Error 2
> > 
> > Have i got the right file?
> > Thanks Antii,
> > Alistair
> > 
> >  > Date: Fri, 4 Jul 2008 20:28:34 +0300
> >  > From: crope at iki.fi
> >  > To: tlli at hotmail.com
> >  > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues
> >  >
> >  > hello
> >  > It could be due to HID remote implemented by AF9015 chip. Unfortunately
> >  > there seems to be hardware bug which causes that HID remote is not
> >  > working. Due to that remote is implemented by polling remote events by
> >  > the driver. I have one idea more, it could be again that you have never
> >  > silicon revision and it contains fixed HID remote. And something goes
> >  > wrong now because HID and polling remote are used same time.
> >  > Could you disable polling just changing rc_query = NULL in af9015.c to
> >  > see if HID is working. Also driver should output hardware chip and ROM
> >  > version. Your log is not complete enough that I can see those...
> >  >
> >  > Antti
> >  >
> >  > Alistair M wrote:
> >  > > Hi Antii,
> >  > >
> >  > > I didn't get a chance to try the usb stick out on another ubuntu
> >  > > machine. I will try it over the weekend (my 9month old son sleeps in
> >  > > that room with the other PC, i'm on a laptop).
> >  > > Here is what happens in the messages file when I press the 1 key in 
> > the
> >  > > remote:
> >  > > root at LinuxLaptop:~# tail -f /var/log/messages
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.074707] af9015_i2c_xfer:
> >  > > UNLOCK pid:6641 38 38
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.074896] input: IR-receiver
> >  > > inside an USB DVB receiver as
> >  > > /devices/pci0000:00/0000:00:1d.7/usb5/5-1/input/input13
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.082649] dvb-usb: schedule
> >  > > remote query interval to 150 msecs.
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.082661] dvb-usb: Leadtek
> >  > > WinFast DTV Dongle Gold successfully initialized and connected.
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.082668] af9015_init:
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.082673] af9015_init_endpoint:
> >  > > USB speed:3
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.090285] 
> > af9015_download_ir_table:
> >  > > Jul 4 22:59:04 LinuxLaptop kernel: [ 109.200871] usbcore: registered
> >  > > new interface driver dvb_usb_af9015
> >  > > 1Jul 4 23:05:57 LinuxLaptop kernel: [ 291.487198] af9015_rc_query: 00
> >  > > 00 1e 00 00 00 00 00
> >  > > 11111111111111111111111111111111111111111<I hit Ctrl-c here>
> >  > > root at LinuxLaptop:~#
> >  > >
> >  > > Antii do you think it has something to do with this:
> >  > > root at LinuxLaptop:~# dmesg |grep -i keyboard
> >  > > [ 15.966361] input: AT Translated Set 2 keyboard as
> >  > > /devices/platform/i8042/serio0/input/input1
> >  > > [ 108.339466] input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast
> >  > > DTV Dongle Gold] on usb-0000:00:1d.7-1
> >  > > [ 108.537436] input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast
> >  > > DTV Dongle Gold] on usb-0000:00:1d.7-1
> >  > > root at LinuxLaptop:~#
> >  > >
> >  > > I think the USB dongle is being recognised as something related to a
> >  > > keyboard. Is that supposed to happen?
> >  > >
> >  > > Thanks Antii,
> >  > > Alistair.
> >  > >
> >  > >
> >  > >
> >  > > > Date: Fri, 4 Jul 2008 01:54:22 +0300
> >  > > > From: crope at iki.fi
> >  > > > To: tlli at hotmail.com
> >  > > > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote 
> > issues
> >  > > >
> >  > > > Alistair M wrote:
> >  > > > > Hi Antii,
> >  > > > >
> >  > > > > I'm sorry, its still doing it. I'm doing the following:
> >  > > > > # hg clone http://linuxtv.org/hg/~anttip/af9015-new
> >  > > > > # cd af9015-new
> >  > > > > # make
> >  > > > > # make install
> >  > > > > reboot
> >  > > > >
> >  > > > > I then open terminal, with the usb stick plugged in, i hit the
> >  > > number 5
> >  > > > > on the remote, then 5 gets printed on the terminal screen, and is
> >  > > > > repeated continuously, eg. 5555555555555555555555555555.... 
> > until i
> >  > > hit
> >  > > > > another key. If i use the number 5 from the keyboard when i type
> >  > > > > something, it will do the same again,
> >  > > 55555555555555555555555555555555.....
> >  > > > >
> >  > > > > This happens for what ever number i press on the remote, it will
> >  > > then do
> >  > > > > on my laptop keyboard, etc.
> >  > > >
> >  > > > What does the message.log output in this case? This is a little bit
> >  > > > strange situation in all choices I have in my mind..
> >  > > >
> >  > > >
> >  > > > --
> >  > > > http://palosaari.fi/
> >  > >
> >  > > 
> > ------------------------------------------------------------------------
> >  > > Find out: SEEK Salary Centre Are you paid what you're worth?
> >  > > 
> > <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT>
> >  >
> >  >
> >  > --
> >  > http://palosaari.fi/
> > 
> > ------------------------------------------------------------------------
> > Try ninemsn dating now! Meet singles near you. 
> > <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=773166080&_r=WL_TAGLINE&_m=EXT>
> 
> 
> -- 
> http://palosaari.fi/

_________________________________________________________________
Want to help Windows Live Messenger plant more Aussie trees?
http://livelife.ninemsn.com.au/article.aspx?id=443698
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20080713/cea30ae9/attachment-0001.htm 


More information about the linux-dvb mailing list