Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Laptop questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Tue Dec 14, 2004 12:50 am    Post subject: Laptop questions Reply with quote

Ok, this is the thing, I have my sistem on mi dell Inspiron 5150 and I still havn't gotten everything to work:
for example, the battery monitor, How do I do this, I really have no idea, if i add it to the panel, there is an error message about acpi...

the other thing is my usb memory stick, What should the entry in the fstab for it?
this is what lsusb prints out:
Code:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 045e:0095 Microsoft Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 05dc:0080 Lexar Media, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

I only have two usb slots... but heck, ...

and last , the wireless card, I have a dlink dwl g 650 card, I only compiled pcmcia support in the kernel but haven't donde anything else... so that's basically it
thank you to those who take the time to read me, and bear with me, I live in venezuela, so my english is a bit rusty..

thanks

charles
_________________
thesis.
Back to top
View user's profile Send private message
nephlim
n00b
n00b


Joined: 06 Aug 2004
Posts: 51
Location: Germany

PostPosted: Tue Dec 14, 2004 1:27 am    Post subject: Reply with quote

If you plug in a usb mass storage stick a device called "/dev/sda1" should be created.

So your fstab entry should look like this:
Code:

/dev/sda1               /mnt/usbstick usbfs            user,exec,rw,noauto                     0 0


Best regards
_________________
Nobody can change the world, but he could help to make it better...
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Tue Dec 14, 2004 2:19 am    Post subject: Reply with quote

thanks for the reply, but sadly no luck.. i can actually mount what you told me, but inside its just a list of strange folders, like 001, 002, 003, 004 etc..
so I don;t know

thanks anyway
_________________
thesis.
Back to top
View user's profile Send private message
nephlim
n00b
n00b


Joined: 06 Aug 2004
Posts: 51
Location: Germany

PostPosted: Tue Dec 14, 2004 2:21 am    Post subject: Reply with quote

Then look for all sda* devices in /dev and try to mount them until you've luck.

But normally it is the sda1 device...

Best regards
_________________
Nobody can change the world, but he could help to make it better...
Back to top
View user's profile Send private message
einstein1981
Guru
Guru


Joined: 10 Mar 2004
Posts: 395
Location: Venezuela , Caracas

PostPosted: Tue Dec 14, 2004 2:39 am    Post subject: Reply with quote

plugged and unplugged the usb memory stick , this is what dmesg shows..

Code:

usb 2-1: new full speed USB device using address 5
scsi3 : SCSI emulation for USB Mass Storage devices
  Vendor: LEXAR     Model: DIGITAL FILM      Rev: /W1.
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 /dev/scsi/host3/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0,  type 0
USB Mass Storage device found at 5


i tried with the /dev/scsi/host3/bus0/target0/lun0 option in fstab, still no luck, any ideas, there are like a zillion sd s in /dev

thanks
_________________
thesis.
Back to top
View user's profile Send private message
Mord
n00b
n00b


Joined: 09 Jan 2003
Posts: 68
Location: Where the rubber meets the road.

PostPosted: Tue Dec 14, 2004 5:53 am    Post subject: Reply with quote

Regarding your battery monitor issue, it sounds like you are using Gnome. The Gnome battery monitor by default assumes you are using acpi instead of apm. Since I prefer ACPI, and I use gentoo-dev-sources and the 2.6 kernel, I compile ACPI support into the kernel, "emerge acpid", and "rc-update add acpid default".

I too had trouble with my USB key. Here's the appopriate entry out of my fstab:

/dev/sda1 /mnt/usb auto noauto,noatime,user 0 0

However, I use kernel automounter and autofs so I don't have to manually mount the device each time I plug it in.
_________________
I feel more like I do now than I did when I got here.
Back to top
View user's profile Send private message
Jengu
Guru
Guru


Joined: 28 Oct 2004
Posts: 384

PostPosted: Tue Dec 14, 2004 7:11 am    Post subject: Reply with quote

Code:

emerge acpid
rc-update add acpid default


Will probably get your battery monitor working. However, we shouldn't have to tell you this, because there's a gentoo power management guide to help you with this sort of thing:

http://www.gentoo.org/doc/en/power-management-guide.xml

In general, you should check this area before asking on the forums, you'll probably find your answer:

http://www.gentoo.org/doc/en/desktop.xml
Back to top
View user's profile Send private message
Mord
n00b
n00b


Joined: 09 Jan 2003
Posts: 68
Location: Where the rubber meets the road.

PostPosted: Tue Dec 14, 2004 7:31 am    Post subject: Reply with quote

Good call. That's a good guide. Required reading for sure.
_________________
I feel more like I do now than I did when I got here.
Back to top
View user's profile Send private message
jcklein
n00b
n00b


Joined: 10 Nov 2004
Posts: 23

PostPosted: Sat Jan 01, 2005 1:45 pm    Post subject: Reply with quote

i hope it's not too late, but i have my usb-sticks/digicam/mp3player working on my inspiron 8600 with this in my fstab:
Code:
/dev/sda1               /mnt/usb1       auto            noauto,user,exec,rw     0 0


maybe its better to use auto instead of usbfs... just give it a try.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum