Open the Terminal and type: pppoeconf
Follow the instructions!
Turn on the DSL: pon dsl-provider
Turn off the DSL: poff
Check the status of your connection: sudo ifconfig ppp0
This is a tutorial for HP-Compaq TC4400 Users on Ubuntu. Note, that I'm a total beginner with Linux, so this page will contain everything I did with my Notebook called Alice :-)
2008. július 19.
2008. június 15.
Updating to Gutsy
After some time the pen just crashed: after using the pen none of the pointing devices would do a click.
So I updated to Gutsy.
...
Ta-damm:
- the scroll joystick on the edge of the monitor works out os the box.
- the 3 tablet button just don't work with the previous script.
- I had to reinstall linuxwacom to fix the pen buttons.
- Firefox works with Flash :-)
- I had to change the rotate script to this:
So I updated to Gutsy.
...
Ta-damm:
- the scroll joystick on the edge of the monitor works out os the box.
- the 3 tablet button just don't work with the previous script.
- I had to reinstall linuxwacom to fix the pen buttons.
- Firefox works with Flash :-)
- I had to change the rotate script to this:
#!/bin/sh
if [ -n "$(xrandr | grep "768x1024+0+0 right")" ]; then
xrandr -o inverted
xsetwacom set "stylus" Rotate 3
else
if [ -n "$(xrandr | grep "1024x768+0+0 inverted")" ]; then
xrandr -o normal
xsetwacom set "stylus" Rotate NONE
else
if [ -n "$(xrandr | grep "1024x768+0+0")" ]; then
xrandr -o right
xsetwacom set "stylus" Rotate CW
fi
fi
fi
2008. június 10.
making the USB work...
sudo nano /etc/fstab
comment out the cd-rom line like this:
# /dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto 0 0
comment out the cd-rom line like this:
# /dev/sdb1 /media/cdrom0 udf,iso9660 user,noauto 0 0
2008. június 7.
problems #5
OSK - OnScreen Keyboard.
Well... onboard is installed, but I can't open it, so I consider is broken or something.
I tried Cellwriter, but it's only for i368 or whatever, but not for amd64.
Right now ubuntu packages is down, so i'll try synaptic with
1.) GOK. - However this was too complicated for me.
2.) Matchbox OSK
... I updated to Gutsy, I'll check this out later...
Well... onboard is installed, but I can't open it, so I consider is broken or something.
I tried Cellwriter, but it's only for i368 or whatever, but not for amd64.
Right now ubuntu packages is down, so i'll try synaptic with
1.) GOK. - However this was too complicated for me.
2.) Matchbox OSK
... I updated to Gutsy, I'll check this out later...
2008. június 4.
problems #4
I have Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) and kernel version 2.6.20-16-generic.
I'll try to set up my wifi using this site.
I don't have any errors reported for modprobe mac80211, and lsmod lists the modul, so I only have to install the iwl3945.
While trying to make I get this error:
I'll try to set up my wifi using this site.
I don't have any errors reported for modprobe mac80211, and lsmod lists the modul, so I only have to install the iwl3945.
While trying to make I get this error:
mh@Alice:~/Desktop/iwlwifi-1.2.25$ makeI linked the folders:
Makefile:24:
Makefile:25: WARNING: $SHELL not set to bash.
Makefile:26: If you experience build errors, try
Makefile:27: 'make SHELL=/bin/bash'.
Makefile:28:
Kernel Makefile not found at '/lib/modules/2.6.20-16-generic/source'
chmod: "compatible/*" nem érhető el: Nincs ilyen fájl vagy könyvtár
/bin/sh: cannot create compatible/kversion: Directory nonexistent
-e
Makefile has been modified by generate_compatible, please run `make' again
make: *** [compatible/kversion] Error 1
ln -s /usr/src/linux-headers-`uname -r` /lib/modules/`uname -r`/sourceI get error message:mac80211 headers not found in:
/lib/modules/2.6.20-16-generic/source/include/net/
Please install the mac80211 subsystem.
How to get the 3 onscreen tablet buttons working?
ATTENTION! THIS POST IS OUTDATED!
1. Download the latest LinuxWacom.
2. Install the following packages through Synaptic:
3. Unpack the linuxwacom tar.gz
4. Modify the /src/xdrv/wcmISDV4.c as follows (add the lines in blue):
sudo nano /etc/profile
9. Reboot.
10. Set the global keybindings and keybinding commands in the Configuration Editor /Apps /Metacity:
Thanks to Ubuntu Forum Community.
1. Download the latest LinuxWacom.
2. Install the following packages through Synaptic:
- tcl8.4
- tcl8.4-dev
- tk8.4
- tk8.4-dev
- xserver-xorg-dev
- libncurses5-dev
3. Unpack the linuxwacom tar.gz
4. Modify the /src/xdrv/wcmISDV4.c as follows (add the lines in blue):
/* Coordinate data bit check */5. Modify the src/xdrv/wcmCommon.c as follows (one change in blue)
if (data[0] & 0x40)
{
if ((int)data[0] == 0xc1)
{
if (data[1] & 0x07)
{
ds = &common->wcmChannel[0].work;
/* Now fool it into thiking it's in proximity */
ds->proximity = 1;
ds->buttons = ((data[1] & 0x07) << 3);
xf86WcmEvent(common,0,ds);
}
}
return common->wcmPktLength;
}
}
/*****************************************************************************6. Go to the folder in the Terminal and type:
* xf86WcmSendButtons --
* Send button events by comparing the current button mask with the
* previous one.
****************************************************************************/
static void xf86WcmSendButtons(LocalDevicePtr local, int buttons, int rx, int ry,
int rz, int v3, int v4, int v5)
{
int button, mask, bsent = 0;
WacomDevicePtr priv = (WacomDevicePtr) local->private;
WacomCommonPtr common = priv->common;
DBG(6, priv->debugLevel, ErrorF("xf86WcmSendButtons "
"buttons=%d for %s\n", buttons, local->name));
/* Tablet PC buttons. */
if ( common->wcmTPCButton && !IsCursor(priv) && !IsPad(priv) && !IsEraser(priv) )
{
if ( buttons & 57 )
{
if ( !(priv->flags & TPCBUTTONS_FLAG) )
{
priv->flags |= TPCBUTTONS_FLAG;
bsent = 0;
/* send all pressed buttons down */
for (button=2; button<=MAX_BUTTONS; button++) { mask = 1 << (button-1); if ( buttons & mask ) { bsent = 1; /* set to the configured button */ sendAButton(local, button-1, 1, rx, ry, rz, v3, v4, v5); } }
./configure7. Now you should have a wacom_drv.so in the /src/xdrv directory. Make a backup of your old wacom_drv.so:
sudo make
sudo mv /usr/lib/xorg/modules/input/wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so.bakand copy the new one over:
cd src/xdrv8. Edit your profile:
sudo cp wacom_drv.so /usr/lib/xorg/modules/input/wacom_drv.so
sudo nano /etc/profile
# enable buttons on HP TC4400
xsetwacom set stylus Button2 "3"
xsetwacom set stylus Button4 "core key shift F1"
xsetwacom set stylus Button5 "core key shift F2"
xsetwacom set stylus Button6 "core key shift F3"
9. Reboot.
10. Set the global keybindings and keybinding commands in the Configuration Editor /Apps /Metacity:
Global Keybindings:------------
run_command_1F1
run_command_2F2
run_command_3F3
Keybinding Commands:
command_1 xournal
command_2 sh /usr/bin/rotate.sh
command_3 [onscreen keyboard - I don't use it yet]
Thanks to Ubuntu Forum Community.
[SOLVED] problems #3
I'm working on activating the 3 tablet buttons.
I already tried this method, but I sucked at assigning programs to the mouse buttons.
This other method somehow didn't work for me, but I will try again...
...I tried again, and it worked!
I already tried this method, but I sucked at assigning programs to the mouse buttons.
This other method somehow didn't work for me, but I will try again...
...I tried again, and it worked!
Feliratkozás:
Megjegyzések (Atom)
