You are not logged in.

#26 2008-04-11 21:26:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I don't really use it, so I didn't really check. Xev recognises the scroll lock just fine though, so I'd say it works tongue.

You cannot copy the Ubuntu drivers... Your solution is to use the Ubuntu kernel (and its drivers) in Arch.

Suspend works just fine. The thing is, alsa only mutes with my own kernel, not with the regular Arch one. I am looking into it.

As for disabling bluetooth, starting the service loads extra modules, so simply removing hci_usb doesn't work - you got to unload all other modules the bluetooth service loads. Would be nice if the bluetooth script could do that itself - it loads modules but seems not to unload them, which is kind of awkward ihmo - I don't like services not cleaning up their own trash. If you don't have the service running there's no reason to have the module loaded anyway.

Last edited by B (2008-04-11 21:36:30)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#27 2008-04-11 21:33:09

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

You could try this in your /etc/modprobe.conf:

options snd-hda-intel model=hippo

Even if it does not fix your problem, it opens a lot of channels though at the cost of headphone jack sense so I don't use it. Then of course you could someone restart the alsa daemon on a resume as all it does, to my knowledge, is restore sound levels. What driver and method are you using to suspend and I'll try it out.

Bummer about the webcam. I don't use it, probably won't ever, but as I'm off to college in the fall I don't want to make linux look bad. wink

Last edited by Reasons (2008-04-11 21:34:15)

Offline

#28 2008-04-11 21:44:41

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Well just pm-utils with the hacks file I posted above smile (which should in no way affect alsa).

Alsa is quite stubborn - whether mpd is playing or not, the sound gets muted upon resume. Alsamixer also displays different output as root, compared to when I run it as a user, and the Master is sometimes muted. Usually I have to reload the modules and restart alsa to get it working again.

I've seen about those options, the thing is, with the stock kernel it works fine, since it's the same code (no alsa patches), it should just work tongue

* B shakes his fist at the kernel.

Edit: enabled the generic High Definition Audio driver and power saving and it's working. I'll upload the config (and the updated PKGBUILD) later on, right now my repo's server is down :-/.

Last edited by B (2008-04-11 21:56:15)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#29 2008-04-11 22:08:02

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

No rush, everything is going grand for me and if it ain't broke. . . unless the powersaving helps that much. I pulled 6.5 hours yesterday while kicking it with wireless on, gimp, mpd, and browsing with epiphany and typing on abiword. Seeing as it's rated for 7 hours and I didn't have the brightness all the way down I'm calling it good.

And just completely off topic, do you know if you can upgrade the greasemonkey version for epiphany? A lot of scripts don't work.

Offline

#30 2008-04-11 22:12:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Well I'm kind of an Opera fan tongue.

Could you check the lsmod output for what module is powering your camera? Also, is the module provided by a binary add-on package or by the default kernel? If you can find out the name of that (kernel) package and find where the sources are that would be nice. I already found 2.6.24 Hardy Heron kernel sources but grepping the diffs does not turn up anything about R5U870.

Last edited by B (2008-04-11 22:39:52)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#31 2008-04-11 22:47:58

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Using the vaio kernel with your pkgbuild and a few other patches the output is (I'm in a hurry)

Module                  Size  Used by
i915                   22592  2 
drm                    73320  3 i915
sr_mod                 15076  0 
cdrom                  32680  1 sr_mod
usbhid                 27856  0 
hid                    28548  1 usbhid
usb_storage            40960  0 
ohci1394               28020  0 
i2c_i801                8604  0 
psmouse                38684  0 
yenta_socket           24076  0 
ieee1394               81104  1 ohci1394
i2c_core               20352  1 i2c_i801
rsrc_nonstatic          9920  1 yenta_socket
tpm_infineon            9084  0 
tpm                    13344  1 tpm_infineon
tpm_bios                6400  1 tpm
serio_raw               6148  0 
ricoh_mmc               3712  0 
pcmcia_core            33572  2 yenta_socket,rsrc_nonstatic
ehci_hcd               32076  0 
uhci_hcd               22624  0 
sony_laptop            32112  0 
video                  18900  0 
output                  3648  1 video
intel_agp              24864  1 
sg                     22160  0 
thermal                15648  0 
fan                     4616  0 
evdev                   9984  7 
button                  7840  0 
acpi_cpufreq            7280  2 
processor              33240  4 thermal,acpi_cpufreq
snd_hda_intel         218084  5 
snd_seq_oss            29248  0 
snd_seq_midi_event      6912  1 snd_seq_oss
snd_seq                47904  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7124  2 snd_seq_oss,snd_seq
snd_hwdep               7560  1 snd_hda_intel
snd_pcm_oss            34784  0 
snd_pcm                62152  3 snd_hda_intel,snd_pcm_oss
snd_timer              19656  3 snd_seq,snd_pcm
snd_page_alloc          8400  2 snd_hda_intel,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    48120  17 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               7184  1 snd
iwl4965                97064  0 
mac80211              112140  1 iwl4965
cfg80211               12688  1 mac80211
sky2                   41668  0 
rtc_cmos                7800  0 
rtc_core               16780  1 rtc_cmos
rtc_lib                 3008  1 rtc_core
usbcore               130272  5 usbhid,usb_storage,ehci_hcd,uhci_hcd
sd_mod                 22336  4 
ata_piix               17860  3 
ata_generic             6404  0

Besides that, I haven't done anything with the camera.

Offline

#32 2008-04-12 05:50:20

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I meant your Ubuntu kernel wink.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#33 2008-04-12 06:19:50

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

B wrote:

I meant your Ubuntu kernel wink.

Messing with my uptime. sad

Module                  Size  Used by
ipv6                  311720  10 
i915                   37760  2 
drm                   105896  3 i915
af_packet              27272  2 
rfcomm                 47392  2 
l2cap                  28800  13 rfcomm
bluetooth              67748  4 rfcomm,l2cap
ppdev                  11400  0 
parport_pc             41128  0 
lp                     14916  0 
parport                44300  3 ppdev,parport_pc,lp
acpi_cpufreq           10832  2 
cpufreq_userspace       6180  0 
cpufreq_stats           8416  0 
cpufreq_powersave       3200  0 
cpufreq_ondemand       11152  1 
freq_table              6464  3 acpi_cpufreq,cpufreq_stats,cpufreq_ondemand
cpufreq_conservative    10632  0 
sbs                    17808  0 
sbshc                   8960  1 sbs
container               6656  0 
dock                   12960  0 
iptable_filter          4608  0 
ip_tables              24104  1 iptable_filter
x_tables               23560  1 ip_tables
snd_hda_intel         439768  3 
snd_pcm_oss            47648  0 
snd_mixer_oss          20224  1 snd_pcm_oss
snd_pcm                92168  2 snd_hda_intel,snd_pcm_oss
snd_page_alloc         13200  2 snd_hda_intel,snd_pcm
snd_hwdep              12552  1 snd_hda_intel
snd_seq_dummy           5764  0 
pcmcia                 45976  0 
snd_seq_oss            38912  0 
snd_seq_midi           10688  0 
snd_rawmidi            29856  1 snd_seq_midi
joydev                 15488  0 
uvcvideo               62084  0 
iwl4965               118516  0 
snd_seq_midi_event     10112  2 snd_seq_oss,snd_seq_midi
iwlwifi_mac80211      251876  1 iwl4965
compat_ioctl32         11136  1 uvcvideo
snd_seq                63232  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              27912  2 snd_pcm,snd_seq
cfg80211               17680  1 iwlwifi_mac80211
videodev               30720  1 uvcvideo
snd_seq_device         10644  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
v4l1_compat            15492  2 uvcvideo,videodev
v4l2_common            21888  3 uvcvideo,compat_ioctl32,videodev
tpm_infineon           11836  0 
evdev                  14976  7 
yenta_socket           30092  1 
sky2                   53636  0 
sony_laptop            40368  0 
snd                    70856  17 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ac                      8328  0 
battery                16776  0 
tpm                    19488  1 tpm_infineon
video                  23828  0 
rsrc_nonstatic         14080  1 yenta_socket
ricoh_mmc               5120  0 
iTCO_wdt               15312  0 
button                 10912  0 
shpchp                 38172  0 
psmouse                46236  0 
tpm_bios                9728  1 tpm
serio_raw               9092  0 
output                  5632  1 video
pcmcia_core            46116  3 pcmcia,yenta_socket,rsrc_nonstatic
intel_agp              30624  1 
pcspkr                  4736  0 
iTCO_vendor_support     5764  1 iTCO_wdt
soundcore              10400  1 snd
pci_hotplug            34608  1 shpchp
squashfs               46352  1 
loop                   21508  2 
unionfs                87264  1 
nls_cp437               8320  1 
isofs                  39464  1 
sr_mod                 20132  1 
cdrom                  41512  1 sr_mod
usbhid                 35168  0 
hid                    44992  1 usbhid
usb_storage            82496  1 
libusual               23520  1 usb_storage
ext3                  149264  0 
jbd                    57000  1 ext3
mbcache                11392  1 ext3
sg                     41880  0 
sd_mod                 33280  2 
ata_piix               24196  1 
pata_acpi               9856  0 
ata_generic             9988  0 
ohci1394               36532  0 
ieee1394              106968  1 ohci1394
libata                176304  3 ata_piix,pata_acpi,ata_generic
scsi_mod              178488  5 sr_mod,usb_storage,sg,sd_mod,libata
ehci_hcd               41484  0 
uhci_hcd               29856  0 
usbcore               169904  7 uvcvideo,usbhid,usb_storage,libusual,ehci_hcd,uhci_hcd
thermal                19744  0 
processor              41192  4 acpi_cpufreq,thermal
fan                     6792  0 
fbcon                  46336  0 
tileblit                4096  1 fbcon
font                   10112  1 fbcon
bitblit                 7424  1 fbcon
softcursor              3712  1 bitblit
fuse                   56112  1

Offline

#34 2008-04-12 06:29:18

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Hehe big_smile. Is your cardreader working? I only got Memorystick stuff, so I can't test the SD reader, but the MMC reader isn't working for me. Stupid Ricoh stuff hmm.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#35 2008-04-12 06:38:32

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Just gave the SD slot a go and it's not working. Weird because it did on a Sony SZ I had which should be much the same.

Offline

#36 2008-04-12 22:40:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Updated PKGBUILD and config can be found here.

I just built 2.6.25 RC9, I hope to find out what is causing those seemingly random lockups. I also put in wpa_supplicant 5.10 again, since rolling back to 5.9 didn't make the kernel dumps disappear...

I will run a RAM test later this day to see if this machine is good. It is no overheating problem afaict, I don't know what _is_ wrong though.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#37 2008-04-12 23:51:05

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Anything new that it is worth the update?

Offline

#38 2008-04-13 06:26:29

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

No tongue. I ported the mac80211 powersaving patch and the udma33 patch to 2.6.25.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#39 2008-04-13 16:56:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Ok - it seems 2.6.25-rc9 is a bit more stable on this box. I have also run memtest for almost 10h and no errors reported so I guess the RAM is good.

Thanks for the snd-hda-intel btw - googling told me it was the option that fitted the Realtek onboard audio, and now suspending and resuming with playing audio works just fine. I do have to stop mpd before suspending and make it resume after, but I threw that in the hacks file, so no biggy. I guess I'm close to completing the mission on this one big_smile.

PKGBUILD, kconfig and patches for 2.6.25 are here. Vanilla sets my SSD to UDMA 33 without the patch though.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#40 2008-04-13 21:35:18

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Have you gotten the snd-hda-intel to detect headphones though? For me I would have to mute the front and go to the headphone slider which was too much of a hassle IMO.

Also, any ideas on the webcam? Building the new kernel today so I'll let you know how that goes for me.

EDIT - It had a small error on what you called the mac8.... in the PKGBUILD then what it was downloaded as. Same for udma33-40-wire-cable-misdetection.patch

Last edited by Reasons (2008-04-13 21:57:38)

Offline

#41 2008-04-13 21:56:07

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Well, loading the driver with the model=hippo option shows a lot more channels. If i just leave alsa to it it would already detect the headphone jack and switch. That behaviour remains, I did notice that if the headphone is plugged in before the driver gets loaded it will just route the sound to both outputs. If you unplug the headphone and plug it in it will mute the speakers and send it to the jack exclusively.

I will look into patching the kernel sources with the camera driver code soon (but not real soon because I got other stuff to do and the webcam isn't urgent tongue). Could you give me the name of the Ubuntu kernel package that has the driver working for you?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#42 2008-04-13 22:04:04

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I really wish I could, but it was just a live disk and my friend took it when his ubuntu install went bad. I'll work on getting a new copy but there are no torrents for it and the ftp is slow so I'd have to do it at night (in ten hours). I have a question though.

  -> bsdtar -x -f linux-2.6.24.tar.bz2
  -> bunzip2 -f patch-2.6.25-rc9.bz2

Why is one .25 and the other .24?

For the kernel driver, I really don't know. I popped in a live disk, saw it worked, and haven't looked into it since as I'm not too bothered by it.

Last edited by Reasons (2008-04-13 22:05:46)

Offline

#43 2008-04-13 22:26:27

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

RC patches always apply to the patchlevel release of the previous kernel smile. So to get a 2.6.25 release candidate, you grab the full 2.6.24 source and apply the RC patch to that.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#44 2008-04-13 22:45:22

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Makes sense. I got the had-intel to work properly, even better when I gave mpd it's own volume channel. The only things left that aren't going are
1) webcam - not to much of a problem and I'll burn another live disk tonight and dig through that
2) fingerprint scanner - no Sony has every had one work in linux because of some jerk move by sony.
3) Memory slots, I'll check those in the Ubuntu live disk to and if they work, look around why.

