All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas schorpp <thomas.schorpp@googlemail.com>
To: Tomasz Chmielewski <mangoo@wpkg.org>
Cc: linux-dvb <linux-dvb@linuxtv.org>
Subject: Re: [linux-dvb] random "no frontend was attached"
Date: Sat, 10 Jan 2009 18:37:04 +0100	[thread overview]
Message-ID: <4968DCC0.4060500@gmail.com> (raw)
In-Reply-To: <49688C25.8060601@gmail.com>

thomas schorpp schrieb:
> Tomasz Chmielewski schrieb:
>> thomas schorpp schrieb:
>>
>>>>> Did it work for you properly with earlier kernels?
>>>> I noticed that after I do (without device unplugging/replugging):
>>>>
>>>> # rmmod dvb_usb_dibusb_mc dvb_usb_dibusb_common dib3000mc 
>>>> dibx000_common ehci_hcd
>>>>
>>>> # modprobe -a dvb_usb_dibusb_mc dvb_usb_dibusb_common dib3000mc 
>>>> dibx000_common ehci_hcd
>>>>
>>>>
>>>> it is detected properly _always_.
>>>>
>>>> ?
>>>>
>>>
>>> no.
>>
>> With what earlier kernels does it for you?
> 
> irrelevant.
> 

> tom1:~# tom1:~# tom1:~#
> thanks for pointing the right direction.
> try this if it works for cold and warm boot (machine/device), too:
> 
> tom1:~# grep hcd /etc/modprobe.d/dvb
> install ehci-hcd /sbin/modprobe dvb_usb_dibusb_mc; /sbin/modprobe 

no.
needed this to get it work after linux cold boot:

tom1:~# cat /etc/modprobe.d/usb
install uhci-hcd /sbin/modprobe ehci-hcd; /sbin/modprobe --ignore-install uhci-hcd

tom1:~# cat /etc/modprobe.d/dvb
...
install dvb_usb_dibusb_mc /sbin/modprobe --ignore-install dvb_usb_dibusb_mc; \
/sbin/modprobe -r dvb_usb_dibusb_mc ehci_hcd; \
/sbin/modprobe -a --ignore-install dvb_usb_dibusb_mc ehci_hcd
# runvdr

but second is ignored by udev and/or modprobe at bootup for some reason, 

tom1:~# dmesg |grep frontend
DVB: registering adapter 0 frontend 0 (Philips TDA10021 DVB-C)...
DVB: registering adapter 1 frontend 0 (VLSI VES1820 DVB-C)...
dvb-usb: no frontend was attached by 'LITE-ON USB2.0 DVB-T Tuner'
dvb-usb: no frontend was attached by 'LITE-ON USB2.0 DVB-T Tuner'
DVB: registering adapter 2 frontend 0 (DiBcom 3000MC/P)...

so I need 

tom1:~# diff -U3 /usr/sbin/runvdr.dist /usr/sbin/runvdr
--- /usr/sbin/runvdr.dist	2008-10-02 00:22:53.000000000 +0200
+++ /usr/sbin/runvdr	2009-01-10 17:52:28.000000000 +0100
@@ -73,6 +73,9 @@
 
 [ -z "$MODULES" ] && load_dvb_modules
 
+/sbin/modprobe -r dvb_usb_dibusb_mc mt2060
+/sbin/modprobe dvb_usb_dibusb_mc
+
 while (true) do
 
     set_permissions


Can You pls confirm this, I won't touch the driver code before, maybe usb-h/w dependant.

y
tom

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2009-01-10 17:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06 18:30 [linux-dvb] random "no frontend was attached" Tomasz Chmielewski
2009-01-06 19:44 ` thomas schorpp
2009-01-08 10:40   ` Tomasz Chmielewski
2009-01-10 11:09     ` Tomasz Chmielewski
2009-01-10 11:27       ` thomas schorpp
2009-01-10 11:32         ` Tomasz Chmielewski
2009-01-10 11:53           ` thomas schorpp
2009-01-10 17:37             ` thomas schorpp [this message]
2009-01-12 13:10               ` Tomasz Chmielewski

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=4968DCC0.4060500@gmail.com \
    --to=thomas.schorpp@googlemail.com \
    --cc=linux-dvb@linuxtv.org \
    --cc=mangoo@wpkg.org \
    --cc=thomas.schorpp@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.