Posts Tagged ‘edgy’

Building F-Spot from source on Ubuntu

Thursday, February 8th, 2007

The instructions How to Build F-Spot from HEAD are mostly correct for Ubuntu/Edgy and Ubuntu/Feisty, but leave out a number of packages that need to be installed before autogen.sh is run.

Be sure to also install the following packages:

sudo apt-get install mono-devel \
libglib2.0-dev libmono-dev libmono-system-runtime2.0-cil \
libexif-dev libgnomeui-dev liblcms1-dev libgphoto2-2-dev \
libusb-dev

And instead of make install, use make -k install since it will attempt to run scrollkeeper which attempts to update /var/lib/scrollkeeper/scrollkeeper_docs.

The offending line is: scrollkeeper-update -p /var/lib/scrollkeeper -o /home/marc/unstable/f-spot/share/omf/f-spot

Ubuntu/Edgy & Belkin Wireless G (F5D7000) ver 5000

Tuesday, January 23rd, 2007

The Belkin Wireless G PCI Card (F5D7000 v.5000) works great out of the box with Ubuntu/Edgy.

It uses that ath_pci kernel module and here is the relevant bit from /var/log/messages:

[17179594.568000] wlan: 0.8.6.0 (EXPERIMENTAL)
[17179594.576000] ath_rate_sample: 1.2
[17179594.596000] ath_pci: 0.9.6.0 (EXPERIMENTAL)
[17179594.600000] ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 22 (level, low) -> IRQ 185
[17179595.180000] Build date: Jun 15 2006
[17179595.180000] Debugging version (IEEE80211)
[17179595.180000] ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[17179595.180000] ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[17179595.180000] ath0: H/W encryption support: WEP AES AES_CCM TKIP
[17179595.180000] ath0: mac 7.8 phy 4.5 radio 5.6
[17179595.180000] ath0: Use hw queue 1 for WME_AC_BE traffic
[17179595.180000] ath0: Use hw queue 0 for WME_AC_BK traffic
[17179595.180000] ath0: Use hw queue 2 for WME_AC_VI traffic
[17179595.180000] ath0: Use hw queue 3 for WME_AC_VO traffic
[17179595.180000] ath0: Use hw queue 8 for CAB traffic
[17179595.180000] ath0: Use hw queue 9 for beacons
[17179595.180000] Debugging version (ATH)
[17179595.180000] ath0: Atheros 5212: mem=0x41000000, irq=185


$ sudo lspci -vvx
....
0000:02:0b.0 Ethernet controller: Atheros Communications, Inc.: Unknown device 001a (rev 01)
Subsystem: Belkin: Unknown device 700c
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 185
Region 0: Memory at 41000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
00: 8c 16 1a 00 06 01 90 02 01 00 00 02 08 a8 00 00
10: 00 00 00 41 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 99 17 0c 70
30: 00 00 00 00 44 00 00 00 00 00 00 00 05 01 0a 1c

Ubuntu/Edgy & Belkin Wireless G (F5D7010) ver 5100

Saturday, January 20th, 2007

The Belkin Wireless G Notebook Card (F5D7010) ver 5100 works great out of the box with Ubuntu/Edgy.

Unfortunately in the MythTV system I want it for has an old PCI/PCMCIA adapter that only accepts 16-bit PCMCIA cards, so this 32-bit one won’t fit.

Below is some info that my help you debug your configuration:

It uses the ath_pci kernel module.


$ lsmod|grep -i ath
ath_pci 97184 0
ath_rate_sample 15616 1 ath_pci
wlan 204764 4 wlan_scan_sta,ath_pci,ath_rate_sample
ath_hal 192080 3 ath_pci,ath_rate_sample

The relevant part of /var/log/messages:


Jan 23 20:54:31 localhost kernel: [17180392.280000] pccard: CardBus card inserted into slot 1
Jan 23 20:54:31 localhost kernel: [17180392.284000] PCI: Enabling device 0000:06:00.0 (0000 -> 0002)
Jan 23 20:54:31 localhost kernel: [17180392.284000] ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [C17E] -> GSI 11 (level, low) -> IRQ 11
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: mac 7.8 phy 4.5 radio 5.6
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 1 for WME_AC_BE traffic
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 0 for WME_AC_BK traffic
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 2 for WME_AC_VI traffic
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 3 for WME_AC_VO traffic
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 8 for CAB traffic
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Use hw queue 9 for beacons
Jan 23 20:54:31 localhost kernel: [17180393.176000] wifi0: Atheros 5212: mem=0x16000000, irq=11


$ sudo lspci -vvx
...
06:00.0 Ethernet controller: Atheros Communications, Inc. AR5005G 802.11abg NIC (rev 01)
Subsystem: Belkin Unknown device 701d
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 128 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 16000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
00: 8c 16 1a 00 06 00 90 02 01 00 00 02 20 a8 00 00
10: 00 00 00 16 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 99 17 1d 70
30: 00 00 00 00 44 00 00 00 00 00 00 00 0b 01 0a 1c

Access a remote DAAP share by tunneling over SSH (Ubuntu/Edgy)

Wednesday, November 29th, 2006

The mt-daapd wiki has a nice write up on how to access a remote DAAP (aka iTunes protocol) share by tunneling over SSH.

But the instructions are quite right for an Ubuntu/Edgy desktop. The short, short steps are:

$ ssh homeserver -N -f -L 192.168.118.33:6689:localhost:3689

Instead of using the default 3689 port, pick a high number. First of all it means you won’t have to start the ssh tunnel as root and it won’t confuse banshee which wants to use that port itself. Also you need to specify your local ip address (eg: 192.168.118.33)

$ avahi-publish-address -v -H UbuntuLaptop.local -s "my personal homeserver tunes" _daap._tcp. 6689 &

Avahi is not Apple based code, so there is no mDNSProxyResponderPosix command. The above line is the equivalent to “mDNSProxyResponderPosix 127.0.0.1 squeal “shareName” _daap._tcp. 3689 &”

$ banshee

To debug this, keep an eye on /var/log/mt-daapd.log on the system running mt-daapd.

It appears that Rhythmbox gets a little confused about trying to connect to localhost:6689. Now only banshee dies when closing.

Most exciting upgrade to Ubuntu/Edgy

Friday, October 27th, 2006

This morning I had a free hour and this is how I upgraded my hp compaq nc6000 laptop from Ubuntu/Dapper to Ubuntu/Edgy. After updating /etc/apt/sources.list to point to the edgy repos…

sudo apt-get update && sudo apt-get -dy dist-upgrade && sudo apt-get dist-upgrade

Well there was a conflict between x11-common and xinit which both wanted to provide the man page XSession.5.gz.

11:45am Wendy calls me and says the school just called and Griffin is in a ambulance on the way to the hospital and to meet her there. He accidentally ate something that contained pineapple — to which he has a severe allergic reactions to.

11:49 I’m on the road approaching the hospital and get a call on my cell phone. The woman says she is the school nurse and starts saying my son is having an allergic reaction. I interrupt her and say ‘Yes, I just talked to my wife and I’ll meet the ambulance at the hospital’. She says ‘Well, your son is sitting here with me in my office.’ Then we realize she is the school nurse from a different chool and is talking about Trevor who is having an allergic reaction! Trevor had his bee/wasp allergy shot earlier this morning and is reacting to that. Since he too was having difficulty breathing, he too is sent via ambulance to the ER.

12:05 — Wendy and I both arrive at the ER before either of the kids do. Explain to the ER admitting person that yes both boys are ours, they are coming from different schools, with the same problem (allergic reaction, breathing difficulty), but different reasons (food allergy vs reaction to allergy desensitizing injection).

Long story short, after evaluation, some benedril and alburterol breathing treatments, we were sent home.

Around 3pm I worked through a few iterations of apt-get update, apt-get dist-upgrade, apt-get -f install, aptitude dist-upgrade, I have a fully upgraded from Ubuntu/Dapper to Ubuntu/Edgy.

There are a bunch of new, interesting packages to take a look out. The list is here: EdgyConfiguration

Now that was a stressful upgrade.