I believe that's it. smile

Last edited by Reasons (2008-04-13 22:46:04)

Offline

#45 2008-04-13 23:14:20

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

[stijn@hermes scripts]$ lspci | grep -i ricoh
09:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
09:04.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)
09:04.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev ff)
09:04.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

I have tortured Google for this Ricoh crap but so far no working solution. A lot of people (if not all) having this card reader model are unable to read their SD / Memory Stick cards under Linux. If you do find anything, that would be great, but I've done a pretty thorough search, so far, no luck.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#46 2008-04-15 17:06:27

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I'm burning the disk right now so if there is anything else you'd like me to check, I'll do it tonight.

Offline

#47 2008-04-15 18:03:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Well cardreader and the name of the kernel package that would be pretty much it smile.

Have you been running the RC9? If so, what are your impressions? I get hiccups with sound, like it's not buffering enough, I am wondering if the model=hippo option has anything to do with it... Changing the kernel timer frequency didn't help any (at least 250 to 300 Hz didn't, didn't try any higher options).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#48 2008-04-15 18:15:11

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I've been using =hippo and RC9 with no problems. Flash with nspluginwrapper is a problem though as seen here:
http://bbs.archlinux.org/viewtopic.php? … 81#p355981

I'll add that option for mine though if you plan to release it to the AUR, it might help for that to be a default thing for us x86_64 users. I'm also going to give fbsplash a go, see if I can get a good startup resolution etc.

Offline

#49 2008-04-15 19:16:00

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

I won't put it in AUR, people might have different wishes, it's not that difficult to pull up a custom kconfig and build the kernel. People should know what they are doing and I don't think I am furthering that by putting my custom kernel in AUR tongue. That would mean it'd have to work, and by keeping the stuff in my personal repo I am kind of shielded from that big_smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#50 2008-04-15 20:45:12

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: Arch Linux on the Sony Vaio TZ [was 'Two-finger scrolling on Vaio TZ']

Fair enough. smile I'll make my own branch off of this and might put it in the AUR. I'll let you know if I get the correct boot resolution.

Offline

Board footer

Powered by FluxBB