Ubuntu 6.10 HowTo
Moderator: Venky
-
LightScape66
- Posts: 1
- Joined: Sun Nov 26, 2006 9:29 am
Ubuntu 6.10 HowTo
Hello,
does anyone have an Ubuntu 6.10 HowTo for iMON Soundgraph?
I tried to compile the several sources, but nothing works. I got so many errors I can't report them all. I suppose, I followed all prerequisites. The first error begun with lirc 0.72.... there was no autogen.sh-script there.....
I am no developer, I am no programmer, so I need an easy guide how to get these drivers working with my Silverstone LaScala 16M.
What ist wrong?
Regards,
Thomas
does anyone have an Ubuntu 6.10 HowTo for iMON Soundgraph?
I tried to compile the several sources, but nothing works. I got so many errors I can't report them all. I suppose, I followed all prerequisites. The first error begun with lirc 0.72.... there was no autogen.sh-script there.....
I am no developer, I am no programmer, so I need an easy guide how to get these drivers working with my Silverstone LaScala 16M.
What ist wrong?
Regards,
Thomas
Got myself a Silverstone LC11M and just reinstalled with Ubuntu 6.10 (edgy-eft).
So here is what I did.
Use synaptic to install the following:
Edit: Dialog is required when you run ./setup.sh otherwise you will get an error message "dialog missing" or something similar
Open a terminal and type the following command:
The response is the exact version of linux you are using. Mine was:
Ensure that the headers have been installed correctly by viewing /usr/src/ to see the folder(s) for your headers.
OK?
No we are ready to download:
Open a terminal and enter the following commands (copy and paste is best)
{you should be at your home directory - no need to change}
(press <enter> for password):
and then
now to start installing:
During the setup ensure you select USB and the "Soundgraph iMON MultiMedian IR/VFD" (think its around option d)
Once selected you need to select "Save configuration & run configure"
Then do the following commands:
so long as there were no errors:
and now to finish it off
to check it all out run the following:
As you press buttons on your remote things should come up on the screen.
Now to install LCDproc
Using synaptic install the following:
Download the file from Venky's site. (lcdproc-0.4.5)
Extract the contents to your home folder. { I always prefer to keep the Desktop clear and tidy
}
Open a terminal window:
{of course the tgz file must be in the same directory we are currently in}
Now prepare the installation:
Before we can use the the driver we need to change the permissions of the lcd0 file.
We will now open nautilus as the root user:
Navigate to the /dev folder
Right-click on lcd0 file and select properties.
Click on the Permissions tab
Ensure that all are set to: READ and WRITE
Ensure that the file is NOT executable.
Now we can test it.
You should hopefully have something on your display.
One thing I haven't worked out is how to exclude the cursor.
NB even though you have 2 lines of 16 chars the second row is counted as an extension to the first. Also the cursor counts as a character so you may only ever echo 31 chars to the display with the cursor taking up the last spot.
Oh and if you want to use the lcdproc program you will also need to do the following:
Hope this helps.
So here is what I did.
Use synaptic to install the following:
- libtool (1.5.22-4 in my repository)
automake1.9
autoconf2.13 (there is a higher version, but select this one)
cvs (1:1.12.13-3)
dialog <------------ missed this one
Edit: Dialog is required when you run ./setup.sh otherwise you will get an error message "dialog missing" or something similar
Open a terminal and type the following command:
Code: Select all
uname -rFrom this you want to search for the linux headers for your configuration. So again in synaptic search for "linux-header". Then select the one that matches your result from above.2.6.17-10-generic
Ensure that the headers have been installed correctly by viewing /usr/src/ to see the folder(s) for your headers.
OK?
No we are ready to download:
Open a terminal and enter the following commands (copy and paste is best)
{you should be at your home directory - no need to change}
Code: Select all
cvs -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc loginand then
Code: Select all
cvs -z8 -d:pserver:anonymous@lirc.cvs.sourceforge.net:/cvsroot/lirc co lircnow to start installing:
Code: Select all
cd lirc
./autogen.sh
./setup.shOnce selected you need to select "Save configuration & run configure"
Then do the following commands:
Code: Select all
sudo makeso long as there were no errors:
Code: Select all
sudo make installand now to finish it off
Code: Select all
sudo modprobe lirc_dev
sudo modprobe lirc_imonCode: Select all
mode2
Now to install LCDproc
Using synaptic install the following:
- libncurses5-dev
Download the file from Venky's site. (lcdproc-0.4.5)
Extract the contents to your home folder. { I always prefer to keep the Desktop clear and tidy
Open a terminal window:
Code: Select all
tar xvzf lcdproc-0.4.5-imon.tgzNow prepare the installation:
Code: Select all
aclocal; autoheader; autoconf; automake -aCode: Select all
./configureCode: Select all
sudo makeCode: Select all
sudo make installBefore we can use the the driver we need to change the permissions of the lcd0 file.
We will now open nautilus as the root user:
Code: Select all
sudo su
<enter password>
nautilusNavigate to the /dev folder
Right-click on lcd0 file and select properties.
Click on the Permissions tab
Ensure that all are set to: READ and WRITE
Ensure that the file is NOT executable.
Now we can test it.
Code: Select all
echo "Hello World" > /dev/lcd0You should hopefully have something on your display.
One thing I haven't worked out is how to exclude the cursor.
NB even though you have 2 lines of 16 chars the second row is counted as an extension to the first. Also the cursor counts as a character so you may only ever echo 31 chars to the display with the cursor taking up the last spot.
Oh and if you want to use the lcdproc program you will also need to do the following:
Code: Select all
sudo LCDdHope this helps.
Last edited by Scorpuk on Wed Feb 21, 2007 10:47 am, edited 1 time in total.
Update:
You need to add the two modules lirc_dev and lirc_imon to the /etc/modules file. This will ensure the drivers are loaded anytime the computer boots up.
Oh and you will also need to run as a cron job:
chmod 666 /dev/lcd0
Set the cron job to run when the computer starts up. This will alow any user to echo to the /dev/lcd0. Otherwise you will have to switch to superuse (sudo su) before you echo anything to /dev/lcd0. You cannot just add sudo to the front as you will still be sending the data as your logged in user!
See my /etc/modules file below:
You need to add the two modules lirc_dev and lirc_imon to the /etc/modules file. This will ensure the drivers are loaded anytime the computer boots up.
Oh and you will also need to run as a cron job:
chmod 666 /dev/lcd0
Set the cron job to run when the computer starts up. This will alow any user to echo to the /dev/lcd0. Otherwise you will have to switch to superuse (sudo su) before you echo anything to /dev/lcd0. You cannot just add sudo to the front as you will still be sending the data as your logged in user!
See my /etc/modules file below:
Code: Select all
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
sbp2
lirc_dev
lirc_imonNot sure if I got the correct remote when I installed as when I do mode2 I get nothing like what was in my lircd.conf file.
Anywho I used irrecord and got the following config file, but the cursor movement buttons are a bit iffy and sometimes work and sometimes dont.
As you can see my remotes signal codes are nowhere near as long as the ones that originally got installed.
Anywho the above works fine with my .lircrc file and I can now control rythmbox, but still having probs with kaffiene.
Once I get an aerial installed it will al lbe a moot point as I will then be able to install mythTV and let it control everything.
Anywho I used irrecord and got the following config file, but the cursor movement buttons are a bit iffy and sometimes work and sometimes dont.
Code: Select all
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.1pre4(default) on Sat Dec 30 12:06:34 2006
#
# contributed by John Downie
#
# brand: Soundgraph iMON (As supplied with Silverstone LC11M)
# model no. of remote control: 05036653 <- Number in battery comp[artment
# devices being controlled by this remote: HTPC
#
begin remote
name lircd.conf
bits 32
eps 30
aeps 100
one 0 0
zero 0 0
gap 235989
min_repeat 16
toggle_bit 0
begin codes
Power 0x289115B7
AppExit 0x288195B7
Record 0x298115B7
Play 0x2A8115B7
Eject1 0x29B195B7
Rewind 0x2A8195B7
Pause 0x2A9115B7
FastForward 0x2B8115B7
Skip- 0x2B9115B7
Stop 0x2B9715B7
Skip+ 0x298195B7
MouseKeyboard 0x299115B7
Backspace 0x28A115B7
SelectSpace 0x2A9315B7
CursorUp 0x6902B9B7
CursorDown 0x6882A1B7
CursorLeft 0x6B3AF9B7
CursorRight 0x68A281B7
LeftClick 0x688301B7
Enter 0x28A195B7
RightClick 0x688481B7
ESC 0x2BB715B7
Eject2 0x299395B7
AppLauncher 0x29B715B7
BigBlue 0x2AB195B7
TaskSwitcher 0x2A9395B7
Mute 0x2B9595B7
Vol+ 0x28A395B7
Vol- 0x28A595B7
Ch+ 0x289395B7
Ch- 0x288795B7
Timer 0x2B8395B7
1 0x28B595B7
2 0x2BB195B7
3 0x28B195B7
4 0x2A8595B7
5 0x299595B7
6 0x2AA595B7
7 0x2B9395B7
8 0x2A8515B7
9 0x2AA115B7
Left 0x28B515B7
0 0x2BA595B7
Right 0x29A115B7
MyMovie 0x2B8515B7
MyMusic 0x299195B7
MyPhoto 0x2BA115B7
MyTV 0x28A515B7
Bookmark 0x288515B7
Thumbnail 0x2AB715B7
AspectRatio 0x29A595B7
FullScreen 0x2AA395B7
MyDVD 0x29A295B7
Menu 0x2BA385B7
Caption 0x298595B7
Language 0x2B8595B7
MenuTop 0x28B715B7
MenuBottom 0x2B8195B7
end codes
end remote
As you can see my remotes signal codes are nowhere near as long as the ones that originally got installed.
Anywho the above works fine with my .lircrc file and I can now control rythmbox, but still having probs with kaffiene.
Once I get an aerial installed it will al lbe a moot point as I will then be able to install mythTV and let it control everything.
Last edited by Scorpuk on Sun Dec 31, 2006 2:48 pm, edited 1 time in total.
One last thing...
When I run lircd I need to add the device parameter as its lirc0 and not lirc as the default. So I have to enter:
When I run lircd I need to add the device parameter as its lirc0 and not lirc as the default. So I have to enter:
Code: Select all
sudo lircd -d /dev/lirc0Ciao, many thanks for the how-to but i've 2 problems:
Which is the right driver for the imon "station"
http://www.soundgraph.com/Eng_/Products ... eftMenu=22
And this:
mattia@ubuntu:~/Desktop/lirc$ ./autogen.sh
processing /home/mattia/Desktop/lirc
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal ...
Running autoheader...
autoheader2.50: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader2.50: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader2.50: WARNING: is deprecated and discouraged.
autoheader2.50:
autoheader2.50: WARNING: Using the third argument of `AC_DEFINE' and
autoheader2.50: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader2.50: WARNING: `acconfig.h':
autoheader2.50:
autoheader2.50: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader2.50: [Define if a function `main' is needed.])
autoheader2.50:
autoheader2.50: WARNING: More sophisticated templates can also be produced, see the
autoheader2.50: WARNING: documentation.
Running automake --gnu ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
daemons/Makefile.am: installing `./compile'
daemons/Makefile.am: installing `./depcomp'
Ru
Second which is the right driver for thi controller:nning autoconf ...
Creating setup-driver.sh ...
Which is the right driver for the imon "station"
http://www.soundgraph.com/Eng_/Products ... eftMenu=22
And this:
mattia@ubuntu:~/Desktop/lirc$ ./autogen.sh
processing /home/mattia/Desktop/lirc
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal ...
Running autoheader...
autoheader2.50: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader2.50: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader2.50: WARNING: is deprecated and discouraged.
autoheader2.50:
autoheader2.50: WARNING: Using the third argument of `AC_DEFINE' and
autoheader2.50: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader2.50: WARNING: `acconfig.h':
autoheader2.50:
autoheader2.50: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader2.50: [Define if a function `main' is needed.])
autoheader2.50:
autoheader2.50: WARNING: More sophisticated templates can also be produced, see the
autoheader2.50: WARNING: documentation.
Running automake --gnu ...
configure.in: installing `./install-sh'
configure.in: installing `./missing'
daemons/Makefile.am: installing `./compile'
daemons/Makefile.am: installing `./depcomp'
Ru
Second which is the right driver for thi controller:nning autoconf ...
Creating setup-driver.sh ...
So long as you didnt get any error messages during your install then everything should be ok. Those are only warning messages.
That's the same as my remote, which came with my Silverstone LC11M box.
I think you shoudl still select the same driver as I did in the how-to and then check what response codes you get from the remote by running
If they are not the same as the ones in the installed lircd.conf file then either copy mine (if they are the same) or run
to create a new config file with your exact remotes signal codes.
I would hazzard a guess that the codes have changed due to an update and is nothing sinister like a new driver.
Anywho good luck with your install
That's the same as my remote, which came with my Silverstone LC11M box.
I think you shoudl still select the same driver as I did in the how-to and then check what response codes you get from the remote by running
Code: Select all
irwIf they are not the same as the ones in the installed lircd.conf file then either copy mine (if they are the same) or run
Code: Select all
irrecordto create a new config file with your exact remotes signal codes.
I would hazzard a guess that the codes have changed due to an update and is nothing sinister like a new driver.
Anywho good luck with your install
Hiya folks,
I'm trying hard to get lirc up and running with my spanking new SilverstoneTek 11M box (http://www.silverstonetek.com/products-lc11m.htm). I've followed the steps in this thread quite closely, everything downloaded, got setup and compiled rather nicely, thank you. (I'm running Dapper - the manual is for Edgy)
Then I did
misha@salemcenter:~/lirc-0.8.0/lirc$ ls -l /dev/l*
crw-r--r-- 1 root root 61, 0 2007-01-08 21:36 /dev/lirc
prw-r--r-- 1 root root 0 2007-01-08 21:36 /dev/lircd
prw-r--r-- 1 root root 0 2007-01-08 21:36 /dev/lircm
srw-rw-rw- 1 root root 0 2007-01-09 07:37 /dev/log
crw-rw---- 1 root lp 6, 0 2007-01-08 21:17 /dev/lp0
crw------- 1 root root 109, 0 2007-01-08 21:20 /dev/lvm
/dev/loop:
total 0
brw------- 1 root root 7, 0 2006-08-06 02:45 0
which looks quite fine, I think. Then it was time for
sudo modprobe lirc_dev
sudo modprobe lirc_imon
followed by
misha@salemcenter:~/lirc-0.8.0/lirc$ lsmod | grep lirc
lirc_imon 13572 0
lirc_dev 14804 1 lirc_imon
usbcore 130820 5 lirc_imon,usb_storage,ehci_hcd,uhci_hcd
and I think it looks fine. But, when I'm about to testdrive the IR I do
misha@salemcenter:~/lirc-0.8.0/lirc$ mode2
mode2: error opening /dev/lirc
mode2: No such device
and that's not the way it should be, eh? If I do 'sudo fuser /dev/lirc' I get a blank output.
I've done lots of reading, but haven't found any helpful tricks or tips. Please, help me out here. Thx in advance
Zup
I'm trying hard to get lirc up and running with my spanking new SilverstoneTek 11M box (http://www.silverstonetek.com/products-lc11m.htm). I've followed the steps in this thread quite closely, everything downloaded, got setup and compiled rather nicely, thank you. (I'm running Dapper - the manual is for Edgy)
Then I did
misha@salemcenter:~/lirc-0.8.0/lirc$ ls -l /dev/l*
crw-r--r-- 1 root root 61, 0 2007-01-08 21:36 /dev/lirc
prw-r--r-- 1 root root 0 2007-01-08 21:36 /dev/lircd
prw-r--r-- 1 root root 0 2007-01-08 21:36 /dev/lircm
srw-rw-rw- 1 root root 0 2007-01-09 07:37 /dev/log
crw-rw---- 1 root lp 6, 0 2007-01-08 21:17 /dev/lp0
crw------- 1 root root 109, 0 2007-01-08 21:20 /dev/lvm
/dev/loop:
total 0
brw------- 1 root root 7, 0 2006-08-06 02:45 0
which looks quite fine, I think. Then it was time for
sudo modprobe lirc_dev
sudo modprobe lirc_imon
followed by
misha@salemcenter:~/lirc-0.8.0/lirc$ lsmod | grep lirc
lirc_imon 13572 0
lirc_dev 14804 1 lirc_imon
usbcore 130820 5 lirc_imon,usb_storage,ehci_hcd,uhci_hcd
and I think it looks fine. But, when I'm about to testdrive the IR I do
misha@salemcenter:~/lirc-0.8.0/lirc$ mode2
mode2: error opening /dev/lirc
mode2: No such device
and that's not the way it should be, eh? If I do 'sudo fuser /dev/lirc' I get a blank output.
I've done lots of reading, but haven't found any helpful tricks or tips. Please, help me out here. Thx in advance
Zup
zupidupi
Can you confirm, after a reboot, that you still have lirc in the /dev folder? I am pretty sure that mine changed from lirc to lirc0 after a reboot. Might be a 6.10 thing.
Also ensure you have chmod the file using:
This is to give other users / groups read and write access to the file.
This will have to be done every time you restart your computer. A good idea to set up a cron job to be run every time the computer starts up.
Mattia
Which version of Ubuntu are you useing?
At a terminal can you type:
and post the results. This will let us know the names of the lirc file (lirc / lirc0)
Depending on the above you may have to do as I do and add device to the command:
I will be hopefully more helpful at the weekend as I am away from my box and can't try things out.
Anywho goodluck
Can you confirm, after a reboot, that you still have lirc in the /dev folder? I am pretty sure that mine changed from lirc to lirc0 after a reboot. Might be a 6.10 thing.
Also ensure you have chmod the file using:
Code: Select all
sudo chmod 666 /dev/lirc (or lirc0)This will have to be done every time you restart your computer. A good idea to set up a cron job to be run every time the computer starts up.
Mattia
Which version of Ubuntu are you useing?
At a terminal can you type:
Code: Select all
ls -l /dev/l*Depending on the above you may have to do as I do and add device to the command:
Code: Select all
mode2 -d /dev/lirc0I will be hopefully more helpful at the weekend as I am away from my box and can't try things out.
Anywho goodluck
Follow the instructions as above:
or modprobe every time you reboot:
You will also have to change the access privilages, at every boot, of the lirc* files to r&r/w (chmod 666). I do this with a cron job to be run on system boot up.
You need to add the two modules lirc_dev and lirc_imon to the /etc/modules file. This will ensure the drivers are loaded anytime the computer boots up.
Oh and you will also need to run as a cron job:
chmod 666 /dev/lcd0
Set the cron job to run when the computer starts up. This will alow any user to echo to the /dev/lcd0. Otherwise you will have to switch to superuse (sudo su) before you echo anything to /dev/lcd0. You cannot just add sudo to the front as you will still be sending the data as your logged in user!
See my /etc/modules file below:
Code:Code: Select all
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. lp sbp2 lirc_dev lirc_imon
or modprobe every time you reboot:
Code: Select all
sudo modprobe lirc_dev
sudo modprobe lirc_imonYou will also have to change the access privilages, at every boot, of the lirc* files to r&r/w (chmod 666). I do this with a cron job to be run on system boot up.
hmmm not sure about dapper, but I think before I upgraded to edgy I was having problems with both lcd and lirc.
Not saying upgrading is your answer especially if you need the LTS, but installation and running of lcd and lirc went way smoother on edgy than dapper for me.
Although still got same problems with wireless adapters.
Not saying upgrading is your answer especially if you need the LTS, but installation and running of lcd and lirc went way smoother on edgy than dapper for me.
Although still got same problems with wireless adapters.
Who is online
Users browsing this forum: No registered users and 0 guests