public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas <thomas@ic3s.de>
To: Antti Palosaari <crope@iki.fi>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] af9015 problem on fedora rawhide 9.93 with 2.6.27x kernel
Date: Tue, 11 Nov 2008 16:43:41 +0100	[thread overview]
Message-ID: <4919A82D.5060707@ic3s.de> (raw)
In-Reply-To: <4919A1B3.4060304@iki.fi>

Hi Antti,

> I think good place
> to test fix is add some sleep (msleep(100)) before/after RECONNECT_USB
> -command around line 685 in af9015.c file. 

thank you, that helps.

i have added two lines:

	msleep(1000);
        req.cmd = RECONNECT_USB;
	msleep(1000);

maybe some fine tunnig is required :)
but for me it works fine.

Regards

Thomas

Antti Palosaari schrieb:
> hello
> 
> 
> Thomas wrote:
>> Hi List,
>>
>>
>> since fedora use 2.6.27 kernels this
>> is all what happens when i plug in the stick:
>>
>> Nov 11 13:24:56 thomas-lt kernel: usb 2-6: new high speed USB device
>> using ehci_hcd and address 3
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: configuration #1 chosen
>> from 1 choice
>> Nov 11 13:24:57 thomas-lt kernel: Afatech DVB-T 2: Fixing fullspeed to
>> highspeed interval: 16 -> 8
>> Nov 11 13:24:57 thomas-lt kernel: input: Afatech DVB-T 2 as
>> /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.1/input/input9
>> Nov 11 13:24:57 thomas-lt kernel: input,hidraw0: USB HID v1.01
>> Keyboard [Afatech DVB-T 2] on usb-0000:00:1d.7-6
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: New USB device found,
>> idVendor=15a4, idProduct=9016
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: New USB device strings:
>> Mfr=1, Product=2, SerialNumber=3
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: Product: DVB-T 2
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: Manufacturer: Afatech
>> Nov 11 13:24:57 thomas-lt kernel: usb 2-6: SerialNumber: 010101010600001
>> Nov 11 13:24:57 thomas-lt kernel: dvb-usb: found a 'Afatech AF9015
>> DVB-T USB2.0 stick' in cold state, will try to load a firmware
>> Nov 11 13:24:57 thomas-lt kernel: firmware: requesting dvb-usb-af9015.fw
>> Nov 11 13:24:57 thomas-lt kernel: dvb-usb: downloading firmware from
>> file 'dvb-usb-af9015.fw'
>> Nov 11 13:24:57 thomas-lt kernel: usbcore: registered new interface
>> driver dvb_usb_af9015
>>
>>
>> if the stick is connected at boot time everything is working correctly.
>>
>> can someone please give me a hint where to look for the problem?
>>
>> version is af9015-e0e0e4ee5b33
> 
> you are not alone with this problem. It only happens 2.6.27 kernels.
> Looks like it does not reconnect device in the USB-bus as it should. I
> don't have access to 2.6.27 kernel yet, so I cannot examine it more.
> Hopefully there is someone who could fix that soon... I think good place
> to test fix is add some sleep (msleep(100)) before/after RECONNECT_USB
> -command around line 685 in af9015.c file. The other solution could be
> to remove whole RECONNECT_USB (after firmware download) and set
> no_reconnect -flag.
> 
>>
>>
>> Best Regards
>> Thomas
> 
> regards
> Antti

-- 
[:O]###[O:]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-11-11 15:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 12:55 [linux-dvb] af9015 problem on fedora rawhide 9.93 with 2.6.27x kernel Thomas
2008-11-11 15:16 ` Antti Palosaari
2008-11-11 15:43   ` Thomas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-12 10:22 Sebastian Marskamp
2008-11-13 15:40 ` Antti Palosaari
2008-11-13 16:00   ` Jose Alberto Reguero
2008-11-13 16:03     ` Antti Palosaari
2008-11-13 16:34       ` Jose Alberto Reguero
2008-11-13 17:22         ` Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4919A82D.5060707@ic3s.de \
    --to=thomas@ic3s.de \
    --cc=crope@iki.fi \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox