LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-25-2011, 06:02 PM   #1
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
How to add parameters to module and TVtime?


Just installed squeeze from previous Lenny and am having problems.

With Lenny, for the tv card, needed: the modudule saa7134 card=54 tuner=78, i.e. had to give it the card= tuner= stuff - it could not autodetect that bit. Squeeze appears the same:
Code:
[    5.055340] saa7133[0]: subsystem: 17de:7253, board: UNKNOWN/GENERIC [card=0,autodetected]
So, question, how do I give it the module options? - the problem is 'modconf' will not unload the saa7134 module because it says it is in use, even though the TV is not being used. And # modprobe saa7134 card=54 tuner=78 does not appear to do anything - it does not say anything but nothing shows on dmesg.

Here is how tvtime, a fairly fool proof tv player, behaves:
Code:
root@fido:/home/lugo# tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
Thank you for using tvtime.

<above is the message when I ran tvtime as root.  Tvtime worked but was in black and white, no colour.>

root@fido:/home/lugo# exit
lugo@fido:~$ tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/eric/.tvtime/tvtime.xml
mixer: Can't open device /dev/mixer, mixer volume and mute unavailable.
xvoutput: Received X error: BadValue (integer parameter out of range for operation)
Thank you for using tvtime.
Second message above is when I ran tvtime as ordinary user. Tvtime did not work at all, unlike running it as root.

Just assuming the module parameters thing is the problem. Great thanks any help.
 
Old 01-25-2011, 09:01 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
IIRC, the following should ensure the module is loaded with the desired options.
Code:
echo "options saa7134 card=54 tuner=78" >> /etc/modprobe.d/local.conf
For details:
Code:
man modprobe.conf
Cheers,

Evo2.
 
1 members found this post helpful.
Old 01-25-2011, 11:08 PM   #3
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215

Original Poster
Blog Entries: 2

Rep: Reputation: 49
****

Last edited by lugoteehalt; 01-25-2011 at 11:22 PM. Reason: mistake
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modprobe - how to add a module with parameters The_JinJ Linux - Newbie 3 10-02-2007 03:32 PM
checking available module parameters sensovision Linux - Newbie 2 10-28-2004 04:29 AM
no parameters for dmfe module skippuff54 Linux - Software 0 05-12-2004 11:45 PM
no parameters for dmfe module skippuff54 Linux - Hardware 0 05-12-2004 02:17 AM
initrd - module parameters diamondT Linux - General 0 09-03-2003 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration