Vaio VGN-UX50

From MalaWiki
Jump to: navigation, search
UX50 picture
http://www.linux.it/~malattia/images/masamune-ux50.jpg

Contents


Net-booting the installer

Since the UX50 doesn't have a CD or floppy reader and having failed to correctly create a bootable USB pen I ended up net-booting a PXE image using tftpd-hpa as TFTP server and ISC dhcpd as BOOTP and DHCP server.
You can find detailed instruction on this set up in the Debian installation manual.
On the UX50 side you just need to enter the BIOS of the UX50 by pressing <F2> at the Vaio logo and enable Network booting, make sure that Network is one of the enabled boot devices, save and reboot.
Now press <F12> at the Vaio logo, if you have configured everything correctly you'll download the boot image and see the Debian installer prompt.
Note: at the beginning of the net-boot sequence you'll have a chance to write down the mac address of your NIC, useful to configure the BOOTP server.

Get net-boot files

To get the Debian netboot installer files go to debian/dists/etch/main/installer-i386/current/images/ on any available mirror:

  1. enter the netboot directory
  2. get the netboot.tar.gz file
  3. untar netboot.tar.gz into the TFTP server's root directory, e.g.:
    tar -C /srv/tftp xzf netboot.tar.gz

Interesting devices

Input

  • GUNZE USB Touch Panel
    Working: using evdev kernel module and the evtouch Xorg driver.

I also use the following udev rule to make Xorg configuration straightforward:

SUBSYSTEMS=="input", KERNEL=="event*", ATTRS{name}=="GUNZE USB Touch Panel", SYMLINK+="input/gunze"
  • AlpsPS/2 ALPS DualPoint TouchPad

Bluetooth

I didn't anything particular to make it work, loaded modules are:

rfcomm, l2cap, hci_usb, bluetooth

and I can bind to a GPS with the help of hcitool:

# hcitool dev
Devices:
	hci0    00:02:C7:EB:E6:31

Network

  • Intel Corporation PRO/Wireless 3945ABG: works great with ipw3945.
    I'm looking forward to test the just released iwlwifi driver.
  • Marvell Technology Group Ltd. 88E8036 (when docked): using sky2, some problem after resume, will need to investigate
    It also suffers of a bug for which it stops working after some high burst, reloading the module makes the device functional again

Video

  • Intel Corporation Mobile 945GM/GMS/940GML
    Yeah, great! i810 driver for X.org works quite fine: xinerama, dual screen, tv-out and compiz for some eye candy effects (warning: compiz is not very happy when using xrandr rotations).

Felica card reader

It's probably this one on the USB bus but I don't have any proximity readable smart card...

Bus 005 Device 002: ID 054c:01bb Sony Corp.

Card reader

Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
the driver is appearing: tifm_7xx1 and tifm_ms.

Fingerprint reader

Not properly tested yet.

Cameras

Here is the driver: http://lsb.blogdns.net/ry5u870/ http://wiki.mediati.org/R5u870.
Works fine with xawtv and others, see the above page for more. Currently only the front camera is enabled, stay tuned.

Audio

Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller

modprobe snd_intel_hda model=basic

and unmute channels, you can also record sounds.

Backlight

Works with the sony-laptop module. The module has been included in 2.6.21-rc1, previously it was available in the -mm tree as sony_acpi.
See /sys/class/backlight/sony/*

CPU frequency scaling

Here's what cpufreq-info reports:

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux AT brodo DOT de, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 800 MHz - 1.07 GHz
  available frequency steps: 1.07 GHz, 800 MHz
  available cpufreq governors: ondemand, performance
  current policy: frequency should be within 1.07 GHz and 1.07 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 1.07 GHz.
  		

Suspend to Ram

The only glitch is that on resume the console screen isn't expanded anymore, I'll need to try fb support for that. Using μswsusp issue:

s2ram -f -p

Suspend to Disk

Not fully working but I didn't spend much time on it as s2ram is working.

Notes

  • VT, which is available on the Core2 Duo is disabled by the bios and there's no option to enable it, so no virtualization here...
  • Four C-States are available
  • All the hotkeys send the same ACPI event... this is a real shame

Files

Random junk

# cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 14
model name      : Genuine Intel(R) CPU           U1300  @ 1.06GHz
stepping        : 8
cpu MHz         : 1067.000
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts
		  acpi mmx fxsr sse sse2 ss tm pbe nx constant_tsc pni monitor vmx est tm2 xtpr
bogomips        : 2130.73
clflush size    : 64

# lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 15)
07:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
07:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
07:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)

# lsusb

Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 002: ID 0637:0003  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 001: ID 0000:0000  
Bus 005 Device 002: ID 044e:300c Alps Electric Co., Ltd 
Bus 005 Device 001: ID 0000:0000  
Bus 001 Device 007: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse Plus]
Bus 001 Device 008: ID 054c:01bb Sony Corp. 
Bus 001 Device 005: ID 05ca:1832 Ricoh Co., Ltd 
Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 0000:0000  

# cat /proc/bus/input/devices

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
H: Handlers=kbd event0 
B: EV=120013
B: KEY=4 2000000 3802078 f840d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1 
B: EV=40001
B: SND=6

I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="DualPoint Stick"
P: Phys=isa0060/serio1/input1
S: Sysfs=/class/input/input2
H: Handlers=mouse0 event2 ts0 
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=2222
N: Name="AlpsPS/2 ALPS DualPoint TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/class/input/input3
H: Handlers=mouse1 event3 ts1 
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

I: Bus=0003 Vendor=0637 Product=0003 Version=0100
N: Name="GUNZE USB Touch Panel"
P: Phys=usb-0000:00:1d.1-1/input0
S: Sysfs=/class/input/input4
H: Handlers=event4 
B: EV=b
B: KEY=70000 0 0 0 0 0 0 0 0
B: ABS=3

Links

Personal tools