I apologise, for being so much time with out making any post. But the i did not had much time free…
I apologise, for being so much time with out making any post. But the i did not had much time free…
One of my passions is design, associated with the my interests with usability and open source, came one idea to re-concept the icon of Gnome Baker.
When i installed Gnome Baker for the very first time (i was experimenting a CD/DVD burner), i fall in love with the simplicity of the interface, but two things where getting in my nerves:
So i decided to put my hands to work, and made some unofficial SVG icons to substitute Gnome Baker Icon. And here is the final result:
I already have made one proposal to Gnome Baker Development Team, if they whant to use these icons on the next release.
Some terms used on this Blog might be trademarks or company names, owned by their respective owners, not by me.
All the information that i post is provided as an attempt to provide help, and knowledge. You may use this information at your own risk.
In some cases the HUAWEI E600 firmware upgrade might be needed. To do so, it should used MS Windows, i didn’t found any other way to update the card’s firmware. The firmware can be downloaded from the Kanguru web site, apparently Huawei does not provide the firmware upgrade on their web site.
With the card disconnected wright on the xTerminal write the fowling:
~$tail -f /var/log/messages
This will let know what is happening in the system. Now the card might be plugged in. Check the xTerminal to see the changes.
The feedback information can be one of two things:
[4296903.314000] hub 5-0:1.0: USB hub found
[4296903.314000] hub 5-0:1.0: 1 port detected
[4296903.346000] PCI: Enabling device 0000:07:00.1 (0000 -> 0002)
[4296903.346000] ACPI: PCI Interrupt 0000:07:00.1[B] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10[4296903.346000] PCI: Setting latency timer of device 0000:07:00.1 to 64
[4296903.346000] ohci_hcd 0000:07:00.1: NEC Corporation USB (#4)
[4296903.347000] ohci_hcd 0000:07:00.1: new USB bus registered, assigned bus number 6
[4296903.347000] ohci_hcd 0000:07:00.1: irq 10, io mem 0×21001000
[4296903.432000] hub 6-0:1.0: USB hub found
[4296903.432000] hub 6-0:1.0: 1 port detected
[4296903.555000] usb 5-1: new full speed USB device using ohci_hcd and address 2
May 2 05:10:19 localhost kernel: [4295017.626000] usbserial_generic 5-1:1.0: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.632000] usb 5-1: Generic converter now attached to ttyUSB0
May 2 05:10:19 localhost kernel: [4295017.632000] usbserial_generic 5-1:1.1: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.638000] usb 5-1: Generic converter now attached to ttyUSB1
May 2 05:10:19 localhost kernel: [4295017.638000] usbserial_generic 5-1:1.2: Generic converter detected
May 2 05:10:19 localhost kernel: [4295017.644000] usb 5-1: Generic converter now attached to ttyUSB2
May 2 05:10:19 localhost kernel: [4295017.645000] usbcore: registered new driver usbserial_generic
May 2 05:10:19 localhost kernel: [4295017.645000] drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0
To check for the vendor and product “ID” in the file /proc/bus/usb/devices, with the purpose of loading the card driver from the Kernel. It was needed to open a new xTerminal [CTRL+SHIFT+N] and type:
Note: that the other one is occupied with the systems report, and i choose to have it running at all times
~$ sudo cat /proc/bus/usb/devices
It should print several entrances, but the only one that matters for this purpose, is the one with the card manufactures. It can be check on the Manufacturer entrance.
T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev= 0.00
S: Manufacturer=HUAWEI Technologies <–my card manufacturer
S: Product=HUAWEI Mobile
S: SerialNumber=HUAWEI DEVICE
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 16 Ivl=128ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=85(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Now it’s time to load the PCMCIA serial port driver – serial_cs .
~$sudo modprobe serial_cs
~$sudo modprobe usbserial vendor=0×12d1 product=0×1001
Note: modprobe is a program to add/remove modules from the kernel.
The vendor and the product id in the previous line is for the Huawei E600, you should use the one that you have previously written down, with “0x” in the front because it is a hexadecimal number .
The xTerminal where log is being printed, should have something like this:
May 1 14:09:42 localhost usb.agent: usbcore: already loaded
May 1 14:12:02 localhost kernel: [4294993.412000] usbcore: registered new drive r usbserial
May 1 14:12:02 localhost kernel: [4294993.417000] drivers/usb/serial/usb-serial .c: USB Serial support registered for Generic
May 1 14:12:02 localhost kernel: [4294993.424000] usbserial_generic 5-1:1.0: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.430000] usb 5-1: Generic converter no w attached to ttyUSB0
May 1 14:12:02 localhost kernel: [4294993.430000] usbserial_generic 5-1:1.1: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.436000] usb 5-1: Generic converter no w attached to ttyUSB1
May 1 14:12:02 localhost kernel: [4294993.436000] usbserial_generic 5-1:1.2: Ge neric converter detected
May 1 14:12:02 localhost kernel: [4294993.442000] usb 5-1: Generic converter no w attached to ttyUSB2
May 1 14:12:02 localhost kernel: [4294993.442000] usbcore: registered new drive r usbserial_generic
May 1 14:12:02 localhost kernel: [4294993.442000] drivers/usb/serial/usb-serial .c: USB Serial Driver core v2.0
Note: There are three USB ports. Mine are called ttyUSB*, but it can also be called of ttyS* (where * may be 0,1,2). The USB0 is used for ppp connection, USB2 is used for network related tasks, and USB1 doesn’t have any particular function.
Just to make sure, if the devices are mounted:
~$ls -l /dev/ttyUSB*
And then i created a new connection, that i give the name “Kanguru”.
notes (check the picture):
To activate the connection:
To deactivate the connection:
To eject the card:
~$ sudo cardctl eject
Instead of always open your xTerminal to to eject and kill the network connection, you can simplify this action by making a script:
Open Gedit (or the favorite ascii text editor):
#created by jose reis
gksudo -u root -k -m “Enter SUDO password to eject the PCMCIA CARD”
sudo cardctl eject
Save as “PCMCIA-eject“, or the file name you wish, in [my_home] “~/.gnome2/nautilus-scripts“. And then change the permissions (right click on the file, and then “Properties” on the tab “Permissions”) to execute.
The script should be avaible if you right click on the Desktop, choose the scripts option, with the name you have gicen to the file, in this case PCMCIA-eject.
Note: It is important to eject the card before you remove it, if you fail to do so you may risk to damage your card.
I saw lot’s of techniques how to configure the network, since using gnome-ppp, constructing my own wvdial.conf file by hand from scratch, etc.. But none of them worked for me, so i decide to start searching for other solutions. And this is only one solution.
I did not upgrade my firmware, because, at this time, i do not have access to any machine with MS Windows and PCMCIA card connection, but it is highly recommended by Optimus to do so.
One major problem that i am yet to solve, is every time that i reboot my laptop i have to load the PCMCIA card driver, witch is very annoying. This problem is already solved in the “Dapper Drake” (Ubuntu 6.06 RC).
It does not a require hard work to load a PCMCIA card 3G/GPRS connection to work. But i do not think that it is not very user friendly, the amount of information that the user must deal with is big and a bit intimidating for the majority of the computer users, allied to the fact that the providers do not support any other OS than the Microsoft OS.
The most difficult part was to activate the connection to my provider, it toke me almost a day do accomplish that. The configuration strings that i found on the Internet did not worked for me.
Of the techniques that i read, this one, i believe, is the most easy to use technique, because you do not have to change/edit/create files by hand on your system, and pppconfig is a very simple to use program. I don’t know if it works for others providers, i only know that it works for me.
My laptop is a Samsung NXO5. This was not made available to Portugal by Samsung. This is a very classy, lightweight and thin laptop.
The advised OS for this Intel Based laptop is MS Windows XP (go figure why!). I have it running in Ubuntu 5.10 (also known as the Brezzy Bagger), without any problem, every thing worked right out of the box (only the modem and the Memory Stic wheren't tested yet….)
The only problem that i found was that my Teac DVD Multi-Recorder did not had the DMA activated. So what i did was:
~$sudo hdparm /dev/hdc
IO_support= 0 (default 16-bit)
unmaskirq= 0 (off)
using_dma= 0 (off)
keepsettings= 0 (off)
readonly= 0 (off)
readhead= 256 (off)
HDIO_GETGEO failed: Invalid argument
~$sudo hdparm -d1 /dev/hdc
note: This command will enable the DMA, but you would need to do it again every time you reboot the computer, if you wanted to enable DMA.
~$sudo cp /etc/hdparm.conf /etc/hdparm.conf.enable-dma.backupnote: This command will backup the previous hdparm.conf file. This is always a good politics. Only Super User can edit the files on this OS folder , that is why you will need sudo
~$sudo gedit /etc/hdparm.conf
note: Gedit is the default ASCII text editor for Ubuntu. Something like Notepad, but far better.
note: the information on the file is very good to learn more about setting a drive configuration.
Some time ago i got tired of using MS Windows…too many virus, worms, bugs, yada, yada, yada… where on the base of that decision. Besides i wanted to learn something new.
About six years ago, i started to use several Linux distributions: 1st, Suse Linux, 2nd the formerly Linux distribution known as Mandrake (Mandriva in this days), then Caixa Mágica (a Portuguese distribution). All of them where installed on my desktop at the time.
But I never ridded myself from MS Windows, because the software that i need in the faculty only existed for Uncle Bill's Operation System, i needed to port information between distinct PC's with the same software and, i confess, i was mind lazy.
And then i about one year ago i found out Ubuntu…Then, and now, everybody here and there talked about a “Linux for Human Beings”. Since i'm an Ergonomics student, Usability fan, and i had time to learn something new…so i though “Why not! Since, i am tired of always emule the last MS Windows version. So let's give it a shot, and kill two birds with one stone”.
So, at the dawn of this year, i completed my migration to Linux, and installed the Ubuntu, and removed form Maria (my laptop) Ms Windows. This is the reports of my adventure.