PDA

View Full Version : USB Question



bpeasey
11-14-2003, 07:07 PM
Hi,

I'm really new to Linux OS and have a question about USB. How can I browse a USB device in Knoppix (or any other distro)?

I have a PDA (IPAQ 3950 w/PocketPC 2002). I really don't want to synch anything. I would just like to browse the storage on the device and have the ability to transfer mp3's and pdf's from Linux over to the PDA.

What steps are needed to do this?

Thanks Much,
Brian

garyng
11-14-2003, 07:16 PM
Hi,

I'm really new to Linux OS and have a question about USB. How can I browse a USB device in Knoppix (or any other distro)?

I have a PDA (IPAQ 3950 w/PocketPC 2002). I really don't want to synch anything. I would just like to browse the storage on the device and have the ability to transfer mp3's and pdf's from Linux over to the PDA.

What steps are needed to do this?

Thanks Much,
Brian

KNOPPIX is supposed to install and mount the USB storage automatically at boot up. So it should be just another icon on the desktop.

For generic procedure :

plug the usb device in and if you have the hotplug package installed, it would 'map' to a new device node, usually /dev/sda. Then you just 'mount /dev/sda your_mount_point' and after that, you can use it as it is all under your_mount_point/.

There is some package(is it supermount?) that automatically handles all these stuff but I haven't tried it as I have been getting used to the command line method.

bpeasey
11-14-2003, 07:30 PM
Thanks Gary :)

lussac
11-14-2003, 10:23 PM
Other way is to have plugged the PDA while knoppix is being installed. Before this it will be automaticlly configured

bpeasey
11-15-2003, 01:29 AM
Hi again,

No luck yet getting my PDA connected. When I boot with my PDA in the cradle it doesn't show up on the desktop. But on another USB device (Digital camera) does show up on the desktop as sda1.

In KDE's 'Info Center' under USB both devices are listed under UHCI Root Hub (1). So at some level the OS can see the PDA

I tried looking for another eg. sda2 but they are all 0 bytes and "not a valid block device" when I try to mount.

Any suggestion appreciated.

Thanks again,
Brian

garyng
11-15-2003, 02:42 AM
Hi again,

No luck yet getting my PDA connected. When I boot with my PDA in the cradle it doesn't show up on the desktop. But on another USB device (Digital camera) does show up on the desktop as sda1.

In KDE's 'Info Center' under USB both devices are listed under UHCI Root Hub (1). So at some level the OS can see the PDA

I tried looking for another eg. sda2 but they are all 0 bytes and "not a valid block device" when I try to mount.

Any suggestion appreciated.

Thanks again,
Brian

Pull the PDA(while the system has been booted, i.e. you are at the desktop or better yet open a xterm console) and plug it in again.

Then do a 'dmesg' at the xterm console. Post the last couple of lines of messages, if the system knows how to handle it, it would show something like /dev/sda etc. Otherwise, it means the system doesn't know how to handle it and YOU ARE OUT OF LUCK. USB support under linux still has much to be desired but it is getting better and better, say 2.4.22 is much better than 2.4.20 about 6 months ago.

maestrobwh1
11-15-2003, 03:52 PM
I have a similar question. I have a USB pen drive and when I plugged it in, an automated process came up wich I followed by entering my root password and it installed the flash "driver."

I can't "find" the drive so that it could be mounted on the KDE desktop. I booted the machine with it in and then went to Desktop settings and showing this type of device as either mounted or unmounted was not an option among the other storage possibilities.

Help.

bpeasey
11-17-2003, 07:43 PM
Hi Gary,


Otherwise, it means the system doesn't know how to handle it and YOU ARE OUT OF LUCK. USB support under linux still has much to be desired but it is getting better and better, say 2.4.22 is much better than 2.4.20 about 6 months ago.

I'm 'Out of luck'. No problem though, I understand what you say about USB and Linux. I'll continue learning what I can about the O/S.

Thanks for you help :D

Brian

maestrobwh1
11-19-2003, 02:24 AM
Suddenly, as om my last boot, my pen drive magically appeard as a mounted drive in the mnt subdirectory. Go Figure.
Brian H

sjlinux
11-20-2003, 03:08 PM
I had the same problem. What I did was install 'usbmgr'. What this did was remove hotplug, and installed usbmgr. After that I was able to use and configure my USB devices.

Nick

garyng
11-20-2003, 08:53 PM
I had the same problem. What I did was install 'usbmgr'. What this did was remove hotplug, and installed usbmgr. After that I was able to use and configure my USB devices.

Nick

strange. both packages as far as I understand is to load/unload modules based on the vendor ID info it sees on /proc/bus/usb. Whether a device is supported or not depends on the kernel modules(either stocked one or download/compiled seperately if available), the userland tools(usbmgr/hotplug) cannot magically support a device.

sjlinux
11-20-2003, 09:04 PM
I would have thought the same thing, but before I installed usbmgr, I went into usbview, and nothing showed up. I even plugged in the device prior to booting, in hopes to capture it during bootup, but that didn't work.

I guess it is one of those weird things that happen, and there really is no explanation for it.

Nick

garyng
11-25-2003, 06:17 PM
Hi,

I'm really new to Linux OS and have a question about USB. How can I browse a USB device in Knoppix (or any other distro)?

I have a PDA (IPAQ 3950 w/PocketPC 2002). I really don't want to synch anything. I would just like to browse the storage on the device and have the ability to transfer mp3's and pdf's from Linux over to the PDA.

What steps are needed to do this?

Thanks Much,
Brian

This may be what you need but don't ask me howto as I don't have these gadgets. There is a section mentioning the CE/iPaq etc.

http://lufs.sourceforge.net/lufs/fs.html