Re: random "no frontend was attached"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux