Over!
Category: 默认分类
堆放的福珑6003
FreeBSD 切换声音输出到音响或耳机
不使用 HAL 配置 X 输入设备解决了崩溃问题
在 FreeBSD 8.1 系统里使用 X 图形系统,当处置的USB鼠标插入后,不一会X就崩溃了。测试发现是鼠标的问题,而且发现只有部分USB鼠标会引发这样的问题。
X图形系统的配置文件是通过 Xorg -configure 生成的,默认是使用 HAL 获取设备信息并增加的。在 Pagxir 的建议下,我手动指定输入设备信息,不使用 HAL 自动配置,问题解决。
X 配置文件
Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerFlags" Option "AutoAddDevices" "off" Option "AutoEnableDevices" "off" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/cyrillic/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/wqy/" FontPath "/usr/local/lib/X11/fonts/ubuntu-font-family/" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" Load "record" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" ### [arg]: arg optional #Option "NoAccel" # [<bool>] #Option "SWcursor" # [<bool>] #Option "ColorKey" # <i> #Option "CacheLines" # <i> #Option "Dac6Bit" # [<bool>] #Option "DRI" # [<bool>] #Option "NoDDC" # [<bool>] #Option "ShowCache" # [<bool>] #Option "XvMCSurfaces" # <i> #Option "PageFlip" # [<bool>] Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile 4 Series Chipset Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection |
建议停止使用 HAL
删除 /etc/rc.conf 中如下内容
hald_enable="YES" |
Over!
QQ监控用户隐私,现在你就可以来证明,千载难逢的机会,拜诺贝尔所赐。
拜已经死了很久的人设立的一个奖项所赐,今天,刘某晓某bo某获奖的消息传开后,移动联通电信屏蔽包含这三个字的短信就算了,腾讯也开始屏蔽包含这三个字的群消息,凡是包含这三个汉字的手机短消息和QQ群消息都发不出去,可以发送成功,但是对方收不到。
腾讯如此迅速的反应,得益于早就在QQ内置关键字审查引擎。可见QQ监控用户聊天记录一说不是无中生有啊。
腾讯还在狡辩什么?这个机会千载难逢,快试试腾讯的关键字审查引擎吧。
你可以继续选择使用QQ,然后让某狗日腾讯的收集你的聊天记录,在硬盘查找你的机密资料,远控你的机器,然后把你像猪一样卖掉。
只能说,你太cheap了。
XP平台的Chrome 6也支持SNI
奇怪的问题原来是这样
部分浏览器始终下载虚拟主机默认站点的证书的奇怪问题原来是这么回事,不是我的错。今天才发现原来前人早有总结。这就是服务器名称标识(Server Name Indication),已经被写人 RFC3546 了。可虽然是这样,还是有部分浏览器或操作系统不支持!
详细情况见 Wikipedia
测试你的浏览环境是否支持 SNI
Over!
这个问题很奇怪!
升级博客至 WordPress 3.0
RT
联通2G卡可用3G网络
我买了一张邯郸的2G无限流量的上网资费卡,装上G1后发现网络类型是3G的UMTS,传输速度最高12KB/s。我强制使用2G网络的GPRS,延迟很高,只有5KB/s,可见3G网络是人为限制的速度。
就当EDGE网络用了,最爽的是来电话或短信不断网。
Over!