--- gnupod-0.99.8/src/ext/SysInfo.pm 2009-07-11 01:20:05.000000000 +0200 +++ gnupod-0.99.8_local/src/ext/SysInfo.pm 2015-06-21 19:41:07.328485544 +0200 @@ -91,6 +91,7 @@ my($ref) = @_; my $found = undef; + my $ipod_found = undef; opendir(BLOCKDIR, "/sys/block") or return undef; while (my $dirent = readdir(BLOCKDIR)) { next if $dirent eq '.'; next if $dirent eq '..'; @@ -100,6 +101,12 @@ if($_ =~ /^ID_SERIAL=Apple_iPod_([A-Za-z0-9]{16})/) { $found = $1; } + if($_ =~ /^ID_MEDIA_PLAYER=apple_ipod/) { + $ipod_found = 1; + } + if($_ =~ /^ID_SERIAL_SHORT=([A-Za-z0-9]{16})/ && $ipod_found) { + $found = $1; + } last if $found; } close(UDEV);