* [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues @ 2008-07-01 14:17 Alistair M 2008-07-02 8:02 ` Antti Palosaari 0 siblings, 1 reply; 13+ messages in thread From: Alistair M @ 2008-07-01 14:17 UTC (permalink / raw) To: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 5435 bytes --] Hi, I finally got the usb Leadtek DTV dongle gold tuner working using the below method. The tuner works fine with kaffeine and mythtv, but no luck with the remote (Y04G0044). 1) hg clone http://linuxtv.org/hg/~anttip/af9015-mxl500x # to get the driver working then make, make install 2) copied firmware from http://www.otit.fi/~crope/v4l-dvb/af9015/af9015_firmware_cutter/firmware_files/4.95.0/ to /lib/firmware/ - cat /proc/bus/input/devices produces the following: I: Bus=0003 Vendor=0413 Product=6029 Version=0101 N: Name="Leadtek WinFast DTV Dongle Gold" P: Phys=usb-0000:00:1d.7-1/input1 S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.1/input/input12 U: Uniq= H: Handlers=kbd event11 B: EV=120013 B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=7 When I try 'cat /dev/input/event11' and press the remote buttons nothing works :( /var/log/messages has the following in relation to the tuner. Please help, i've tried several sites, but nothing seems to help. I'm assuming i need to get something out of event11 first, before i even try play with lirc. Thank you in advance. Alistair [ 111.337644] usb 5-1: new high speed USB device using ehci_hcd and address 3 [ 111.378224] usb 5-1: configuration #1 chosen from 1 choice [ 111.805274] usbcore: registered new interface driver hiddev [ 111.809628] input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.1/input/input11 [ 111.829183] input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:1d.7-1 [ 111.829225] usbcore: registered new interface driver usbhid [ 111.829234] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver [ 111.865039] af9015_usb_probe: interface:0 [ 111.865699] af9015_identify_state: reply:01 [ 111.865708] dvb-usb: found a 'Leadtek WinFast DTV Dongle Gold' in cold state, will try to load a firmware [ 111.878222] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw' [ 111.878232] af9015_download_firmware: [ 111.917252] usbcore: registered new interface driver dvb_usb_af9015 [ 111.917941] usb 5-1: USB disconnect, address 3 [ 111.924888] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected. [ 56.173008] usb 5-1: new high speed USB device using ehci_hcd and address 4 [ 112.404488] usb 5-1: configuration #1 chosen from 1 choice [ 112.404938] af9015_usb_probe: interface:0 [ 112.405283] af9015_identify_state: reply:02 [ 112.405292] dvb-usb: found a 'Leadtek WinFast DTV Dongle Gold' in warm state. [ 112.405379] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 112.406556] DVB: registering new adapter (Leadtek WinFast DTV Dongle Gold) [ 112.407103] af9015_eeprom_dump: [ 112.447578] 00: 31 c2 bb 0b 00 00 00 00 13 04 29 60 00 02 01 02 [ 112.472211] 10: 00 80 00 fa fa 10 40 ef 01 30 31 30 31 30 32 30 [ 56.257034] 20: 35 30 35 30 30 30 30 31 ff ff ff ff ff ff ff ff [ 56.281646] 30: 00 00 3a 01 00 08 02 00 cc 10 00 00 9c ff ff ff [ 56.320001] 40: ff ff ff ff ff 08 02 00 1d 8d c4 04 82 ff ff ff [ 56.350569] 50: ff ff ff ff ff 26 00 00 04 03 09 04 10 03 4c 00 [ 56.389906] 60: 65 00 61 00 64 00 74 00 65 00 6b 00 30 03 57 00 [ 56.430313] 70: 69 00 6e 00 46 00 61 00 73 00 74 00 20 00 44 00 [ 56.455303] 80: 54 00 56 00 20 00 44 00 6f 00 6e 00 67 00 6c 00 [ 56.477328] 90: 65 00 20 00 47 00 6f 00 6c 00 64 00 20 03 30 00 [ 56.490585] a0: 31 00 30 00 31 00 30 00 31 00 30 00 31 00 30 00 [ 56.508418] b0: 36 00 30 00 30 00 30 00 30 00 31 00 00 ff ff ff [ 56.521888] c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 113.067764] d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 113.081804] e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 113.095822] f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 113.096818] af9015_read_config: TS mode:0 [ 113.097794] af9015_read_config: xtal:2 set adc_clock:28000 [ 113.099705] af9015_read_config: IF1:4300 [ 113.101596] af9015_read_config: MT2060 IF1:0 [ 113.102558] af9015_read_config: tuner id1:156 [ 113.103571] af9015_read_config: spectral inversion:0 [ 113.200193] af9013: firmware version:4.95.0 [ 113.203394] DVB: registering frontend 0 (Afatech AF9013 DVB-T)... [ 113.203466] af9015_tuner_attach: [ 56.671627] tda18271 0-00c0: creating new instance [ 56.673893] TDA18271HD/C1 detected @ 0-00c0 [ 113.501809] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 113.502800] DVB: registering new adapter (Leadtek WinFast DTV Dongle Gold) [ 113.503400] dvb-usb: no frontend was attached by 'Leadtek WinFast DTV Dongle Gold' [ 113.503411] dvb-usb: Leadtek WinFast DTV Dongle Gold successfully initialized and connected. [ 113.503419] af9015_init: [ 113.503423] af9015_init_endpoint: USB speed:3 [ 113.522752] af9015_download_ir_table: [ 56.860889] input: Leadtek WinFast DTV Dongle Gold as /devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.1/input/input12 [ 56.889700] input,hidraw0: USB HID v1.01 Keyboard [Leadtek WinFast DTV Dongle Gold] on usb-0000:00:1d.7-1 _________________________________________________________________ Be part of history. Take part in Australia's first e-mail archive with Email Australia. http://emailaustralia.ninemsn.com.au [-- Attachment #1.2: Type: text/html, Size: 6421 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-01 14:17 [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues Alistair M @ 2008-07-02 8:02 ` Antti Palosaari 2008-07-03 4:47 ` Alistair M 0 siblings, 1 reply; 13+ messages in thread From: Antti Palosaari @ 2008-07-02 8:02 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb Alistair M wrote: > I finally got the usb Leadtek DTV dongle gold tuner working using the > below method. The tuner works fine with kaffeine and mythtv, but no luck > with the remote (Y04G0044). I can add support for remote if you can take some usb-sniffs. Start sniffer and plug stick. Windows driver loads remote keymaps when stick is plugged, no need to tune. http://benoit.papillault.free.fr/usbsnoop/ regards Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-02 8:02 ` Antti Palosaari @ 2008-07-03 4:47 ` Alistair M 2008-07-03 11:11 ` Antti Palosaari 0 siblings, 1 reply; 13+ messages in thread From: Alistair M @ 2008-07-03 4:47 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 1133 bytes --] Hello Antii, I've attached the usb snoop. I hope I did it correctly. Thank you so much for this. Regards, Alistair. > Date: Wed, 2 Jul 2008 11:02:31 +0300 > From: crope@iki.fi > To: tlli@hotmail.com > CC: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > Alistair M wrote: > > I finally got the usb Leadtek DTV dongle gold tuner working using the > > below method. The tuner works fine with kaffeine and mythtv, but no luck > > with the remote (Y04G0044). > > I can add support for remote if you can take some usb-sniffs. Start > sniffer and plug stick. Windows driver loads remote keymaps when stick > is plugged, no need to tune. > http://benoit.papillault.free.fr/usbsnoop/ > > regards > Antti > -- > http://palosaari.fi/ _________________________________________________________________ Your Future Starts Here. Dream it? Then be it! Find it at www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Ahet%3Ask%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_Future&_m=EXT [-- Attachment #1.2: Type: text/html, Size: 1481 bytes --] [-- Attachment #2: usbsnoopDTVGold.zip --] [-- Type: application/zip, Size: 54049 bytes --] [-- Attachment #3: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 4:47 ` Alistair M @ 2008-07-03 11:11 ` Antti Palosaari 2008-07-03 12:41 ` Alistair M 0 siblings, 1 reply; 13+ messages in thread From: Antti Palosaari @ 2008-07-03 11:11 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb Alistair M wrote: > Hello Antii, > > I've attached the usb snoop. I hope I did it correctly. It was correct :) I added IR-code table to the driver. Now we should find correct keys for those codes. 1) install driver from http://linuxtv.org/hg/~anttip/af9015-new/ (make & make install; make rmmod; tail -100f /var/log/messages) 2) it should print remote codes to the message log when you press remote keys. Write down which key gives which code. Here is example what it should output to the message-log when key is pressed; af9015_rc_query: 00 00 1e 00 00 00 00 00 af9015_rc_query: 00 00 1f 00 00 00 00 00 af9015_rc_query: 00 00 20 00 00 00 00 00 af9015_rc_query: 00 00 21 00 00 00 00 00 report like: number 1 = af9015_rc_query: 00 00 1f 00 00 00 00 00 channel up = af9015_rc_query: 00 00 1f 00 00 00 00 00 volume down = af9015_rc_query: 00 00 20 00 00 00 00 00 > Thank you so much for this. > > Regards, > Alistair. regards Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 11:11 ` Antti Palosaari @ 2008-07-03 12:41 ` Alistair M 2008-07-03 13:09 ` Antti Palosaari 0 siblings, 1 reply; 13+ messages in thread From: Alistair M @ 2008-07-03 12:41 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 2853 bytes --] Hi Antii, Thanks for that, it worked. When I press the numbers (0-9), it will repeat on the screen (with the key code appearing in the messages file). Is that expected? Here are the codes: number 0 = af9015_rc_query: 00 00 27 00 00 00 00 00 number 1 = af9015_rc_query: 00 00 1e 00 00 00 00 00 number 2 = af9015_rc_query: 00 00 1f 00 00 00 00 00 number 3 = af9015_rc_query: 00 00 20 00 00 00 00 00 number 4 = af9015_rc_query: 00 00 21 00 00 00 00 00 number 5 = af9015_rc_query: 00 00 22 00 00 00 00 00 number 6 = af9015_rc_query: 00 00 23 00 00 00 00 00 number 7 = af9015_rc_query: 00 00 24 00 00 00 00 00 number 8 = af9015_rc_query: 00 00 25 00 00 00 00 00 number 9 = af9015_rc_query: 00 00 26 00 00 00 00 00 channel up = af9015_rc_query: 00 00 52 00 00 00 00 00 channel down = af9015_rc_query: 00 00 51 00 00 00 00 00 volume up = af9015_rc_query: 00 00 4f 00 00 00 00 00 volume down = af9015_rc_query: 00 00 50 00 00 00 00 00 Enter key = af9015_rc_query: 00 00 28 00 00 00 00 00 For some reason the last key i press on the remote will repeat on screen after i have pressed it. For example, i just hit the enter key on the remote, now in this email if i hit enter it repeats on screen. Strange... OK hope this helps. Thanks Antii. Alistair > Date: Thu, 3 Jul 2008 14:11:14 +0300 > From: crope@iki.fi > To: tlli@hotmail.com > CC: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > Alistair M wrote: > > Hello Antii, > > > > I've attached the usb snoop. I hope I did it correctly. > > It was correct :) > > I added IR-code table to the driver. Now we should find correct keys for > those codes. > 1) install driver from http://linuxtv.org/hg/~anttip/af9015-new/ (make & > make install; make rmmod; tail -100f /var/log/messages) > 2) it should print remote codes to the message log when you press remote > keys. Write down which key gives which code. > > Here is example what it should output to the message-log when key is > pressed; > af9015_rc_query: 00 00 1e 00 00 00 00 00 > af9015_rc_query: 00 00 1f 00 00 00 00 00 > af9015_rc_query: 00 00 20 00 00 00 00 00 > af9015_rc_query: 00 00 21 00 00 00 00 00 > > report like: > number 1 = af9015_rc_query: 00 00 1f 00 00 00 00 00 > channel up = af9015_rc_query: 00 00 1f 00 00 00 00 00 > volume down = af9015_rc_query: 00 00 20 00 00 00 00 00 > > > Thank you so much for this. > > > > Regards, > > Alistair. > > regards > Antti > > -- > http://palosaari.fi/ _________________________________________________________________ Overpaid or Underpaid? Check our comprehensive Salary Centre http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcontent%2Emycareer%2Ecom%2Eau%2Fsalary%2Dcentre%3Fs%5Fcid%3D595810&_t=766724125&_r=Hotmail_Email_Tagline_MyCareer_Oct07&_m=EXT [-- Attachment #1.2: Type: text/html, Size: 3302 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 12:41 ` Alistair M @ 2008-07-03 13:09 ` Antti Palosaari 2008-07-03 13:58 ` Alistair M 0 siblings, 1 reply; 13+ messages in thread From: Antti Palosaari @ 2008-07-03 13:09 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb Alistair M wrote: > Hi Antii, > > Thanks for that, it worked. When I press the numbers (0-9), it will > repeat on the screen (with the key code appearing in the messages file). > Is that expected? > > Here are the codes: > number 0 = af9015_rc_query: 00 00 27 00 00 00 00 00 > number 1 = af9015_rc_query: 00 00 1e 00 00 00 00 00 > number 2 = af9015_rc_query: 00 00 1f 00 00 00 00 00 > number 3 = af9015_rc_query: 00 00 20 00 00 00 00 00 > number 4 = af9015_rc_query: 00 00 21 00 00 00 00 00 > number 5 = af9015_rc_query: 00 00 22 00 00 00 00 00 > number 6 = af9015_rc_query: 00 00 23 00 00 00 00 00 > number 7 = af9015_rc_query: 00 00 24 00 00 00 00 00 > number 8 = af9015_rc_query: 00 00 25 00 00 00 00 00 > number 9 = af9015_rc_query: 00 00 26 00 00 00 00 00 > channel up = af9015_rc_query: 00 00 52 00 00 00 00 00 > channel down = af9015_rc_query: 00 00 51 00 00 00 00 00 > volume up = af9015_rc_query: 00 00 4f 00 00 00 00 00 > volume down = af9015_rc_query: 00 00 50 00 00 00 00 00 > Enter key = af9015_rc_query: 00 00 28 00 00 00 00 00 Key codes are now mapped to the key events. Please test. > For some reason the last key i press on the remote will repeat on screen > after i have pressed it. For example, i just hit the enter key on the > remote, now in this email if i hit enter it repeats on screen. Strange... Did not understand fully what you mean. All keys are repeating until next key is pressed? > OK hope this helps. > Thanks Antii. > Alistair Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 13:09 ` Antti Palosaari @ 2008-07-03 13:58 ` Alistair M 2008-07-03 14:04 ` Antti Palosaari 0 siblings, 1 reply; 13+ messages in thread From: Alistair M @ 2008-07-03 13:58 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 2792 bytes --] Hello Antii, I have compiled in your latest build. What seems to be happening is, in the terminal or even a text editor, when i press any button on the remote control, that character (eg. 0) will be repeated as text on the terminal or text editor. So if i for instance press the key 0 on the remote, while i have a text editor open, it enters the number 0 continuously, like this: 000000000000000000000000000000... in the editor, or terminal window, or any text input field. Does that make sense... Its past midnight here in Australia so i have to get to bed as i have to work tomorrow, i'll email back in the morning. Thank you Antii. Alistair. > Date: Thu, 3 Jul 2008 16:09:50 +0300 > From: crope@iki.fi > To: tlli@hotmail.com > CC: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > Alistair M wrote: > > Hi Antii, > > > > Thanks for that, it worked. When I press the numbers (0-9), it will > > repeat on the screen (with the key code appearing in the messages file). > > Is that expected? > > > > Here are the codes: > > number 0 = af9015_rc_query: 00 00 27 00 00 00 00 00 > > number 1 = af9015_rc_query: 00 00 1e 00 00 00 00 00 > > number 2 = af9015_rc_query: 00 00 1f 00 00 00 00 00 > > number 3 = af9015_rc_query: 00 00 20 00 00 00 00 00 > > number 4 = af9015_rc_query: 00 00 21 00 00 00 00 00 > > number 5 = af9015_rc_query: 00 00 22 00 00 00 00 00 > > number 6 = af9015_rc_query: 00 00 23 00 00 00 00 00 > > number 7 = af9015_rc_query: 00 00 24 00 00 00 00 00 > > number 8 = af9015_rc_query: 00 00 25 00 00 00 00 00 > > number 9 = af9015_rc_query: 00 00 26 00 00 00 00 00 > > channel up = af9015_rc_query: 00 00 52 00 00 00 00 00 > > channel down = af9015_rc_query: 00 00 51 00 00 00 00 00 > > volume up = af9015_rc_query: 00 00 4f 00 00 00 00 00 > > volume down = af9015_rc_query: 00 00 50 00 00 00 00 00 > > Enter key = af9015_rc_query: 00 00 28 00 00 00 00 00 > > Key codes are now mapped to the key events. Please test. > > > For some reason the last key i press on the remote will repeat on screen > > after i have pressed it. For example, i just hit the enter key on the > > remote, now in this email if i hit enter it repeats on screen. Strange... > > Did not understand fully what you mean. All keys are repeating until > next key is pressed? > > > OK hope this helps. > > Thanks Antii. > > Alistair > > Antti > > -- > http://palosaari.fi/ _________________________________________________________________ Overpaid or Underpaid? Check our comprehensive Salary Centre http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fcontent%2Emycareer%2Ecom%2Eau%2Fsalary%2Dcentre%3Fs%5Fcid%3D595810&_t=766724125&_r=Hotmail_Email_Tagline_MyCareer_Oct07&_m=EXT [-- Attachment #1.2: Type: text/html, Size: 3295 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 13:58 ` Alistair M @ 2008-07-03 14:04 ` Antti Palosaari 2008-07-03 14:06 ` Alistair M 0 siblings, 1 reply; 13+ messages in thread From: Antti Palosaari @ 2008-07-03 14:04 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb Alistair M wrote: > Hello Antii, > I have compiled in your latest build. > > What seems to be happening is, in the terminal or even a text editor, > when i press any button on the remote control, that character (eg. 0) > will be repeated as text on the terminal or text editor. So if i for > instance press the key 0 on the remote, while i have a text editor open, > it enters the number 0 continuously, like this: > 000000000000000000000000000000... in the editor, or terminal window, or > any text input field. hmm, I think I know the reason. Actually this is due to hardware bug. I think I have older silicon revision that returns error code when polling remote events and there is no event. You have a newer silicon that does not return error any more. Current remote polling code in the driver relies that error code. I will fix that soon, it is easy to fix. > Does that make sense... > Its past midnight here in Australia so i have to get to bed as i have to > work tomorrow, i'll email back in the morning. > Thank you Antii. > Alistair. regards Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 14:04 ` Antti Palosaari @ 2008-07-03 14:06 ` Alistair M 2008-07-03 14:58 ` Antti Palosaari 0 siblings, 1 reply; 13+ messages in thread From: Alistair M @ 2008-07-03 14:06 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --] Ah great news...! > Date: Thu, 3 Jul 2008 17:04:18 +0300 > From: crope@iki.fi > To: tlli@hotmail.com > CC: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > Alistair M wrote: > > Hello Antii, > > I have compiled in your latest build. > > > > What seems to be happening is, in the terminal or even a text editor, > > when i press any button on the remote control, that character (eg. 0) > > will be repeated as text on the terminal or text editor. So if i for > > instance press the key 0 on the remote, while i have a text editor open, > > it enters the number 0 continuously, like this: > > 000000000000000000000000000000... in the editor, or terminal window, or > > any text input field. > > hmm, I think I know the reason. Actually this is due to hardware bug. I > think I have older silicon revision that returns error code when polling > remote events and there is no event. You have a newer silicon that does > not return error any more. Current remote polling code in the driver > relies that error code. I will fix that soon, it is easy to fix. > > > Does that make sense... > > Its past midnight here in Australia so i have to get to bed as i have to > > work tomorrow, i'll email back in the morning. > > Thank you Antii. > > Alistair. > > regards > Antti > -- > http://palosaari.fi/ _________________________________________________________________ It's simple! Sell your car for just $30 at CarPoint.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT [-- Attachment #1.2: Type: text/html, Size: 2067 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 14:06 ` Alistair M @ 2008-07-03 14:58 ` Antti Palosaari 2008-07-03 21:50 ` Alistair M 0 siblings, 1 reply; 13+ messages in thread From: Antti Palosaari @ 2008-07-03 14:58 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb should be fixed now! regards Antti Alistair M wrote: > Ah great news...! > > > Date: Thu, 3 Jul 2008 17:04:18 +0300 > > From: crope@iki.fi > > To: tlli@hotmail.com > > CC: linux-dvb@linuxtv.org > > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > > > Alistair M wrote: > > > Hello Antii, > > > I have compiled in your latest build. > > > > > > What seems to be happening is, in the terminal or even a text editor, > > > when i press any button on the remote control, that character (eg. 0) > > > will be repeated as text on the terminal or text editor. So if i for > > > instance press the key 0 on the remote, while i have a text editor > open, > > > it enters the number 0 continuously, like this: > > > 000000000000000000000000000000... in the editor, or terminal > window, or > > > any text input field. > > > > hmm, I think I know the reason. Actually this is due to hardware bug. I > > think I have older silicon revision that returns error code when polling > > remote events and there is no event. You have a newer silicon that does > > not return error any more. Current remote polling code in the driver > > relies that error code. I will fix that soon, it is easy to fix. > > > > > Does that make sense... > > > Its past midnight here in Australia so i have to get to bed as i > have to > > > work tomorrow, i'll email back in the morning. > > > Thank you Antii. > > > Alistair. > > > > regards > > Antti > > -- > > http://palosaari.fi/ > > ------------------------------------------------------------------------ > Find a new job on Seek Increase your salary. > <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Amtl%3Ask%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=JAN08_endtext_increase&_m=EXT> > > > ------------------------------------------------------------------------ > > _______________________________________________ > linux-dvb mailing list > linux-dvb@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 14:58 ` Antti Palosaari @ 2008-07-03 21:50 ` Alistair M 2008-07-03 22:46 ` Antti Palosaari [not found] ` <486D589E.8040003@iki.fi> 0 siblings, 2 replies; 13+ messages in thread From: Alistair M @ 2008-07-03 21:50 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 3469 bytes --] 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. Thanks Antii, Alistair > Date: Thu, 3 Jul 2008 17:58:25 +0300 > From: crope@iki.fi > To: tlli@hotmail.com > CC: linux-dvb@linuxtv.org > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > should be fixed now! > > regards > Antti > > Alistair M wrote: > > Ah great news...! > > > > > Date: Thu, 3 Jul 2008 17:04:18 +0300 > > > From: crope@iki.fi > > > To: tlli@hotmail.com > > > CC: linux-dvb@linuxtv.org > > > Subject: Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues > > > > > > Alistair M wrote: > > > > Hello Antii, > > > > I have compiled in your latest build. > > > > > > > > What seems to be happening is, in the terminal or even a text editor, > > > > when i press any button on the remote control, that character (eg. 0) > > > > will be repeated as text on the terminal or text editor. So if i for > > > > instance press the key 0 on the remote, while i have a text editor > > open, > > > > it enters the number 0 continuously, like this: > > > > 000000000000000000000000000000... in the editor, or terminal > > window, or > > > > any text input field. > > > > > > hmm, I think I know the reason. Actually this is due to hardware bug. I > > > think I have older silicon revision that returns error code when polling > > > remote events and there is no event. You have a newer silicon that does > > > not return error any more. Current remote polling code in the driver > > > relies that error code. I will fix that soon, it is easy to fix. > > > > > > > Does that make sense... > > > > Its past midnight here in Australia so i have to get to bed as i > > have to > > > > work tomorrow, i'll email back in the morning. > > > > Thank you Antii. > > > > Alistair. > > > > > > regards > > > Antti > > > -- > > > http://palosaari.fi/ > > > > ------------------------------------------------------------------------ > > Find a new job on Seek Increase your salary. > > <http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2F%3Ftracking%3Dsk%3Amtl%3Ask%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=JAN08_endtext_increase&_m=EXT> > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > linux-dvb mailing list > > linux-dvb@linuxtv.org > > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > > > -- > http://palosaari.fi/ _________________________________________________________________ What are you waiting for? Join Lavalife FREE http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D30288&_t=764581033&_r=email_taglines_Join_free_OCT07&_m=EXT [-- Attachment #1.2: Type: text/html, Size: 4323 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues 2008-07-03 21:50 ` Alistair M @ 2008-07-03 22:46 ` Antti Palosaari [not found] ` <486D589E.8040003@iki.fi> 1 sibling, 0 replies; 13+ messages in thread From: Antti Palosaari @ 2008-07-03 22:46 UTC (permalink / raw) To: Alistair M; +Cc: linux-dvb 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 that's ok > 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. Don't know what's wrong. I will think that more in day or two or tree... > > Thanks Antii, > Alistair regards Antti -- http://palosaari.fi/ _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <486D589E.8040003@iki.fi>]
[parent not found: <BAY136-W10D7872483244330850C1DD29B0@phx.gbl>]
[parent not found: <486E5DC2.8050908@iki.fi>]
[parent not found: <BAY136-W16A2EDA6CD976613C7CCCBD29B0@phx.gbl>]
[parent not found: <486E878D.4060806@iki.fi>]
* Re: [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues [not found] ` <486E878D.4060806@iki.fi> @ 2008-07-13 2:33 ` Alistair M 0 siblings, 0 replies; 13+ messages in thread From: Alistair M @ 2008-07-13 2:33 UTC (permalink / raw) To: Antti Palosaari; +Cc: linux-dvb [-- Attachment #1.1: Type: text/plain, Size: 7433 bytes --] 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@iki.fi > To: tlli@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@iki.fi > > > To: tlli@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@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@LinuxLaptop:~# > > > > > > > > Antii do you think it has something to do with this: > > > > root@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@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@iki.fi > > > > > To: tlli@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 [-- Attachment #1.2: Type: text/html, Size: 9651 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ linux-dvb mailing list linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-07-13 2:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 14:17 [linux-dvb] Leadtek WinFast DTV Dongle Gold Remote issues Alistair M
2008-07-02 8:02 ` Antti Palosaari
2008-07-03 4:47 ` Alistair M
2008-07-03 11:11 ` Antti Palosaari
2008-07-03 12:41 ` Alistair M
2008-07-03 13:09 ` Antti Palosaari
2008-07-03 13:58 ` Alistair M
2008-07-03 14:04 ` Antti Palosaari
2008-07-03 14:06 ` Alistair M
2008-07-03 14:58 ` Antti Palosaari
2008-07-03 21:50 ` Alistair M
2008-07-03 22:46 ` Antti Palosaari
[not found] ` <486D589E.8040003@iki.fi>
[not found] ` <BAY136-W10D7872483244330850C1DD29B0@phx.gbl>
[not found] ` <486E5DC2.8050908@iki.fi>
[not found] ` <BAY136-W16A2EDA6CD976613C7CCCBD29B0@phx.gbl>
[not found] ` <486E878D.4060806@iki.fi>
2008-07-13 2:33 ` Alistair M
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox