LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2007, 01:10 PM   #1
dilbert5150
LQ Newbie
 
Registered: Sep 2007
Location: Warsaw, Poland
Distribution: Slackware 12.0
Posts: 3

Rep: Reputation: 0
Slack 12, mounting iPAQ - usb pocketPC -


Hi everyone!

First of all, I am very sorry for posting probably another some kind of a mount/HAL problem again... I know everyone are pretty bored with this :]

I have a fresh slackware 12 disto. My goal is to make a connection with an iPAQ rx1950 palmtop (it's running windows mobile 5.0, but I don't think it really matters right now) and make it "browserable" under konqueror in KDE. I managed to deal with CD/DVD automount with HAL support (yes, adding groups, tweaking fstab and stuff), so I was pretty sure SOMETHING will happen if I connect my iPAQ via the usb cable. Well, nothing happened :/ So started my console, first thought: type lsusb. the result was something like that:

Code:
root@domeq:~# lsusb
Bus 1 Device 1: ID 0000:0000
Bus 4 Device 1: ID 0000:0000
Bus 3 Device 3: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Bus 3 Device 2: ID 04d9:0499 Holtek Semiconductor, Inc.
Bus 3 Device 1: ID 0000:0000
Bus 2 Device 5: ID 03f0:1c1d Hewlett-Packard
Bus 2 Device 1: ID 0000:0000
//I have an usb printer and mouse (epson & holtek)

I'm not PRO at slackware (though using it before... lame me), but I tried my luck with:

Code:
root@domeq:~# mount /dev/sda /mnt/memory/
mount: special device /dev/sda does not exist
the same goes with sda1,2,3 and so on. At the end I typed:

Code:
root@domeq:~# dmesg | tail
usb 2-1: new full speed USB device using uhci_hcd and address 6
usb 2-1: configuration #1 chosen from 1 choice
rndis_host 2-1:1.0: rndis get ethaddr, -110
rndis_host: probe of 2-1:1.0 failed with error -110
To be honest, I don't have an idea what that means, but the error means BAD

I also tried to connect my usb camera (Kodak cx7330). This time KDE managed to find it, and tried to open it in /media/camera, but i got the message:

"Could not start the process Unable to create io-slave:
klouncher said: Unknown protocol 'camera'."

probably this is not gonna help with anything, but the good news is, that the camera is visible for the system, so it's probably gonna be easier to make it work.

Ok "slackers", any help/suggestion is very welcome :]

cheers
 
Old 09-23-2007, 06:11 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi dilbert5150, Welcome to lq. I believe this might be what you're looking for.

http://sourceforge.net/projects/synce/

You may also wish to look at a few guides.

Dated

Recent?

New

Hope that gets you going.
Good luck. ;-)
 
Old 09-24-2007, 04:25 PM   #3
dilbert5150
LQ Newbie
 
Registered: Sep 2007
Location: Warsaw, Poland
Distribution: Slackware 12.0
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much Peacedog for your reply!

I somehow managed to install all the required software for SynCE to run (handling lots of errors during compile process), but it's not everything what should be done. On SynCE wiki page there is also something like this

Code:
 Instructions for kernels >= 2.6.21

As of version 2.6.21, the Linux kernel has most of the required support built in, and thus doesn't require the usb-rndis-lite driver. However, you still need to apply a patch to the kernel source for it to work.

For kernel version 2.6.21:

 cd /usr/src/linux
 wget http://synce.svn.sourceforge.net/svnroot/synce/trunk/patches/linux-2.6.21-rndis_host-wm5.patch
 patch -p1 < linux-2.6.21-rndis_host-wm5.patch

For kernel version 2.6.22:

 cd /usr/src/linux
 wget http://synce.svn.sourceforge.net/svnroot/synce/trunk/patches/linux-2.6.22-rndis_host-wm5.patch
 patch -p1 < linux-2.6.22-rndis_host-wm5.patch

You need the following options in your kernel config:

 CONFIG_USB_USBNET=y
 CONFIG_USB_NET_CDCETHER=y
 CONFIG_USB_NET_RNDIS_HOST=y

Compiling them as modules should also work. Finally, build and install your kernel as usual.
After readings this (I have a disease called: "fear of the kernel compilation") a checked my configuration file and found that I have USBNET and NET_CDCETHER compiled as an module (=m right?), BUT there is no evidence of NET_RNDIS_HOST line there. Afaik, there should be at least a comment that the variable is not set, or whatever. (I have a fresh slack 12 install. with 2.6.21.15 kernel)

Question is, how can I compile it (maybe as a module), and then make it work as it should be?

tnx for the help, cheers
 
Old 09-25-2007, 10:11 AM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
BUT there is no evidence of NET_RNDIS_HOST line there. Afaik, there should be at least a comment that the variable is not set, or whatever. (I have a fresh slack 12 install. with 2.6.21.15 kernel)
Are you sure? Check the usb network adapters section.

Code:
#
# USB Network Adapters
#
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_USBNET_MII=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_DM9601 is not set
CONFIG_USB_NET_GL620A=m
CONFIG_USB_NET_NET1080=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_MCS7830=m
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
# CONFIG_USB_EPSON2888 is not set
# CONFIG_USB_KC2190 is not set
CONFIG_USB_NET_ZAURUS=m
CONFIG_USB_MON=y
Good luck. ;-)

Last edited by Peacedog; 09-25-2007 at 10:14 AM.
 
Old 09-26-2007, 11:41 AM   #5
dilbert5150
LQ Newbie
 
Registered: Sep 2007
Location: Warsaw, Poland
Distribution: Slackware 12.0
Posts: 3

Original Poster
Rep: Reputation: 0
Damn, you're right (LAME ME) Dunno why I haven't found it before... probably just a typo. in the search string... Once again, thanks man!
 
Old 09-26-2007, 11:50 AM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Glad to be of service Sir.
Good luck. ;-)
 
  


Reply

Tags
ipaq, mount, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
How do I Install, and use my USB Ipaq HP3950 pocket pc in Suse Linux? Khoffmann Linux - Laptop and Netbook 1 06-26-2005 04:01 PM
Reinstall PocketPC on IPAQ after Familiar Linux nordickiwi Linux - Laptop and Netbook 5 03-21-2005 08:07 AM
Compaq ipaq PocketPC Problem Post-Prof Linux - Laptop and Netbook 7 11-16-2004 05:35 PM
usb networking: connect ipaq to linux Hcman Linux - Networking 1 04-23-2004 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration