2008-12-30

Acer TravelMate C100 in Fedora: Stylus and Tablet, more

I'm going to document a bit more my trials in getting the Acer TravelMate C100 working tablet working in Fedora. I'll break it up by sections and update just this One post.

X

X changed how they handle PCI and now the Silicon Motion driver is broken for this tablet's Lynx 3DM SM712 card. For this you will need an updated Silicon Motion driver! Here is the source for 1.7.0 which fixes whether to use the BIOS, some initialisation, and acceleration issues. Yay 1.7.0. Francisco Jerez was wonderfully helpful. Bug documenting the issue is on Freedesktop bug 18816.

If you do not feel comfortable building the new driver and its few dependencies, you might want to wait until Fedora releases an updated one! Or, you can bug me and I will package it.

Tablet

The new X tries to use HAL to autoconfigure your devices. It tries to make do without an /etc/X11/xorg.conf configuration file. It did not autoconfigure my tablet. So, as root I let it create a base xorg.conf (once I had X working at all from the step above) using

# X -configure

which created a new xorg.conf in /root/ which I copied to /etc/X11/xorg.conf and added:

Section "InputDevice"
        Driver          "wacom"
        Identifier      "Stylus0" 
        Option          "Device"        "/dev/ttyS0"
        Option          "Type"          "stylus"
        Option          "ForceDevice"   "ISDV4"
#       Option          "Button2"       "3"  # makes side-button right click instead of middle
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "Eraser0"
        Option          "Device"        "/dev/ttyS0"
        Option          "Type"          "eraser"
        Option          "ForceDevice"   "ISDV4"
EndSection

Section "InputDevice"
        Driver          "wacom"
        Identifier      "Cursor0"
        Option          "Device"        "/dev/ttyS0"
        Option          "Type"          "cursor"
        Option          "ForceDevice"   "ISDV4"
EndSection

I also made this changed the X Server layout section to this:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Stylus0" "SendCoreEvents"
        InputDevice    "Cursor0" "SendCoreEvents"
        InputDevice    "Eraser0" "SendCoreEvents"

        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

The next time I started X, the stylus worked :)

Suspend and Sleep

Hibernate worked automatically for me. However, the Acer TravelMate C100 would not come out of suspend to RAM for me. Well, it came out, the video would just be blank and slowly bleed across the screen :( To fix this for me, I have to enable the vbe_post quirk for HAL. To do this for the system, I made two changes to

/usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi 
which defines the quirks for Acer's video.

First, I changed the 4th line (vendor) from this:

    <match key="system.hardware.vendor" prefix="Acer">
to this
    <match key="system.hardware.vendor" prefix_ncase="Acer">
because this Acer model is reported is lshal as being ACER instead of Acer, and the change lets it match case insensitively.

The second change I made was to enable the vbe_post quirk for the C100 as well as the 6460. So, I changed line 24 (the one that matches 6460) from this:

        <match key="system.hardware.product" contains="6460">
to this
        <match key="system.hardware.product" contains_outof="C100;6460">

This issue with patch is at Redhat bug 478369

Audio

I have to use the

$ alsaunmute
command from the command-line to get the audio correctly initialised often. I haven't really pursued this much as I think my soundcard is having hardware issues anyway.

Wireless

The built-in wireless works out of the box for me. The sad part is, though, the button to switch between the wireless card and the wired ethernet seems to only work at boot (like, when GRUB is up). So, I have to reboot if I want to switch modes.

I'll note that the Acer Hotkeys system (acerhk) mentions code for enabling the wlan_button from Christian Roessner but their link appears to be dead.

Hotkeys

Building and compiling Acer Hotkeys (acerhk) still works for me for enabling volume and suspend Fn keys :)

Other

There are other things that I may have forgotten or not bothered about if they weren't important to me. If you want me to try something or have any questions, please comment or e-mail me. My e-mail address is on the front page.

2008-12-28

Acer TravelMate C100, a sleeping beauty

I own an Acer TravelMate C100 tablet PC. I recently installed Fedora 10 on it. While resuming from suspend worked under Ubuntu, it did not under Fedora 10. Following Richard Hughes' quirks, I discovered that I could resume from suspend when suspending with the vbe_post quirk.

So, from the command-line:

$ pm-suspend --quirk-vbe-post

And from HAL:

hal-set-property --udi /org/freedesktop/Hal/devices/computer --key power_management.quirk.vbe_post --bool true

While I should be able to add an entry to /usr/share/hal/fdi/information/10freedesktop/20-video-quirk-pm-acer.fdi to make this quirk permanent for HAL, that does not appear to be working. Hmm.

Update

So, the casing was wrong. My laptop claims its vendor to be ACER while the section in the HAL file was matching on "Acer". I changed it to match case insensitively, as well as adding the entry for C100 on vbe_post.

I'll mention that I didn't discover this by suddenly clueing in, but by running:

$ pm-suspend --quirk-vbe-post --store-quirks-as-fdi

And viewing the output at /etc/hal/fdi/information/99local-pm-utils-quirks.fdi.

Now HAL reads the quirk entry from the fdi. Yay.

2008-12-09

Fedora and Masochism

So I installed Fedora 10 on my laptop the other day and: what a mess! My first issue was that X wasn't working. I actually helped resolve that the other day with an X developer in Ubuntu, so I applied the same fix, and voila.

Second, I couldn't log in! I would go to GDM, login, and then it would wait interminably. I eventually tried reinstalling GDM and rebooting. That ended up working, somewhat. However, all I got was a blank panel and a few icons. I have now populated that panel. Did something fail to copy over the items? Did they fail to load? This was caused by one of two issues:

  • dbus-1.2.6. What utter fail. Yes, it is a security risk, but the solution is not to update a fundamental package that will break the desktops of all your users who bother to diligently install security fixes. Yikes. It's still not totally resolved. A relevant Fedora/Redhat bug: 475068; freedesktop bug: 18229
  • A gstreamer issue. My new user account had ~/.gstreamer-0.10 with permissions that prevented the creation of the file registry.i386.bin, without which gstreamer segfaults. Yikes!

I'll note that the gstreamer issue also took away:

  • my sound, and
  • my power management! I don't really understand how that worked, but I didn't have suspend or hibernate, or the battery applet while that gstreamer file couldn't be made. Relevant bug: 475125

The errors I received due to the gstreamer (as reported in /var/log/messages and ~/.xsession-errors) include:

  • gnome-settings-[8894]: segfault at 4 ip 00fef0f5 sp bffb8020 error 4 in libgstreamer-0.10.so.0.18.0[f6b000+bc000]
  • gnome-power-man[8893]: segfault at 4 ip 06e320f5 sp bfe37190 error 4 in libgstreamer-0.10.so.0.18.0[6dae000+bc000]
  • mixer-applet2[9015]: segfault at 4 ip 06e320f5 sp bfd86bd0 error in 4 in libgstreamer-0.10.so.0.18.0[6dae000+bc000]

Finally, my stylus does not work. My configuration expects /dev/input/wacom which is apparently wrong on Fedora. I need to find out which device file it becomes associated with, and then all will be well once more...

Labels

#General #Microblog friends life #Technology gnome music google iaido guelph fedora vegan bugs food school linux technology #GNOME #School jodo gxml #Budo blogger #Photos work nature web happy vala art firefox Flesherton android anime internet open source stress travel home kendo kosmokaryote writing birthday dad science animals computers environment future security canada cookies development german photos programming reading sick sleep snow video winter GUADEC cell phones css fun language learning me people phone picasaweb ta time christmas evolution love movies vegetarianism Toronto gsoc identity society speech vancouver vlogbrothers #Vegan adventure ai birds dreams git google+ gseta happiness libgdata new zealand night responsibility skedge stars tea wind mobile Nintendo baking cake consumerism fedora 17 memories netflix nlp photography quote tablet uoguelph Josh Ritter books bug communication design facebook family humanity javascript magic meaning memory money organisation pidgin rain recipes speechdispatcher sushi tv weather Spain TAing animalia cat chocolate cold cycling death encryption film flight genderguesser halloween health knowledge languages liv mail new years nightmares politics productivity psychology swords the legend of zelda ubuntu video games web development xml xorg youtube Thanksgiving The Frames acer bc blogging busy conversation cooking duolingo emacs emusic fedora 18 galaxy nexus gay rights gitorious gmail japan libxml2 martial arts materialism nerdfighteria privacy rhythmbox software sound space university upgrade valentines wahoo walking Con-G Europe John Green Scott Pilgrim age animal welfare apple autumn bash brain brave breath of fire II calm camera canada day change clothing comments confidence conservation creativity culture dance dataloss djaqua duplicity e-mail errors feminism gdom germany goals google reader gtk humour intelligence japanese laundry law light math morning mozilla nostalgia ottawa peterborough pets philosophy pie quality research sei do kai shopping spring style summer value village vday vonage water web design website x11 #Life New York alone anime north anxiety argument backup blog budo buffy business cats computer science concert data loss diy eating economy education energy english exercise failure fedora 19 file systems flowers freedom french games gdata greyhound growth habits heat history house html ice cream im information joy koryu laptop living lost microsoft moon moving muffins mystery news nz pain photo php physics pirates pizza play poverty preupgrade progress purple python reality reflection religion rss self serialisation sharing skating social sun synergy tachi uchi testing themes thesis thinking thoughts transit turtles veggie challenge velociraptors violin weekend weird yum zellers API Air Canada Empathy Hank Green Hugo Jane Austen Lord of the Rings Nexus One OCUS Sudbury Trick or Eat arboretum audible autonomous automobiles beauty bike blogs browsers camping cancer canoeing celebration charity chrome colour community content copyright corporations crafts decay decor depression depth disaster drawing emotion epic equality experience faery fest farmer's market fedora 12 fedora 16 fedora 20 fedora 22 fedup feelings fireworks friend gender ghetto ghosts glib gnome blog gnome shell google talk green hair hobocore hungry icarus interest introspection java jobs last exile luks macbook mail-notification mario meat in vitro mind mom mood moon festival motivation mtp ninjas oh the humanity pagans pants papers past performance perl phones picnics pitivi plastic pride pumpkin pumpkin pie quiet thrill rae spoon receipts rogers rpm seminar sewing simple simplicity sleep deprivation smells soy milk speech dispatcher sports stories story telling strange streamlines swimming telephone temperature texting thrift stores time management time travel tragedy truth understanding united states urban ecosystems usb veganism voice volunteering webschwerver wild wireless working world yojimbo zoology Avatar: The Last Airbender Blassreiter CIS*2750 CIS*6890 Czech Republic Diablo Dresden Codak Dunedin Dutch Blitz Electric Networked Vehicle Elliott Brood Ender's Game France Fringe GNOME 3 Grimes HTC Hayao Miyazaki Mario Kart Montréal Network Manager Newfoundland Ontario Ouran Host Club Richard SVC Samsung Samurai Champloo Santa Claus Studio Ghibli TCAF US academics adb aeroport algonquin amusing animal agriculture apartment automation awkward bad movies banana bats battery beard belladonna beta bicycle book branding breakfast brno bus buses buy nothing day cabin calgary candy cards cars catastrophe celebrate celtic chat cheap cheese childhood china chinese calendar cities clarity clean cleaning clock comics compassion compiler computer conspiracy theorists consumption context convention cookie cool cornerstone cosplay cottage country court creation cthulhu cupcakes curiosity cute dancing dark themes dbus definition deja-dup democracy despair dinosaurs discomfort dns dodgeball dragon dress dust dystopia earth earth day efficiency eggs elections email enhanced history ethics evil exhausted expectations exploring ext3 ext4 fail fair trade fall fashion favourite feedly ferry focus formal free friendship fruit fudge full moon furniture gaelic game boards garden gardening gee generosity genetics gimp gir gobject good google hangouts google wave government grading gratitude green roofs groups gsec guerilla gardening haircut hakama help homosexuality honesty howl hp human rights humanitarianism humility hypocrisy ice images imaqua instant messaging integration internet explorer jabber jazz jelly bean jokes kernel keyboard knife labs last exile: fam the silver wing laurena lazy letters library libxml livejournal lizzie bennet loneliness loss lovely lyrics maps maturity meditation melancholy metadata microbes microfinancing microwaves moon cake morality mother music concert muso jikiden eishin ryu myth namespaces nasa nerdfighter neural networks nintendo 3ds normal normality notes obsolescence oceans open open souce open standards panasonic paper parties patches peanut butter perception personal perspectives philanthropy plants pleasant politeness potluck preparation problems ptp pulseaudio quidditch racism recreate redundancy relationships relax repairs resizing richard's room roomba roses rsync running sad sadness salsa samurai sanity scary schwarting seasons self-esteem self-navigating car selinux semiformal senility sensitivity sentimental sheep ships silicon motion sleeping in sms social justice software engineering solitude solutions songs soup speed ssh star wars strangers stupid success sunset surreality survival skills suspense sustainability sweet sympathy symphony tardigrades tasks teaching technical communication and research methods test tests thought thrift tim tams time and space tired tools tracker tradition tranquillity transience trees trust tumblr twitter update usability utopia via vihart vlog waffles warmth waste waterloo wave web comic webkit wii wiki winter is coming wizard wonder woods words xmpp yoga youth zoo #Wishlist 1. is anyone reading this? 1602 1984 2. you win a prize! 2014 24fps 3. gimme a call to collect 404 All My Children Andy Griffith Argentina Armstrong House Avatar: The Legend of Korra BarTab Beach House Boston Boston Summit Businesses C CIS*6050 Cambridge Christopher Plummer Claymore Creatures Darker than Black David Attenborough Dear Wendy Docking Station Dollhouse Earthbound England Excalibur February Fergus Final Fantasy IX GError GSA Go Google Play Music Hunger Games I believe in a thing called love I'm a wizard IRC Ikea Ireland JRR Tolkien King Arthur MIT Mac OS X Madrid March Massachusetts Matlock McGuinty Melodies of Life Merlin Michael Cera Mother Mother Mr. Tumnus Narnia Neil Gaiman New York Philharmonic Nick and Norah's Infinite Playlist Nintendorks Norns North Korea NotesFromNewYork Olympic OpenShot Orphen Orson Scott Card Oscars PEAP Pete Peterson Planet Fedora Porco Rosso Questionable Content R ROM Rent S SIM Wireless Sauble Beach Selenium Shakespeare Snakes and Lattes Splatoon Star Trek Steve Grand Stranger Things ThanksLiving The Darkness The Devil is a Part-Timer The Fifth Estate The Guild The Hobbit The Stand Tianjin Tim Hortons Tolkien UK UX VPN Will Grayson Will Grayson Wolves in the Wall WordPerfect Xiki abrt absolutism abuse academia accessibility active activism activity addiction adreama adrift adulthood advertisement advertising air airport express airship ajax al gore alarm clock aldiko alice in wonderland alien alistair summerlee amateur amazon ambience ambition amy winfrey anaconda and imperfection angle angry birds anhosting animation anon anonymity ant apache apology appearances appreciation aqualab arcade architecture arduino arrogance ask assassins assignments association analysis astrid asus eee top asynchronous ati attitude attribution aural abuse authentication authenticity automake automarker avatars awesome b43 backtrack3 backyard bounty bad bagel bandwidth banjo banks barbarians barefoot baseball bathroom beaches beautiful bed bees beetles being belief bellaqua benedict cumberbatch berlin bertrand russell bill gates biofabrication biology biometrics bit rot bitcoin black and white blame blockbuster bloomberg blue board games bohemian bold bon thé place bonds border boredom botany boxing day boy brain scoop brickworks broadcom broccoli browsing bubbles bubbly buildings bunnies burn bus stops butterflies buttons c# c++ cafe calendaring calligraphy camel camera obscura cameras canopy capitalism captivity careless caring cast causality cbc cedar row cello censorship certainty cgi chalk challenger changing locks chaos theory charm cherry blossoms chickadee chickens chivalry choir chopsticks chores christchurch christianity chudan church cijf cinnamon classes clif clorox clorox green works cloud cloud atlas clubs cname coca cola codeine codeviz coincidence coins color comfort commons communism competence competition competitive coughing completeness compliments conference configuration conflicted confusion consciousness consent conservatives conservativism console construction contagion contest contributing convenience corpses cough suppressants coughing coupons courageous crashes crates crayons crazy creative commons criminals crisps criticism crosscanada crowd crtc cry crying cryptic cryptozoology csh cuddles cult currency current tv curse customer service customisation cvs daily grind data data mining databases dating david bowie dconf debate debug symbols debugging delicious design patterns desktop desktop summit destiny detachment dftba diet difficult digimon digital receipts disabilities disappointment discordianism dispute dissection kit distraction diyode dnf doctor who doctors documentation dokuwiki doubt doughnut dpkg drab drano drano prevention dream dreaming drinking drm drowning dryers dtwydt ducks dvds dying dynamic typing ease easter easy ebony jewelwing ebooks ecards economics editors eeetop el paso elder neglect electronic receipts elements elitism ellen page embarrassment emily graslie emptiness empty enchant end of enterprising environmental science symposium eog epiphany eplugin equipment essentialism ether euphoria evoaqua experiment experimenting expertise extensions extortion facades faith falafel familiarity fan fancy fantasy fascism faun favicon fears fedora 11 feed me feedback festival fibonacci fiction fiddler crab field guide field identification figment figures of speech file formats finances fire fish fitness fixing flac flash light flesherton fling flexibility flour flow flying fonts footprints forceps forgottotagit fork fortunate fortune found fragaria frameworks fraud fred penner free time freezing french fries fresh friday friend's wedding frog fspot funding funerals funny fury fuse gargoyles gdb geek geeks gf3 gi gifts gio gjs glass globalnewtgames glory gloves glue gluten gm gmo gnome keyring gnome software gnome-control-center go ninja go go transit goat gods goodbye goodfella's google books google wallet gp2x gqe grad graffiti grammar graphing graphviz grass green beaver grey county groceries growing up gtest gtg guts gypsies habit hal halls hard hard drive hard drives hardship hardware harry potter hdtv heart heart break heaven 17 hemlock grove hewlett packard hijinx hiking hoaxes hobbies holidays homelessness homework honey badgers honour horatio hornblower horror hostels hosting hot house of cards hp lovecraft hugs humblebundle humbleness hunting hyperlinking hyrule i am a carpet ibm thinkpad x41 icalendar ice cream sandwich ice rain icthyology ignorant ill image image editing imagination impermanence inadequacy inaturalist inconvenience independence india individuals industry infinity ingrid michaelson inhumanity injuries ink innovation insects instagram installation intel intellectual property interactivity interlocutor internet tv invertabrates io irish irony isolation it it is indigo james bond jedi jikiden joke journalism journey judgement julian assange julie thiel justice kata kayak keys ki-ai killme kim taylor kinder kindness kirby kitchen kiva knights knots kodak koodo kung fu labels landau sacamoto late laundromat led legend lending lenovo lessons letstrace letter writing liberalism liberals libnotify libreoffice librpm lifehacker lilo limericks limits linksys liquid lists live wallpapers livecd liveusb loans local local food local install login london losher lots of hugs mac mini machine learning machine vision madness mae magic school bus magical maintainership majesty malaria malls mantis shrimp marine life marketing marking massages matrices maturation may seminar meat media medicine mel's diner memory leaks mental health meow mercy metacity metaphor methodology mezzo forte micropayments mild mild weather military milk mindhacks minimalism misanthropy miscellany misery misfortune missed the boat missing mlp modelling moisture mold molly parker monitors monologue more cats mosquitoes moss mother's day mounting mouse moxies muffin muffinfilms mundane murder museum mushishi mushroom soup mushrooms musicals mutual funds my slumbering heart mysql nameservers nanowrimo national treasure natural language processing naturalism nausicaa navigating necessity neighbours nervous netgear network new new users newspaper hat next year ninja turtles nodelist nointernet noise noisy nominate non-root norse noses not really dying notebooks notification-daemon novels november fair nuclear war numbers numix obama obligation obliviousness obscure ocz ogg oggenc olap olive omote open formats open music openness openoffice optimisation optimism orcas orchestra oreo oreos org-mode origami oscar otr overheat owen sound package management packagekit packing paint shedding pan pancakes panda parallelism paranoia passport patents patience pattern recognition pdo peace peaceful pen pence pender penguins penmanship perfection pet rocks physical piano pickman's model picnik pidgin plugins pikmin pintsize pipelight pirate festival pizza hut plagiarism planning plans playground playlists plumbing plushies podcast poem poetry points pokemon pomplamoose positions posse post posters postmodernism potatoes potlucks power ppc practise prejudice premier pressure pretty pride and prejudice priorities private processes professionalism projects promise protest proud purchases qt quarantine rad radeon railroad randall munroe raop rats reagan recursion recycling redhat reductionism refactoring refrigerators regret relativism release renew renfrew repetition report resolutions resolve resumes reuse reuters reviews revolution rhino rhps ricola risk road trips roar robots rockwood rot rover rtm ruby day ryu safety sanctuary sand satisfaction savages scary movies scheduling schneier scholarships scooters scp screenshots script seals search secret world of arrietty secrets seitei self-interest self-respect self-sufficiency self-worth semesters senescence sessions setbuilder settlers of catan sftp shame sheepo pistachio sheila patek shell shells sherlock holmes shipping shogun shotwell shoulder bag sigh sim city simafort simpsons sincerity singing sjr skill skunks sky slackware slashdot sliver small smiling snails snowboarding soccer social dance social media socis soft solemn someonesmotherwantstoadoptme song sony sophistication sorbet sorrow sparklers speed river spell spellchecking spelling spies spilt milk splendid splendor splinter spoilers sql squaresville sr ssd sshd stanley park starry night starving steampunk storage strawberries strength structured information struggle stuff stylus suburi sucks sugar super mario super mario land 3d superiority superstition surprise surreal sushi surrender swings systemd systems tabs tachi uchi no kurai tail coats tameshigiri tarot taxes tears technocracy teddy bears tedtalk term termcap terror the duke the fault in our stars the hulk the human league the irregular at magic high school the onion theatre theory thingsidon'twanttodo tim berners-lee tim mcgraw timber timbre timeliness tin tin toaster todo toilets tolerance tonight toomuch touch screen touchpack tour tourniquet toys trac trailer translation travel buddy treestyle view trex triumf triumph trivia trouble tweak twist tx2500 tx2617 typing ugly logos umbrellas un dinaru underwold unemployment universe unlimited blade works updates upgrades uploading urban agriculture urban ecology urchins user experience vagrancy vagrant vague but exciting valadoc validation values vampires vanilla ice variety vegetables velvet burger verb version control vi vinegar violence voip vpnc vulnerable waf wandering wanting war warm weapons web hosting webcomic webcomics webfonts werewolves whales what a wonderful town whatsbetter whic are also lazer powered white spot wifi wii u wikisource will williams wings wisdom wishes wizardry wolf wonderland wordplay world cup world water day writing voice xenophobia xephyr xinput xkcd xpath yahoo yay yyz z-index

Blog Archive

About Me

My photo

I am aeronautical, vanship-style.  I am olympic and mythical.  I rest on my laurels.