summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-19 01:12:25 (UTC)
committer sandman <sandman>2002-10-19 01:12:25 (UTC)
commita0ea0e7ff2fad769a92136edc1a7381692e7739f (patch) (side-by-side diff)
tree8c186385c133ca4ad06de66b93a91131a52cc06e
parente869be9990c0db11288bd196778cadd0ad6976a9 (diff)
downloadopie-a0ea0e7ff2fad769a92136edc1a7381692e7739f.zip
opie-a0ea0e7ff2fad769a92136edc1a7381692e7739f.tar.gz
opie-a0ea0e7ff2fad769a92136edc1a7381692e7739f.tar.bz2
don't probe for old device names on iPAQs anymore
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 80e9a91..58bd663 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -582,5 +582,3 @@ void iPAQ::alarmSound ( )
- if ((( fd = ::open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) ||
- (( fd = ::open ( "/dev/mixer", O_RDWR )) >= 0 )) {
-
+ if (( fd = ::open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) {
if ( ::ioctl ( fd, MIXER_READ( 0 ), &vol ) >= 0 ) {
@@ -653,4 +651,3 @@ bool iPAQ::setDisplayBrightness ( int bright )
- if ((( fd = ::open ( "/dev/ts", O_WRONLY )) >= 0 ) ||
- (( fd = ::open ( "/dev/h3600_ts", O_WRONLY )) >= 0 )) {
+ if (( fd = ::open ( "/dev/touchscreen/0", O_WRONLY )) >= 0 ) {
FLITE_IN bl;