Re: [gentoo-user] USB issue

2006-03-30 Thread Neil Bothwick
On Thu, 30 Mar 2006 06:17:53 +, Ian wrote:

> > > What do you have in /etc/fstab for this?
> >
> >
> > Basically the standard.
> > /dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw
> > [tab] 0 0
> > That line is from memory, although it did previously work perfectly.
> >
> >
> > What is the output from "ls -ld /mnt/ipod" before and after mounting?
> >
> >
> > Im at work right now, Ill reply very soon with this output.
> >
> 
> drwxr-xr-x  3 root root 80 Dec 23 17:47 /mnt/ipod

Try 
/dev/sda2 /mnt/ipod auto noauto,users,umask=000 0 0

The umask option on FAT filesystems gives makes all files world writeable.


-- 
Neil Bothwick

I can see clearly now, the brain is gone...


signature.asc
Description: PGP signature


Re: [gentoo-user] USB issue

2006-03-29 Thread Ian
On 3/30/06, Ian <[EMAIL PROTECTED]> wrote:

On 3/29/06, Neil Bothwick <
[EMAIL PROTECTED]> wrote:
On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:>  cp: writing '/mnt/ipod/file': Input/Output error
>> cp: cannot create regular file '/mnt/ipod/file2': Input/Output errorWhat do you have in /etc/fstab for this?
 
Basically the standard. 
/dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw  [tab] 0 0
That line is from memory, although it did previously work perfectly.
 
What is the output from "ls -ld /mnt/ipod" before and after mounting?

 
Im at work right now, Ill reply very soon with this output.drwxr-xr-x  3 root root 80 Dec 23 17:47 /mnt/ipod 
Does cp work as root?

 
Flawlessly.
 
One other thing, I did upgrade kernels, however I used make oldconfig with the older
config file in the kernel directory. I rechecked the menuconfig and found that everything
I think should be enabled, was. I can post my config file on my server and link you guys
when I get home.Server is having issues.. Ill try again in 17 hours or so. 
HTH,
Ian
--Neil Bothwick
Top Oxymorons Number 26: Software documentation
-- Cheers,Ian 

-- Cheers,Ian


Re: [gentoo-user] USB issue

2006-03-29 Thread Ian

On 3/29/06, Neil Bothwick <[EMAIL PROTECTED]> wrote:
On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:>  cp: writing '/mnt/ipod/file': Input/Output error
>> cp: cannot create regular file '/mnt/ipod/file2': Input/Output errorWhat do you have in /etc/fstab for this?
 
Basically the standard. 
/dev/sda2  [tab] /mnt/ipod  [tab]  auto   [tab]  noauto,users,rw  [tab] 0 0
That line is from memory, although it did previously work perfectly.
 
What is the output from "ls -ld /mnt/ipod" before and after mounting?
 
Im at work right now, Ill reply very soon with this output.
Does cp work as root?
 
Flawlessly.
 
One other thing, I did upgrade kernels, however I used make oldconfig with the older
config file in the kernel directory. I rechecked the menuconfig and found that everything
I think should be enabled, was. I can post my config file on my server and link you guys
when I get home.
 
HTH,
Ian
--Neil BothwickTop Oxymorons Number 26: Software documentation
-- Cheers,Ian 


Re: [gentoo-user] USB issue

2006-03-29 Thread Neil Bothwick
On Tue, 28 Mar 2006 21:04:12 -0700, Ian wrote:

>  cp: writing '/mnt/ipod/file': Input/Output error
> 
> cp: cannot create regular file '/mnt/ipod/file2': Input/Output error

What do you have in /etc/fstab for this?
What is the output from "ls -ld /mnt/ipod" before and after mounting?
Does cp work as root?


-- 
Neil Bothwick

Top Oxymorons Number 26: Software documentation


signature.asc
Description: PGP signature


RE: [gentoo-user] USB issue

2006-02-06 Thread Michael Kintzios


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Richard Fish
> Sent: 06 February 2006 14:18
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] USB issue
> 
> 
> > I'm still on the last 2.6.14 kernel and would like to know 
> any tricks I
> > need to put in place before I run into a USB problem . . . I have
> > hotplug in my rc-update default and coldplug in my 
> rc-update boot.  Do I
> > need to change these manually, or will a 2.6.15 kernel and 
> update world
> > sort it out for me?
> 
> It 'just worked' for me, but I do run ~x86.  The big difference
> between 2.6.14 and later kernels is that later kernels use netlink for
> hotplug events instead of udevsend.  You can see this towards the
> bottom of /lib/rcscripts/addons/udev-start.sh.  There is not anything
> special that you need to do to prepare for this, other than
> etc-update.
> 
> -Richard

