View previous topic :: View next topic |
Author |
Message |
stefandoesinger n00b
Joined: 07 Mar 2005 Posts: 23 Location: Österreich
|
Posted: Tue Oct 04, 2005 1:08 pm Post subject: |
|
|
I've got my TM back now, and I successfully installed the new SmartCard Driver.
Was anyone able to do something usefull with this driver? Can I use it do logon to my system or to store some passwords on the cards? Is there any good use for the cards that came with the Travelmate?
One thing I'm interested in is using the smartcard for online banking, but that's fairly new here in Austria, and I am afraid I'll need a special reader. |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Tue Oct 25, 2005 8:24 am Post subject: |
|
|
Hi folks,
I'm back in the game as well. Actually I've got my TM back a while ago already, but I had to finish my pre-degree first Took them (Acer) a while to repair the thing anyway, I had to send it in 4(!) times until they found the actual error, an insulate contact in the display connector cable. That is, they found it only after I withdrew from the purchase contract (that's legal in germany after 2 failed repairs, so I even gave them one more chance than I had to). Kinda frustrating as their support was quite good otherwise, and fast. Never >7 days. Seems to affect accuracy tho.
Anyway, it's functional again now, that's all I wanted in the first place. I took the opportunity (of not having to buy a new notebook ) to upgrade my RAM to 768MB and to buy a new HDD (Samsung M40, 80GB). I can only recommend the latter one, it's the most silent hdd I ever had! You can barely here it operating, in contrast to the Seagate Acer built in during repairs, although it's 5400rpm vs. 4200rpm.
On the downside, I failed 'til now to prevent coldplug from starting my ipw2100 on boot. If someone's got a hint on that one, I'd appreciate it - other than rc-update del coldplug, that is. Even better would be a conditional net-device startup, like: check for link on eth0, otherwise start wlan. And a possibility to switch environments like in MacOS X. And... but hey, I'm only dreaming
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Thu Oct 27, 2005 11:24 am Post subject: |
|
|
thepi wrote: | And a possibility to switch environments like in MacOS X. |
Switch environments? Have you taken a look at quickswitch for example? It can switch network connections (manually though) and change any configuration files (like /etc/hosts) depending on the network configuration. There are other tools like this as well. What does switching environments in MacOS X mean? |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Thu Oct 27, 2005 8:55 pm Post subject: |
|
|
Well that's somewhat like what I meant, however it still seems too complicated, with no real interface. I mean, I'm all for cli tools and such, but network's given me too much hassle lately. For example, why can't the baselayout's net.lo script just get my IP via DHCP (LAN), while this little self-written script can?
Code: |
#!/sbin/runscript
start() {
# Test for link on interface
if mii-tool ${IFACE} 2> /dev/null | grep -q 'no link'; then
eerror "No link on ${IFACE}, aborting configuration"
return 1
else
einfo "Link found, booting up Network device"
fi
einfo "Bringing up Interface..."
ifconfig eth0 up
einfo "Starting DHCP"
dhcpcd -t 10 eth0
}
stop() {
dhcpcd -k
ifconfig eth0 down
}
|
On a side-note: kev, are you still working on that GEP project? Otherwise we should propably remove the hint to that in the AcerTM Wiki article!
regards,
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
corey_s Apprentice
Joined: 29 Jun 2003 Posts: 264
|
Posted: Fri Oct 28, 2005 2:18 pm Post subject: kernel 2.6.14 - centrino wireless support! |
|
|
Coolness - ipw2100 & ipw2200 have finally been subsumed into the mainline kernel!
http://wiki.kernelnewbies.org/LinuxChanges |
|
Back to top |
|
|
tuxlover Apprentice
Joined: 21 Oct 2003 Posts: 297 Location: weltweit
|
Posted: Fri Oct 28, 2005 6:32 pm Post subject: |
|
|
thepi wrote: | Well that's somewhat like what I meant, however it still seems too complicated, with no real interface. |
I just came across NetworkManager. This sounds like the solution to all the network (administration / connectivity) problems that we've ever had. No ebuild available yet, but Gentoo support is supposed to be built in.
Edit:
Just found this thread about NetworkManager that contains links to ebuilds etc. |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Mon Oct 31, 2005 2:25 pm Post subject: |
|
|
NetworkManager HP wrote: | NetworkManager components communicate with each other using dbus |
mmhm, tasty. Sounds quite interesting, really. I'm definately going to check that one out. I hope though that it's not too Gnome-dependant (I'm the fvwm2 type o'guy). I'll post the results here, if any.
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Wed Nov 16, 2005 6:19 pm Post subject: |
|
|
Okay I'm running NM now since some days (I switched to gnome-light 2.12 on the way), and it's running quite nice. At first I had some problems with the NM <-> dhclient interaction, until I found out that I forgot to add the dbus USE flag on the emerge. That's absolutely obligatory, or NM won't be able to communicate to dhclient at all!
The wired connection works well so far, connect/disconnect is handled correctly. With WLAN that's not the case, but I think it's due to coldplug autoloading my ipw2100 driver, which also starts the net.ath0 script automagically. Anyone got an idea how to turn that off? Or do I have to deactivate coldplug altogether? _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Fri Nov 18, 2005 8:51 am Post subject: pcscd not working? |
|
|
Hello folks,
I've been trying to get my smartcard reader to work. The module loads nicely:
Code: |
OZSCRLX version: O2Micro SmartCardBus Reader for kernel 2.6 (above 2.6.13)
OZSCRLX init_ozscrlx: major num: 123
OZSCRLX init_ozscrlx: function complete!
|
Starting pcscd doesn't play nicely tho..
Code: |
precious:/home/devilkin# pcscd -f -d
pcscdaemon.c:258:main() pcscd set to foreground with debug send to stderr
debuglog.c:207:DebugLogSetLevel() debug level=debug
readerfactory.c:1096:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00.
readerfactory.c:938:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (-11)
readerfactory.c:1131:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx)
readerfactory.c:1013:RFUnloadReader() Unloading reader driver.
readerfactory.c:249:RFAddReader() O2Micro SmartCardBus Reader init failed.
pcscdaemon.c:463:main() pcsc-lite 1.2.9-beta8 daemon ready.
|
I've been digging through the code of the ctapi driver, it returns an ICC_ERR_OPENFAIL. I have no idea how to further debug this problem... Any ideas?
Thanks |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Fri Nov 18, 2005 11:17 am Post subject: |
|
|
Replying on myself.. It seems that the driver doesn't find my device? (module returns -ENODEV)
Weird. It's here, it works with 'the other OS'... |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Fri Nov 18, 2005 2:53 pm Post subject: |
|
|
simmilar results here:
dmesg:
Code: | OZSCRLX version: O2Micro SmartCardBus Reader v2.0.1 2005/07/25
pcmcia: ozscrlx_cs lacks a requisite callback function
OZSCRLX init_ozscrlx: major num: 123
OZSCRLX init_ozscrlx: function complete! |
maybe mknod helps... Think I need to generate /dev/ozscrlx
Code: | pcscdaemon.c:242:main() pcscd set to foreground with debug send to stderr
debuglog.c:143:DebugLogSetLevel() debug level=debug
configfile.l:98:evaluatetoken() Error with device /dev/ozscrlx: No such file or directory
configfile.l:99:evaluatetoken() You should use 'DEVICENAME /dev/null' if your driver does not use this field
pcscdaemon.c:469:at_exit() cleaning /var/run
pcscdaemon.c:488:clean_temp_files() Cannot unlink /var/run/pcscd.comm: No such file or directory |
uname -a
Code: | Linux acer 2.6.14-gentoo-r2 #1 PREEMPT Fri Nov 18 13:31:37 CET 2005 i686 Intel(R) Pentium(R) M processor 1400MHz GenuineIntel GNU/Linux |
---
Edit:
I have tried to generate /dev/ozscrlx with a major num of 123... that doesn't really help
Result:
Code: | pcscdaemon.c:242:main() pcscd set to foreground with debug send to stderr
debuglog.c:143:DebugLogSetLevel() debug level=debug
readerfactory.c:1066:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00.
readerfactory.c:908:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (-11)
readerfactory.c:1101:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx)
readerfactory.c:983:RFUnloadReader() Unloading reader driver.
readerfactory.c:219:RFAddReader() O2Micro SmartCardBus Reader init failed.
pcscdaemon.c:446:main() pcsc-lite 1.2.9-beta7 daemon ready.
hotplug_libusb.c:196:HPReadBundleValues() No bundle files in pcsc drivers directory: /usr/lib/readers/usb
hotplug_libusb.c:197:HPReadBundleValues() Disabling USB support for pcscd |
... which is exactly the same like devilkins problem then :/ _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Sun Nov 27, 2005 2:53 pm Post subject: |
|
|
Okay I just tried to get the o2micro (most recent is 2.0.2) to run on vanilla 2.6.14.2 - turns out that it needs to be patched first since a callback function was forgotten. That's where the
Code: | pcmcia: ozscrlx_cs lacks a requisite callback function | error message came from.
I didn't yet get it to work either, no /dev/ozscrlx is created. Propably udev-rules need to be updated, I'll propably dig into that later.
Btw, pcsc-lite-1.2.9_beta8 doesn't build on my system (missing muscle*.la), anyone got that too?
NetworkManager is finally running as it's supposed to after I removed coldplug from default runlevel and erased the net.ath0 symlink. It's nice to be able to switch connections that easily
On a sidenote, I came about to fix the DSDT table for the current 4a20 BIOS revision, you can get the .dsl file at the linux acpi site. You'd need the iasl compiler to install it, though. See here for a HOWTO. I'd also provide the dsdt.{hex,aml} if you want.
Regards
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Mon Nov 28, 2005 9:19 pm Post subject: |
|
|
Cardreader issue:
While DSDT fixing I got me a the new gentoo sources kernel and patched the ozscrlx Cardreader, recompiled the modules. In the kernel config I kicked out the PCMCIA ioctl Handler (obsolete)...
Just for fun I have tried:
Code: | acer rei # pcscd -f
pcscdaemon.c:242:main() pcscd set to foreground with debug send to stderr
readerfactory.c:1066:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00.
readerfactory.c:908:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (0)
pcscdaemon.c:446:main() pcsc-lite 1.2.9-beta7 daemon ready.
ifdhandler.c:401:IFDHPowerICC In Function IFDHPowerICC Action:IFD_POWER_UP
ctapi.c:222:CT_data CT-Api: CT_data: pcReset
ctapi.c:224:CT_data CT-Api: lc = 5
ctapi.c:227:CT_data CT-Api: cmd[0] = 20
ctapi.c:227:CT_data CT-Api: cmd[1] = 12
ctapi.c:227:CT_data CT-Api: cmd[2] = 1
ctapi.c:227:CT_data CT-Api: cmd[3] = 1
ctapi.c:227:CT_data CT-Api: cmd[4] = 0
hotplug_libusb.c:196:HPReadBundleValues() No bundle files in pcsc drivers directory: /usr/lib/readers/usb
hotplug_libusb.c:197:HPReadBundleValues() Disabling USB support for pcscd
ctapi.c:344:CT_data CT-Api: rv=0, lr=28 cmd[1]!=0x13
ifdhandler.c:416:IFDHPowerICC In Function IFDHPowerICC, CT_data=0
Card ATR: 3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63 40 4B 01 0E 90 00 EF
eventhandler.c:345:EHStatusHandlerThread() Card Removed From O2Micro SmartCardBus Reader 00 00
ifdhandler.c:401:IFDHPowerICC In Function IFDHPowerICC Action:IFD_POWER_UP
ctapi.c:222:CT_data CT-Api: CT_data: pcReset
ctapi.c:224:CT_data CT-Api: lc = 5
ctapi.c:227:CT_data CT-Api: cmd[0] = 20
ctapi.c:227:CT_data CT-Api: cmd[1] = 12
ctapi.c:227:CT_data CT-Api: cmd[2] = 1
ctapi.c:227:CT_data CT-Api: cmd[3] = 1
ctapi.c:227:CT_data CT-Api: cmd[4] = 0
ctapi.c:344:CT_data CT-Api: rv=0, lr=28 cmd[1]!=0x13
ifdhandler.c:416:IFDHPowerICC In Function IFDHPowerICC, CT_data=0
eventhandler.c:413:EHStatusHandlerThread() Card inserted into O2Micro SmartCardBus Reader 00 00
Card ATR: 3B FF 11 00 00 81 71 40 42 00 00 21 01 31 42 52 00 05 63 40 4B 01 0E 90 00 EF
pcscdaemon.c:503:signal_trap() Preparing for suicide
winscard_msg.c:185:SHMProcessEventsServer() Select returns with failure: Interrupted system call
pcscdaemon.c:156:SVCServiceRunLoop() Error in SHMProcessEventsServer
hotplug_libusb.c:330:HPEstablishUSBNotifications() Hotplug stopped
readerfactory.c:1321:RFCleanupReaders() entering cleaning function
readerfactory.c:1330:RFCleanupReaders() Stopping reader: O2Micro SmartCardBus Reader 00 00
eventhandler.c:117:EHDestroyEventHandler() Stomping thread.
eventhandler.c:146:EHDestroyEventHandler() Thread stomped.
readerfactory.c:1113:RFUnInitializeReader() Attempting shutdown of O2Micro SmartCardBus Reader 00 00.
readerfactory.c:983:RFUnloadReader() Unloading reader driver.
pcscdaemon.c:469:at_exit() cleaning /var/run |
That's the result - and I am pretty sure that's what it should do.
btw - sys-apps/readahead-list is worth a try.
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Mon Nov 28, 2005 10:58 pm Post subject: |
|
|
New problems then:
With this tool I should be able to get some info out of the card...
Code: | acer etc # /usr/bin/opensc-tool
Usage: opensc-tool [OPTIONS]
Options:
--atr, -a Prints the ATR bytes of the card
--serial Prints the card serial number
--name, -n Identify the card and print its name
--list-readers, -l Lists all configured readers
--list-drivers, -D Lists all installed card drivers
--list-rdrivers, -R Lists all installed reader drivers
--list-files, -f Recursively lists files stored on card
--send-apdu, -s <arg> Sends an APDU in format AA:BB:CC:DD:EE:FF...
--reader, -r <arg> Uses reader number <arg> [0]
--card-driver, -c <arg> Forces the use of driver <arg> [auto-detect]
--wait, -w Wait for a card to be inserted
--verbose, -v Verbose operation. Use several times to enable debug output.
|
Result follows:
Code: | acer etc # /usr/bin/opensc-tool -a
iso7816.c:98:iso7816_check_sw: Wrong parameter(s) P1-P2
iso7816.c:440:iso7816_select_file: returning with: Incorrect parameters in APDU
card.c:763:sc_select_file: returning with: Incorrect parameters in APDU
3b:ff:11:00:00:81:71:40:42:00:00:21:01:31:42:52:00:05:63:40:4b:01:06:90:00:e7
iso7816.c:98:iso7816_check_sw: Wrong parameter(s) P1-P2
iso7816.c:440:iso7816_select_file: returning with: Incorrect parameters in APDU
card.c:763:sc_select_file: returning with: Incorrect parameters in APDU
|
Code: |
acer etc # /usr/bin/opensc-tool --serial
iso7816.c:98:iso7816_check_sw: Wrong parameter(s) P1-P2
iso7816.c:440:iso7816_select_file: returning with: Incorrect parameters in APDU
card.c:763:sc_select_file: returning with: Incorrect parameters in APDU
sc_card_ctl(*, SC_CARDCTL_GET_SERIALNR, *) failed
iso7816.c:98:iso7816_check_sw: Wrong parameter(s) P1-P2
iso7816.c:440:iso7816_select_file: returning with: Incorrect parameters in APDU
card.c:763:sc_select_file: returning with: Incorrect parameters in APDU
|
Either the card is not initialized or there is something else not the way it should.
So long
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Tue Nov 29, 2005 11:31 am Post subject: |
|
|
thepi wrote: | On a sidenote, I came about to fix the DSDT table for the current 4a20 BIOS revision, you can get the .dsl file at the linux acpi site. You'd need the iasl compiler to install it, though. See here for a HOWTO. I'd also provide the dsdt.{hex,aml} if you want.
|
What exactly did you fix? I must say that I've got close to no problems that I know of |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Tue Nov 29, 2005 4:54 pm Post subject: |
|
|
Well mostly warnings and stuff, all those cruft the MSFT DSDT compiler let slip through as "valid DSDT code" (which it wasn't). The Linux ACPI implementation is not that pedantic about it nowadays, but I'd still rather have a correct DSDT (that is, one with no syntax errors in it).
Well, you know the rule: if it runs, break it :p
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Tue Nov 29, 2005 5:33 pm Post subject: |
|
|
Yah
One thing tho: the image that's available online isn't really _clean_, there's a line of cruft at top and bottom that you have to delete in order to get it compiled (lots of ^@^@^@^@ chars and whatnot) |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Tue Nov 29, 2005 6:11 pm Post subject: |
|
|
refering to this "^@^@^@^@ chars and whatnot"... ever thaught of tar?
I just unpacked it... worked without glitches
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
devilkin n00b
Joined: 18 Nov 2005 Posts: 17
|
Posted: Tue Nov 29, 2005 7:15 pm Post subject: |
|
|
Hmm. No, I hadn't. Mainly because it's an .asl.gz, which indicates it's just the asl file gzipped, not tar-gzipped. I should've run file over it I guess... |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Tue Nov 29, 2005 7:46 pm Post subject: |
|
|
To be honest, I had the same problem the first time
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Wed Nov 30, 2005 10:58 am Post subject: |
|
|
Hm, at first I thought it was my bad, but obviously the file got renamed automagically - I definitely uploaded a .tgz (the file is still on my disk, named dsdt.tgz). Seems that you're required to upload them as gzip only, they should've mentioned this somewhere I added a comment about it.
pi~ _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
Posted: Thu Jan 19, 2006 2:57 pm Post subject: |
|
|
Since the last update the ATI drivers byte. On Shutdown the kernel segfaults with the following result:
Code: | ------------[ cut here ]------------
kernel BUG at arch/i386/mm/pageattr.c:137!
invalid operand: 0000 [#1]
PREEMPT
Modules linked in: police sch_ingress cls_u32 sch_sfq sch_cbq dm_crypt rlocate snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device usbkbd usbmouse parport_pc parport snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd snd_page_alloc i2c_i801 vfat fat yenta_socket rsrc_nonstatic pcmcia ipw2100 ieee80211 ieee80211_crypt b44 mii fuse aes_i586 fglrx agpgart eth1394 dm_mirror dm_mod sbp2 ohci1394 ieee1394 uhci_hcd usb_storage usbhid ehci_hcd
CPU: 0
EIP: 0060:[<c0115e16>] Tainted: P VLI
EFLAGS: 00010082 (2.6.15-gentoo)
EIP is at __change_page_attr+0xba/0x15a
eax: 1b4001e3 ebx: 1b740000 ecx: c1009820 edx: db740000
esi: c04c1db4 edi: c1000000 ebp: 00000163 esp: de8efe74
ds: 007b es: 007b ss: 0068
Process X (pid: 13840, threadinfo=de8ee000 task=deeb8550)
Stack: db740000 c136e800 00000040 00000000 00000246 c0115edf c136e800 00000163
df4b2380 e1480000 e16056a0 00000000 c0115b5d c136e000 00000041 00000163
e16056a0 00000006 e15a2d57 e1480000 c136e000 00000040 00000163 e16056a0
Call Trace:
[<c0115edf>] change_page_attr+0x29/0x5a
[<c0115b5d>] iounmap+0xb2/0xe9
[<e15a2d57>] agp_generic_free_gatt_table+0x62/0xce [fglrx]
[<e15a8dc8>] agp_backend_cleanup+0xc/0x4a [fglrx]
[<e15abfa0>] __ke_agp_uninit+0xe/0x24 [fglrx]
[<e15c2f55>] _firegl_release_agp+0x15/0x140 [fglrx]
[<e15b1465>] firegl_takedown+0x335/0xb90 [fglrx]
[<e15b080f>] firegl_release+0x12f/0x190 [fglrx]
[<e15a91bb>] ip_firegl_release+0xd/0x10 [fglrx]
[<c014ffb8>] __fput+0x83/0x130
[<c014eace>] filp_close+0x4c/0x55
[<c014eb38>] sys_close+0x61/0x84
[<c0102b43>] sysenter_past_esp+0x54/0x75
Code: 24 04 56 e8 03 ff ff ff 83 c4 0c 89 d9 8b 01 89 ca f6 c4 40 74 03 8b 51 0c ff 42 04 eb 15 84 c0 78 09 09 eb 89 1e ff 49 04 eb 08 <0f> 0b 89 00 fc 05 3d c0 8b 01 f6 c4 04 0f 85 85 00 00 00 8b 01
<6>note: X[13840] exited with preempt_count 2
|
Xorg.conf follows:
Code: |
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
Load "drm"
Load "record"
Load "xtrap"
EndSection
################
# Spare card in case of...
################
#Section "Device"
# Identifier "card0"
# BusID "PCI:1:0:0"
# Driver "radeon"
# VendorName "ATI Technologies Inc"
# BoardName "Radeon R250 Lf [Radeon Mobility 9000 M9]"
# Option "RenderAccel" "true"
# Option "DynamicClocks" "true"
# Option "AGPMode" "4"
# Option "EnablePageFlip" "True"
# Option "IgnoreEDID" "off"
#EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/ukr"
FontPath "/usr/local/share/fonts"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "microsoft"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "synaptics"
Option "AccelFactor" "0.0010"
Option "Emulates3Buttons" "on"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Edges" "1900 5400 1800 3900"
Option "Finger" "25 30"
Option "FingerHigh" "30"
Option "FingerLow" "25"
Option "InputFashion" "Mouse"
Option "MaxSpeed" "0.10"
Option "MaxTapMove" "220"
Option "MaxTapTime" "180"
Option "MinSpeed" "0.02"
Option "VertScrollDelta" "100"
Option "SHMConfig" "on"
Option "UpDownScrolling" "on"
Option "Protocol" "IMPS/2"
Option "CorePointer" ""
Option "TapButton1" "1"
EndSection
Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "InputFashion" "Mouse"
Option "Name" "Logitech MX500"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Resolution" "1600"
EndSection
Section "Monitor"
Identifier "tft"
VendorName "AUO"
ModelName "f03"
HorizSync 27.0 - 29.0
VertRefresh 40.0 - 60.0
ModeLine "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
Option "DPMS" "true"
EndSection
Section "Device"
# === ATI device section ===
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
# vendor=1002, device=4c66
Identifier "card0"
Driver "fglrx"
Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "0x00000100"
Option "MonitorLayout" "AUTO, NONE"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "yes"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "1"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Option "ForceMonitors" "notv"
BusID "PCI:1:0:0"
Option "backingstore" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "card0"
Monitor "tft"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1400x1050"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
Framebuffer is disabled so it can't battle with the driver...
I'm running out of ideas.
Rei _________________ Please stand by - The mailer daemon is busy burning your messages in hell... |
|
Back to top |
|
|
thepi Guru
Joined: 06 Jan 2004 Posts: 352 Location: Tokyo, Japan
|
Posted: Thu Jan 19, 2006 10:08 pm Post subject: |
|
|
If you're using the ati-binary driver, aren't you supposed to use it in your xorg.conf as well, instead of the dri variant? As far as I remember, dri and/or drm were incompatible (and normally led to a non-working X-Server). _________________ Violence is the last resort of the incompetent --Isaac Asimov
Gentoo on Acer TM800 | Help! | Vote! | Get FF! |
|
Back to top |
|
|
ToeiRei Veteran
Joined: 03 Jan 2005 Posts: 1191 Location: Austria
|
|
Back to top |
|
|
hanhan n00b
Joined: 16 Feb 2006 Posts: 1
|
Posted: Thu Feb 16, 2006 3:58 pm Post subject: |
|
|
Hi @all
first thanks for your great work, I've been following this thread for a long time now, and it helped me a lot while setting up my tm 803
At the moment, I'm trying to get the cardreader to work, but I'm getting the same results as ToeiRei did first:
Software setup:
Kernel: linux-2.6.15-gentoo-suspend2-r4 (tested with linux-2.6.15-gentoo-r4 and linux-2.6.15.1 as well - same results)
Smartcard Drivers v. 2.0.3 (btw: there is an ebuild at https://bugs.gentoo.org/show_bug.cgi?id=113562)
pcsc-lite version 1.2.9_beta10 (tried _beta9 & _beta8 as well, but they don't compile)
/dev/ozscrlx exists with major 123 minor 0 (as would be created by /etc/pcmcia/smartcardreader-ozscr)
module loads fine as far as I can tell (callback function seems to be included in this driver release)
Code: |
OZSCRLX version: O2Micro SmartCardBus Reader for kernel 2.6 (above 2.6.13)
OZSCRLX init_ozscrlx: major num: 123
OZSCRLX init_ozscrlx: function complete!
|
but when I start pcscd I get:
Code: |
# pcscd -d -f
pcscdaemon.c:259:main() pcscd set to foreground with debug send to stderr
readerfactory.c:1098:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00.
readerfactory.c:940:RFBindFunctions() Loading IFD Handler 2.0
ifdhandler.c:121:IFDHCreateChannel Lun 0, Channel F10000
ctapi.c:106:CT_init CT_init enter
ctapi.c:119:CT_init Try to open channel dev/ozscrlx
ctapi.c:136:CT_init CT_init exit (-11)
readerfactory.c:1133:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx)
readerfactory.c:1015:RFUnloadReader() Unloading reader driver.
readerfactory.c:251:RFAddReader() O2Micro SmartCardBus Reader init failed.
pcscdaemon.c:464:main() pcsc-lite 1.2.9-beta10 daemon ready.
hotplug_libusb.c:104:HPReadBundleValues() Cannot open PC/SC drivers directory: /usr/lib/readers/usb
hotplug_libusb.c:105:HPReadBundleValues() Disabling USB support for pcscd.
|
Whether PCMCIA ioctl Handler is enabled in kernel or not makes no difference here
Did anybody get the cardreader working in this configuration? Any ideas what the problem could be? |
|
Back to top |
|
|
|