Thanks, let's hope that'll be the case with my stable system, too.  I
was just asking to know if I will need to remove hotplug from the rc
levels and then unmerge it manually, or whether such things will be
taken care of by the update process.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-06 Thread Richard Fish
> I'm still on the last 2.6.14 kernel and would like to know any tricks I
> need to put in place before I run into a USB problem . . . I have
> hotplug in my rc-update default and coldplug in my rc-update boot.  Do I
> need to change these manually, or will a 2.6.15 kernel and update world
> sort it out for me?

It 'just worked' for me, but I do run ~x86.  The big difference
between 2.6.14 and later kernels is that later kernels use netlink for
hotplug events instead of udevsend.  You can see this towards the
bottom of /lib/rcscripts/addons/udev-start.sh.  There is not anything
special that you need to do to prepare for this, other than
etc-update.

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] USB issue

2006-02-06 Thread Michael Kintzios


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Richard Fish
> Sent: 04 February 2006 23:26
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] USB issue
> 
> 
> On 2/3/06, Franta <[EMAIL PROTECTED]> wrote:
> > frankies rules.d # uname -r
> > 2.6.12-gentoo-r10
> > frankies rules.d #
> >
> > ... a hotplug issue?
> 
> Well, "hotplug" as we knew it no longer exists really.  Now the kernel
> sends hotplug events using either udevsend or (for 2.6.15 onwards)
> netlink.
> 
> Try "cat /proc/sys/kernel/hotplug".  In your case, it should say
> "/sbin/udevsend".
> 
> However, we are _assuming_ that the system is starting udev.  You
> should check the first few lines of the system boot to make sure.  You
> should see messages like:
> 
> Mounting /dev for udev ...
> ...
>   Setting /sbin/udevsend as hotplug agent ...
> 
> -Richard

I'm still on the last 2.6.14 kernel and would like to know any tricks I
need to put in place before I run into a USB problem . . . I have
hotplug in my rc-update default and coldplug in my rc-update boot.  Do I
need to change these manually, or will a 2.6.15 kernel and update world
sort it out for me?
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-04 Thread Richard Fish
On 2/3/06, Franta <[EMAIL PROTECTED]> wrote:
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d #
>
> ... a hotplug issue?

Well, "hotplug" as we knew it no longer exists really.  Now the kernel
sends hotplug events using either udevsend or (for 2.6.15 onwards)
netlink.

Try "cat /proc/sys/kernel/hotplug".  In your case, it should say
"/sbin/udevsend".

However, we are _assuming_ that the system is starting udev.  You
should check the first few lines of the system boot to make sure.  You
should see messages like:

Mounting /dev for udev ...
...
  Setting /sbin/udevsend as hotplug agent ...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-03 Thread Franta
On Fri, 2006-02-03 at 21:20 +0100, Franta wrote:
> So O.K.
> 
> I'll probably have to do this from scratch.
> 
> I've removed my customisations from /etc/udev/rules.d
> 
> frankies ~ # cd /etc/udev/rules.d/
> frankies rules.d # ls -l
> total 16
> -rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
> -rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
> frankies rules.d # 
> frankies rules.d # # as we see, the emerge happened Jan 23.
> frankies rules.d #
> frankies rules.d # # I put in the USB stick
> frankies rules.d #
> frankies rules.d # tail -fn20 /var/log/messages 
> Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
> root by (uid=1000)
> Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
> Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
> ohci_hcd and address 3
> Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
> high speed hub
> Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
> devices
> Feb  3 21:16:08 frankies usb-storage: device found at 3
> Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
> before scanning
> Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
> 2033
> Feb  3 21:16:13 frankies Type:   Direct-Access  ANSI
> SCSI revision: 00
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies sda: sda1
> Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
> channel 0, id 0, lun 0
> Feb  3 21:16:13 frankies usb-storage: device scan complete
> ^C
> frankies rules.d #
> frankies rules.d # ls /dev/sd*
> ls: /dev/sd*: No such file or directory
> frankies rules.d # 
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d # 
> 
> ... a hotplug issue?
> 

... or an udev issue?

> 
> On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> > Hi,
> > 
> > that's me onesmore.
> > 
> > Again the things changed were some emerge -u world.
> > 
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> > 
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> > 
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> > 
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> > 
> > There are the messages about connecting the USB device
> > in /var/log/messages but no device is coming up.
> > 
> > I've tried the same with the USB stick - the same story.
> > 
> > Has something changed with coldplug/hotplug?
> > 
> > Well, I could save the pictures from the camera or exchange data from
> > the USB stick using Windows. Half a year ago this was possible with
> > Gentoo too. I'd prefer this possibility ;)
> > 
> > The only thing I've changed was some update world.
> > 
> > THanks for any help
> > Frank
> > 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-03 Thread Franta
Xcuse me, forgot this:

frankies ~ # lspci | grep USB
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
frankies ~ # 
frankies ~ # #without the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID :  
Bus 002 Device 001: ID :  
Bus 001 Device 001: ID :  
frankies ~ # 
frankies ~ # # with the stick
frankies ~ # 
frankies ~ # lsusb
Bus 003 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 003 Device 001: ID :  
Bus 002 Device 004: ID 0781:7114 SanDisk Corp. 
Bus 002 Device 001: ID :  
Bus 001 Device 001: ID :  
frankies ~ # 


On Fri, 2006-02-03 at 21:20 +0100, Franta wrote:
> So O.K.
> 
> I'll probably have to do this from scratch.
> 
> I've removed my customisations from /etc/udev/rules.d
> 
> frankies ~ # cd /etc/udev/rules.d/
> frankies rules.d # ls -l
> total 16
> -rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
> -rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
> frankies rules.d # 
> frankies rules.d # # as we see, the emerge happened Jan 23.
> frankies rules.d #
> frankies rules.d # # I put in the USB stick
> frankies rules.d #
> frankies rules.d # tail -fn20 /var/log/messages 
> Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
> root by (uid=1000)
> Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
> Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
> ohci_hcd and address 3
> Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
> high speed hub
> Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
> devices
> Feb  3 21:16:08 frankies usb-storage: device found at 3
> Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
> before scanning
> Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
> 2033
> Feb  3 21:16:13 frankies Type:   Direct-Access  ANSI
> SCSI revision: 00
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
> (524 MB)
> Feb  3 21:16:13 frankies sda: Write Protect is off
> Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
> Feb  3 21:16:13 frankies sda: assuming drive cache: write through
> Feb  3 21:16:13 frankies sda: sda1
> Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
> channel 0, id 0, lun 0
> Feb  3 21:16:13 frankies usb-storage: device scan complete
> ^C
> frankies rules.d #
> frankies rules.d # ls /dev/sd*
> ls: /dev/sd*: No such file or directory
> frankies rules.d # 
> frankies rules.d # uname -r
> 2.6.12-gentoo-r10
> frankies rules.d # 
> 
> ... a hotplug issue?
> 
> 
> On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> > Hi,
> > 
> > that's me onesmore.
> > 
> > Again the things changed were some emerge -u world.
> > 
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> > 
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> > 
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> > 
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> > 
> > There are the messages about connecting the USB device
> > in /var/log/messages but no device is coming up.
> > 
> > I've tried the same with the USB stick - the same story.
> > 
> > Has something changed with coldplug/hotplug?
> > 
> > Well, I could save the pictures from the camera or exchange data from
> > the USB stick using Windows. Half a year ago this was possible with
> > Gentoo too. I'd prefer this possibility ;)
> > 
> > The only thing I've changed was some update world.
> > 
> > THanks for any help
> > Frank
> > 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-03 Thread Franta
So O.K.

I'll probably have to do this from scratch.

I've removed my customisations from /etc/udev/rules.d

frankies ~ # cd /etc/udev/rules.d/
frankies rules.d # ls -l
total 16
-rw-r--r--  1 root root   346 Jan 23 22:14 05-udev-early.rules
-rw-r--r--  1 root root 11612 Jan 23 22:14 50-udev.rules
frankies rules.d # 
frankies rules.d # # as we see, the emerge happened Jan 23.
frankies rules.d #
frankies rules.d # # I put in the USB stick
frankies rules.d #
frankies rules.d # tail -fn20 /var/log/messages 
Feb  3 21:14:01 frankies su(pam_unix)[4613]: session opened for user
root by (uid=1000)
Feb  3 21:16:01 frankies usb 2-2: USB disconnect, address 2
Feb  3 21:16:08 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 3
Feb  3 21:16:08 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  3 21:16:08 frankies scsi1 : SCSI emulation for USB Mass Storage
devices
Feb  3 21:16:08 frankies usb-storage: device found at 3
Feb  3 21:16:08 frankies usb-storage: waiting for device to settle
before scanning
Feb  3 21:16:13 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
2033
Feb  3 21:16:13 frankies Type:   Direct-Access  ANSI
SCSI revision: 00
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  3 21:16:13 frankies sda: Write Protect is off
Feb  3 21:16:13 frankies sda: Mode Sense: 02 00 00 00
Feb  3 21:16:13 frankies sda: assuming drive cache: write through
Feb  3 21:16:13 frankies sda: sda1
Feb  3 21:16:13 frankies Attached scsi removable disk sda at scsi1,
channel 0, id 0, lun 0
Feb  3 21:16:13 frankies usb-storage: device scan complete
^C
frankies rules.d #
frankies rules.d # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies rules.d # 
frankies rules.d # uname -r
2.6.12-gentoo-r10
frankies rules.d # 

... a hotplug issue?


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> Hi,
> 
> that's me onesmore.
> 
> Again the things changed were some emerge -u world.
> 
> There are no USB disks coming up anymore. Dunno when this issue came up.
> 
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
> 
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
> 
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.
> 
> There are the messages about connecting the USB device
> in /var/log/messages but no device is coming up.
> 
> I've tried the same with the USB stick - the same story.
> 
> Has something changed with coldplug/hotplug?
> 
> Well, I could save the pictures from the camera or exchange data from
> the USB stick using Windows. Half a year ago this was possible with
> Gentoo too. I'd prefer this possibility ;)
> 
> The only thing I've changed was some update world.
> 
> THanks for any help
> Frank
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-02 Thread Iain Buchanan
On Thu, 2006-02-02 at 23:17 +0100, Franta wrote:

> Best Gentoo rule: NEVER DO ``EMERGE -U WORLD!!'' ?
> 
> Don't get me wrong but it's a thing happening VERY often. The last
> upgrade cut me off from the net. I had to ``ifconfig'' ``route''
> manually. Thanks god, that the upgrade the day after fixed this.

are you fixing your ._cfg files after you do an update?
-- 
Iain Buchanan 

  I must follow the people. Am I not their leader? -Benjamin Disraeli

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-02 Thread Neil Bothwick
On Thu, 02 Feb 2006 23:17:00 +0100, Franta wrote:

> I've tried some help pages to get my custom settings working. Well,
> upgrade means your customizings go to hell. We're o Linux or on
> Windows?

Your are on Linux, which means you have more control but have to take
responsibility for your own actions. Custom udev rules should go
in /etc/udev/rules.d/10-udev.rules, like in says in the guide.
/etc/udev/rules.d/50-udev.rules is for system rules and may be
updated along with the software.


-- 
Neil Bothwick

Computer (n): A device designed to speed and automate errors.


signature.asc
Description: PGP signature


Re: [gentoo-user] USB issue

2006-02-02 Thread Franta
Hmmm ... ``man'' thet's what? Can you explain it a bit? ;)

I've tried some help pages to get my custom settings working. Well,
upgrade means your customizings go to hell. We're o Linux or on
Windows?

Well, we're on Linux. Windows don't know customizings at all. ;) Maybe
I'll start over from scratch over weekend. ... but it's annoying.

Best Gentoo rule: NEVER DO ``EMERGE -U WORLD!!'' ?

Don't get me wrong but it's a thing happening VERY often. The last
upgrade cut me off from the net. I had to ``ifconfig'' ``route''
manually. Thanks god, that the upgrade the day after fixed this.

This way we'll never become an accepted (and supported) distro.

Just an IMHO
Frank

On Wed, 2006-02-01 at 16:07 -0700, Richard Fish wrote:
> On 2/1/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> > On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> > There have been a _lot_ of changes in udev, and most likely your
> 
> Oh, forgot to mention..."man udev".
> 
> -Richard
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Franta
On Wed, 2006-02-01 at 16:06 -0700, Richard Fish wrote:
> On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > that's me onesmore.
> >
> > Again the things changed were some emerge -u world.
> >
> > There are no USB disks coming up anymore. Dunno when this issue came up.
> >
> > I have a digital camera which I connected to my PC. It came up
> > as /dev/sdaX and due to my USB settings as /dev/psmart.
> >
> > I have an USB key, which came up as /dev/sdaX and due to my USB settings
> > as /dev/cruiser.
> >
> > I did'nt use any of them for half a year or so. Last week I tried to
> > save some photos to th PC.
> 
> There have been a _lot_ of changes in udev, and most likely your
> /etc/udev/rules.d/10-local.rules needs some work.  The most
> significant is that for vendor/product/etc matches, you now need "=="
> instead of just "=".  Also, all rules are matched, unless you use the
> last_rule option, although you can use the ":=" syntax for some things
> to prevent later rules from overriding your settings.
> 
> Here are my key rules:
> 
> # usb disk keys
> BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
> NAME="%k", SYMLINK="usbkey%n"
> BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
> KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"
> 
> -Richard
> 

Hmmm, I'll try to remove my custom settings. But just now, at least
the /dev/sd[a-z][0-9] should come up, shouldn't it?


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Richard Fish
On 2/1/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> There have been a _lot_ of changes in udev, and most likely your

Oh, forgot to mention..."man udev".

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Richard Fish
On 2/1/06, Franta <[EMAIL PROTECTED]> wrote:
> Hi,
>
> that's me onesmore.
>
> Again the things changed were some emerge -u world.
>
> There are no USB disks coming up anymore. Dunno when this issue came up.
>
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
>
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
>
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.

There have been a _lot_ of changes in udev, and most likely your
/etc/udev/rules.d/10-local.rules needs some work.  The most
significant is that for vendor/product/etc matches, you now need "=="
instead of just "=".  Also, all rules are matched, unless you use the
last_rule option, although you can use the ":=" syntax for some things
to prevent later rules from overriding your settings.

Here are my key rules:

# usb disk keys
BUS=="usb", KERNEL=="sd[a-z][0-9]", SYSFS{product}=="Flash Disk",
NAME="%k", SYMLINK="usbkey%n"
BUS=="usb", SUBSYSTEM=="block", SYSFS{product}=="Flash Disk",
KERNEL=="sd[a-z]", NAME="%k", SYMLINK="usbkey"

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB issue

2006-02-01 Thread Franta
Well some details. Here's the syslog for connecting the USB stick:

Feb  1 23:36:03 frankies usb 2-2: new full speed USB device using
ohci_hcd and address 2
Feb  1 23:36:03 frankies usb 2-2: not running at top speed; connect to a
high speed hub
Feb  1 23:36:03 frankies scsi0 : SCSI emulation for USB Mass Storage
devices
Feb  1 23:36:03 frankies usb-storage: device found at 2
Feb  1 23:36:03 frankies usb-storage: waiting for device to settle
before scanning
Feb  1 23:36:08 frankies Vendor: SanDisk   Model: Cruzer Micro  Rev:
2033
Feb  1 23:36:08 frankies Type:   Direct-Access  ANSI
SCSI revision: 00
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies SCSI device sda: 1024000 512-byte hdwr sectors
(524 MB)
Feb  1 23:36:08 frankies sda: Write Protect is off
Feb  1 23:36:08 frankies sda: Mode Sense: 02 00 00 00
Feb  1 23:36:08 frankies sda: assuming drive cache: write through
Feb  1 23:36:08 frankies sda: sda1
Feb  1 23:36:08 frankies Attached scsi removable disk sda at scsi0,
channel 0, id 0, lun 0
Feb  1 23:36:08 frankies usb-storage: device scan complete

Seems the hardware is OK.

But ...

frankies ~ # ls /dev/sd*
ls: /dev/sd*: No such file or directory
frankies ~ # 


On Wed, 2006-02-01 at 23:25 +0100, Franta wrote:
> Hi,
> 
> that's me onesmore.
> 
> Again the things changed were some emerge -u world.
> 
> There are no USB disks coming up anymore. Dunno when this issue came up.
> 
> I have a digital camera which I connected to my PC. It came up
> as /dev/sdaX and due to my USB settings as /dev/psmart.
> 
> I have an USB key, which came up as /dev/sdaX and due to my USB settings
> as /dev/cruiser.
> 
> I did'nt use any of them for half a year or so. Last week I tried to
> save some photos to th PC.
> 
> There are the messages about connecting the USB device
> in /var/log/messages but no device is coming up.
> 
> I've tried the same with the USB stick - the same story.
> 
> Has something changed with coldplug/hotplug?
> 
> Well, I could save the pictures from the camera or exchange data from
> the USB stick using Windows. Half a year ago this was possible with
> Gentoo too. I'd prefer this possibility ;)
> 
> The only thing I've changed was some update world.
> 
> THanks for any help
> Frank
> 

-- 
gentoo-user@gentoo.org mailing list